-
demido
i got freebsd running on a server and it's way hotter than when i had linux on it. my powerd_flags are -a hiadaptive. is that right or should i change it?
-
demido
it's a dell r430 fwiw
-
demido
checked with coretemp and it's all in normal ranges so nvm i guess
-
tykling
phryk: sorry I didn't see your message, hm, I didn't make the port but doesn't gstat_exporter_flags="-l 127.0.0.1" or whatever do something?
-
tykling
phryk: otherwise let me know and I will add a patch to the port rc script because that should of course be possible :)
-
polarian
I have a question about grep, not sure if anyone here will be able to help but I may as well ask. a file which I have been given to grep has special character for bold (^H) how do I get grep to ignore these and match against the word only?
-
nimaje
can those appeare inside the substring you are searching for? how about removing them with tr -d?
-
phryk
tykling: thanks, will test later today and tell you whether it worked via query.
-
la_mettrie
polarian: (maybe try #bash or #zsh etc. for that question?)
-
polarian
la_mettrie: I am not using bash though :P
-
polarian
nimaje: not meant to, #linux has helped
-
polarian
I am sufficiently convinced this is the lecturers mistake and not mine
-
nimaje
how did you solve it?
-
polarian
I haven't asked
-
polarian
I just realised that one of my modules had been voided... 12 weeks of work has been thrown out and I have failed the module
-
polarian
without reason
-
polarian
I got a feeling its an accusation of cheating, I aced the first coursework (only 100%) but then submitted a half arsed attempt for the second one due to mental health issues, but anyways thats OT.
-
nimaje
ah, then I misunderstood your '#linux has helped' as being '[…] and with that help I have solved it'
-
polarian
oh right sorry I missed the messages from p hryk
-
polarian
sorrry
-
polarian
wait I am so confused
-
polarian
oh wait this is likely a panic attack
-
svragv
Hello. I have dumped the hard drive of a physical OpenBSD machine using ddrescue. Now i want to use this image as a bhyve drive so I can create a VM from this disk image. i tried using vm-bhyve but it stucks in the uefi shell. But if i pass it the ahci-hd parameter itwillsimply not boot. Here I attatch the vm-bhyve configuration file and the output log:
meth.cat/file/173823161586.txt
-
svragv
-
quickrr
whats the difference OPTIONS_RADIO vs OPTIONS_SINGLE?
-
quickrr
they look the same
-
vkarlsen
With SINGLE you have to choose one, with radio you have the option of not choosing any. I think.
-
quickrr
single does the same too
-
quickrr
radio archivers/libarchive, single lang/go-devel
-
quickrr
space/space
-
quickrr
turns both off
-
quickrr
ah i see now, Config is invalid. Re-edit? [Y/n], my bad
-
svragv
BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x3,0x0): Not Found says now
-
Ltning
I'd like to see the discussions that ended with this being classified as an errata and not a security advisory:
freebsd.org/security/advisories/FreeBSD-EN-25:02.audit.asc
-
Ltning
I sort of assume a "root can do anything anyway" line of reasoning, but when it comes to auditing that is only partially true..
-
friendlyguy
hi there! i was wondering if somebody could help me to create a fat32 partition on a 1G device? i created a gpt partition table: no problem. i added a partition for fat with: gpart add -t ms-basic-data /dev/da1 ... however: as soon as i try to format that partition i get an error that i need at least 65525 clusters.
-
friendlyguy
gpart show -p da1 givess me "40 2097072 da1p1 ms-basic-data (1.0G)"
-
friendlyguy
unfortunately i dont get the problem here: 1gb should be big enough for a fat32 filesystem, right?
-
Ltning
I think newfs_msdosfs needs some options there, to force sectors per cluster to be smaller
-
Ltning
Try passing -c <cluster-size> ?
-
svragv
So EDK2 can only boot GPT tables? This is garbage
-
svragv
Anyways, how can i convert a disk image from MBR to GPT?
-
[tj]
Ltning: does something being an EN rather than an SA make it harder for you to update machines?
-
Ltning
It's more about whether we'd be aware of it. We subscribe to announcements on -security; erratas are more randomly picked up.
-
Ltning
I could invent something about if it's not an SA we don't get approval for touching prod, but that would - for the time being - be bs. :)
-
Ltning
(but it may apply in the future, and very possibly to others)
-
[tj]
you could subscribe to errata-notices⊙fo
-
[tj]
Ltning: I think it is worth asking secteam directly about this one
-
Ltning
Yeah, some of us do. But not feeding into our ticketing system. But that's a "us"-problem, obviously.
-
Ltning
But yeah, I'll ask the secteam after I've looked around a bit to see if I find some guidelines they follow on how to classify.
-
mage
hello, is there a way to change the BootCurrent from /EFI/freebsd/loader.efi to /EFI/BOOT/BOOTX64.EFI ?
-
mage
I updated /EFI/BOOT/BOOTX64.EFI on each ESP partition, did a zpool upgrade ... but I forgot to update /EFI/freebsd/loader.efi .. is there any way to fix this?
-
mage
(my system is now unbootable)
-
kevans
hmm, any chance you have a UEFI shell baked into the firmware?
-
mage
mmh this is a remote Hetzner box .. I just asked for a KVM but didn't have it yet
-
kevans
or is there a non-FreeBSD option if you drop into a firmware boot menu?
-
kevans
oh
-
kevans
that makes it a lot more awkward
-
mage
:(
-
kevans
oh, wait. it's broken after loader
-
kevans
but I guess you don't have a serial console to interact with loader? loader could chainload bootx64.efi if you can access it
-
ke5c2fin
Using portmaster, if I am correctly building openssh-portable with libressl should I expect the output of /usr/local/bin/ssh -V to say something other than OpenSSH_9.9p1, OpenSSL 3.0.15 3 Sep 2024?
-
mage
kevans: I'm waiting for the KVM ..
-
mage
kevans: I thought only /EFI/BOOT/BOOTX64.EFI was used
-
kevans
no, bootx64.efi is the removable media fallback; we try to only use the one in our namespace
-
mage
grrrmrmmlb
-
mage
:)
-
kevans
once you get into loader, it's the `chain` command
-
mage
thanks, I'll check
-
kevans
should just be a matter of `lsdev` to identify the name of the ESP, then `chain diskwhatever:/efi/boot/bootx64.efi` or something to that effect
-
mage
thanks a lot
-
psionic
No SAR on FreeBSD 14 huh?
-
psionic
whats the best way to do this: sar -n DEV 1 1 | grep eth0 | tail -n 1 | gawk '{print "Down: "$5,"Up: "$6}'
-
psionic
works fine in linux
-
mage
kevans: I have the EFI shell.. no loader
-
mage
any idea ..?
-
ridcully
psionic: netstat -ibn shows in/out pkts/bytes (assuming, that is what gets printed there)
-
psionic
You mean netstat -I <interface> 1
-
psionic
I see it's printing it in bytes/sec any way it can do mbit/sec ?
-
psionic
with the -ibn what you said it is printing the overall incoming outgoing packets on the interface since it was rebooted with the -I int 1 it goes into interactive and printing the bytes/sec this is still better for me
-
psionic
just need it to be non-interactive so i can do something with the output
-
ridcully
psionic: -q1 would stop after one line
-
kevans
mage: EFI shell should be able to directly execute \efi\boot\bootx64.efi with the right incantation
-
kevans
fs0:\efi\boot\bootx64.efi maybe, depending on the fs# of the ESP
-
ridcully
psionic: and -w1 would wait a second for your /sec window
-
mage
kevans: ok it works! I have to fs0: and cp the loader.efi
-
mage
thanks :)
-
psionic
Thanks perfect, just what I needed
-
mage
any recommended link to master the EFI shell?
-
kevans
mage: no but let me know if you find one :-D
-
kevans
the extent of my knowledge is that I threw out a wild ass guess of just typing a path and it worked, and I've only had to do that ever since