-
darwin
i was hoping for the FreeBSD 14.1 torrents
-
SponiX
darwin: that would be nice
-
SponiX
I like torrents, and like to stay away from anything.0 releases
-
darwin
i always upgrade to the latest release. I haven't found any ending in zero any worse
-
darwin
trying to upgrade one FreeBSD 14 to 14.1 server, it keeps saying there's ld-elf.so.1 errors, when I don't think I ever installed Linux compatibility
-
V_PauAmma_V
ld-elf.so.1 is the FreeBSD dynamic linker. It has nothing to do with the Linuxulator.
-
jonusenet
hey i found out freebsd compiles with the c++ compiler, but last time it froze up on boot.. anyone want to flesh this out and get c++ in the freebsd kenrel+userspace?
-
jonusenet
if we do c++ in the freebsd kernel/usespace you can do some crazy things, like inheritence and encapsulation, instead of a linear system of programming, a terminal application can inherit all properties of a few classes. and theres an stl for queues/vectors/lists
-
darwin
i couldn't edit the new sshd_config file and now need to find the new one
-
darwin
how can I reinstall the linker then?
-
deimosBSD
so far my conversion from truenas core plugin to jail is failing miserably
-
deimosBSD
truenas appears to have set a bunch of acls on the zfs mount and i haven't found the magical incatation to undo them
-
darwin
i'm stuck in a loop editing my old and new sshd_config... wasn't explained what 'merge markers' are or how to resolve this...
-
deimosBSD
sounds like your upgrade failed somewhere
-
darwin
this is a different upgrade with the merge markers
-
darwin
how do I fix both?
-
darwin
i just reinstalled
-
darwin
the one that had the upgrade error (still don't know how to fix sshd_config on the other)
-
darwin
since I could only reinstall with FreeBSD 12.2, how would I upgrade that to 14.1... do I have to upgrade to 13.0, 13.1, 13.2, 14.0, 14.1 in that order?
-
deimosBSD
you can probably go straight to 14.1
-
deimosBSD
but it'll be lots of merge and vi work
-
darwin
ok
-
deimosBSD
why not install 14.1 direct?
-
darwin
not available yet at that virtual private server (VPS) company
-
deimosBSD
as an aside, this is re-confirming my policy of waiting to -p1 for upgrades
-
darwin
i opened a ticket please update to supported releases
-
darwin
i can't merge yet
-
darwin
don't know how
-
deimosBSD
the merge dumps you into vi
-
deimosBSD
with the diff output
-
deimosBSD
so you have to choose which version of each conflicting line you want
-
darwin
i can use vi but don't understand how it organizes the files
-
darwin
i have a few FreeBD 14 PCs, now upgrading to 14.1. Turns out some have a large number (50 to 100) of programs/softwares installed from ports, even though I don't recall installing most/any these from ports, and I know most/all are also packages. Is there a way to get a list, uninstall them all as ports, then reinstall as regular packages?
-
deimosBSD
did you use portmaster or some ports mgt tool?
-
darwin
don't recall
-
darwin
maybe it's just a few things and dependencies that didn't used to be packages years ago. Normally I use pkg
-
deimosBSD
does "pkg info" show any of the ports?
-
deimosBSD
i don't have access to a machine with just ports installed
-
darwin
yes, it does
-
darwin
plus regular packages I think
-
deimosBSD
i think i'm going to have to setup a new nas server using real fbsd and migrate from truenas core. migrating in place should work since everything is in zfs, but it seems risky
-
deimosBSD
try "pkg upgrade" then?
-
darwin
i already did that but apparently the ports remained
-
darwin
i got a message stuff was installed from ports
-
darwin
some of it's common stuff like curl, xfce, maybe was ports longer ago or I needed newer version, but not ow
-
darwin
'now'
-
deimosBSD
you could uinstall the port, then install via pkg
-
deimosBSD
also update to weekly pkg builds instead of quarterly
-
deimosBSD
s/weekly/latest as fast as the builds happen/
-
darwin
isn't that standard except on NetBSD?
-
darwin
weekly?
-
deimosBSD
freebsd defaults to quarterly pkg releases
-
darwin
okay; how would I switch and is there any potential problem doing so?
-
deimosBSD
-
VimDiesel
Title: Chapter 4. Installing Applications: Packages and Ports | FreeBSD Documentation Portal
-
deimosBSD
it depends how stable you like your systems
-
deimosBSD
i've run latest for decade in production without any issues
-
al1r4d
14-1 is out :)
-
darwin
-sh: cannot create /usr/local/etc/pkg/repos/FreeBSD.conf: No such file or directory
-
darwin
oh, I have to make it
-
darwin
actually I'm having to upgrade from 12.2 to 13.0, 13.1, 13.2, 14.0, 14.1--you can't skip steps
-
lw
you can sometimes, but it's probably better not to if you aren't sure. upgrading from 13.0 straight to 14.0 is broken, for example
-
remiliascarlet
You can typically upgrade from 1.0 straight to 14.1 in 1 shot by just formatting the whole drive and installing from scratch.
-
wildeboskat
lol
-
wildeboskat
I came here to ask the same, 13.2-Release-p0 is better upgraded to 14.0 first right?
-
wildeboskat
And yes I'm a bit behind
-
wildeboskat
I'll install whatever 13 latest option first
-
wildeboskat
13.2-p11 it is
-
darwin
i don't know what p means
-
darwin
like p0, p11, etc.
-
wildeboskat
Oh it's the patch level of each release
-
wildeboskat
If you run freebsd-version you will see it
-
darwin
-
mage
wildeboskat: you should always upgrade to the latest major release first, then to the later major+1 release
-
mage
so if you're running 13.2 you should do 13.2 -> 13.3 -> 14.0, when 14.1 is out you should do 13.2 -> 13.3 -> 14.1
-
wildeboskat
Oh there is a 13.3 too?
-
wildeboskat
Oops
-
wildeboskat
So basically I just follow every step
-
polarian
14.1 update took 17 mins :/
-
polarian
anyways it works \o/
-
wildeboskat
My first attempt at upgrading from 13 to 14 was a big disaster, a few months ago
-
wildeboskat
It wouldn't even start anything
-
wildeboskat
So I rolled back ZFS and I haven't tried it since
-
wildeboskat
I'll try it again now that 14.1 is out :3
-
wildeboskat
I heard there was a bug also around release time
-
mage
wildeboskat: what didn't work?
-
mage
you had to make sure that freebsd-update is up to date
-
anexit
Is there a solar power wifi camera that can record 24/7?
-
anexit
What are my options?
-
lw
solar generator, battery pack, and low-power camera?
-
anexit
-
VimDiesel
Title: Amazon.com : SOLIOM Solar Security Cameras Wireless Outdoor WiFi 2.4GHz [24/7 Record] with 20W Solar Panel, 20000mAh Battery,360°Pan Tilt, Spotlight Color Night Vision,2-Way Talk, Motion Detection,IP65 SL800-WIFI : Electronics
-
anexit
Y&dib_tag=se&keywords=outdoor+live+stream+24%2F7+camera&qid=1717508689&sprefix=24%2F7+camera+live+%2Caps%2C275&sr=8-4
-
babz
it hink you forgot a few trackers at the end
-
anexit
yeah
-
anexit
need to add them
-
anexit
I went witha reolink
-
anexit
trackmix
-
scoobybejesus
looks like i will be walking down to the basement to manually power up the box after shutdown -r now didn't behave during the upgrade process
-
concussious
scoobybejesus: what did it do?
-
scoobybejesus
it apparently ignored the -r and shut down
-
lw
did it definitely shut down rather than just not rebooting properly?
-
tercaL
polarian: Why took that much?
-
polarian
tercaL: no clue.
-
polarian
patches took a good 5-6 mins to be fetched
-
scoobybejesus
actually, it didn't finish shutting down the box. the box is still running. it apparently is hanging
-
scoobybejesus
i have a pikvm hooked up to it, and it just shows no signal, but the box is still running
-
scoobybejesus
i'm inclined to manually power down and then manually power up again...
-
scoobybejesus
this has never happened with this box before (an ASRock Deskmini w/ AMD 3200G IIRC)
-
tercaL
Any ZFS pool upgrade needed from 14.0 to 14.1?
-
concussious
isn't pool upgrade always optional?
-
scoobybejesus
manual power down and power up, and luckily i have pikvm to give me a clue
-
scoobybejesus
-
scoobybejesus
to be clear, I just did `doas freebsd-update fetch install`, then `doas freebsd-update upgrade -r 14.1-RELEASE`, then `doas freebsd-update install`, then `doas shutdown -r now`. Then it hung. Then manual power down and power up
-
scoobybejesus
i'll hang out a bit without doing anything in case someone says "oh, actually, try X"
-
scoobybejesus
upgraded from 14.0-RELEASEp6 btw
-
lw
scoobybejesus: my suggestion would be to boot from 14.1 install media, and make sure the 14.1 loader is properly installed on the system you're booting (although it probably shouldn't break like this even if that is the problem)
-
scoobybejesus
thank you lw
-
lw
(if you use UEFI, note that this means you need to copy the new loader to the EFI (MS-DOS) partition - for CSM boot i'm not sure since i haven't done that in years)
-
scoobybejesus
this is weird. i can type `boot` at that prompt and it boots seemingly normally
-
scoobybejesus
and i finished another freebsd-update install... though it didn't ask me to upgrade ports/packages.. hmmm
-
lw
would be interesting to know if the loader problem continues after you did the userland config merge
-
concussious
it doesn't ask you to upgrade ports/pkgs for reasons
-
concussious
but i can add a note to the manual page?
-
lw
people read the manual page?
-
concussious
:'(
-
concussious
lol
-
saper
everybody reads /usr/src/UPDATING, no?
-
lw
saper: i think technically you're only required to read this if you upgrade from src, freebsd-update shouldn't need it... (although it definitely wouldn't hurt)
-
saper
I was joking a bit. I absolutely love that file and yes, I update mostly from source (on -CURRENT).
-
lw
although that's not quite true since pkgbase updates go in UPDATING too...
-
CrtxReavr
There a way to search the whois database by keyword?
-
saper
I refuse to acknowledge the very existence of pkgbase :(
-
concussious
a lot of people i really appreciate are working on pkgbase, but i do find it scary.
-
saper
CrtxReavr: your query goes to the whois server. Whatever happens there, depends on that server.
-
lw
CrtxReavr: probably depends on which RIR you're querying (RIPE, ARIN, ...), they seem to use different implementations / query syntax
-
lw
they should provide documentation on how to search on their website
-
lw
fwiw, "whois -h whois.arin.net comcast" does seem to work to search for that word
-
saper
who needs a website when there is whois
-
saper
whois -h whois.cymru.com ' -v 8.8.8.8'
-
amigan
Hi all, I just went to update a machine to latest 14-STABLE and now I'm getting 'LUA ERROR: /boot/lua/core.lua:68: attempt to concatenate a nil value (field 'lua_path').' in the bootloader and it won't boot unless I manually load /boot/kernel/kernel ; boot
-
lw
oh so it's not just a one-off problem
-
lw
amigan: how did you update? did you run etcupdate already?
-
amigan
installworld, and yes, I did etcupdate
-
lw
amigan / scoobybejesus: can you show the contents of your loader.conf?
-
amigan
-
tercaL
concussious: "concussious: isn't pool upgrade always optional?" <- is it?
-
scoobybejesus
-
lw
tercaL: it should be yes, although it's probably recommended because sometimes older zpool versions are less tested
-
lw
hmm, not sure what's going on here but i might spin a 14-STABLE vm later and investigate... in the mean time i'd suggested posting this on questions@ or stable@ since it's apparently a new bug
-
lw
amigan / scoobybejesus ^
-
amigan
Unfortunately I think I am going to have to roll back this upgrade since it's my house firewall and if it reboots for any reason I'm ded.
-
lw
yeah, do post to the list anyway though if you can
-
scoobybejesus
14.0-RELEASE has `if lua_path == nil ...`
paste.debian.net/plain/1319149
-
scoobybejesus
lw, the second half of the email is @freebsd.org ?
-
lw
scoobybejesus: freebsd-questions⊙fo (or freebsd-stable⊙fo if you're on 14-STABLE)
-
lw
-
VimDiesel
Title: FreeBSD Mailing lists: subscription for freebsd-questions
-
scoobybejesus
i will send an email to the former, thank you (i had done a quick search, but ended up here:
freebsd.org/support/bugreports)
-
lw
you can report a bug too but i find the mailing lists tend to be more responsive for things like this
-
lw
strange this code hasn't been touched since April though
cgit.freebsd.org/src/log/stand/lua?h=stable/14 maybe it's something in loader itself
-
VimDiesel
Title: src - FreeBSD source tree
-
kevans
amigan: sounds like you've not been updating your loader binary
-
kevans
presumably this is UEFI
-
scoobybejesus
i didn't find in the release notes a mention of updating the loader binary
-
scoobybejesus
though i'm now wondering if that was in some prior release notes, and it is assumed that by now everyone has updated
-
kevans
the feature in question was added way back in 13.0
-
lw
kevin will probably disagree here but imo this is under-documented and just something you need to learn to do, i.e. update loader every time you upgrade
-
babz
that would explains why I cannot reproduce
-
» kevans notes that his name isn't kevin, bt he also doesn't disagree
-
lw
oops, kyle
-
lw
(i hope)
-
kevans
*nod* :-)
-
» lw quickly searched mutt inbox, yes that's right
-
lw
sorry :-)
-
kevans
we should really just have a standing part of the release notes to update bootcode
-
kevans
no worries
-
lw
does freebsd-update tell you to do this? i remember it tells you to do one thing, but i can't remember if it's update loader or update ports or something else
-
scoobybejesus
presumably i need to mount the boot partition, and then copy the updated loader.conf into the appropriate spot... that rings a bell
-
lw
scoobybejesus: usually the EFI (boot) partition should be mounted on /boot/efi, if it's not you might want to add it to /etc/fstab
-
kevans
i don't recall re: f-u
-
lw
and you need to copy the loader itself (/boot/loader.efi) into the EFI boot image which is probably called bootx64.efi
-
kevans
you might also be using it as \efi\freebsd\loader.efi instead on modern installs
-
lw
although you might also have it installed with another name i can't remember, something like freebsd.efi
-
concussious
man freebsd-update does not tell you to do either, I'm working on it now, any language reccomendations?
-
babz
iirc the efi loader used to be in two part, as the old loaders, and starting from 14.0 it's now a single blob, that's never automatically updated
-
lw
ah, it's /freebsd/loader.efi and /boot/bootx64.efi, you need to update both
-
concussious
I was thinking caveats section at the bottom, but I'm kinda sleepy and "don't forget to..." sounds too informal.
-
lw
inside the EFI partition, that is
-
kevans
we try to keep both up to date because we like to use the proper vendored one to play nicely with other OS potentially installed, but retaining \efi\boot if it's freebsd in case your efibootmgr bits get fucked for some reason
-
scoobybejesus
from 13.0-RELEASE notes: ESP partitions should be mounted as MS-DOS filesystems as /boot/efi, and /boot/loader.efi should be copied to /boot/efi/efi/boot/bootx64.efi if the default setup is used.
-
lw
scoobybejesus: that is correct, but also, you should update /boot/efi/efi/freebsd/loader.efi -- or just delete it as your firmware should load bootx64.efi by default
-
scoobybejesus
i don't have my efi partition mounted on /boot/efi
-
lw
(these are the same file so you just copy loader.efi over both)
-
lw
scoobybejesus: check 'gpart show -l', your EFI partition might be labelled something like 'efiboot0' in which case you can use this in /etc/fstab: /dev/gpt/efiboot0 /boot/efi msdosfs rw 2 2
-
lw
that's not really required but it's easier to have it mounted by default rather than doing it manually every time
-
lw
(this is from 14.0, i don't remember when the installer started labelling the EFI partition but you can just use the raw device name too like /dev/nda0p1 or whatever)
-
concussious
"When upgrading to a new FreeBSD version, don't forget to force update your packages and bootloader"?
-
lw
concussious: honestly i think this should be more forceful, freebsd-update should prompt you in large capital letters to do this
-
lw
i don't know how we'll handle that with pkgbase though... maybe a pkg-message for the bootloader package
-
lw
when 14.0 came out, "i upgraded my zpool and now i can't boot" was basically a faq here
-
concussious
I agree that it needs to be like, they can't miss it
-
lw
it probably should be handled automatically (like every other OS) but that's pretty hard to do without accidentally breaking things for unusual configurations
-
lw
like overwriting someone's Linux bootx64.efi with the new FreeBSD would not be appreciated, i suppose
-
scoobybejesus
yeah, i'm mirrored, so i have an efiboot0 and efiboot1 (and gptboot0 and gptboot1). interesting, efibootmgr -v shows i'm booting from this: `nda0p1:/EFI/BOOT/BOOTX64.EFI (null)` .. it knows it's null here
-
lw
scoobybejesus: i don't know why yours says (null), possibly because the filesystem isn't mounted?
-
lw
normally it shows the file path
-
lw
+Boot0004* UEFI OS HD(1,GPT,ffcc8ddd-0380-11ef-afad-207c14f3d8f2,0x28,0x82000)/File(\EFI\BOOT\BOOTX64.EFI)
-
lw
gpt/efiboot0:/EFI/BOOT/BOOTX64.EFI /boot/efi//EFI/BOOT/BOOTX64.EFI
-
concussious
looking at freebsd-upgrade.sh, it already tells them they have to rebuild ports
-
scoobybejesus
on my 14.0-RELEASE box, i don't show file names there at all:
-
scoobybejesus
+Boot0007* UEFI : SPCC M.2 PCIe SSD : PART 0 : OS Bootloader PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/NVMe(0x1,35-77-60-21-01-00-00-00)/HD(1,GPT,38e021d3-da4c-11ee-a3ff-1c697a08518c,0x28,0x64000)
-
scoobybejesus
VenHw(2d6447ef-3bc9-41a0-ac19-4d51d01b4ce6,530050004300430020004d002e0032002000500043004900650020005300530044000000)
-
lw
oh you don't have a device name either, weird
-
lw
idk, UEFI is black magic to me, but hopefully updating the loader on the EFI partition will fix your problem anyway
-
scoobybejesus
indeed :)
-
scoobybejesus
-rwxr-xr-x 1 root wheel 447K Dec 19 2019 BOOTx64.efi
-
amigan
kevans: sorry, just saw this. I am indeed using an old EFI binary, but /boot should be updated as it always is. Would simply updating the EFI binary in the ESP be sufficient?
-
lw
2019 :-)
-
scoobybejesus
:)
-
lw
amigan: yes, that's the part installworld doesn't do, copying the new loader to the ESP
-
amigan
Ahhh. Okay then. I just rolled back but let me try again
-
amigan
Does the EFI binary have the lua interpreter in it?
-
lw
yes
-
amigan
Okay, this makes lots of sense now
-
lw
well as long as you're using the Lua loader... which is the default
-
amigan
Yes, I should be
-
amigan
Though this system did use the 4th loader at one time
-
lw
i'm not sure when the switch to Lua happened but it was a while ago, personally i like not having to deal with forth
-
kevans
12.0
-
lw
coming soon: Java loader
-
concussious
the lua loader is massively better, but they did take away our ascii loader, which still makes me sad.
-
lw
concussious: beastie_disable=YES 4eva tbh
-
lw
except that kind of sucks on systems with slow EFI text consoles... my desktop takes about 15 seconds to print all the 'Loading foo.ko' messages. i guess vendors don't really test that
-
concussious
i sometimes am playing with things i dont understand and need the beastie menu to fix my computer
-
concussious
i used beastie_disable once and then i couldn't time it right to hit the key to escape it, so now I keep it set to 2
-
scoobybejesus
it obviously boils down to this, and now I'm good to go. Many thanks!
paste.debian.net/plain/1319157
-
lw
concussious: i have the opposite problem, i can't work out how to use beastie. with the normal loader i just load the working kernel and go
-
amigan
I love forth personally. Lua is okay. I'm sure we will indeed have a javascript loader someday, but I hope it is after my time on this rock.
-
concussious
lw: you would!
-
kevans
I don't think we'll see a javascript engine light enough to convince us to try and embed it into loader in my lifetime
-
lw
i miss the days when your system firmware could just load executables from UFS and you didn't need a boot partition
-
lw
kevans: there's a tiny C JS interpreter called something like "jsint" (?) that i bet you could fit into a loader
-
dstolfa
kevans: sometimes the perception is that javascript, while unsafe, is a simple language. that perception is extremely wrong.
-
babz
I'm pretty sure the uefi successor will be wasm-based
-
lw
to be clear i'm not suggesting anyone should actually do this. but i bet you could
-
kevans
lua's pretty damn slim and we still have to knock out most of the bundled libraries because we don't want to deal with it
-
dstolfa
babz: wasm is _very_ different from JS, though some bits of it are becoming a bit annoying
-
amigan
I already have a bangle.js 2 smartwatch that uses esprunio, a small JS interpreter written in C designed for embedded stuff. It's really not a stretch.
-
kevans
lw: hmm... brief glance, all I can find is 'elk' and maybe duktape?
-
saper
amigan: LOADER_DEFAULT_INTERP=4th I have. Sadly, we cannot use "full power" of Forth to tinker with stuff. It is limited mostly to interacting with stuff provided by the loader
-
lw
kevans: yeah i can't find it now. maybe i'm getting confused and thinking of something i used with C#
-
dstolfa
amigan: and how much % of ECMAScript does it implement? :)
-
kevans
elk looks promising
-
saper
SmartOS has container management tools written in Javascript and node is a part of the base system. (Joyent...)
-
lw
saper: do they still have the awful Solaris Java-based management tools? i guess (fortunately) those were never open sourced
-
amigan
"Espruino isn't 100% of any JavaScript spec (for instance no Regular Expressions at the moment), but it's pretty much ES5, with some ES6 features (arrow functions, template strings, binary literals, forEach/etc on ArrayBuffers) where it makes sense."
-
kevans
saper: at some point you'll have to maintain forth as a local patch entirely, we won't be holding onto it forever
-
saper
SmartOS is pretty slick. Totally a new experience to me. Like no space to install anything, you HAVE TO build containers.
-
saper
SmartOS to Solaris is a bit like TinyCoreLinux to the rest of the Linux distro world :)
-
lw
i'm honestly a little surprised people do enough with loader to care if it uses Forth or Lua
-
concussious
^
-
lw
i pretty much just set some things in loader.conf and that's it
-
dstolfa
i suspect "where it makes sense" is doing a lot of heavy lifting here, because in order to be ES-compliant you have to implement a lot of obscure and often slow functionality into your runtime which is only really helped with some extreme optimization
-
amigan
I mean yeah, I don't really touch it. Not like I'm writing games in it a la openfirmware
-
saper
kevans: I suspect that will be the case.
-
amigan
dstolfa: sure, but I am certain it is enough to be serviceable as a bootloader
-
saper
lw: true
-
dstolfa
amigan: maybe, but it's not something i'd call JS :P
-
dstolfa
it's a scripting language inspired by JS
-
saper
my bootloader is a nostalgia thing. I have contributed to OpenFirmware few years ago. Which is a real Forth bootloader. Someone even ported it to arm64 recently.
-
amigan
I mean it has promises and such
-
lw
saper: remember the Sun 386i? an i386 system with OpenFirmware back in the 80s
-
lw
don't think it ever ran freebsd though
-
amigan
Guy at the museum I volunteer at has a 386i
-
dstolfa
whereas i'm fairly sure that lualoader is pretty much lua, just without all the extra bits. ES requires you to be able to override a bunch of "internal" things which complicates things quite a bit
-
amigan
He now has "fewer than 300 suns"
-
amigan
dstolfa: Lua is probably full fat, but FICL was not totally ANSI forth afair
-
kevans
lualoader is more or less lua, modulo maybe 60-70% of the standard library and floating point bits removed
-
saper
lw: never hat a pleasure, it was always sun4-something for me (starting SPARCserver 10 I think). Solaris 2.5 for Intel was installed on my startup main server in 1996, the only sane OS it could run. And I bought Solaris 8 for Intel CDs when they announced it will be the last one
-
amigan
We have a wollemi at the museum, but something is fux0red with it and it won't boot. Service processor runs though.
-
amigan
Sun's very last hardware project, killed by the borg after acquisition.
ricomputermuseum.org/collections-ga…ystems-wollemi-ultrasparc-prototype
-
VimDiesel
Title: Sun Microsystems Wollemi UltraSPARC Prototype
-
amigan
Basically a T2 blade chopped in half, sandwiched around the ilom and stuffed in a low profile case made of aluminum and tempered glass
-
saper
amigan: is power supply difficult to fix?
-
amigan
saper: the PSU works, we think it is one of the buck converter modules not asserting PWR_OK to the CPUs
-
lw
huh, i thought they'd given up on SPARC desktops after the Ultra 20
-
amigan
Either that or when it got repaired last time by the donor, it lost a configuration page in flash or something
-
amigan
lw: this was semi-skunkworks
-
lw
ah
-
lw
oh wow a desktop with a T2. that's definitely a bit weird
-
amigan
It's extremely weird
-
amigan
Woot, new EFI binary fixed it. Though I still have the beastie menu...
-
lw
echo beastie_disable=YES >>/boot/loader.conf
-
amigan
No, I want the beastie menu :)
-
lw
oh, i thought you were complaining about that :-)
-
amigan
Nah, thought someone had mentioned the lualoader 86'd it
-
lw
oh no
-
amigan
Excellent
-
lw
i think beastie will be around forever
-
amigan
Good
-
amigan
Okay, so, I guess I can proceed with the next amd64 box on the list. Pets, not cattle, here.
-
concussious
amigan: the lua loader made beastie boot graphical, and 86ed the ascii version on efi. still works on bios.
-
amigan
I was on a serial console
-
concussious
serial still has the ascii beastie
-
amigan
Ah, ok
-
lw
honestly given the state of the world right now i'm just glad the new graphical beastie wasn't wearing a sexy dress or something
-
amigan
Lmao
-
concussious
lol
-
concussious
beastie changed to meru
-
concussious
loader_logo="meru"
-
amigan
So, since BIOS machines load lua interpreter as stage 2 (I think?), I shouldn't have to update bootblocks on this machine, yes?
-
saper
I think if update bootblocks, then all of them...
-
amigan
Well it chainloads, and /boot/loader is a regular file. I don't think boot[12] have changed
-
amigan
Yay, it worked.
-
lw
:-)
-
amigan
Not sure why I am surprised, maybe because this is the first failed upgrade I've had in 7 years, lol
-
amigan
Actually I can't remember an upgrade since 2003 where I was dumped back at a loader prompt
-
lw
probably imp's fault, he likes to work on loader
-
amigan
Oh well. At least you can still boot. Unlike that time in 2003 when I did installworld before installkernel going from 5.1->5.2. That was a sad day.
-
lw
i upgraded to 5.0-CURRENT once and wow was that a bad idea
-
amigan
Hahaha, I bet
-
lw
on a good day it'd stay up for about 15 minutes before crashing with a witness panic
-
amigan
5.1 was the first version I ever ran, and I was amazed at how much faster it was than linux 2.4 on shittier hardware.
-
amigan
This was before ULE, too. Still superior for interactive use, it seemed.
-
lw
some people apparently think 4BSD is better than ULE even today
-
nero
because it it
-
|cos|
This is admittedly a stupid question, but has anyone ever experienced or seen a story of trying to repurpose an android device into booting FreeBSD? I realize why one would enter a world of pain if attempting it, but am still curious. A web search gave me nothing.
-
scoobybejesus
Box 2. After the upgrade, install, reboot, and now second install, it's hanging... any ideas?
paste.debian.net/plain/1319169
-
scoobybejesus
wow.. okay.. after another ^+t at 3100 seconds, and another 30 seconds, and it finished...
-
scoobybejesus
in other words, false alarm, it seems
-
lw
scoobybejesus: ^+t?
-
scoobybejesus
control+t... should that be ^t, i guess?
-
lw
ah
-
lw
CNTL/T as we used to call it, but yes, i think ^T would be the normal Unix notation
-
lw
strange it took an hour until you typed that though
-
lw
i know freebsd-update is pretty slow but it's not usually quite that slow
-
amigan
When I went to recreate my poudriere jail for 14.1, it actually fetched the rust package rather than building it. What a glorious day. Previously, it would insist on building it every time even though I had no options set.
-
ZedHedTed
lw, amigan: how many computers do you each have to update?
-
amigan
ZedHedTed: 3 metal, 2 vm
-
lw
ZedHedTed: me, 3 physical computers, several more VMs
-
lw
and many more jails but i have a script for that
-
amigan
Yeah, a couple jails here too
-
amigan
Wait 3 metal, 3 vm lolol
-
lw
i run 15.0 everywhere though so my usual workflow is build a new release, build new ports, run 'pkg upgrade' everywhere, done
-
lw
(i have my own local fork of main for this)
-
amigan
Yeah, half of those are -RELEASE, half of them are STABLE that I build here with a few of my own patches that I wish would be merged
-
lw
amigan: have you tried submitting your patches on github? imp@ is quite receptive
-
amigan
lw: I haven't, no
-
lw
well ymmv but i've a good experience getting patches committed that way
-
lw
the only local patch i'm still running is for ifconfig to print addresses in cidr format...
-
amigan
I'll try it. Some of them are not mine per se, but I found them in bugzilla and cannot live without them. Like a patch that has rtadvd deprecate routes when it is shutting down.
-
amigan
Err addresses, not routes
-
amigan
Oh, and another that disables REMOTEHOST in tcsh so it doesn't try to do a damn reverse DNS every time I start a shell
-
amigan
(when you use tmux, the remote address is the tmux pane ID, which obviously is not a valid IP, so it just sits there waiting for a recursive NXDOMAIN)
-
lw
doesn't rtadvd do that already? i found it annoying since it does that when you just want it to restart
-
lw
i guess you're supposed to use radvctl reload there
-
lw
i did get an rtadvd patch committed recently to add PREF64 suppose but tbh i just use Bird now
-
amigan
Nope. Super annoying because my ISP gives me a new prefix every time
-
amigan
My patch has it as a config option
-
amigan
Some stuff on my network will continue selecting the old address even after getting a new prefix if it isn't deprecated
-
» amigan looking at you, stupid chromecasts
-
lw
ah wait you do dynamic DHCPv6 with FreeBSD? i don't think this is even supported in the base system
-
lw
that must be annoying to set up
-
amigan
DHCPv6-PD from ISP, then SLAAC for the ISP prefix, and DHCPv6 for my private range
-
amigan
With this patch I have no further complaints, but I do wish I could use DHCPv6 for all of it
-
lw
ugh DHCP-PD is awful
-
lw
just give a fricking static prefix to your customers
-
amigan
Yeah, but I was just happy verizon finally deployed v6
-
lw
yeah i guess it's better than nothing
-
amigan
Waited for years. I still use he.net tunnelbroker to have a static IP for services
-
amigan
Lots of fun MTU and policy based routing shit with pf for that
-
lw
i bet ISPs do this on purpose to force people onto business plans tbh
-
amigan
I wouldn't be surprised
-
amigan
But vz is very generous with how sticky the v4 IP is. You really have to try to get a new one.
-
amigan
And freebsd dhclient doesn't have a way to send DHCPRELEASE, which is always fun when you need a new one
-
ZedHedTed
nice
-
polarian
asked yesterday but I think it fell to the backlog, OpenBSD promotes separate partitioning for the file hiarachy, but FreeBSD just does the simple 3 partitions (efi/boot swap root), is there any FreeBSD guide on separate partitions (its only touched on in the handbook)
-
polarian
for example, this is OpenBSD's recommandations:
openbsdhandbook.com/disk_operations
-
VimDiesel
Title: Disk Operations | OpenBSD Handbook
-
lw
polarian: by "separate partitions" do you mean like a separate /usr? there's really no point in doing this nowadays. FreeBSD tends towards ZFS instead
-
polarian
ZFS changes this how?
-
lw
well, with ZFS your entire disk is one pool and you can create whatever filesystems you want
-
polarian
also data pool is not the boot, should the boot be its own zfs pool, or just use ufs?
-
lw
it's the opposite of separate /usr which only is a thing because of ancient PDP-11 systems where your root disk was literally too small to hold /usr
-
lw
since we don't live in the 1980s anyway, there's no point to do that
-
polarian
lw: well there is a few benefits, for example /var/log can eat tons of storage and having a separate partition prevents log spawling
-
lw
polarian: sure so you can put /var/log on a separate zfs dataset if you want
-
polarian
I know little about zfs
-
polarian
anyways boot disk, benefits of using zfs? or just ufs it?
-
polarian
the only downside of ufs is no integrity checking
-
polarian
but all data will be in a zfs pool
-
lw
polarian: ZFS lets you create filesystems for whatever you want:
le-fay.org/tmp/zfs.txt
-
lw
i would say never use UFS unless you have a tiny system (under 2GB of RAM)
-
lw
and if you have such tiny system, there's no point to separate /usr. this is old nonsense, forget about it
-
polarian
lw: ah you mean just if you want separate mountpoints it can be done dynamically... unlike ufs
-
lw
yes, but for example you said "/var/log can eat tons of storage" - well with zfs you can easily see how much space it uses and even set a quota on it if you want
-
lw
the only *extremely* niche case where i might suppose separate /usr is NFS-boot systems where each system has its own root filesystem and mounts a shared /usr
-
lw
but honestly, who does that nowadays? this is like 1990s SunOS stuff
-
lw
if i was going to do NFS-boot nowdays i'd just give each system its own dedicated root filesystem
-
lw
it's not like we're going to run out of disk space installing freebsd
-
polarian
lol
-
lw
and to be clear, i love "1990s SunOS stuff" in general but the only reason we did this back then is that disks were so small
-
lw
the same reason back in the 1980s we had separate /usr because disks were so small
-
lw
nowdays? it's pointless, don't do it.
-
|cos|
it's the ease of managing one environment rather than one per host too
-
lw
|cos|: yeah but you can't even do that because FreeBSD doesn't distinguish / and /usr in its management tools
-
lw
if you upgrade your diskless clients' / you have to upgrade their /usr too
-
rwp
ZFS is so good that I am having a panic attack when I am doing sysadmin on a system without it.
-
lw
i really hope we can just get rid of /usr at some point ("usrpurge") but this is going to require a lot of bikeshedding
-
lw
meena is with me here though
-
rwp
With zfs datasets being so cheap and easy I don't see any motivation to not have those datasets present. And /usr is just a template on FreeBSD. It's empty. It's just there to hold attributes.
-
rwp
Run "zfs list /usr" and it is shown that it is actually the / dataset. There is no mounted /usr on a zfs system normally. Not unless someone has gone out of their way to mount it.
-
rwp
This is needed to enable Boot Environments. Which I totally am in love with too.
-
lw
rwp: yeah and this sucks becauses it confuses the heck out of people
-
lw
"why does /usr exist when it's not mounted?"
-
rwp
It confuses the heck out of people.
-
rwp
It exists to be inherited from for the lower down datasets. Like /usr/ports
-
lw
i know that and you know that, but it's not really obvious to new users who aren't familiar with zfs
-
rwp
I agree. It confuses the head out of people.
-
rwp
So... Could we move /usr/ports and /usr/src so that they are not root build constructs? If those were not there then there would literally be no need for /usr either and all three could be gone.
-
lw
well the difficult part is /usr/bin and /usr/share
-
rwp
That would still leave /var which is just like /usr and there are many things under /var those seem to be looked into less by newcomers and so less confusion.
-
lw
i've been planning to submit a patch with a build knob that makes everything in /usr be installed to / instead
-
lw
which would at least demonstrate the feasability of this solution
-
rwp
/usr/bin and /usr/share are both in the / dataset. So nothing need to be done there.
-
lw
i disagree, everything in /usr/bin should be installed to /bin and everything in /usr/share should be installed to /share
-
lw
that's what i mean by usrpurge
-
rwp
I don't think we should move /usr/ports and /usr/src into / (but I know /usr/obj is already there)
-
lw
we should, but it's complicated ofc... my /src is a zfs dataset with a lot of subdirs like /src/freebsd/releng/14.1
-
rwp
Ah... It would make more sense to move /usr/bin into /bin than the UserMerge folks are doing with their move of /bin into /usr/bin which is just the opposite of a reasonable direction.
-
lw
yeah "usrmerge" is a Linux thing which i'm pretty sure no one is pushing on FreeBSD
-
lw
usrmerge bad, usrpurge good
-
rwp
I hope no one is moving that direction with *BSD but insanity seems to be a contagion.
-
lw
i have not seen any FreeBSD people advocating this but if i do i will argue strenuously against it
-
lw
not that anyone really cares what i think but eh
-
lw
i'm hoping i can prempt this sort of thing with the usrpurge patch
-
lw
that would mean people can build and test a /usr-less system without breaking normal users
-
rwp
I don't know if it is still a deal or not but at one time if there were network mounts directly in / such as /nas42 or something, and the network drive was not available such as the network being offline or something then it gummed up the system due to the not responding /nas42 mount point. Imagine an "ls -l /" for example but lots of things stat around excessively.
-
rwp
And so it has been a good idea for a long time that we put things like network mounts at least one directory below / such as in /net/ or something to avoid those types of problems.
-
» scoobybejesus waits patiently for more ranting on zfs, filesystems, boot process, etc