-
kevans
yuripv: are you willing to handle MFC of this and taking it to 14.0, or would you prefer that i deal with it?
-
kevans
I think, from looking at the bug reports, that this is bad enough that we should probably EN it to 13.2
-
yuripv
kevans: please do if you don't mind
-
kevans
yuripv: yup, no worries
-
kevans
hah, thwarted again by aarch64's default-unsigned char
-
kevans
couldn't figure out why the scenario in the PR for this regex(3) bug wasn't failing for a couple minutes, until it hit me again that it's default unigned for the second time this quarter
-
darwin
if I run slackpkg but then the screen scrolls by, is there any way to go back and get a log which packages were still installed (or skipped, whatever happens) with bad md5sum?
-
darwin
oops, wrong channel. Sorry
-
lognull
Hi all. I'm using 13.2-RELEASE on my x220 with zfs rootfs. I've noticed that time to time the zfskern consume the entire CPU resource and the machinee become too slow.
-
lognull
I'm wondering if a small value for ARC can make the system going on this
-
rwp
lognull, I am typing this on my own x220, however mine is running a Linux kernel, but my x220 often heats to the point of thermal throttling.
-
rwp
I am wondering if perhaps that is what is happening to your x220. That it is heating up until the Intel cpu thermal throttles itself. Which causes things to become very slow.
-
rwp
For my Linux kernel system I see this logged to the system log. I would hope and expect to see the FreeBSD kernel log it to the /var/log/messages system log.
-
lognull
rwp: its strange... The only thinh I'm runing here is a xorg+fluxbox and a firefx with one youtube tab
-
rwp
I mostly notice it when surfing reddit with all of the videos auto-playing. That's when it is most noticable on my machine.
-
rwp
And then things become very slow and chunky.
-
rwp
The reason I think it might be thermal is that my x220 has 8GB of RAM. But I have three other systems running large-ish ZFS arrays, two of which have only 4GB of RAM which most people would consider small-ish and have no such slowdowns or chunkyness on those.
-
rwp
Therefore I don't think it is ZFS that is having a RAM resource problem since those machines are small RAM systems.
-
lognull
Hmm, maybe. You got a point there.
-
rwp
Runing "top" would show the state of the caches in the top header lines.
-
lognull
I totally forgot to check this.
-
rwp
It is possible though that ZFS is a cause of cpu use and therefore might be contributing to heating to thermal throttling.
-
rwp
The X series was designed for small light weight travel use and not for heavy cpu use. I have tried to improve mine but have so far been ineffective at really making it cooler.
-
rwp
And by that I mean I have replaced the fan and replaced the thermal paste.
-
rwp
It's interesting that I just bought an x270 which is about 10 years newer than my x220 and I rather find it to be about the same exact machine for most practical purposes.
-
rwp
Which is why I am typing on the x220 right now. The x270 has the same exact screen size so no improvement there. It has the island style keyboard which is just personal preference now. It has 16GB of RAM where my old had 8GB and that is the only improvement but I apparently don't need it. Battery life on the new with the standard two pretty good batteries is about the same as on the old with its one
-
rwp
pretty good battery.
-
lognull
those machines are such a bless
-
lognull
I have this x220 with FreeBSD13.2 and other T60 with OpenBSD. No regrets.
-
rwp
I also love my T60p! Due to size it has become my coffee table machine. But still running strong.
-
lognull
I'll check the memory usage related to ZFS. Maybe I forgot to limit the RAM usage
-
polyex
why does tar xvf -C dir FreeBSD-13.2-RELEASE-amd64-memstick.img fail saying error opening archive failed to open -C? it's in man bsdinstall!
-
meena
a -C dir has to exist
-
polyex
dunno what that means i thought -C was an option
-
polyex
ya it is
-
jean-loups
polyex, use dd if you want create an boot usb stick
-
polyex
it's for dir
-
polyex
no
-
polyex
i'm copy pasting a command from a man page and it errors so isn't that a bug in the docs?
-
polyex
i don't know tar good enough to know
-
polyex
oh is tar xvf -C not right to extract a .img file?
-
polyex
maybe that's the mess up im making
-
psycorama
tars f option expects the filename as next parameter. the space is optional
-
polyex
so the man page does have a bug?
-
psycorama
the tar-manpage? which line?
-
polyex
no bsdinstall man page
-
polyex
tar xvf -C dir FreeBSD-13.2-RELEASE-amd64-mem... line
-
polyex
oh sorry they use a different name for dir, so the xvf -C line
-
psycorama
i've found the line.
-
polyex
ya i really feel like that's a bug. just tested it with an .iso file
-
psycorama
looks like that to mee, yes
-
polyex
will you or someone like meena pls report?
-
psycorama
you found it, so the credits should go to you :)
-
polyex
lol i don't care about credit just freebsd being the best!
-
polyex
so what's the right way to extract an .img file?
-
polyex
not iso like the buggy line but .img
-
psycorama
i've no idea if tar ist capable of extracting it, but reordering the parameter might work by fixing the tar command
-
dch
is there a way to tell the *actual* clock speed of a running cpu?
-
dch
specifically,
cpu-monkey.com/en/cpu-intel_xeon_e_2378g is 2.8GHz base, but can boost up to 5.1GHz on a single core
-
polyex
ya the order fixed it
-
dch
this will be a huge help for build from src if the boost is actually occuring
-
polyex
lol on a hunch i looked at newer versions of man page for bsdinstall, it's fixed!
-
polyex
just 13.2 isn't backported
-
dch
`sysctl dev.cpu | grep freq:` looks promising but so far we are sitting firmly on 2801 still
-
polyex
.img isn't recognized by tar psycorama
-
psycorama
polyex: thought so.
-
psycorama
dch: do you have any process running to limit your cpu clock speeds? (powerd, or similiar)
-
dch
psycorama: not, not atm
-
polyex
so anyone know what the util is for .img like tar is to extract .iso pls pls? :)
-
dch
polyex: I'd try 7zip from ports its pretty good at unpacking most stuff
-
psycorama
is turbo-boosting set in the BIOS/EFI?
-
polyex
nothing in base for .img!?!?
-
dch
psycorama: I don't have direct acccess for that
-
dch
polyex: recapping as I missed above, you have FreeBSD-13.2-RELEASE-amd64-memstick.img and want to extract what from it?
-
psycorama
dch: you could try to set a minimum frequency with powerd (or similiar)
-
polyex
just extract it like i extract a disc1.iso of the same installer
-
polyex
so i can put a file in /etc/installerconfig for unattended bsdinstall
-
dch
polyex: ok, you want to modify it.
-
polyex
ya
-
polyex
then repack it as .img again
-
dch
switch to root
-
dch
mdconfig /path/to/.img
-
dch
mount /mnt /dev/md0
-
dch
now you have a r/w UFS partition
-
dch
actually I should check this, that path is almost certainly wrong
-
polyex
is there any tool to do it in place edits of .img files?
-
dch
polyex: here you go
-
dch
-
VimDiesel
Title: Snippet | IRCCloud
-
dch
so this is the "quick" way
-
dch
if you want to build custom FreeBSD install images today, I would recommend poudriere-devel and the image format
-
dch
-
VimDiesel
Title: poudriere image.8 devel · freebsd/poudriere Wiki · GitHub
-
dch
it looks 1000x more complicated than it actually is
-
polyex
what's the benefit of poudriere-devel? and ya i need to automate generating unattended install/scripted bsdinstall images to then deploy. that make sense?
-
dch
polyex: the mdconfig ... mount ... umount ... trick above is manual, not repeatable
-
dch
polyex: poudriere image automates that
-
polyex
explain high level how it works pls?
-
dch
- input: git for src & ports of freebsd if needed, and an overlay directory
-
dch
- output: your freebsd install image, with the overlay bits in the right place
-
dch
basically your /etc/installerconfig (and whatever else you want) ends up inside the image
-
polyex
can the output be in different formats? just like how freebsd installs come in like disc1.iso, minimal.iso, memstick.img different variants
-
polyex
or just 1 or?
-
dch
polyex: it will produce whatever flavour you want
-
polyex
incredible
-
polyex
ya the dream is to do like i said, automate generating custom freebsd install images that can deploy, start up once and install/configure everything, reboot once and be in service
-
dch
ok I updated the URL above with copying a file in, then umounting and removing the md device
-
dch
after that your modified installer is complete
-
polyex
wow tyvm!
-
dch
polyex: theres also my oldish notes on poudriere,
docs.skunkwerks.at/s/3SL9taN8s to help you get started there
-
VimDiesel
Title: pkg and poudriere - a lightning trip - HedgeDoc
-
polyex
ty!
-
polyex
so what's the zfs dataset thing you do?
-
polyex
i run zfs on host, and am planning to start running bhyve vms on zfs too. not ufs
-
polyex
(ufs on zfs)
-
polyex
so the scripted bsdinstall will need to expect zfs backed storage
-
polyex
found that in the man page for bsdinstall so shouldn't be too hard
-
dch
zfs in poudriere?
-
dch
it just uses zfs to keep things nice and tidy, ensuring builds are not dependent on host system
-
polyex
well pou will run on a box and that'll be running zfs ya? maybe i'm missing something
-
polyex
ya that sounds good
-
dch
yep poudriere runs fine on ufs as well, but it can do smarter stuff on zfs
-
polyex
you said you deploy zfs datasets on top.. on top of what?
-
dch
aah ok like this
-
dch
-
VimDiesel
Title: GitHub - KlaraSystems/sync-be: Configuration management for ZFS Boot Environments
-
dch
this might be a bit further on than you're ready for but in a nutshell:
-
dch
- use poudriere-devel image to create a full install image
-
dch
- blat that on by arcane means not covered here
-
polyex
some kinda raw disk imaging?
-
dch
- periodically push a new Boot Environment (zroot/ROOT/os-20230926 ) for example
-
polyex
man that sounds amazing
-
polyex
is a zfs boot env same as a freebsd boot env?
-
dch
- sync-be transfers a few config files and dirs from the current BE to the next one
-
polyex
why do you want that?
-
dch
-
dch
-
dch
polyex: the image is the same across all servers
-
dch
but things like /etc/{rc.conf,hostid,ssh/*} are different
-
polyex
ya this is exactly what i'm getting into. cutting out CM by deploying preconfigured images
-
polyex
all immutable
-
polyex
damn this is sick
-
polyex
also moving to heavy use of jails in addition to bhyve
-
dch
the servers are installed via a custom cloudinit hook that does DD over the top
-
polyex
damn, nice
-
angry_vincent
oh. dch always has some nice howtos!
-
dch
yes, that magic is from Equinix Deploy.
-
polyex
what's equinix deploy?
-
dch
metal device create ... --userdata '#cloud-config
-
dch
-
dch
equinix has a hosting service as well as networking (they bought Packet.net)
-
polyex
jails linked with ipv6 mesh network niiiiiice
-
polyex
ahhh
-
dch
equinix provides BGP and similar stuff as part of this
-
winternull
Equinix is one of the largest datacenter presences on earth, not just a hosting service.
-
winternull
for scale
-
dch
and the sysutils/equinix-metal-cli port allows creating systems from a custom image
-
dch
there are a few rules, I forget the precise requirements, but its about how the partitions need to be named
-
dch
winternull: yes they are a veritable leviathan
-
psionic
14 STABLE WEN?
-
polyex
equinix sells vps?
-
dch
no VPS, just bare metal. such sweet bare metal.
-
psionic
and fix the CDN please I have to do pkg add xfce like 20 times and it starts working with no reason
-
dch
psionic: this sounds like you could do a BZ report with slightly more specific info
-
polyex
equinix does dedicated servers? that's what you mean by bare metal?
-
dch
yep
-
polyex
what makes it sweet?
-
dch
polyex: all the flexibility of "cloud" but its actually a full machine
-
dch
-
VimDiesel
Title: Bare Metal Standard Gen 3 Servers - Automated Configurations by Equinix Metal
-
dch
full mgmt incl provisioning via API
-
polyex
the server says network 2 x 25gbps then the price of like $50/mo... that doesn't INCLUDE 2x25gbps of bw tho right?
-
polyex
that would be way too good a deal
-
polyex
-
VimDiesel
Title: m3.small.x86 - Equinix Metal Intel® Xeon®
-
polyex
ya looks like bandwidth is extra
-
polyex
-
VimDiesel
Title: Directly connect your infrastructure to thousands of destinations – Equinix Deploy
-
polyex
50 Mbps $0.15 /hr is cheapest = $108/mo
-
polyex
so like $160/mo for a good little server and fair bit of bw. seems like an ok deal?
-
polyex
if they had generous and powerful ddos protection to rival cloudflare monopolists that would be tops
-
winternull
amazes me that potential/inevitable DDoS victims will host systems and applications with the very provider that's protecting many of the DDoS actors on their own networks
-
dch
^ this
-
dch
equinix networking is not surprisingly very good
-
polyex
better aggregator to xconnect to and just use equinix hw?
-
polyex
winternull i don't know network world inside and out, what can i do? how can i find good upstreams?
-
winternull
depends on the requirements. there's genereally not a one-size-fits-all solution.
-
polyex
:/
-
winternull
how are you defining Good or Sufficient in this case?
-
winternull
what's your cost limit, ingress/egress p95, do you need geo-redundancy or ability to rapidly scale nodes or instances, do you use containers or 'serverless' compute, etc etc
-
polyex
k
-
winternull
there's a range of standard questions for scoping a deployment and locating providers, so it depends on the level of infrastructure provider involvement and expectations from the customer to facilitate a solution
-
polyex
dch isn't it possible to skip the step where i mount the installer img? can't i just git clone the latest release branch of the source, add the /etc/installerconfig file, then generate an img from that with the /usr/src/*/release scripts?
-
polyex
im trying to run /usr/src/release/amd64/make-memstick.sh and it says /boot/loader.efi no such file or dir. i cloned the freebsd/freebsd-src git repo releng/13.2 branch
-
dch
polyex: there are an infinite amount of ways to build FreeBSD from source, but start off with poudriere-devel and an overlay dir, it will do all the things you need
-
dch
make memstick has prior dependencies which you're not meeting (buildworld, buildkernel, etc)
-
polyex
ohhh damn. but .iso doesn't?
-
polyex
ah .iso depends on it too
-
polyex
so i need to dl existing isos or imgs, can't use a git clone/pull
-
polyex
unless i use pou for the make build world stuff
-
dch
there's nothing wrong with nutting this all out yourself, but for getting from zero to the finishline, poudriere-devel is the way to go
-
dch
the #1 advantage of poudriere is reproducible builds in a clean environment
-
polyex
but if i can just take disc1.iso extracts, then copy my overlay dir right over the extract copy, then run the iso maker script, why do i need any more?
-
polyex
ya from that same disc1.iso extract, i can use release scripts to repackage as both .iso and .img!!
-
meena
polyex: did you figure out what i meant with: "07:25 <meena> a -C dir has to exist"
-
polyex
ya the man page syntax was buggy. i found the answer, and the -current man page has the bug fixed lol
-
dch
polyex: for building installers, I'd err on a clean toolchain and reproducibility myself
-
meena
yuripv: while you're on a roll reviewing my phabricator contribs, do you also wanna take a look at:
freebsd/freebsd-src #827 ?
-
VimDiesel
Title: document pmap_kextract/vtophys by igalic · Pull Request #827 · freebsd/freebsd-src · GitHub
-
SKull
has anyone in here 'emby-server' up and running in a jail?
-
yuripv
emaste: just wondering if there is any smbfs2/3 work in progress? (looking at
hackmd.io/@jhb/ByWrxQmr2)
-
uskerine
hi, I want to format a SD card, I see somewhere that gpart needs to be used, but gpart is not installed, is there anything newer to be used instead?
-
RhodiumToad
gpart is part of the base system
-
uskerine
oops
-
uskerine
I was ssh'd into a linux box
-
markmcb
is there a feature similar to "zzz -Z" in openbsd? i.e., hibernate. apropos lists nothing for me.
-
yuripv
zzz(8) says it simply invokes acpiconf -s <state>, try specifying the state via acpiconf?
-
uskerine
and how do I delete partitions from the sd card, I see them with gpart show, but how can I delete everything and restart from scratch
-
uskerine
(format as FAT32)
-
uskerine
# gpart destroy da0
-
uskerine
gpart: Device busy
-
RhodiumToad
if there are existing partitions, you have to delete them first, or use -F
-
VVD
or use dd :-D
-
uskerine
thanks RhodiumToad
-
uskerine
once I create the partition with gpart add -t fat32 da0
-
uskerine
do I have to "format" it? (I am sure it is a dumb question, but better ask)
-
uskerine
mkfs -t msdos ?
-
RhodiumToad
newfs_msdos
-
RhodiumToad
newfs_msdos -F32 ...
-
uskerine
thanks
-
angry_vincent
is there a way of checking cpu degradation? i suspect this happening on my thinkpad w520. having massive CPU0: local APIC error 0x80 dmesg message
-
debdrup
Use a pastebin.
-
debdrup
Welp, nevermind. Wasn't scrolled down.
-
CyberCr33p
any idea what happened to the forums ?
-
rtprio
they look ok from here?
-
yuripv
CyberCr33p: that's not the first time you are asking, and forums don't seem to have any problems. If you are using vpn, you are most likely blocked.
-
yuripv
err, i mean public vpn services, of course
-
_xor
I'll die a happy man if I don't have to deal with ghc tooling >:(
-
veg
okay, so I've got a Debian jail & a FreeBSD host sharing some media files over nullfs
-
veg
I need a "media" group on both systems
-
polyex
isn't that weird to have user dbs kinda blur together like that?
-
veg
well, I'm just trying to figure out what GID would work on both systems
-
veg
there's very little in /etc/group on the standard FreeBSD install, wondering if daemons add some lower number groups afterwards?
-
meena
veg: create a dedicated user/group with the same UID/GID on both system to share the date.
-
veg
thanks meena
-
rtprio
polyex: no, not weird at all