00:05:35 arg, what a weird one... i have a tiny desktop i setup as a miniserver with mirrored zfs ssds. two decent samsung EVO's 500G. i just had one go offline for a few days, 300+ write errors and it's degraded. smartctl wouldn't dump any info. suddenly smartctl works again but i haven't rebooted or reset the hardware. should i attempt a zpool clear? 00:07:04 i was thinking of trying to swap out the sata cable hot since it's already technically offline. just not sure if camcontrol rescan is enough 00:41:00 similar thing has happened to me, both on beelink EQ12 I think it is, and on a Deskmini i think it's called. Crappy little sata connectors. Makes me want to go with nvme, or at least m.2, only for mini pc's. i tend to take it apart, put it back together, and hopefully everything is fine after a zpool clear and/or resilver 00:46:04 yeah, well... this is mirrored boot. i just replaced an offbrand secondary disk with a second evo 00:46:18 i thought i setup the boot sector and copied over the efi files 00:46:24 i really didn't want to get in a reboot test ;] 00:46:44 i'm now running on the replaced drive, it's the primary that failed. it does sound like a connector 00:47:03 i have a new sata cable... if this were AIX i'd just rmdev -l hdiskX, and service the hardware 00:47:17 i'm considering a camcontrol stop on that disk, and go hot rewire it 00:47:26 and then a camcontrol rescan 00:47:29 to see if it comes back 09:12:10 So the question is Wayland or Xorg on Freebsd? I'm thinking Wayland and Xfce on my old Netbook 09:12:39 And I guess that doesn't preclude any nice old BSD windowing apps. 10:16:49 Hmm, it seems the freebsd encryption for home is broken? 10:17:11 I setup home encryption and just noticed that zroot/home/me is actually just never mounted 10:17:49 mccd: znf native datasets are not automounted 10:17:55 zfs* 10:18:11 *native encryption 10:20:46 i think it's by design 10:22:23 you'd have to ssh in and be allowed via doas or sudo to zfs load-key and zfd mount for that dir. if it's $HOME then you'd have to log out then back in 10:31:44 Okay, that makes sense. I think then I'll remove encryption from the dataset and enable it for root instead 10:31:50 if that's possible 10:34:26 it's not. you'll need to mount the encrypted contents, write it all to some temporary space, then destroy the vdev/dir. enabling it for root instead is also not possible, I think, as it's set on install. Also, IIRC zfs-on-root uses GELI which isn't zfs native encryption 10:35:17 i might be wrong on that last point. but if i root-on-zfs install, i get to set encryption there and its a GELI prompt i get on rebooting 10:36:12 first, figure out why you need encryption, then where 10:37:15 by "mount the encrypted contents" i mean mount and then decrypt it 10:42:41 Well I mostly just wanted to encrypt my laptop in case it gets stolen 10:53:34 I would hope that you can use zfs allow to allow someone to manage their own encrypted datasets, but no idea about encrypted home and my knowlage about FDE comes from before zfs native encryption where of course geli was used, no idea if loader got support to load from zfs native encrypted datasets 11:04:17 am i reading this right that freebsd's automatic ACPI support tries to do cpu freq reduction for passive cooling first by default? my server needs to run max freq, max fan all the time... i've been seeing weird temperature fluxes, could this be the cause? 11:09:34 you mean powerd? not sure it is enabled by default, but it reads like you just want it disabled 11:13:36 no, i mean like sysctl -a | grep therm 11:26:13 you mean hw.acpi.thermal.tz%d.passive_cooling and hw.acpi.thermal.tz%d.active ? these seem to be deactivated for me, but also no idea what they should do 11:32:11 lf_ 12:01:13 mccd: for a laptop i'd recommend zfs-on-root with encryption. But if you have any data you want to keep, back it up, do a brand new install with zfs-on-root and enable encryption, then copy yr data accross. There is no in-place method of doing what you want. 12:10:52 f451: cheers! I'll leave it unencrypted for now and do that later 12:20:06 mccd, f451: did you see pam_zfs_key https://reviews.freebsd.org/D28018 ? I have it on my system, but it seems like it is missing a man page 12:41:55 hi 13:02:45 hello everybody, can anyone point me in right direction ? i have older machine with I219-LM SPT-H(2) network adapter. Got into interesting situation with freebsd 14.2 (clean install). when i set ip address staticaly, it wont work. when i leave it to dhcpcd, it works. seems to me like problem with driver. Even tried modified driver from intel (found info on forum), but no luck, still same situation. Any 13:02:51 hints please ? 13:04:18 and for info, i tried manual settings, rc.conf settings, even create bridge over that iface, none works. no indication of any problem in logs. it just wont resolve arp and on tcpdump on other side i see no packets comming through. But on dhcp client it works. 13:10:07 are you sure you don't need dhcp in your network and can set it up statically too? With this symptoms my first guess would be the network refusing to cooperate if you don't get your ip via dhcp 13:14:03 ee problem is local in that machine. there are 5 other machines in that segment, all setted up staticaly and no problem. even virtual on 1 of that machines (libvirt on linux , fbsd14.2 installed) working through bridge like charm. It's specific to this network interface. 13:14:22 on linux it works, but i dont want linux on that particular machine 13:20:45 and yes i tested to connect it to cable from other machine, same result, link is up, nothing working till dhcpcd somehow get ip 13:29:19 do your routing tables look sensible? netstat -r -W -n 13:45:50 thats interesting on that 13:46:11 it looks fine 13:57:23 viker: Can you paste the relevant lines to that interface from /etc/rc.conf as well as the "ifconfig" and "netstat -rn" output somewhere such as https://pastebin.com/ ? 14:37:59 there's a missing content at ch22.8 in the pdf version of the fbsd handbook. where should i report this? 14:42:41 i'd like to install fbsd 14 on my mac mini 6,2. is the info about asmc support still valid on this page: https://wiki.freebsd.org/IntelMacMini#Mac_mini_6.2C2 ? 14:48:56 you mean "22.8. ZFS Features and Terminology"? report on https://bugs.freebsd.org/bugzilla/ there is even a link that directly uses Documentation as the product 14:51:58 nimaje: thank you, https://reviews.freebsd.org/D28018 looks v cool 14:55:38 f451: I read some forum posts too and it seems like the installer lets you select to encrypt home directories, but forgets to configure pam_zfs_key for it 14:55:56 yes thats what i found 14:57:01 nimaje: exactly 14:57:14 in the OP's context though (laptop) i think GELI would be a better fit though 14:59:42 in a server or headless context, enc via zfs enc is better, at least the machine will come up without oob-management 15:14:59 @ek standard ifconfig_em0="inet [ip] netmask [mask]" and its not working 15:15:57 @ek not even arp resolve working. and netstat shows in routing table ip on interface 16:25:10 creating a network alias of netmask 255.255.255.255 on an interface isn't supposed to be accessible from different hosts right? When I set 255.255.255.0 it works, but https://serverfault.com/questions/199329/why-is-it-necessary-to-set-a-netmask-of-255-255-255-255-for-alias-addresses-in https://docs.huihoo.com/darwin/opendarwin/articles/network_config/ar01s03.html says it won't work right because internal tables aren't set up correctly. 16:25:10 netstat -rn shows routes were set up so is anything more needed when setting 255.255.255.0 on an alias on modern versions of freebsd? 16:42:09 nimaje: the passive_cooling is exactly what i'm talking about. i have powerd set to max, but the acpi documentation seems to indicate the kernel will alter the cooling and cpu speed 16:45:14 Can FreeBSD do virtualisation yet? 16:45:47 wez: has been able to for over a decade 16:45:52 and if you count xen, even longer 16:45:52 Yes. I assume it also hardware accelerated on suitablke Intel. 16:46:29 viker maybe awkwardness with cache across the network? Or having had the same ip on something else? 16:46:58 dstolfa: FreeBSD works under XEN on Linux? 16:47:13 What about under Docker? 16:47:42 And you’re sort of missing a router there.. probably best to look at how you’re trying to do it in rc.conf 16:49:00 wez: freebsd can be used as dom0 on xen. if you want freebsd as a *host*, you should use bhyve. if you want freebsd in a vm, you can use any hypervisor you like. docker uses cgroups and namespaces, so obviously won't be able to run a different kernel. however, on macos (and presumably windows), docker will spawn a vm running a different kernel which could feasibly be freebsd. this isn't a thing on linux, 16:49:06 however 16:51:26 dstolfa: No, Linux needs to be dom0, the company finally aggreed to get off Windows to Linux, switching to FreeBSD as the base OS is going to take another 10 years or so :S At least if I can run it in a VM then I get to use it 16:51:59 wez: well, freebsd can also be domU, so if you need to use linux you could do it either via xen or via kvm (the latter is probably easier to set up) 16:52:14 \o/ 16:52:23 Good news, I will read up on that, thanks! 17:03:23 Demosthenex: did you try with powerd and passive_cooling disabled? 17:45:11 is there documentation for how to give a public ip to a bhyve vm? no nat, just bridged with its own mac addr on the local lan 18:10:03 Isn't that the default state? 18:10:15 state/option 18:12:13 I forgot I use VM-BHYVE(8) aka `vm` but thats the default state when using vm 18:40:48 you have to give the vm a network interface, normally you create a bridge (virtual switch) for that, attach a epair (virtual network cable) and give the not attached side of the epair to the vm, but if you have multiple physical network interfaces you can give one completly to the vm 18:41:30 for bhyve you don't normally use an epair, just put the tap interface in the bridge 18:50:51 i have a bridge and tap interface 18:50:56 tap interface for each vm 19:15:38 nimaje: so i have stopped powerd... as to passive_cooling, i'm not sure how to tweak those 19:15:56 because part of the docs say it's locked out until you do an override 20:31:52 "gstreamer1-plugins-bad -- stack buffer overflow in H.266 video parser" - i guess they really are bad, huh 20:33:24 hah 20:38:52 lol 20:39:11 nice find :) 22:43:28 what is the FreeBSD equivalent of the Linux "lsblk" command? (show all block devices) 22:44:32 treefrob: probably "camcontrol devlist", but this doesn't show certain non-CAM devices like MMC disks 22:45:00 (there is ongoing work to make mmc(4) a CAM device) 22:45:33 ivy, thanks 22:45:44 cam as in Common Access Method? 22:46:08 yes, cam(4) 22:46:56 heh, even Tru64 knew about cam 22:49:09 it's quite possible it was inspired by Tru64... all physical storage devices on FreeBSD are supposed to use CAM, while virtual devices (like mirrors) use GEOM 23:51:47 ivy, I attached an external disk enclosure which presents two SATA drives as a logical (mirrored) volume via USB3. I saw a few lines in /var/log/messages, but I don't see anything new with "camcontrol devlist" 23:52:04 in fact the beast is a FreeNAS 23:52:11 does it show up in dmesg? 23:54:34 this is what it produced in dmesg: https://termbin.com/bu08 23:56:24 that's not a storage device, if it was it should show up as a da(4) device 23:56:42 possibly it's expecting the host to support UASP? FreeBSD does not 23:56:53 oh shit