-
Dyke_Dragon
Twenty-twenty-three is on.
-
nacelle
its not fully on the air yet
-
cracauer
Did you all watch Dinner For One as you should on New Years Eve?
-
xtile
I watched it for the first time, today. It was alright in a good way! Not the greatest, but still funny.
-
cracauer
By the time it is on you should be half drunk already :-)
-
wcarson
anyone know what the general steps one should take to run a linux (arm64) binary on freebsd (aarch64)? i added linux_enable="YES" to rc.conf, and done service linux start, and if i try to start the program it just sits at 100% cpu in state 'futex'
-
mason
wcarson: FWIW, take something simple like "cat" so you've got a nice base test case.
-
mason
wcarson: Next,
wiki.freebsd.org/LinuxJails is very recent.
-
VimDiesel
Title: LinuxJails - FreeBSD Wiki
-
wcarson
hmm, thank you for that wiki article. it's always a challenge for me to find the most accurate/recent information. looks like i need 14-current and i'm on 13.1-release
-
wcarson
i also can't kill the process and have to force power off :/
-
wcarson
i wish silicondust would just release hdhomerun_record for freebsd/aarch64. they release amd64, and for linux x86_64/arm64.. oh well.
-
wcarson
oh interesting
-
wcarson
it's failing with this linux: jid 0 pid 1103 (hdhomerun_record_ar): unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
-
wcarson
it's repeating that as fas as it possibly can
-
wcarson
-
VimDiesel
Title: rG7e5bf68495cc
-
wcarson
nice, landed with 14.0!
-
wcarson
dare i update..
-
parv
Do ya feel lucky, wcarson? Do ya?
-
wcarson
i may as well : )
-
wcarson
because if it works, it means i don't need to spin up another system :)
-
parv
Happy New Year to all who are in right time zone. (Yeah, still 2022 here, not that I am in any hurry)
-
llanhmod
/wc
-
rennj
w0rd!
-
mns
how can I tell if I need to reboot my system after doing a 'freebsd-update fetch install' ?
-
la_mettrie
if `freebsd-version -k` and `uname -r` give different outputs, then you need to reboot
-
mns
thank la_mettrie
-
moon-child
I would like to dual-boot freebsd with linux. I have made a separate root partition, but would like to share the boot partition (efi). Will the freebsd installer stomp on the existing boot files? If so, how can I tell it to not do that?
-
dch
moon-child: IIRC the installer can use manually created partitions
-
dch
but for safe keeping, make a copy of your EFI partition to be sure.
-
moon-child
but will it stomp on the data in the partition?
-
nimaje
it will write what it needs, no idea if that conflicts with what your linux needs
-
msiism
moon-child: There's a shortish article on the FreeBSD wiki about this that might possibly be somewhat helpful:
wiki.freebsd.org/Laptops/Lenovo_Yoga_3_14/DualBoot
-
VimDiesel
Title: Laptops/Lenovo_Yoga_3_14/DualBoot - FreeBSD Wiki
-
msiism
I wonder though, why it involves resizing an ext4-formatted partition.
-
msiism
One could leave space for the FreeBSD installation when installing Linux.
-
moon-child
that seems to recommend using a separate boot partition for each os. Something I would like to avoid
-
msiism
Oh, I see.
-
msiism
The FreeBSD Handbook doesn't seem to cover this either. I just had a look.
-
moon-child
at a guess, it will overwrite bootx64.efi. So if I rename refind bootx64.efi to something else and then play efitoobmgr dance, it should work fine?
-
debdrup
There's probably hundreds of ways you could dual-boot FreeBSD with some other OS, and none are "the right way" - so it's not e xactly something that the handbook can cover.
-
debdrup
Just using FreeBSDs standard boot loader, there's something like 10 variations.
-
dch
moon-child: its going to be quicker to test this than guess... FreeBSD has had a /boot/efi/EFI/FreeBSD/.... section but you are probably correct that it will over-write it
-
dch
the default bootx64.efi file
-
dch
I highly recommend adding refind into the mix for dual booting, it makes life much simpler
-
moon-child
I am using refind
-
dch
nice
-
dch
here's whats in my efi partition, filtered for readability
irccloud.com/pastebin/cObkFV7X/efi.partition
-
VimDiesel
Title: Snippet | IRCCloud
-
dch
with a bunch of obvious stanzas for refind.conf
-
dch
menuentry "FreeBSD current" { \n loader /EFI/FreeBSD/loader.efi \n }
-
ixmpp
> debdrup:
-
ixmpp
> 2023-01-01 10:59 (GMT)
-
ixmpp
> Just using FreeBSDs standard boot loader, there's something like 10 variations.
-
ixmpp
it can boot linux?
-
ixmpp
oh no, that formatted horribly, i'm so sorry
-
debdrup
-
VimDiesel
Title: src - FreeBSD source tree
-
ixmpp
very cool
-
moon-child
dch: thanks
-
moon-child
is this mounted anywhere, or do I have to tell the installer about it some other way?
-
moon-child
(esp doesn't seem to be mounted by default on my laptop)
-
dch
moon-child: I have this `/dev/gpt/efiboot0 /boot/efi msdosfs rw,late 0 0`
-
dch
in fstab
-
dch
my system is so far off standard I assume its added in installer but I can't be sure anymore
-
dch
and this is a 14.x too
-
debdrup
Under normal circumstances you shouldn't need to mount the ESP.
-
debdrup
/boot/efi isn't a standard mountpoint by the installer as far as I know.
-
yuripv
it is now
-
nimaje
hm, I have a line like that too and I'm sure I didn't add it, but why would you mount it writeable by default?
-
yuripv
-
VimDiesel
Title: Mount the EFI system partition (ESP) on newly-installed systems. · freebsd/freebsd-src@0b7472b · GitHub
-
dch
nimaje: so the efi loader can be updated during freebsd-update I assume?
-
debdrup
yuripv: huh.
-
moon-child
oop, how does manual/shell partitioning work? Instructions said to mount the new root fs in /mnt, and put an fstab in /tmp/bsdinstall_etc/fstab; I did that, resumed install, and got: 'eError while extracting base.txz: Failed to open 'Error: Expected no more than 3 tokens for --msgbox, have 9. Use --help to list options./base.txz'
-
moon-child
'
-
moon-child
seems to go away when I don't ask it for debug syms. Guess I can install those after the fact
-
nimaje
shouldn't it remount it then to have it only writeable when needed?
-
CCFL_Man
is there an automated way to update leap-seconds.list?
-
meena
moon-child: odd. that sounds like a bug
-
megaTherion
Hi, can it be that FreeBSD mpr driver supports Broadcom 9341-8i HBA despite the manpage not mention it?
-
megaTherion
(at last its also a broadcom card)
-
meena
megaTherion: if a man page lies about driver support, that's either a bug, or, no, there's no either/or, it's just a bug
-
megaTherion
meena: sometimes manpages aren't all up to date, I'd not consider this a lie
-
cracauer
You can also make certain new hardware work by accident by coding support for a similar (older) one.
-
Delemas
On Freebsd 13, running /usr/bin/openssl and typing version returns 1.1.1o. pkg info | grep openssl is listing 1.1.1s. What is the correct way to indentify the version in use?
-
Delemas
Ah nevermind... Currently one is installed in /usr/local....
-
nimaje
the /usr/bin/openssl one comes from the base system, as that needs openssl sometimes (e.g. fetch, ...), so openssl comes bundled with freebsd, but you can install some version via pkg too (same with llvm/clang)
-
V_PauAmma_V
I see you answered your own question, so I'll just mention that "pkg info openssl" would work as well.
-
meena
if you use PkgBase, you'll get two OpenSSL packages in that pkg info | grep statement
-
meena
megaTherion: a docs bug is still a bug
-
nimaje
bug and outdated yes, but I too wouldn't call it a lie
-
Delemas
I found "pkg audit openssl-1.1.1s" but the output doesn't make much sense to me. I ran an pkg audit -F first but it is still reporting vulnerabilies that are already patched in 1.1.1s ex. CVE-2022-0778.
-
Delemas
perhaps having two different versions installed gets audit confused?
-
rtprio
i don't think that's what it goes on
-
Delemas
Hmm it appears you cannot ask unpatched vulnerabilities in a particular package only the whole system with an pkg audit -F.
-
parv
Even if one does not make own changes (or barely any), running "git repack -d && git gc --prune --aggressive" in /usr/{src,ports}, once in a blue moon reclaims (significant enough in my case) disk space. Note that "git-gc" in /usr/src could take some noticeable time.
-
tuaris
Is it possible to load a 12.2 kernel module on 12.3?
-
parv
If all the other related dependencies are fulfilled, perhaps could specify the file to load; see the examples in "kldload(8)" manual page