01:57:27 test 02:03:08 ACK 17:00:31 is it possible to adjust volume of pc speaker of mobo? 17:00:47 mixer shows one called speaker but no effect 17:01:32 dang, manpage says there is no volume control 17:01:39 spkr(4) 17:07:46 nxjoseph, Uhm... As far as I know the "PC Speaker" is a 1-bit output in hardware and not actually an audio output like other audio outputs. I always disable it to avoid any obnoxious noise from it. 17:08:46 It's generally used for console beeps and a few other alert type things but that is it. 17:10:31 thanks 17:13:23 Pretty sure the speaker seen in the mixer is going to be the actual audio output that one would connect an audio plug to the motherboard jack to a speaker and then audio would be sent there. That's separate from the PC Speaker. 17:46:52 so I've just learned the semi-hard way that although the partitions are mirrored when installing freebsd in a zfs mirror, the second disk is not actually set up properly to boot when the first disk is removed 17:47:06 is there any official documentation on how to set up the second disk to be bootable? 17:47:13 this is for an EFI/GPT system 17:47:58 I've found a few scattered articles on the web about doing this, but not for EFI. 17:54:34 Zerock, Hmm... That has not been my experience. I can boot with either disk of a mirror removed. Or with any two disks in a raidz2 removed. I went through a problem cycle where I tested the 2 disks failed in a raidz2 case with live failures and it worked okay for me. 17:54:53 hmm 17:55:00 maybe I just did something wrong during testing 17:55:06 let me try again 17:55:19 For documentation on this read through https://wiki.freebsd.org/MasonLoringBliss/ZFSandGELIbyHAND 17:55:19 I've moved my znc jail to a new host so at least I can stay on here whilst messing about 17:57:46 You are specifically mentioning EFI (and pedantically I assume you mean UEFI) and I have had many buggy firmware problems with UEFI. It might be that your UEFI firmware is buggy (like many of my systems) and that might be what you are hitting. 17:58:53 Zerock: do you have an EFI system partition on both disks? 17:59:17 For example I have three HP z210 workstations that should be identical, or at least very similar. ONE of them appears to handle UEFI okay and everything works there. The other two have buggy UEFI firmware and I have hassled with them endlessly. One of them I can boot Legacy BIOS mode and so that's the solution there. The other one is endlessly trouble no matter what I try with it. 17:59:59 i doubt this is a firmware issue, booting from the second disk with the first disk removed is identical to just booting from a single disk 18:00:26 +1 for ivy's question to check the partitioning on both disks. 18:00:50 the partition layout is identical across both disks 18:00:57 as for the contents, I haven't looked 18:01:14 if I remove the first disk, it's just going to the EFI firmware settings 18:02:16 Zerock: mount the efi partition on both disks, are the contents the same? they should both have efi/boot/bootx64.efi 18:05:44 I am just going to hint that "sysctl machdep.bootmethod" reports the method the system is currently booting. Because that has sometimes been confusing. 18:06:03 well this is less than ideal 18:06:12 I can't get it to boot into either disk now 18:08:17 hmm, okay something strange has happened 18:08:34 just booted into the installer again; I'd done this previously for some probing 18:08:46 but now the resolution has changed from what it had been before 18:10:23 oh... "first disk" is no longer appearing as a device in the installer 18:10:25 I think it may be dead 18:10:46 I was doing all this because I was afraid it was getting close to failing anyway 18:12:38 I really hate dealing with UEFI booting. If I can use Legacy BIOS then I use it. Except... AFAIK there is no NVMe support available for Legacy BIOS and one must use UEFI for NVMe support. And of course one wants NVMe support if you have it. 18:13:06 okay well assuming that disk is toast, what can I do from the installer to check and prepare the other disk for booting? 18:14:36 The other thing about UEFI is that it requires two things that are separate to work together. One is that the EFI partition must have the configuration upon it. One is that the motherboard EFI vars in non-volatile memory are configured to boot that EFI System Partition. Which means that with UEFI one can't just move disks around from machine to machine because the other half (EFI Vars) won't match. 18:15:02 EFI Vars are managed using efibootmgr and "efibootmgr -v" on a system that has booted UEFI should print out the EFI Vars information. 18:15:40 And you have asked a perfectly reasonable question. Which I as well have struggled with. I am not qualified to answer because I have myself been flummoxed by the problem too. 18:16:23 Read through https://wiki.freebsd.org/MasonLoringBliss/ZFSandGELIbyHAND and see if that provides enough hints to understand the problem and set things up. 18:18:02 Zerock: https://reviews.freebsd.org/D42150 18:18:19 i'm still scrolled up so don't shoot me yet if someone already pointed that out 18:19:16 erm... can't even get to the EFI menu now... maybe this mobo is dying actually 18:19:36 Yikes 18:19:48 oh. well, independent of hardware failures, the installer does kinda fuck this up today 18:19:58 oh wait, no it made it 18:20:10 but it showed a post code for a bit which I hadn't seen before 18:22:35 I've actually finally got a RPI5 working fairly nicely on a microsd NVMe ZFS hybrid setup.. If I could get the i2c and dt fan control working I'd be a bit happier howeverI have a decent workaround for now 18:22:51 kevans, Is that merged and active? Or still pending merge? I don't know how to tell such a thing. But that issue is spot on the problem. 18:23:03 pending 18:23:30 imp@ has an action item to get it straightened out before 15.0/14.4 18:23:57 okay back in the installer but still not seeing first disk. lemme read some 18:25:46 okay yeah this issue seems to be what I'm looking at. EFI partition exists, but I can't mount it. I get "invalid argument" 18:25:58 I assume that's what I'd expect if there's not actually a file system on it 18:26:31 Zerock: is that only for the second disk? the first should mount fine (or you wouldn't be able to boot) 18:26:44 yes, for the second disk sorry 18:27:00 first disk was fine, at least up until now where it seems to be dead 18:27:22 okay, i suggest running newfs_msdos on the efi partition (make sure you get the right one...) then edit /etc/fstab so both partitions are mounted at e.g. /boot/efi0 and /boot/efi1. then copy efi0 to efi1 18:27:49 er 18:27:51 then every time you upgrade, remember you have to copy the new loader to both partitions (that's why i mount both, it's harder to forget) 18:28:24 okay what are you suggesting I use for the source exactly? My original "first disk" appears to be dead; I can't even see it 18:28:35 oh, ok 18:28:55 in that case just newfs_msdos the new one, mount it, then copy /boot/loader.efi to /boot/efi/efi/boot/bootx64.efi 18:29:20 that's assuming you mounted it on /boot/efi; the DOS path should be \EFI\BOOT\BOOTX64.EFI 18:32:57 okay, that's done. Now do I need to set up anything on this freebsd-boot type partition? 18:33:22 no, as long as it has the right partition type (efi) and bootx64.efi exists, the firmware should boot from it 18:33:33 oh, wait, you mean the tiny boot partition 18:33:40 yeah the lil 512k one 18:33:50 uh, i'm not sure, i normally select the installer option that doesn't create that, it isn't needed for UEFI boot 18:34:04 well maybe it's not necessary then 18:34:08 let's send it 18:34:08 i think as long as you're not trying to do a CSM boot, it doesn't matter what's in the boot partition 18:36:22 not showing up as a bootable device 18:36:31 is there a flag I need to set somewhere? 18:37:25 not apart from the partition type... can you go back into the installer, mount the efi partition on /mnt and show the output of 'gpart show' and 'find /mnt'? 18:37:41 also, check the firmware is set to prefer UEFI (or UEFI only) 18:37:57 it's not set to UEFI only 18:39:56 it wouldn't hurt to set that although i doubt it's the problem 18:40:41 I don't have a good way to get command output to you besides typing it back by hand 18:40:46 so what exactly are you looking for? 18:41:57 well, the efi partition should look like this: 18:42:22 => 40 1875384928 ada0 GPT (894G) 18:42:26 40 532480 1 efi (260M) 18:42:30 i.e. type is "efi" 18:42:39 and find should show /mnt/boot/efi/bootx64.efi 18:42:51 yes, that's what I have 18:43:16 I think the 512 KB partition is a legacy thing from before 12-RELEASE 18:44:24 you used to have it even with UEFI if you ran ZFS 18:45:06 and then the boot loader got the ability to chain into zroot? something like that 18:45:58 I am running zfs, and I think this system was a 14.2 install 18:46:12 may have been 14.3, though 18:46:17 it's only a couple of months old 18:46:31 iirc if you have a 512 KB partition, it means you installed FreeBSD in CSM/legacy boot mode with GPT partitioning 18:46:49 maybe so 18:46:57 the 512 KB partition protects MBR and the like 18:47:01 but would I still expect to have an efi partition? 18:47:30 and would I also expect the other disk in the mirror to not be bootable? 18:47:31 legacy boot process does not use the EFI loader but the installer has options to do either or both 18:48:01 the default installer option is to support both CSM and UEFI, so it creates the efi partition but also puts freebsd-boot there 18:48:11 hmm 18:48:20 but the boot partition should be ignore when booting from UEFI 18:48:29 if you're booting in legacy mode, you need to install the legacy loader into the boot sector 18:49:09 and it should be done for all disks in the array 18:49:20 if it is a zpool that is 18:50:01 I forget how GEOM mirror over entire drives works but I doubt you use GEOM 18:51:04 Zerock: see the man page for gptzfsboot for GPT legacy 18:51:18 the EXAMPLES section tells you what to do 18:51:24 okay I do see an EFI variable that points to the old disk 18:51:29 so perhaps I just need to add a new one 18:51:33 (or modify this one) 18:52:03 with UEFI your BIOS should just let you choose a boot device; if it does not see any, you are doing something wrong 18:53:27 if I have mount.devfs in a jail's jail.conf, does that imply allow.mount & allow.mount.devfs? Because it seems to work... 18:54:16 Zerock: efibootmgr should work if you booted in UEFI 18:55:03 yep, just did it with efibootmgr, about to attempt boot 18:57:35 yeah, neither of these disks are appearing as boot options in the firmware menu 18:57:50 and setting that variable doesn't seem to have worked 18:58:16 efibootmgr should theoretically show you the boot options and order 18:58:22 it does 18:58:53 well it does show me something anyway; as for whether or not that's accurate to the firmware's behavior... 19:00:23 aight, well let's try legacy I guess 19:01:18 btw [19:42:39] and find should show /mnt/boot/efi/bootx64.efi 19:01:32 interesting but I do not have that 19:02:00 probably because my system was installed as 13.x, not 11.x 19:02:55 I have /boot/efi/efi/freebsd/loader.efi instead 19:03:07 my other freebsd machine has both of those 19:03:22 err remove the /boot/efi prefix 19:04:40 Zerock: what do you see in `efibootmgr -v` btw for that old FreeBSD drive? 19:05:09 mine's +Boot000B* FreeBSD HD(1,GPT,3cbec609-fed7-11ed-b6c4-9f14b296b049,0x28,0x82000)/File(\efi\freebsd\loader.efi) \ gpt/efiboot0:/efi/freebsd/loader.efi /boot/efi//efi/freebsd/loader.efi 19:14:50 it was similar to that, yes 19:15:20 okay so even after installing gptzfsboot I still don't see this as a bootable disk 19:40:49 do you guys think it would be useful if freebsd can boot off a vhd file directly from a disk 19:41:13 since vhd and similar formats support thin provisioning and snapshot 19:42:02 that sounds like a better zfs boot environment for me since you can move around files easier 19:43:54 jmw: no, but I'm reasonably certain that mount.devfs is mounting it from outside of the jail rather than inside 19:48:27 hmm, now this is strange... if I look in my EFI menu at all SATA devices, the second disk is present (i.e. it doesn't say "not detected") but its name is blank, and it's reading 0.0GB as the size... 19:48:31 yet in freebsd it works fine 19:48:51 I did also just do a firmware update in case that was the problem 20:42:41 With 15 being in 15.0-PRERELEASE does that mean that ports are currently unavailable or did I miss a step? 20:43:56 Its complaining about a mismatch currently with the mk file 21:07:21 Tenkawa: ports works fine on name, -PRERELEASE is just a name change. if ports doesn't like it that would be a ports bug... can you show the error? 21:07:25 s/on name/on main 21:08:42 sure just a sec 21:09:05 make 21:09:05 make: "/usr/ports/Mk/bsd.port.mk" line 1205: UNAME_r (15.0-PRERELEASE) and OSVERSION (1403000) do not agree on major version number. 21:09:05 make: stopped in /usr/ports/security/nmap 21:09:23 It still thinks I'm on 14.3 for some reason 21:09:41 uname -a 21:09:41 FreeBSD rpibsd 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE #0 main-b81fd3fc8b20: Sat Aug 16 15:33:51 EDT 2025 root@rpibsd:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 21:10:04 that was after a full buildworld and buildkernel 21:10:09 what does 'uname -KU' say? 21:10:26 uname -KU 21:10:26 1500060 1403000 21:11:08 you haven't installed the new world after building it 21:12:22 `freebsd-version -ku` would give human readable version IDs 21:12:34 hmm..that would seem to be.. however I am fairly sure it did... let me try it agai 21:12:35 n 21:12:48 you could also check 'file /bin/ls' 21:12:54 the dates look wring too 21:13:03 er wrong.. so I agree 21:13:15 uh, that kinda looks like you booted into a new kernel, but didn't `make installworld` yet 21:13:26 which you'll need to do 21:14:25 No.. I know... something must've went wrong and wasn't caught 21:14:48 it wouldn't hurt to run it again 21:15:03 rtprio: I updated 3 other boxes yesterday.. this is the only one that broke.. thats why I was surprised... 21:16:53 I think I know what happened.. It was running excessively slow because I had it on microsd originally and not a nvme and I think I just oopsed and forgot to run the last step befre transferring the media 21:29:38 Ok that look better.. Thanks everyone... now to move the rest of things I can to the nvme zfs and off the slow microsd.. 21:47:33 off the WHAT?! 21:49:08 you have zfs on a microsd? 21:49:22 that is a balla move right there. 21:49:44 voy4g3r2: No.. The OS is currently UFS on a microsd... 21:50:22 sdcard array zfs sounds entertaining 21:50:27 I'm migrating what I can to the NVMe I have on this tiny little thing 21:50:33 Its just a RPI5 21:51:50 so its only a PCIe Gen 3.0 (8 GT/sec) 21:52:34 better than microsd though so if I can offload to it... the more I can get off the microsd the better 21:53:27 I've already moved my build area and a fair bit of the dynamic io to it.. 22:13:22 is zfs 2.4 in 15.0-CURRENT? 22:13:37 i don't think i'm going to upgrade until it's RELEASE. i was just curious. 22:14:07 2.3 22:14:50 Macer: but looks like it will have it in the final release 22:14:52 guys do u use freebsd for home or only for work 22:16:46 Macer: it has openzfs commit 8302b6e32, which is from ~1 week ago and identifies itself as 2.3.99. 2.4 doesn't seem to be released yet 22:27:15 okay I finally have my system booting again. Now I want to grow the zfs partition on a new disk to add to the mirror, but I want to make sure it's aligned the way the installer would have done it. Is that alignment documented somewhere or otherwise well known? 22:51:21 i wanna run a binary on servers but without the binary being stored on the servers. so was thinking i'd make some code to, on startup, download binary from distro url to a ram backed tmp fs, run binary from there, then when server reboots or shuts down binary goes poof. any probs? 23:15:13 ivy: I think I narrowly evaded a disaster btw. Even the second drive appears to be having firmware issues now. I was able to save it by copying its data to a new drive using a dedicated appliance, but it does not properly identify itself. I lost both disks in the same day. 23:21:56 i'm looking for cumulative Slackware64-current/testing sourcecode... wanting to upgrade to linux-6.15.10 using Patrick Volkerding's SlackBuild for earlier 6.15 but can't find this. I can't test 6.16 on this PC yet because ZFSonLinux is for 6.15 at latest... 23:22:14 darwin: wrong channel? 23:28:18 oops; sorry 23:28:22 i'm exhausted today 23:29:28 if freebsd has KDE6 would you recommend it, or maybe just its programs (Dolphin, KATE, Konsole) in XFCE or E or TWM or something? 23:31:38 slackware is awesome.. that was my first distribution into this world.. disk a,b,c,n for the win! 23:32:01 back when overclocking cpus were a thing, you had 8 megs of ram and a 1.2 gig hard drive.. partitioned with windows 95 23:32:06 all done on a 33.6k modem!! 23:34:23 FreeBSD UNIX was actually my first in 1997 when still called UNIX in official documentation. Then the college computer science (CS) department chair, and the system administrator (sysadmin) had us install most/all of NetBSD, FreeBSD, OpenBSD, Slackware, Debian, RedHat, SUSE but there weren't many other big ones at the time; that was probably all. I tried Slackware at home and didn't know where EDIT.COM was so was 'distribution-hopping' (distro) through 23:34:23 early-to-mid '0s 23:35:44 the world opened up with comptuer shows and i could buy the walnut creek slackware cds.. i did not know about the BSDs till about 3 years ago :) 23:36:02 all thanks to my synology dying and it was easier to recover the data on the disks.. on freebsd over linux... even though the synology was linux 23:37:20 voy4g3r2: Slackware was my first Linux too although I had used Unix for some time... 23:40:32 my first Linux was Watchtower Linux, and i've never met anyone else who's used or even heard of it 23:42:57 That's like me and NCR SVR4...people have "heard" of it but so few I know that have used it... 23:43:29 I used it ono microchannel hardware 23:43:36 s/ono/on 23:44:22 first UNIX was HP-UX on a big HP risc box 23:44:36 voy4g3r2: Yeah I did that for years.... 23:45:14 learned some neat stuff.. made some shell scripts to be able to send raw printer output to computers through terminal emulation 23:45:26 which then i learned perl to parse the thousands of pages of output in minutes instead of hours 23:45:34 Tenkawa: i've heard of NCR UNIX! but i know absolutely nothing about it, even what hardware it ran on 23:46:41 ivy: yeah I worked for NCR long long ago. 23:47:10 Wow memories. My first unix was a 68K TRS-80 (TRS-6000?) ncoast plublix access unix. 23:47:20 i think i know of it because it's one of those that comes up in "This software is tested in:" docs in (very) old software, sort of like Dynix