-
thegman
is there some specific driver i need for the intel I211 ethernet controller
-
thegman
i tried installing freebsd earlier (on a dual boot) and freebsd could only find "igb0" and "wlan0"
-
thegman
both of which did not work
-
thegman
but i have freebsd in a vm right now and the network works fine on there (although i guess its because the host machine has a working network)
-
rtprio
thegman: is the intel card not igb0 ?
-
thegman
i thought it might be but i couldnt get it to work
-
parv
thegman,
freebsd.org/releases/14.0R/hardware says Intel I211 is supported by "em" driver
-
VimDiesel
Title: FreeBSD 14.0 Hardware Notes | The FreeBSD Project
-
rtprio
huh, the man page says that I211 should be the `em` driver, so em0
-
thegman
i could never get em0 to show up
-
thegman
this realtek RTL8125 showed up as none0
-
rtprio
is there anything in /var/log/messages about em0 not being able to attach?
-
thegman
i would have to reinstall freebsd
-
rtprio
why?
-
daemon
it is cathartic
-
thegman
i lost all modivation and uninstalled it earlier
-
thegman
so il have to reinstall it later
-
rtprio
ok then
-
rtprio
daemon: indeed it is
-
daemon
same as any os when the crap builds up to much
-
thegman
now that i think of it i definitely shoulda saved some logs
-
thegman
daemon: thats why ive had to reinstall linux infinity times
-
daemon
use freebsd and zfs to run bhyve then use gentoo as the guest :D
-
daemon
days of fun
-
thegman
the main reason i wanna use freebsd at least on a dual boot is because of that fantastic zfs support
-
thegman
i would like to do that
-
daemon
well do it?
-
thegman
but theres a specific program that i cant get to work on freebsd
-
daemon
use freebsd as the hypervisor and linux as the guest
-
daemon
rdp or vnc into it
-
daemon
problem solved
-
thegman
im not sure if the program would work in a vm
-
thegman
id have to check
-
thegman
not a bad idea actually
-
daemon
it will
-
thegman
i sat down for about 4 hours straight trying to think of a workaround and that never came to mind
-
daemon
freebsd does way better as a server than as a desktop
-
daemon
you can even bhyve a freebsd guest to get that 'freebsd desktop' without the punishment :)
-
daemon
I will give you a tip though, using bhyve to run gentoo requires logging into the vm via virtual rs-232
-
daemon
which is fun
-
daemon
but it absolutely is possible
-
daemon
remember the virtio drivers
-
rtprio
and the alamo
-
thegman
never forget that alamo
-
thegman
how well does bhyve gpu passthrough work with an amd cpu and amd gpu
-
jbo
using FreeBSD as my primary desktop for three years now and haven't looked back one.
-
jbo
once*
-
RoyalYork__
jbo, what DE are you using?
-
johnjaye
does bhyve have a UI and can you do stuff like add mouse or hard disks to it?
-
johnjaye
if so then that would be a huge reason to just use it to run whatever other os you need
-
johnjaye
does it have virtio support?
-
RoyalYork__
-
VimDiesel
Title: bhyve(8)
-
RoyalYork__
Looks like it does
-
johnjaye
hmm, ok. i'm running freebsd in libvirt right now and i wasn't sure how to get virtio to work right.
-
RoyalYork__
I can't say im fully familiar with livirt
-
jbo
RoyalYork__, I am not using any DE at all. I use x11-wm/bspwm as a window manager and that's it. no DE.
-
jbo
lw, still up?
-
jbo
johnjaye, libvirt works
-
johnjaye
ah ok. that's reassuring. i wasn't able to find the right documentation though
-
johnjaye
the best i could get was a fedora manual about the virt-manager GUI
-
jbo
johnjaye, you can use deskutils/virt-manager
-
jbo
-
VimDiesel
Title: libvirt: Bhyve driver
-
johnjaye
what does the bhyve driver do exactly. i run virt-manager and it invokes bhyve for me?
-
jbo
libvirt is mostly an API, the libvirt bhyve driver is what interfaces with bhyve under the hood so any libvirt compatible tool works with bhyve (such as virt-manager)
-
johnjaye
i see
-
jbo
other than that there are tools like sysutils/cbsd, sysutils/vm-bhyve and others
-
jbo
personally, I'm not using libvirt because both privately and professional stuff is all bhyve only so there aren't any real benefit over interfacing bhyve directly
-
johnjaye
what do you mean professional stuff
-
_xor
-
VimDiesel
Title: WebKit switching to Skia for 2d graphics rendering | Hacker News
-
johnjaye
as in, people using freebsd use bhyve? or am i missing something
-
jbo
johnjaye, stuff I do at $dayjob
-
johnjaye
oh i see
-
johnjaye
i thought you meant, in general bhyve is commonly used over libvirt
-
_xor
I have a patch that builds skia on FreeBSD. Currently working on patching skia-rust so that I can use NeoVide on FreeBSD. If my patch helps fix probably soon-to-be-broken ports and/or introduce new ones, then happy to oblige.
-
jbo
libvirt is "just an API". it doesn't do any virtualization. it's just trying to define a common interface that then works with "all" hypervisors
-
jbo
and with the normal issues that come with solutions like that
-
johnjaye
right. if you use the tools in enterprise you have a good understanding.
-
jbo
I don't :)
-
johnjaye
whereas I feel like, i'm just reading internet descriptions and manuals. so it can be misleading sometimes.
-
jbo
johnjaye, what are you looking for in general? just something to have easy-to-handle VMs?
-
johnjaye
like i didn't even understand that cloud-init is something that runs inside a vm image for awhile
-
jbo
I assure you there is a myriad of things I don't even understand
-
johnjaye
basically just to use vms well so i could maybe run freebsd on the metal with linux vm or something
-
johnjaye
example of something i didn't understand: apparently I can ssh into my libvirt instance
-
jbo
johnjaye, have a look at sysutils/vm-bhyve. it works well.
-
jbo
-
VimDiesel
Title: GitHub - churchers/vm-bhyve: Shell based, minimal dependency bhyve manager
-
johnjaye
i had 0 clue this was possible, I couldn't find it in any documentation, I just randomly tried it and it worked. that's my level of understanding of VMs.
-
johnjaye
ok
-
jbo
well the VM is an M - but with a V. so networking stuff still applies, including SSH :)
-
johnjaye
yes. linux puts all the complicated stuff like that under something called a 'bridge' called virbr0
-
jbo
same here
-
jbo
everybody is cooking with water
-
johnjaye
mostly i just would like to understand how the hardware emulation works and how to do basic things. ssh in. vnc in. setup storage and configure network.
-
gry
well, it has an ip, it has an sshd, so why not :-)
-
johnjaye
i guess it's a matter of understand the networking in freebsd as well, then combining them
-
rtprio
how the hardware emulation works? maybe just skip to basic things
-
xLXGHTNXNGx
oh no
-
rtprio
oh yeah
-
johnjaye
in the porter's handbook example 1 where it says to create a diff for a new port... would that diff simply be all additions?
-
johnjaye
i think it's saying there's nothing then you submit a .diff file which creates all the files.
-
rtprio
johnjaye: yep
-
johnjaye
i see
-
rtprio
you making a port?
-
johnjaye
i am reading the manual on how a port would be made hypothetically.
-
johnjaye
it also said to check the list of open ports to use bugzilla i think. and i don't have an account yet
-
rtprio
you shouldn't need one to search
-
johnjaye
oh i see
-
johnjaye
i wouldn't have guessed you'd search the bugzilla
-
johnjaye
unless it's like. this port needs a maintainer
-
kenrap
you can search as a guest without an account
-
kenrap
but you won't be able to participate in discussions, making new reports, or patch updates
-
johnjaye
what does 277086 mean? it says user Cy reported bug, then user Cy assigns the bug to himself, then says it will be assigned once "the problem" is figured out
-
johnjaye
yes most of these i see are about ports and packages
-
lw
johnjaye: cy@ submitted a fix, then realised the fix didn't work, so he reassigned the ticket to himself while he works out a proper fix, then he'll assign it back to jgh@ (the maintainer) to commit the fix
-
» jgh assumes that's some other jgh
-
lw
jgh: depends, are you jgh⊙fo? :)
-
jgh
I doubt it :)
-
saohh
Hey guys, a question if you would want to share files in an local network, NFS or Samba using FreeBSD as a Server?
-
lw
saohh: i would normally use NFS for Unix clients, SMB for Windows clients. you can run both on the same filesystems
-
saohh
perhaps its worth mentioning that network will be used by not just windows devices but, linux and BSD too
-
lw
if you macOS clients, it's kind of a tossup, the Mac NFS and SMB clients are both a bit broken in my experience
-
saohh
oh thats an interesting aproach i had thought about that too
-
saohh
so i could share the same directory with NFS and Samba?
-
lw
if you only want a single protocol, Windows does include an NFS client but it's a bit more effort to set up (and might not be some editions? not sure)
-
saohh
i had thought just go all out Unix (NFS) and dont use Samba at all
-
lw
yes, you can
-
saohh
ik i have it installed on my windows machine xD
-
lw
also if you have FreeBSD clients, you have to use NFS, since FreeBSD's SMB client is old and useless. i think there's a FUSE SMB client in ports, but NFS is going to work better
-
saohh
oh ok
-
saohh
i thought of the same as you mentioned, some things might be shared with visitors you know and tinkering with everyones windows machine isnt my thing (some might even not want it)
-
saohh
so having Samba additionally came to my mind as a solution for that situation
-
lw
you could run NFS for your own systems and have a read-only public SMB share for guests
-
saohh
that was the idea yeah ;)
-
saohh
i tried to get the ZFS with NFS to work but my windows didnt recognize it
-
saohh
said the share list was empty not sure if i had the "exports" correct
-
lw
not sure about zfs sharenfs, i just use /etc/exports
-
saohh
but i asume right the zfs dataset (filesystem not device) is a sharable (NFS) folder right?
-
saohh
e.g. i have the pool named data which exists in /data and a dataset called "almanach" so i could share \\ServerIP\data\almanach no?
-
lw
yes, but if your shared dataset has child datasets, make sure to share those explicitly as well, and depending on the client you may need to mount them by hand (this should not be required with NFSv4 though)
-
saohh
i just made one dataset thats it
-
saohh
i read that about the subfolders you have to share them too, otherwise they wont show up
-
saohh
the information on the web is overwhelming do you know of any guide that explains NFS v4 with a windows machine nicely (in one place)?
-
saohh
i feel i get pieces everywhere but propably not all working correctly when put together
-
lw
i don't know about Windows specifically, does the NFS client even support NFSv4?
-
lw
-
VimDiesel
Title: Network File System overview | Microsoft Learn
-
lw
saohh: for NFSv4, you want something like this in the server's /etc/exports:
le-fay.org/tmp/30d/BICb0j.txt (if you're using zfs sharenfs, you still need the 'V4:' line), then you should just be able to mount server.name:/public on the client. (it's not /data/public because /data is the NFSv4 root already)
-
lw
ah wait... that page says Windows only supports NFSv4 server, not client
-
saohh
which would mean i can only use NFS3 with windows hmm?
-
saohh
i mean what the heck windows can share with v4 but not access share with the same version oO propably to make people prefer smb?
-
lw
should amdgpu load on a WITNESS+INVARIANTS kernel? for me it locks up the system as soon as it loads during boot... will do some more debugging later but i'm wondering if this is supposed to work
-
dautor851805086
Man page links on man.freebsd.org are a bit broken at the moment. Links to pages that have '_' in name are incorrect as only the last part after the '_' is interpreted as a link. (example
man.freebsd.org/cgi/man.cgi?query=netgraph&sektion=4#end)
-
VimDiesel
Title: netgraph(4)
-
lw
is there a way to load a specific kernel and its modules at the loader prompt? or does it that automatically when you load a new kernel?
-
tercaL
Hi all, it seems I cannot login to my local file server at home anymore via root, never changed its password, weird. Rebooted into single-user mode and the shell prompts for "root password or ^D Multi-user mode"
-
tercaL
I did not really, really set insecure tty at all.. Anyone would give a clue what's going on, and how to reset root password in that case? (ZFS)
-
lw
tercaL: did you edit /etc/ttys to make the console insecure? that will cause single user mode to prompt for a password
-
lw
ah
-
tercaL
lw: Not really that I remember *feels too old
-
tercaL
So "Enter root password, or ^D to go multi-user" is the indication that the console insecure is set?
-
lw
tercaL: usually, yes. try setting "kern.init_path=/bin/sh" at the loader prompt before booting, although i'm not sure if this can be set from loader
-
tercaL
lw: How? Tried to set it after choosing "Escape to loader prompt", it said unknown command.
-
tercaL
Would a bootable FreeBSD 14 memstick help in that case?
-
lw
tercaL: sorry, you need 'set': set kern.init_path=/bin/sh
-
lw
yes, if you can boot from install media you can import the pool and check/edit /etc/ttys
-
lw
(or mount the root filesystem if UFS)
-
tercaL
lw: Thanks for that, it's ZFS and pool name is default, as zroot. It has a single SATA disk. So how could I proceed after booting within memstick?
-
lw
tercaL: "zpool import zroot" should find the pool. you'll probably need to mount the correct root fs by hand, e.g. "mount -t zfs zroot/ROOT/default -rw /mnt", then check /mnt/etc/ttys
-
lw
you may need to use import -f if zfs thinks the pool is already in use
-
lw
sorry, correct mount command: mount -rw -t zfs zroot/ROOT/default /mnt
-
tercaL
lw: I think I'm done with it, the "console" line was marked as "insecure" in ttys file. Changed it to secure and before I reboot, just to make things safe, tried umount /mnt and it said "Device is busy"
-
tercaL
at this point, is it safe to reboot, or any suggestion you might have to unmount the ZFS system correctly before rebooting?
-
lw
make sure you didn't cd into /mnt which will keep it busy, otherwise, it doesn't really matter as long as you do a clean reboot (not power cycle)
-
lw
tercaL: actually for zfs, unmounting the filesystem doesn't do anything by itself anyway, you may want to export the pool though
-
Kalten
not even call sync?
-
tercaL
lw: booted into single user mode now, passwd root gives
-
tercaL
passwd: pam_chauthok(): Error in service module
-
lw
tercaL: check /etc/pam.d/*, you may have obsolete pam_opie listed, or some other bad module
-
tercaL
lw: single-user mode is read-only, right? That might be the issue?
-
tercaL
As the filesystem is read-only, I tried zfs mount -a said; "failed to lock" /etc/zfs/exports.lock: Read-only system
-
lw
mount -rw -t zfs zroot/ROOT/default /
-
lw
then zfs mount -a
-
tercaL
lw: After both commands, it worked, thanks so much!
-
drobban
unable to start my freebsd installer from USB. for some reason it get stuck on the following row.. cpu0: <ACPI CPU> on acpi0
-
drobban
havent had any problems earlier. I managed to screw my zfspool over after doing an zpool upgrade and lost my boot info.
-
drobban
trying to save it, by starting up an freebsd installer - but now giving me this... I dont understand what has happened.
-
clapont
drobban: first, you have two problems: 1. zfs access; 2. live boot; I'd take the 2nd then move to the first; try downloading the last FreeBSD live CD and DVD - try them both; when you uncompress, make sure there is no error; also make sure there are no errors when you write the images on flash; then, see if you can boot - I hope you use the right arch for download, right?
-
clapont
drobban: after you boot the OS, try importing read only; if not, try reverting the Zpool using the previous transactions... post here how it goes
-
nerozero
Hello there
-
nerozero
Is there a way to get vim freebsd port with clipboard enabled ?
-
nerozero
the stock port doesn't seems to have the option to enable it
-
drobban
clapont: yea.. no errors with the image..
-
nerozero
and I would love to stay on ports rather then compile vim by myself
-
drobban
clapont: still problems... just to get something going I even tried to boot the pfSense installer.. the exact same problem. halts at cpu0
-
nerozero
drobban, you may also have issues with EFI video driver
-
nerozero
in this case the boot process may continue nut the image on the screen will freeze solid
-
clapont
drobban: to reduce the odds, try to use a core FreeBSD image, not other distributions based on FreeBSD
-
drobban
this is so weird... It has worked like a charm until now,,, until i fucked up my boot settings on the pool.
-
drobban
clapont: yea. using the the freebsd 14.0 amd64 image.
-
drobban
same problem. no difference.
-
nerozero
Ha ... :) If you have beadm enable welcome to rootf mount issues from image :D
-
drobban
is there a way that i can tell the boot loader to use my disk to boot from instead
-
nerozero
try to disable efi boot
-
nerozero
if you dd image to a usb flash - it is there
-
clapont
drobban: your boot is on zfs... and you said that you tried to upgrade the zpool; the /boot was clearly affected so try one step at a time: 1. boot with live; 2. try to access/debug the Zpool
-
nerozero
also disable a secure boot in the bios
-
drobban
nerozero: why would that magicly start causing problems from thin air?
-
nimaje
nerozero: install the x11 flavour of vim
-
nerozero
in case you cant boot it - secure boot may be the issue
-
clapont
drobban: you said you tried to uprade the Zpool; that has affected everything, the boot included
-
nerozero
nimaje, Vim has flavors ???WOW
-
nerozero
thanks !
-
drobban
zpool upgrade is what i did to be precise
-
drobban
clapont:
-
nerozero
-
VimDiesel
Title: FreshPorts -- editors/vim: Improved version of the vi editor (console flavor)
-
nerozero
* vim-x11: Console Vim only, with xclipboard support
-
nerozero
nimaje, THANKS A LOT !
-
clapont
drobban: I did understand that; be patient and take steps one at a time if you wish to solve
-
nimaje
not sure why that isn't the default, no idea why wouldn't want to have clipboard support
-
nerozero
drobban, first you should check, is a boot partition / efi partition has support to a zfs version you running
-
drobban
clapont: well.. the image of the installer isnt the problem..
-
drobban
what can cause the installer to hang on cpu0: <acpi cpu> on acpi0
-
clapont
drobban: so you did boot? you are live? do you see the disk?
-
nerozero
drobban, As I told you - efi bootloader issues with intel graphic cards
-
nerozero
the modern onces
-
drobban
nerozero: using nvidia. Hasnt been a problem before
-
nerozero
so try not to boot in efi mode
-
drobban
nerozero: I am in efi-mode
-
nerozero
anyway try that, I had this issue quite a lot
-
nerozero
once system completes boot - the image magically appears
-
nerozero
but sometimes it requires additional drivers
-
nerozero
with that frozen screen I where able to connect to the problematic pc by SSH
-
drobban
clapont: im able to see the disks with lsdev in the bootloader. im also able to see the pool.
-
nerozero
with fully loaded system
-
drobban
in the bootmanager
-
drobban
or what to call it
-
nerozero
nimaje, maybe for headless builds, with no x11 ?
-
nerozero
clipboard do require x11 ... yes
-
clapont
drobban: I suggested to use a _live_ CD/DVD not an installer; if you are with install, try booting with ACPI disabled - although this problem should been present at the original install time
-
nerozero
+1 clapont
-
clapont
drobban: you succeeded to import the zpool in read-only mode?
-
nerozero
and you can try to import your zfs pool
-
nimaje
nerozero: but that could be a nox flavour
-
nerozero
exactly ...
-
clapont
nerozero: I'd prefer "clapont++" ;-)
-
nerozero
:)
-
nerozero
clapont++ :D
-
nerozero
clapont += 1
-
nerozero
pythonish way :D
-
clapont
which reminds me python's spacing problem when coding... I prefer C although python/sh have their advantages sometimes
-
nerozero
yah Never understood why did they do indent sensitive language
-
drobban
clapont: ooh, was unaware of freebsd having usb-live images. where do you find them?
-
nerozero
wait a minute
-
nerozero
-
nerozero
just do a dd or better ddrewcue to see the progress
-
drobban
yea..... well have that one...
-
nerozero
ddrescue -F /path/to/image /dev/daX
-
drobban
dudes
-
RoyalYork
Made a rookie mistake. I uninstalled unbound and deleted /var/unbound instead of /usr/local/etc/unbound - How bad did I miss up? :-O
-
nerozero
I preffer bind and kea,
-
RoyalYork
I cant recall if /var/unbound is important or not to the base system
-
nerozero
delete package and reinstall it - it should recreate default directories
-
lw
RoyalYork: it's for the local-unbound resolver. should be created automatically by the rc.d script if you use it, i think
-
nerozero
and/or follow the log message, something like $ tail -f /var/log/messages
-
drobban
clapont: yea... im using the memstick image. even tried to use 13.3 instead of 14.
-
drobban
still the same problem.. I cant understand what has happened and why it halts on the line saying cpu0: .......
-
nerozero
drobban, is it notebook or desktop ?
-
drobban
nerozero: .....
-
drobban
im using a ryzen9 7900X. 64gb ram. asrock b650.
-
nerozero
I have recently joined and didn't follow the prev. conversation, sorry
-
drobban
the system has been rolling with 13.0 and upgraded to 14.3.
-
nerozero
disable efi bot first from bios
-
drobban
I just fucked up the boot. just trying to recue it... i havent made any other changes to system. just a reboot. for the first time in 30days
-
nerozero
hah ...
-
nerozero
your ZFS version mey nnot been supported by current boot loader
-
nerozero
so 1 you need fresh boot bsd
-
drobban
nerozero: .....
-
nerozero
to address the freezing image issue - again try to disable efi boot, in this case at least you will see what is happening
-
drobban
hell not even sure im able to boot in legacy mode
-
nerozero
My Intel I9 machine with Nvidia card never shows a boot screen at all, only bios and sh login ... ;
-
RoyalYork
ooff.... looks like i missed up with removing unbound. i run it now and i get: could not write builtin anchor, to file /var/unbound/root.key: Permission denied
-
nerozero
btw if you make bsd14 - this issue might be fixed
-
nerozero
so try first
-
RoyalYork
maybe change the user
-
RoyalYork
i'll try that
-
RoyalYork
to unbound:unbound
-
RoyalYork
Ok, that did it. I chowned /var/unbound to unbound:unbound and it works
-
miko
nerozero: uhh, the bootloader shouldnt break with an older zfs feature set
-
RoyalYork
pheeww
-
nerozero
for some reason the download speed for freebsd image is limited to 300k/s to me
-
nerozero
miko, I had that issue 2 times
-
nerozero
while upgrading in bsd 12
-
drobban
well... it didnt break for me.
-
miko
that really doesn't sound right
-
RoyalYork
out of curiosity, who is the user:group owner of your /var/unbound directory?
-
RoyalYork
is it unbound:unbound or unbound:wheel
-
lw
-
RoyalYork
lw, merci!
-
nerozero
find with xargs ... brutal :D
-
nerozero
find -exec ls -ld {} \;
-
lw
nerozero: xargs is quicker to type than the awkward -exec syntax
-
nerozero
it shorter :D
-
CrtxReavr
find | xargs has more ambiguous syntax though, where as find -exec is pretty straight forward.
-
CrtxReavr
Plenty of rope, either way.
-
lw
don't people have better things to do than criticise the specific shell command i used while trying to help someone?
-
nerozero
you know, its like a vim
-
nerozero
nix hass 10000000 way to o the same thing, and that it is why I love it
-
CrtxReavr
lw, welcome to unix.
-
lw
CrtxReavr: nothing to do with unix, more like welcome to irc
-
nerozero
lw yep, no ugly animated emojies ...
-
nerozero
IRC <3
-
CrtxReavr
I dunno. . . I've spent a lot of time discussing unix with people both in persona and via plenty of other platforms.
-
nerozero
good luck guys !
-
nerozero
need some sleep
-
drobban
tried to remove all extra hardware.... still same problem - hangs on cpu0
-
drobban
okey. im able to boot clonezilla... any hints what to try to disable just to be able to start the bsd-installer.... Im phreaking clueless of why this problem has started to present itself.
-
drobban
tried to boot installer in verbose mode.. last line shown now is pcib0.
-
drobban
and some complaining about ppc0. cannot reserv and failed to probe
-
CrtxReavr
o_O
-
CrtxReavr
Oh, so you were booting clonezilla just as a test?
-
drobban
CrtxReavr: yea. just to establish baseline.
-
CrtxReavr
You can't boot with a FreeBSD 14.3 CD/usb ?
-
nimaje
14.3?
-
CrtxReavr
12:15 < drobban> the system has been rolling with 13.0 and upgraded to 14.3.
-
CrtxReavr
I guess 14 isn't up to .3 yet.
-
lw
14.3 gibt es nicht
-
lw
although, it would be fun to edit the kernel version to show random versions like 16.2 to confuse people on irc
-
drobban
CrtxReavr: aaa... 14.0 and updated .
-
CrtxReavr
No wonder drobban can't boot - he's trying to boot an OS from the future.
-
drobban
:P
-
CrtxReavr
Try holding down shift-control-quantum while you boot.
-
drobban
o.0
-
drobban
funny guy.
-
drobban
Im about to snap on this freaking machine.
-
CrtxReavr
So what happens when you boot with a FreeBSD 14 image?
-
lw
drobban: you said it booted before you did the zpool upgrade, right? if so, all you need to do is replace \EFI\BOOT\BOOTX64.EFI in the EFI partition. could you remove the disk and connect it to another system to do that?
-
drobban
it halts... last message printed is cpu0: <ACPI CPU> on acpi0
-
drobban
when running it with verbose.. it halts on another message
-
drobban
lw: that is actually something i could do.
-
lw
it's just a FAT filesystem, so a Windows or Linux system would do fine
-
drobban
I have my ampere altra machine spinning that I could use.
-
lw
i mean, it's odd that the 14.0 installer doesn't boot if you have 14.0 installed. but at least this would get it working again
-
drobban
Im close freaking throw this machine to hell and replace it with a arm64 system instead.
-
drobban
lw: yea exactly. that could be a solution.
-
CrtxReavr
Chance are, but the best set of tools to fix a no-boot FreeBSD issue will be. . . FreeBSD.
-
drobban
CrtxReavr: yea. that was my plan. just to spin up a bsd-image and start a shell.
-
drobban
but you are totaly right. I could actually just move the disks to my other machine and try to fix them on that one.
-
johnjaye
lw: can you go into more detail about that? why would you assign a bug fix to someone else?
-
johnjaye
wouldn't it just be something like, the maintainer assigns the bug to themselves if that's it?
-
lw
johnjaye: jgh@ maintains the port. when cy@ opened the bug, Bugzilla automatically assigned it to jgh@ because, as the maintainer, he's the person who will need to deal with the bug. but cy@ realised the patch was broken and should not be committed, so the bug is now waiting for cy@ to submit a corrected patch. therefore, the bug is assigned to cy@, since cy@ is the person working on it right now.
-
lw
it would not make sense to assign it to jgh@ as jgh cannot do anything to progress the bug, only cy can do that, by providing a working patch
-
johnjaye
that's strange because it sounds like jgh has no role or input on the process
-
johnjaye
is this how bugzilla works normally
-
lw
which part seems strange?
-
johnjaye
well as an analogy say i run a lemonade stand and someone submits a bug my lemonade is too salty. then realizes their salt patch is wrong then reassigns the bug to themselves. then reassigns the bug back to me.
-
johnjaye
and the entire time i'm completely ignorant of what's happening. that's my mental model
-
lw
johnjaye: ok, if we're doing analogies... let's say i think your lemonade recipe is bad. i submit a bug with a new recipe, and assign it to you, so you can start using the new recipe and fix your lemonade. but before you can do that, i realise my new recipe is wrong. i don't close the bug, because the root issue (bad lemonade) is still present, but assigning the bug to me indicates that i am currently working on it.
-
johnjaye
ok. so the "ownership" is more about the person who opened the bug then.
-
johnjaye
so it would be like having a bulletin board on the street about local businesses and you can take those notes and put them on the business door or back on the board or take them home.
-
lw
bugs don't have "ownership", only assignees. the assignee being the person who is currently expected to look at the bug and do something with it
-
johnjaye
can anybody change the assignee of any bug? i'm confused
-
lw
no, only committers (or other people with special bugzilla privileges) can reassign bugs
-
johnjaye
oh. is jgh not a committer?
-
lw
jgh is a committer
-
johnjaye
ok. so they can both reassign the bug then. is that right?
-
lw
yes, cy and jgh are both committers, so they could both reassign the bug if they wanted to
-
drobban
im so stupid..... now I have to pools with conflicting names
-
johnjaye
oh ok. that makes sense
-
lw
i actually don't think that specific policy is very sensible, but it's how freebsd does things, so -shrug-
-
johnjaye
and the general expectation is the person currently with assignee status is the one with the obligation to update the status or reassign to someone else
-
lw
yes, if a bug is assigned to you, it means you need to do something about it. either fix it, or close it (if it's not a bug anymore) or assign it to someone else if you no longer want to be responsible for it
-
johnjaye
i see.
-
lw
in the latter case there are various meta-users like fs⊙fo and ports⊙fo for bugs that no specific person is working on. if you filed a bug against an unmaintained port, it would be assigned to ports@
-
johnjaye
what happens if someone maintains port X and everytime anybody posts a bug about it they resassign the bug to themselves and immediately close it and never give a reason?
-
johnjaye
i.e. they just want to sit on the port and never let it change
-
lw
i don't really understand the question? if someone kept filing bugs and immediately closing them i imagine they would be banned from bugzilla for spam
-
lw
oh, you mean if the maintainer did that
-
johnjaye
yes because you said people with commit access can reassign each other's bugs.
-
lw
well, if a maintainer is closing valid bugs, you could mail ports@ and ask someone to remove them as maintainer
-
lw
but that would be a very strange situation, people don't become committers (or maintainers) if they do things like that, usually
-
johnjaye
oh so ports@ is an actual account, i thought you meant it was like, a token for the bug system
-
lw
ports@ is both a bugzilla account and a mailing list
-
lw
if you subscribe to the mailing list, you would get notifications for bugs assigned to ports@
-
CrtxReavr
More like a list alias, but. . . sure.
-
johnjaye
i'm just trying to think of edge cases to understand the system a bit better.
-
johnjaye
as you say it is the way freebsd "does things"
-
johnjaye
like if the maintainer changed the software to put their name in a big flashing banner everytime you open the program that would obviously be rejected by someone further up the chain.
-
lw
that would be the job of the committer
-
johnjaye
the maintainer can be different from the committer?
-
lw
in this case the maintainer (jgh) is also a committer, but that isn't always the case. i maintain ports but i can't commit them, i have to open a bug and wait for a committer to pick it up and do that
-
johnjaye
oh ok.
-
lw
although what i actually do most of the time is nag jbo to do it on irc
-
johnjaye
so what if jgh redefined port X to have his name in big flashing letters in the UI? Does that just get committed to the next STABLE release?
-
jbo
what's up?
-
lw
ports aren't in releases, they're entirely separate from the base system. i suppose if he did that and someone noticed, he might lose his commit privileges
-
johnjaye
oh right. you have to manually git clone the ports tree and build it.
-
lw
jbo: oh nothing, sorry for ping. just explaining to somehow how ports bugzilla works
-
jbo
what needs committing now? I am still digesting the +1k commits that just happened
-
jbo
lw, nah, all good mate :)
-
johnjaye
yeah i'm just asking questions about how ports maintenance works
-
johnjaye
i'm reading the porter's manual atm
-
lw
johnjaye: becoming a committer is a very long-winded process that requires you firstly do a lot of work, then go through a mentorship period, then eventually you might get the privilege of committing by yourself. no one would go through all that just to make a joke commit that would be immediately reverted and then lose their commit privilege
-
jbo
and being a ports committer is the opposite of fun tbh
-
johnjaye
ah i see.
-
lw
like, if i somehow become a committed and pushed a commit that deleted the entire src repository... it would be at most a minor inconvenience because someone would immediately undo it
-
mason
Hm, guessing the Firefox thing has yet to be fixed...? "Crash Annotation GraphicsCriticalError: |[0][GFX1-]: vaapitest: ERROR (t=0.745326) [GFX1-]: vaapitest: ERROR"
-
johnjaye
right
-
lw
it's not like random people off the internet get commit bits :-)
-
johnjaye
it's like that scene in the sopranos with the starbucks.
-
jbo
ah, I might have misunderstood. becoming an src committer is much easier than becoming a ports committer
-
lw
jbo: well i used src as an example but this applies to both
-
lw
i think the original question was about ports
-
jbo
lw, except that the consequence on mishaps in the ports tree are much more grave
-
lw
jbo: only because ports process is broken :-)
-
lw
do many people even use ports? most of what you'd want is in the base system anyway
-
lw
(this is a joke don't @ me)
-
jbo
says the guy swimming in python crap
-
jbo
ah :D
-
johnjaye
by the way since we're talking about ports. how are the files in the Mk/ folder used? i don't see where they are included in the ports.
-
johnjaye
unless bsd.ports.mk in the makefle is somehow referring to the one in ../Mk ?
-
jbo
johnjaye, there's also #freebsd-ports if you have more specific questions
-
lw
johnjaye: every port's Makefile will have .include <bsd.port.mk> at the end (or sometimes a more complicated things that includes several mk files)
-
johnjaye
why doesn't that mean the one in /usr/share/mk though
-
jbo
johnjaye, stuff in Mk/ is mostly re-usable infrastructure that the real port makefiles can use to make things easier to maintain
-
lw
johnjaye: it does, but /usr/share/mk/bsd.port.mk is just a stub that includes the one from ports/Mk/
-
johnjaye
ahhhh you're right.
-
johnjaye
i see the trick now.
-
debdrup
Becoming any kind of a committer is not exactly easy, because not only do you need to put in enough work to get someone to punish you with a commit bit because there's too much work for them to handle in committing it all, you also need to be part of the community to the point that the person looking to mentor you knows you; it's both a technical but also a social challenge.
-
jbo
indeed
-
jbo
also a medical challenge: each time I am about to push commits my heart rate & blood pressure go through the roof
-
debdrup
Oh, that doesn't stop even once you become a committer.
-
johnjaye
ok. i just read lucas books and manuals so the social dimensions of the various terms is usually not apparent.
-
lw
ports really need a CI run, something more useful than manual exp runs
-
jbo
debdrup, yep - I am 6 months in and it has indeed not changed :D
-
lw
like, you submit a commit, it builds your ports and all dependent ports on all supported releases/T1 archs, then tells you it's ok to commit
-
jbo
from what I can tell, ports also has a lot more politics happening than src. Not sure how the situation is over at docs
-
lw
jbo: ah you saw that thread too :-D
-
debdrup
lw: it's a nice thought, but it's non-trivial if you're asking to build almost 40k ports for a change.
-
jbo
lw, that CI suggestion is difficult
-
lw
debdrup: i very much doubt most commits touch 40k ports. but if it does, wouldn't you do an exp-run anyway?
-
lw
which is basically the same thing
-
debdrup
It's simple to describe, and anything but easy to implement.
-
jbo
+1
-
debdrup
lw: I assume you realize you're not the first person to make the suggestion, including people on the CI team.
-
lw
debdrup: does that mean no one else is allowed to suggest it?
-
lw
i'm sure i'm not the first person who works on ports and heard of CI :-)
-
jbo
on top of the overall challenges, you'd also need an extremely large resource pool to get any benefit out of this. that is why exp-runs are done manually (or at least part of the reason)
-
jbo
having a CI tell you after 4 days that something didn't work and you got 400 commits in the meantime won't help much
-
jbo
lw, not saying this is what you suggest (because it's not) but in case you didn't know:
portsfallout.com
-
VimDiesel
Title: Dashboard - FreeBSD pkg-fallout
-
johnjaye
> You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server.
-
jbo
yep, that e-mail always makes for a good day when you get up in the morning.
-
debdrup
lw: not at all, just that a lot more thought has been put into it than "it'd be nice if we had this"
-
johnjaye
i don't get it. how is that different from CI and it telling you there was a failure?
-
debdrup
portsfallout is just a way of sorting through the ports fallout that's sent to mailing lists, developers get the fallout from when ports start failing once the build happens. What lw is talking about is a pre-commit hook, I think?
-
debdrup
Pre-commit hooked CIs have been considered, but for reasons which will be rather apparent, they aren't very popular.
-
jbo
lw, how is your networking "homework" going?
-
lw
jbo: new switch is configured, should be able to install stuff tonight
-
lw
assuming PPPoE over a VLAN works and doesn't like, flood the traffic to every port or something
-
jbo
neat!
-
lw
-
jbo
that plug was incorrectly assembled
-
jbo
</electronics_engineer>
-
lw
correct
-
lw
i have no idea where this cable came from, i wouldn't make one like that
-
rwp
Agreed. That RJ-45 was not assembled according to spec. </also_EE_here>
-
rwp
I assume the information is somewhere in the scrollback but so I don't see it immediately but what model of device is that and is it running a BSD? Looks interesting to me if it is.
-
lw
rwp: Mikrotik CRS305, and no, it runs RouterOS which is based on Linux. wouldn't be very useful to run FreeBSD on it because the CPU is slow and there's no driver for the switch chip
-
rwp
You and I already discussed this but I am running two ZimaBoard small machines with FreeBSD and it's been a useful "pi-like" machine for me with dual NICs for routing. Now my house router for one and a testing system for another.
-
rwp
I am just about to purchase one of these
protectli.com/product-comparison with CoreBoot installed and try it. Probably one of the multi-gig 2.5G NIC ones.
-
lw
hmm, pricey
-
rwp
I love their page display there and think a lot of web sites could learn a thing or two. It's a just-the-facts list without a lot of fancy glitter on the web page.
-
rwp
They do come with a price tag. Which is why I haven't bought one yet. It would be 2.5x the price of the last similar machine I bought for the 2.5G NIC one. But the regular bottom end machine would only be 1.5x the last NUC-like system I bought so not quite so bad and a much better bit of kit hardware wise so probably worth another 50%.
-
lw
if i was going to buy something like that i'd want SFP(+) cages... trying to move away from copper as we migrate to 10GE
-
lw
-
VimDiesel
Title: src - FreeBSD source tree
-
paulf
I could do with some Arm sponsorship
-
rtprio
this is to run only arm64 VMs on another arm64 system?
-
lw
rtprio: yes
-
rwp
Cool to see ARM64 progressing! Speaking of hardware I have been wanting an ARM64 machine and I would really like a RISC-V machine.
-
rwp
Wanting machines with the ability to put in a workstation amount of memory. So... At least 16GB. But I am also a cheap craphound so that's an impossible combination right now. Being a cheap craphound scrounger is why I am sticking with other hardware. But I think ARM and RISC-V are the future.
-
lw
rwp: i'd love to move to ARM64 but the mid-range hardware options just don't exist. you either get tiny embedded systems (like RPi) or huge servers like Ampere... nothing in between
-
lw
like, i want something with a reasonable number of reasonably fast cores that i can put a SAS HBA in and run ZFS on for a NAS.
-
lw
(i mean, i'd like to move to RISC-V too, but that's even further behind)
-
lw
i may repurpose my mac mini into a server once freebsd runs on it usefully though
-
rwp
Yup! That's the state of things right now.
-
lw
fricking rust _mktemp: mkstemp failed on /poudriere/data/logs/bulk/main-main/2024-02-21_17h39m26s/.tmp-.poudriere.snap_loadavg.YmI8eLYM: No space left on device
-
jbo
:>
-
rtprio
love to build rust for three hours to be thwarted by running out of disk space
-
jbo
jup
-
jbo
I'm considering getting a hardware upgrade
-
jbo
but not sure whether I should upgrade my desktop or a new build server
-
johnjaye
upgrade how, like the storage?
-
jbo
nah, at this point it would be completely new machine
-
lw
i should probably increase the storage on this VM from like, 128GB to 1TB or something, i guess 128GB was a bit optimistic. but still. fricking rust.
-
johnjaye
i stuffed a huge nvidia 1080 into my old PC and it's still usable.
-
johnjaye
still amazes me modern cards take 2 screws to hold down
-
jbo
my build servers are Xeon E5-2690v4 CPUs
-
jbo
and my current workstation is an i7-8086K
-
kenrap
johnjaye: sometimes 3 screws :P
-
rwp
rtprio, How much space was not enough space yet?
-
johnjaye
(!)
-
jbo
I am considering to build a new workstation with w5-3435x
-
johnjaye
at that rate you will have no room for any peripheral cards, just the video card
-
SponiX
Yeah, 3 to 3.5 slot cards are about the normal now, especially on the high end
-
SponiX
johnjaye: On some setups that is already a thing
-
rwp
lw, How much space was not enough space yet? (Sorry for the misdirect to rtprio.)
-
johnjaye
how much do these things weigh. one wrong step and you could tear out the pci express slot
-
lw
rwp: 128GB, but that's shared between poudriere and my src builds, package repository, etc
-
jbo
have you not seen the latest in pcie-slot technology? moulded-in-place-metal-shields
-
rwp
That's still a significant amount of space.
-
jbo
which I doubt help much when you bump it :D
-
kenrap
johnjaye: I don't use those type of fat graphics cards, I'm just saying, they make them so thick because of needing a bigger cooler for an factory overclocked GPU
-
johnjaye
jbo: no my board is from the days of ddr3. are pcie express slots like steel reinforced fortresses or something?
-
jbo
johnjaye, these days yes
-
jbo
-
VimDiesel
Title: Pro WS W790E-SAGE SE|Motherboards|ASUS Switzerland
-
lw
my desktop's graphics card takes 3 slots and it's not even high end (RX 6800 XT). but fortunately the motherboard has an x4 slot at the bottom to put a NIC in
-
johnjaye
jbo: what does it mean by "safeslot"? those massive clips on the bacK?
-
lw
johnjaye: generally no, a correctly built graphics card doesn't need reinforced PCIe slots, it just needs a correct mounting system. but you do some such slots, usually on gaming boards because i guess it looks cool or something
-
jbo
yeah, I doubt they help outside of marketing
-
jbo
> SafeSlot is a PCIe® slot reengineered by ASUS to provide optimized attachment and shearing resistance. Manufactured in a single step using a new insert-molding process, SafeSlot fortifies the slot with metal for enhanced strength and durability.
-
» lw wonders if 'metal' = 0.5mm sheet metal over the plastic slots
-
kenrap
lw: exactly that
-
jbo
most likely way less than 0.5mm
-
lw
tbh i'm more worried about mounting CPU coolers nowadays since those are generally not attached anywhere except the board
-
johnjaye
what does 14+1+1 power stages mean? the terminology is advancing faster than the tech
-
lw
jbo: i like that all the slots on this board are mechnically x16. everyone should do that
-
johnjaye
lw: meaning it could tear the board or cpu somehow?
-
lw
johnjaye: that refers to the configuration of the VRM that provides power to the CPU
-
lw
but again... it's mostly marketing nonsense. the only way to find out if a board has good power delivery is to test it
-
jbo
lw, they are not just mechanically x16. they are also electrically x16
-
johnjaye
ah ok. i'm sure motherboards of the last decade (i.e. when i built my pc) had those. just didn't have a marketing term for them
-
lw
jbo: ah interesting
-
johnjaye
maybe gpus should just come in a small box like the power supply. and you connect it to the motherboard with huge cables
-
lw
jbo: odd choice though because what would you use that many x16 slots for? but i guess if you have spare lanes you may as well connect them somewhere
-
jbo
lw, the CPU that goes into that board as 128 lanes
-
jbo
112 lanes, sorry.
-
lw
jbo: idgi, if it only has 112 lanes total, how did they make 7 x16 slots? that's all 112 lanes used before considering any other peripherals like ethernet or usb
-
johnjaye
i thought about building a new pc but i can play new games with just a monster gpu upgrade
-
lw
unless it's like, you get 7 x16 slots but you can't use all of them at x16 at the same time, which would make sense because what would you even put in them
-
jbo
lw, the CPU as 112 PCI 5.0 lanes and a 16 GBps x8 link to the chipset which exposes a shit ton of 3.0 and 4.0 lanes (and USB)
-
jbo
-
johnjaye
by the way if anybody here is an expert in overclocking or knows a good tutorial please let me know
-
jbo
lw, it also has octa-channel memory :D
-
lw
ah the southbridge does usb and sata... that makes sense, i vaguely remember reading about that when the last generation of intel stuff came out
-
jbo
jup
-
jbo
just a sh*t ton of money :(
-
jbo
6k USD is not a drive-by buy for me
-
lw
jbo: hard to believe you get all of that and still no RS-232 port on the backplate :-P
-
jbo
:D
-
lw
(this has been annoying me this week because i need to run kdb on my desktop and no serial port... bleh)
-
jbo
lw, you can get very cheap expansion cards or USB based solutions that work well
-
jbo
lw, just stay away from the pesky CH11 chipsets
-
lw
jbo: i'm going to try a USB adapter but it's not clear if those can be used as console for kdb
-
lw
(prolific)
-
jbo
lw, help me out - kdb?
-
lw
if not maybe i'll try a pcie card, but i'm not sure i have any spare pcie slots
-
lw
jbo: the kernel debugger, that you break into on a panic
-
jbo
aye - I have no knowledge on that. only been doing userland stuff with serial
-
lw
trying to debug why i keep getting random hangs for no apparently reason, i've tried enabling the kernel watchdog which is supposed to panic (and dump a core) on panic, we'll see how that goes
-
jbo
haven't done that in many years - but couldn't you "just" inspect the dump?
-
jbo
if you end up in a panic you can dump, right?
-
lw
there isn't a dump, it just hangs. that's why i want a serial console, so i can forcibly break into kdb
-
jbo
lw, not sure what hardware you're rolling with but the z370 board I currently have has a com port
-
lw
i know, some boards still do, my desktop doesn't
-
jbo
jup
-
johnjaye
lw: you... use rs-232 ports? how. i must know more
-
jbo
and that's probably still UART, not RS232
-
johnjaye
i have one but don't know how to use it
-
lw
johnjaye: i plug a laptop into them and run kermit to talk to whatever is on the other end
-
jbo
lw, I guess if it's only a software thing you could build a vm loadable disk and nmdm it?
-
jbo
as in: not hardware related/triggered issue
-
lw
jbo: and what, pass the graphics card through to the VM? ... i suppose if nothing else works i could try that
-
jbo
lw, not saying it's pretty, but...
-
lw
i've just rebuilt current main so i'm hoping someone has committed a fix for whatever the problem is in the mean time :-P
-
jbo
the ppt is fairly non-intrusive (compared to everything else)
-
tercaL
jbo: pro-ws-w790e-sage-se really good mobo it seems, I might get that even for server/NAS purposes which I need nowadays, thanks for that model.
-
lw
jbo: you know, i'm now wondering if just running my desktop under vmm might not be a terrible idea. if i passthrough the storage, network and graphics, the performance hit probably isn't that big, right?
-
lw
and it would make it easier to debug things like this
-
jbo
tercaL, jup, seems to be one of the best in that category at the moment
-
jbo
lw, that is what I am planning to do after the xeon upgrade. right now I do that for windows & linux desktops
-
jbo
lw, I am running stable/14 on metal and got one of those fancy PCIe USB cards that has one controller per port. this way I can have four VMs with USB pass thru
-
jbo
works lovely
-
jbo
-
VimDiesel
Title: 4 Port PCIe USB 3.0 Card w/ 4 Channels - USB 3.0 Cards | Add-on Cards & Peripherals | StarTech.com
-
johnjaye
jbo: how do you tell the number of usb controllers on the card? is it from a visual image?
-
jbo
lw, compared to other cards here you get actually four USB controllers (one per port) so you can pass them individually to VMs without needing extra cards
-
johnjaye
(i have a pcie card with 4 usb ports...)
-
jbo
johnjaye, pciconf
-
jbo
johnjaye, but unless you purchased something intentionally, you almost always have just one per card
-
johnjaye
i see
-
jbo
this is a "specialty" item
-
johnjaye
but like. *can* you tell visually or is that more a software thing
-
lw
jbo: ah good ol' startech
-
jbo
it's a hardware thing
-
jbo
lw, indeed
-
lw
i think my pcie usb card is startech as well but it's not that one
-
jbo
lw, you now their slogan, right? "Hard-to-find made easy" :D
-
lw
yeah :-) half the crap i buy is from them... including the usb serial adapter i just bought
-
jbo
lw, incidently, they have the same card with two ports per controller
-
johnjaye
is that part where it says "4 dedicated 5Gps channels" the tell for having 4 controllers?
-
jbo
lw, I also got some USB hubs from them. all good gear
-
lw
the only bad product i got from them was an 8-port pcie sata controller that had two different controller ICs, one of which isn't supported by anything
-
lw
should have just bought a SAS card from ebay tbh
-
jbo
yeah, I'll probably not bother with SATA again
-
jbo
made that mistake 5 years ago in some servers
-
jbo
not worth it
-
lw
this was a few years ago and i think at the time i didn't know you can use sata disks with a sas hba... oh well, live and learn
-
jbo
that was exactly the same here :D
-
johnjaye
lw: i don't understand your sentence at all. but idk how to explain that i don't understand it
-
jbo
lw, I did the stupid thing and bought this:
delock.de/produkt/89384/dokumente.html
-
VimDiesel
Title: Delock Produkte 89384 Delock PCI Express x2 Karte > 10 x intern SATA 6 Gb/s - Low Profile Formfaktor
-
jbo
lw, instead just a decent SAS HBA
-
lw
yeah, you can get 6/12Gbps LSI cards for peanuts on ebay now
-
lw
i was looking at an Epyc board the other day and it had something called "MiniSAS", i couldn't work out what it actually was, seems like one port with 4-8 SAS ports in and you use an expander cable with it
-
lw
except the port was different from the one you get on a SAS HBA
-
mason
If I have a device receiving packets from off network through multiple NATting gateways, is there a way to have the device route replies through the particular NAT gateway that originated the connection, rather than a default route?
-
drobban_
thanks for the help this evening. The system is alive'n'kickin again
-
jsolano
Hi, I am trying to install Freebsd 14 in a Thinkpad x280, using ZFS and I need encryption with /home encrypted, another directory with a different encryption key as it is more sensitive and will be rarely used, plus another directory/partition without encryption as it will contain unimportant media files. I don´t know much about ZFS and this cannot be done easily from the installar, any help is
-
jsolano
appreciated!
-
johnjaye
i would recommend reading the chapter in the handbook on zfs. and then buy the book about it
-
jsolano
Also, my aim is to have native ZFS encryption but I would use Geli if that is easier
-
johnjaye
the book being "FreeBSD Mastery: ZFS (It Mastery)"
-
drobban_
I would buy that book..
-
jsolano
johnjaye: thanks, but if buying a book is needed for this, I would give it a miss, I think my requirements are not that weird
-
drobban_
how do I change name on the labels for each disk in a zpool?
-
johnjaye
well you get what you pay for. the freebsd handbook is free and has a chapter about it
-
drobban_
somehow one of my disks in the zpool changed name and I dont know why x)
-
s2r
For nut to be able to work with my ups I need to detach the driver from the kernel before starting the service. Where can I execute (usbconfig -d 0.3 detach_kernel_driver) without modifying the startup script? Should I create a new script and make nut's script depending on mine?
-
drobban
what are the common reasons for freebsd installer to be unable to boot?
-
drobban
I already have freebsd installed on my ryzen9 b650 machine.... but for some reason Im unable to get installer running and cant remember what I did last time to make it run.
-
lw
drobban: did moving the disk to another system not work in the end?
-
drobban
lw: I managed to fix everything... now I try to find out why my first solution didnt work
-
drobban
it annoys me that I dont know how to start the freaking bsd installer
-
drobban
lw: thanks for your help btw.
-
drobban
I wonder what I need to disable during boot when I want to run the installer
-
lw
so you have 14.0 installed and that works fine, and you're booting the 14.0 installer and it doesn't work? that is weird, it might be worth asking the mailing list about it
-
drobban
lw: yea,, its super weird. Perhaps I did something / disabled something in the bootmanager.. I cant remember. I know I installed 13.x version and then updated from there to 14.0.. But the funny thing is that it wont boot 13.3 installer neither.
-
lw
drobban: check your /boot/loader.conf on the working system? if anything there looks relevant you can try setting it on the installer's loader before it boots
-
drobban
lw: yea, took a look. but didnt notice anything special.
-
drobban_
lw: I mean, there is only stuff about zfs and some other nonsense that hardly can be related
-
drobban_
I mostly run a generic kernel as well. the only thing that differs from generic is some modification a made to UART driver.
-
drobban_
CrtxReavr: btw. what I was trying to say was 14.0-Release-p3....
-
CrtxReavr
Cool story.
-
lw
tercaL: interesting, looks like expanders only though
-
lw
also looks like it uses weird long-running commands like security erase
-
drobban
CrtxReavr: =) you seem pretty cool
-
lw
oops, wrong channel
-
lw
drobban_: obviously you would now claim you meant 14.0-RELEASE-p3, since you're trying to hide the fact that you came here from the future
-
drobban_
;)
-
CrtxReavr
/bin/sh: arithmetic expression: expecting primary: "2**31+1"
-
CrtxReavr
Doh!
-
drobban_
anyone able to spot what might cause problems with the installer from this probe?
bsd-hardware.info/?probe=54d6c96d25
-
VimDiesel
Title: HW probe of ASRock B650 PG Lightning Desktop Computer #54d6c96d25
-
lw
when the system reboots because of a watchdog(4) timeout, is it supposed to write a crash dump? or do i need to enable a kernel option or sysctl?
-
meena
lw: are crashdumps enabled, in general?
-
lw
should be
-
lw
# dumpon -l
-
lw
ada0p1
-
lw
meena: this has been plauging me all month, constant lockups or hangs and i can't get it to write a crash dump
-
meena
that sounds extremely frustrating
-
lw
maybe i should build with DEADLKRES
-
meena
eh? That's enabled in GENERIC?
-
lw
is it?
-
lw
meena: ah but it's not enabled in MINIMAL which is what my kernel is based on
-
meena
lw: we should change that.
-
meena
it's even on in FIRECRACKER
-
lw
maybe because it's not in GENERIC-NODEBUG... this is so messy, there should be MINIMAL and MINIMAL-NODEBUG which are identical to GENERIC(-NODEBUG) for things like this
-
meena
GENERIC-NODEBUG should just be GENERIC with NODEBUG
-
lw
oh, in the mean time my pkg builder vm made a crash dump, let's see what's going on there
-
lw
Fatal trap 12: page fault while in kernel mode
-
meena
you're having all the fun
-
lw
i really am
-
lw
interestingly that VM is running the same commit as my desktop
-
lw
ed27ae8df4b10f67289a32458d89d143e758f6d4
-
lw
that's like 2 weeks old, let's try updating before opening a bug
-
lw
anyone recognise this stack trace?
le-fay.org/tmp/30d/WdkR3T.txt
-
lw
crash in tcp makes me *very* suspicious because i noticed my desktop crashed every time the internet connection went down when we were having issues with that the other day
-
lw
looks like a few tcp commits went in around that time
-
lw
meena: we should ask imp@ about this minimal thing because all changes are meant to go through him, i guess
-
lw
meena: or i could just do this
freebsd/freebsd-src #1124
-
VimDiesel
Title: sys/amd64/conf: unify MINIMAL and GENERIC debug by llfw · Pull Request #1124 · freebsd/freebsd-src · GitHub
-
meena
lw: we need
github.com/freebsd/freebsd-src/blob/main/sys/conf/std.nodebug but for std.debug and just flip flop between the two
-
VimDiesel
Title: freebsd-src/sys/conf/std.nodebug at main · freebsd/freebsd-src · GitHub
-
lw
yeah i was just thinking about that
-
meena
I wanna be able to build debug kernels on STABLE/RELEASE without pain
-
lw
none of this is specific to amd64 so it shouldn't be in sys/amd64/conf
-
meena
imp was saying he wants an "exclude" in addition to an include, so that would flip whatever is in the file listed
-
meena
i think amd64 is just the prototyping ground for MINIMAL, because aarch64 is a bitch to boot
-
lw
let's see if we can get this in first, then we can add std.debug, then we can apply it to arm64 and riscv
-
lw
also just found an SFP in my skirt pocket, where did that come from?
-
lw
meena: i think imp will commit this because he wants minimal to be "generic, but without all the builtin crap"
-
lw
which this is in the spirit of
-
» meena hasn't worn skirt twice since she moved to ireland…
-
lw
skirts are like tshirts for your legs, why wouldn't people wear one
-
lw
meena: what do you mean by a separate commit, like one to add std.debug and another one to use it?
-
meena
i'm from the balkans. It's too cold here for me
-
meena
yes
-
lw
oh now wtf is going on, my music player is broken
-
lw
did someone break OSS
-
meena
another review comment, sorry it was staggered in two reviews;
-
meena
there's probably some shit that can be removed from MINIMAL, because it can be loaded as module, but I need a clear head to go through those, and right now I'm working on something else
-
meena
hrm…
-
meena
lw: n.b.: i386 has MINIMAL too.
-
lw
meena: i pushed a new version, what do you think?
-
lw
i will ignore i386 and arm64 for now, let's fix it for amd64 first
-
lw
also i don't know what NO_UNIVERSE is