00:01:12 I haven't used Vultr, but I'd start by looking at /boot/loader.conf and /boot/device.hints. 00:02:05 For both the off-the-shelf install and their customized ISO. 00:02:13 Has anyone experienced issues logging into certain sites with firefox? I keep getting browser not supported, I don't have this problem on Debian though 00:02:21 V_PauAmma_V: Ok! Thanks :) 00:02:37 I already copied loader.conf, but did not check device.hints 00:05:02 V_PauAmma_V: device.hints are identical 00:05:53 are they both using the generic kernel? 00:07:10 yes, same kernel 00:07:31 there is one difference. The "fast" is saying Hypervisor: Origin = "KVMKVMKVM" whereas the slow is saying Hypervisor: Origin = "Microsoft Hv" 00:09:20 The problem is the Hypervisor 00:09:58 so the provider is using one hypervisor for its version of the config, but a different one if you do a manual install? 00:13:29 RhodiumToad: exactly 00:13:49 RhodiumToad: when I create the server using custom ISO, it starts in Hyper-V. However, if I ask to use FreeBSD, it uses KVM. 00:14:03 RhodiumToad: solution: I will start a FreeBSD server, and format everything :D 00:24:05 worked perfectly :) 00:53:19 fancycade: it's probably related to user-agent string not having Windows/Linux/macOS? try one of the addons that fakes the reply 00:53:53 some sites I've seen return a 403 error if they see the string "amd64" in the user-agent. 00:54:12 (and yes, I noticed that, ms teams (IIRC) didn't want to work with default string on FreeBSD) 01:17:14 what's your opinion on FreeBSD hosting operators support these days? I've tried vultr and linode, both required manual intervention when it comes to VM creation, which interrupts with automatic deployments, unfortunately 01:18:52 I've written pretty extensive ansible roles for my own #selfhosted stuff on FreeBSD, needed to switch to Linux because of that 01:20:14 <_xor> RhodiumToad: Hmm, interesting. So I commented out the WITHOUT_DEBUG_FILES=yes and WITHOUT_KERNEL_SYMBOLS=yes lines and re-ran make clean buildworld 01:20:43 <_xor> RhodiumToad: It hasn't bombed yet. Not sure if it has gotten to lib32 yet or not, but I don't remember it getting this far last time when it did bomb. 01:33:28 Ronis_BR: boot verbose perhaps to see where it hangs 01:33:36 Ronis_BR: it could be something stupid like choosing a timecounter 01:35:00 <_xor> Is there an easy place to check where boot-time related configuration should go? (e.g. /boot/loader.conf tunables + *_load modules vs /etc/rc.conf:kld_list + /etc/sysctl.conf, things like that) 01:35:39 <_xor> Last I looked it a bit all over the place, where some things were required in /boot/loader.conf (read-only tunables that needed to be set early?) vs preference for /etc/rc.conf or /etc/sysctl.conf, etc. 01:37:00 sysctl -T and -W can be used to detect what needs to be set in loader.conf 01:39:26 <_xor> Oh nice, didn't know about those flags. 01:39:32 * _xor just looked at sysctl(8) 01:39:47 (if a sysctl shows up in -T but not in -W, it can only be set in loader.conf) 01:40:09 <_xor> Yup, that's I figured reading the descriptions. 01:40:12 in a shell with process substitution, comm -23 <(sysctl -T -a -N | sort) <(sysctl -W -a -N | sort) gets the list 01:40:41 <_xor> Oh that's a nice little shortcut. Jotting that one down. 01:41:37 for modules, kld_list is preferred especially for modules of any size 01:42:02 <_xor> Is there anything that specifically has to go in loader.conf and cazn't go in kld_list? 01:42:03 (on EFI in particular, it's possible to run out of memory in the loader by loading large modules) 01:42:33 anything you need to find the root filesystem needs to be in loader.conf 01:42:45 <_xor> ah 01:43:20 but then there's a problem: kld_list is processed at a fairly arbitrary time during boot 01:44:21 <_xor> What about zfs? I know gptzfsloader & loader.efi can both find zpools, but do they also implement enough reading capability for use during boot? (just visualizing & guessing here) 01:44:25 for most rc.d services, they know how to load their own modules, but there are cases like the file system firewall (ugidfw) where kld_list is just too random 01:44:28 <_xor> ...or does zfs_load still need to be in loader.conf? 01:45:00 zfs_load needs to be in loader.conf in order for the kernel to be able to mount zfs roots 01:45:33 loader contains its own copy of zfs to be able to read /boot, but that doesn't help the kernel 01:46:29 <_xor> Oh right 01:46:33 <_xor> Makes sense. 01:49:06 * _xor takes a look at his desktop /boot/loader.conf 01:49:27 <_xor> Hmm, from the looks of it, a vast majority of these lines should be movable to /etc/rc.conf and /etc/sysctl.conf. 01:51:45 what do you have there? 01:53:06 <_xor> https://termbin.com/l7dt 01:53:24 oof 01:53:40 <_xor> I should clean that up, don't need some of those lines. Though I'm going to keep the ones with the default values set explicitly (they're for future reference in case I forget). 01:54:29 <_xor> I remember tmpfs_load causing a couple of boot-time errors about how it's already loaded. 01:54:46 tmpfs is usually compiled into the kernel 01:54:53 <_xor> I guess because something else loaded it or it's already com... 01:54:54 <_xor> Yeah 01:55:10 the linux_load ones can be removed because the ABI service script knows how to load the modules 01:55:27 vmm_load probably should go in kld_list because vmm is pretty huge 01:55:34 <_xor> Does it automatically load linux64 as well? I remember that one was being skipped for some reason. 01:56:03 on amd64 it loads both 01:56:23 <_xor> On another machine I had to trouble with tmpfs that was really strange. It was giving me that already loaded error at boot, but whenever I started my poudriere jail, it would complain that tmpfs wasn't present. So starting it again after kldload tmpfs worked. It was weird. 01:56:47 <_xor> ...and yes, it was enabled in the jail config too. 01:57:09 the only way you'd need to load tmpfs is if you removed "options TMPFS" from the kernel conf 01:57:53 nvidia driver is another one to put in kld_conf for size reasons 01:58:32 snd_uaudio doesn't need loading since it'll be auto-loaded when a device is detected 01:58:34 <_xor> That's what I would have thought, but I never touched it. The only custom kernel configs I used were when I needed to either enable ALTQ_* or add `nodevice ukbd` for my keyboard to work properly. 01:58:43 snd_hda can go in kld_list 01:58:57 actually it might not need to, devmatch probably can find it 01:59:16 <_xor> Ah that's good to know. Slimming this down would help make it easier for sure. 01:59:49 if_*_load shouldn't be needed since the netif scripts know to load things like bridge and tap modules 01:59:56 <_xor> getfacl /etc/rc.conf /etc/sysctl.conf /boot/loader.conf 02:00:34 <_xor> if_re is the module from ports, needed it to fix a netif issue I was having with re0. 02:01:06 <_xor> https://www.freshports.org/net/realtek-re-kmod/ 02:01:08 Title: FreshPorts -- net/realtek-re-kmod: Kernel driver for Realtek PCIe Ethernet Controllers 02:02:35 right, but if_tap, if_bridge etc. don't need explicit loads 02:02:52 <_xor> Is there a way to specify the ports module from kld_list (if_re_load="YES" + if_re_name="/boot/modules/if_re.ko")? 02:04:19 kld_list can have the full path to the module 02:04:54 <_xor> I think I explicitly loaded the other netif-related modules because I was using ng_*, bridge*, & tap* interfaces with jails. It's been a while, but if I'm remembering correctly, doing stuff like ifconfig ... vnet or ngctl ... from exec.prestart or whatnot was failing due to kernel modules not being loaded. 02:04:58 <_xor> oh nice 02:05:34 <_xor> You would think, based on what you said, that they would auto-loaded. Maybe I was doing something wrong, not sure. 02:06:02 I don't know about the netgraph modules. 02:06:27 <_xor> I'm going to try it without loading those, see if it fails, and if so, what error it throws. 02:07:01 <_xor> Is there an easy way to tell what is currently using a kernel module? (causing kldunload to fail) 02:09:58 <_xor> Hmm, if kld_list is indeterminate as to when it's actually going to be processed during boot, then could putting if_re in there potentially cause netif to fail to initialize the NIC(s) if the kmods haven't yet been loaded by that point? (or would they definitely be loaded early? before FILESYSTEMS?) 02:10:16 <_xor> s/initialize/configure/ 02:11:19 yeah, if_re probably needs to stay in loader.conf 02:11:26 <_xor> meena; Oh btw, not sure if this should be added to the pkgbase readme, but kldxref should be run after installing kernel package(s). 02:12:07 kld_list is loaded after kldxref and therefore after FILESYSTEMS, but it can be arbitrarily late after that 02:13:08 the whole business of ordering of rc.d scripts is a mess 02:14:01 <_xor> Yeah, that part is somewhat annoying. Whenever I'm whipping up a port and doing an rc script for it, I have to grep through /etc/rc.d & /etc/defaults to get an idea of the appropriate header comments. 02:14:06 it's understandable to keep them weakly specified to allow for possible parallelism, but there are a lot of possible hidden dependencies that get violated 02:14:45 <_xor> Lets just throw the whole thing in the trash and port systemd over to solve all of these issues from the 90s. 02:14:47 * _xor runs and hides 02:15:14 * RhodiumToad calls in an orbital kinetic strike 02:15:18 <_xor> heh 02:16:16 <_xor> I'd still rather deal with rc than systemd. Anytime I've had to do that in the past, it was a major pain in the neck trying to figure out the specifics for a given use-case. Also, the documentation felt a bit...under-emphasized lets call it...compared to BSD-land. 02:16:42 I'd settle for some way to add extra dependencies in rc.conf 02:17:18 man rc.conf 02:17:20 oops 02:17:36 <_xor> Extra dependencies? Like service dependencies? 02:18:40 to be able to say "start X before Y" for arbitrary services 02:18:57 <_xor> Ah yes, that would be really nice. Heck, that would even save me some hassle right now. 02:23:06 <_xor> Something like nginx_service_depends="name0 name1 ..." would be nice, though I guess it should probably be limited to only being able to say "Services A, B, and C are required to be running before service Z" and not really support "Service Z should run after A, B, and C." (so then it can start with the root services and launch dependencies instead 02:23:06 <_xor> of generating a list of services to explicitly start first and then starting whatever is left without explicit dependencies specified). 02:24:55 <_xor> There's also the issue of running vs. healthy service :/ As in at what point are any of services A, B, & C considered to actually satisfy the Z dependency. Once it's launched and the PID is present for more than X seconds or leave it up to the requiring service to determine that itself. 02:33:19 <_xor> https://rhodesmill.org/brandon/2009/commands-with-comma/ 02:33:20 Title: Start all of your commands with a comma 02:33:35 <_xor> That's actually...a cute hack. 03:15:04 yuripv: thanks for the tip. I've tried a few extensions but twitch keeps complaining about recommended browser. I'll try to keep messing with it though 03:18:01 fancycade, My bank chase.com will not let me log in with a User-Agent defaulting to FreeBSD. I must override it and say that I am Linux and then it works. 03:18:24 yeesh 03:19:04 I use and recommend the Firefox extension "User-Agent Switcher". It works excellently. It can be told to automatically set the User-Agent on certain URLs like chase.com. 03:21:27 <_xor> What does chase.com actually do when it's FreeBSD? 03:22:21 Freak out. 03:23:11 <_xor> I wish sites would let user-agent sniffing die and just stick to feature-flags/capability-testing. 03:23:31 rwp: Could post a link for the extension. There are multiple "User-Agent Switcher" extensions 03:23:38 It will probably die in the near future. Chrome has scrapped the API that made it possible. 03:24:09 <_xor> Which API? 03:24:32 <_xor> Unless you mean User-Agent isn't going to be sent as a HTTP request header, which I can see causing a heck of a lot of issues. 03:24:53 Manifest V3 has removed the chrome.webRequest API. It would let an extension intercept requests, and insert the User-Agent header. 03:25:26 <_xor> Oh, you meant via extensions like User-Agent switcher. 03:25:31 Yep. 03:25:45 <_xor> Yeah, v3 is...*sigh* Lots of stuff not going to work anymore. 03:26:34 <_xor> Wait, does v3 break any part of native host messaging? I made and use a couple of ports on FreeBSD that utilize it. 03:26:50 <_xor> Mainly for org-mode capture and KDE Connect extension, both of which use native host messaging. 03:26:56 fancycade, https://addons.mozilla.org/en-US/firefox/addon/uaswitcher/ (and the upstream source is https://gitlab.com/ntninja/user-agent-switcher) 03:26:58 Title: User-Agent Switcher – Get this Extension for 🦊 Firefox (en-US) 03:27:15 _xor: I don't think so. 03:27:38 ox1eef_, Google is forcing the move to Manifest v3 but this is Firefox. 03:27:55 <_xor> Firefox capitulated on v3, didn't they? I use Firefox 98% of the time. 03:27:56 Firefox is a clone of Chrome's API. 03:28:29 AFAIK Firefox is not moving to Manifest v3. But I am not an authoritative information source on this. 03:29:00 I will predict that when Google forces the move to v3 that it will create a lot of refugees to Firegox though. I bet they get a lot of users back again. 03:29:14 https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/ 03:29:16 Title: Manifest V3 migration guide | Firefox Extension Workshop 03:29:16 <_xor> Doubtful: https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/ 03:29:24 Snap xD 03:29:27 <_xor> heh 03:30:03 rwp: Right, it would have been wise to not drop support. It could attract more users. 03:30:04 <_xor> I think I remember Mozilla originally stating that they weren't going to introduce most of the breaking changes that come with v3, but then I think I remember them reversing that later. 03:31:29 rwp: Thanks. That is the one I have installed. I can confirm on other sites that it changes my user-agent string, but twitch is still blocking it 03:31:36 That page is more than I can grok at this late time of night. If Firefox does go with Manifest v3 then it is going to suck for most of the users. 03:32:10 It made me trust Google even less. Why invest in developing for a platform where its APIs can suddenly disappear, and leave your business without any options. 03:32:14 I don't know about twitch but that leads me to think they are looking at something different from User-Agent then. 03:32:16 godaddy is the same... 03:32:17 <_xor> I'm pretty sure they are. I got some announcements from some extensions that I used about it not working after so-and-so date due to v3 being enforced after that. 03:33:13 <_xor> I bet the actual user market for extensions is pretty miniscule compared to the total user market. They're probably willing to make the trade-off. 03:33:21 It makes sense for Google being an advertisement business to block extensions from being able to block advertisements on security vulnerability basis. But Firefox has no such motivation. 03:33:44 <_xor> I despised not being able to self-host browser push notifications either, but looks like VAPID allows that now. 03:34:09 _xor: can you not? i thought with ssl and a manifest that was possible 03:35:09 <_xor> Last I looked at it a while back, you could control the messages themselves, but the actual delivery had to be done through service providers (e.g. FCM, APN, Firefox, etc). 03:35:21 <_xor> Though now I think you can with VAPID keys. 03:35:41 _xor: I had a few ideas that I think could be monetized via browser extensions. And the native extension API opens a lot of doors. But who knows if it will live on or not. 03:37:22 <_xor> I wanted to be able to fully self-host push notifications from server to browser, ios, & android. The issue was that browser push, at the time at least, required using a provider that was whitelisted in the browser by default. iOS & Android push was an issue because they required delivery through their services as well with the stated reason being 03:37:22 <_xor> "power management" (so it wasn't reliable to just connect a WebSocket in your app and expect to always be able to receive, it would get put to sleep; only native Google background services would wake up and poll for you) 03:39:04 <_xor> I wish the DOM-to-WASM bridge would hurry up and come to fruition. That would probably help solve a bunch of these issues. 03:39:07 oh, for ios and android. i know nothing about that, as i thought it needed a real app 03:39:19 Yeah. Browser restrictions can bite sometimes. 03:39:29 <_xor> What do you mean by real app? 03:40:17 <_xor> Oh a native app? That's what I meant, but you can still technically push via webapp on mobile using a PWA with Manifest + ServiceWorker. 03:41:12 * _xor only builds and uses native apps on mobile, none of this Flutter or React Native crap 03:42:45 <_xor> Being able to cross-compile on FreeBSD to target iOS/arm64 and Android/JVM would be nice, but alas, my attempts at iOS failed hard and early (and bhyve doesn't support Clover or OpenCore to be able to boot macOS last I checked). I did get Android Studio working natively, but that was a major PITA. 03:45:01 <_xor> RhodiumToad: I just checked the buildworld compile and it looks like it's actually compiling lib32 now. 03:45:47 <_xor> I guess there's some dependency on DEBUG_FILES and/or KERNEL_SYMBOLS, because after including those in the build it looks like it's working (so far). 03:52:55 fancycade, You mentioned godaddy.com was the same problem. I just logged into a godaddy.com account using my FreeBSD Firefox with the default User-Agent and had no problems. Worked for me. Maybe something is simply broken with your Firefox? 03:54:10 Hi folks! I have a new Alder Lake-N system on the way 03:54:30 (see https://en.wikipedia.org/wiki/Alder_Lake#Alder_Lake-N ) 03:54:31 Title: Alder Lake - Wikipedia 03:55:21 there's been a variety of patches to linux over the past ~year for this CPU family, since intel seems fairly proactive there--first being here, i believe: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3ccce9340326df40ba4462d4d2a1692b6387a68e 03:55:22 Title: kernel/git/torvalds/linux.git - Linux kernel source tree 03:56:26 but, afaict, this CPU family (0xBE) doesn't even exist in main yet for FreeBSD: https://cgit.freebsd.org/src/tree/sys/dev/hwpmc/hwpmc_intel.c 03:56:28 Title: hwpmc_intel.c « hwpmc « dev « sys - src - FreeBSD source tree 03:56:53 rwp: Perhaps. I installed firefox via pkg 03:57:00 (see 0x97, 0x9A at line 215) 03:57:22 I've tried all the work arounds. User agent, turned off tracking protection, private window, etc. Nothing works 03:57:51 fancycade, I also installed firefox via pkg. Currently at firefox-112.0_1,2 running on 13.1-RELEASE at the moment. 03:59:24 question 1: any idea what happens if i try to run freebsd on this, when the CPU type isn't explicitly defined in ther kernel? world of pain / poor performance/power, or mostly work? 2. what's the process for getting this added? (i started emailing the guy who authored the alder lake lines in that file, but that's probably not ideal) 03:59:36 rwp: firefox -v "Mozilla Firefox 112.0". 13.2 release, but I remember having similar issue on 13.1 04:00:59 I would suggest creating a new profile, to get something pristine, and then trying it. firefox -P 04:10:17 Hmm, didnt seem to help 04:10:33 I have all extensions removed at this point as well 04:16:17 It's a tough one. :-( 04:16:56 yeah, i've experienced something similar with alpine linux on this computer specifically too 04:17:16 thanks for the help though! 04:49:43 <_xor> RhodiumToad: Oops, nevermind. Spoke too soon, lib32 failed at exactly the same spot again. Will tackle it later. 06:28:23 p14nd4: i would expect it to mostly work 06:48:18 Any clue why virtualbox stopped working after 13.1 to 12.2 upgrade? https://pastebin.mozilla.org/8RNamVv8 06:48:19 Title: Mozilla Community Pastebin/8RNamVv8 (Plain Text) 06:56:55 Gpart's error messages could be improved: http://paste.debian.net/plainh/6870812d 07:06:13 Got MariaDB 10.6.12 installed under FreeBSD, I see the following Warning line in log file; 2023-04-20 2:35:00 0 [Warning] You need to use --log-bin to make --binlog-format work. 07:06:17 any clue? 07:19:35 updated https://pastebin.mozilla.org/4BsTybXP 07:19:36 Title: Mozilla Community Pastebin/4BsTybXP (Plain Text) 07:55:03 `file` reports file system labels with appended whitespace: http://paste.debian.net/plainh/b5e9267d/ 08:00:13 OEM-IDs are also affected. 08:00:26 Looks like undesired behavior to me. 08:00:31 is that a bug or a feature? 08:00:44 That's the question. 08:01:16 I can't see how this would be a feature, but maybe other people can. 09:33:07 Hello, my laptop (Lenovo TP p14s Gen1 with FreeBSD 13.2) rebooted by itself without a warning and now 2 of my datasets are just gone. I mean, dataset are still present but there are empty, no data in it ! 09:34:05 How it is possible ? Is it recoverable ? How can I investigate ? I read the zfs man pages and various thread on forum but found nothing relevant to my case 09:34:53 more over, how prevent this to happen again (I may have badly created these datasets) 09:35:32 datasets are empty or mountpoints are empty? 09:35:53 those datasets where created by "zfs create zroot/mount/point/ddataset", no extra options 09:35:54 (are they mounted?) 09:36:40 yuripv: I can't tell as I'm new to FreeBSD. I suppose mount points are empty but I'm unable to retrieve any trace of the datasets 09:36:55 do they show up in zfs list? 09:37:39 yes the show in zfs list and in "mount" 09:37:56 what does the used column say? 09:38:13 so I suppose data are gone but I can't tell how data can just disappear 09:38:35 is the mountpoint where you expect it to be? 09:38:51 futune: the used column says 96k for each of them :( 09:39:00 yes the mount point is where I expect to be 09:39:09 doug713705[m], oh... if there is no data used then yeah 09:40:18 my guess would be that they were not mounted when you placed the data in them 09:40:19 I have copies of the data so it's not a big deal by itself but I'd like to understand how the data have vanished and how to prevent this behaviour ! 09:40:43 unmount the datasets and check what is in the mountpoint under it? 09:40:53 ok, so umount should make the data reappear 09:41:13 ok, lets try this, sounds like a good idea 09:42:08 umounted the datasets and no data :( 09:43:05 ok, I don't have any further ideas right now and I have never seen this behaviour before... 09:45:02 Ok, so I may have hallucinated and never put the data in the datasets 09:45:18 did the machine reboot within 5 seconds of writing the data? 09:45:30 zfs usually writes to disks in 5 sec intervals 09:45:57 no, the reboot occurred several days after data copy 09:46:45 so, again, I may have hallucinated... I will check my logs and verify that I have really rsynced the data in the first place 09:48:24 hope you figure it out! 09:48:58 there is also #zfs if it really appears to be a zfs problem 09:49:05 maybe someone there knows more 09:49:38 https://www.bsdnow.tv/503 09:49:39 Title: BSD Now 503: Fast Unix Commands 09:49:51 futune: II have no trace of rsyncing the data /o\ A good old pebcak 09:50:21 doug713705[m], that is reassuring to me... maybe not so much to you :( 09:51:09 yes it reassuring, at least for my system health, not so much for my brain /o\ :D 09:51:25 :D 09:53:27 This didn't helped either https://forums.freebsd.org/threads/freebsd-13-2-and-virtualbox-ose.88747/ 09:53:28 Title: Solved - freebsd 13.2 and virtualbox-ose | The FreeBSD Forums 11:07:44 Is 13.2 broken ? 11:09:34 Beladona: in what context? 11:09:51 virtualbox, kernal issue 11:09:56 for one example 11:10:11 https://pastebin.mozilla.org/4BsTybXP 11:10:12 Title: Mozilla Community Pastebin/4BsTybXP (Plain Text) 11:15:09 so instead of asking why you can't build the kmod (even if the error message tells you why) you are asking if 13.2 is broken 11:20:30 i got a great idea: We announce the availability of 13.2 3 months after it's released, and thus, 13.1 has been deprecated. 11:24:47 Asking questions is hard. I've been doing it for 40 years and I still often get it wrong. 11:39:42 yuripv what can I do? 11:45:14 What does the message say? what is the problem with virtualbox? 11:45:36 If you ask me, virtualbox works just fine... 11:45:52 but what are you trying todo specificly? 11:55:23 Kernel driver not installed (rc=-1908) Make sure the kernel module has been loaded successfully..where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT 11:55:46 KLD vboxdrv.ko: depends on kernel - not available or version mismatch 11:55:47 linker_load_file: /boot/modules/vboxdrv.ko - unsupported file type 11:55:49 drobban this 11:55:59 https://pastebin.mozilla.org/4BsTybXP 11:56:00 Title: Mozilla Community Pastebin/4BsTybXP (Plain Text) 12:12:01 Beladona: "/usr/share/mk/bsd.sysdir.mk" line 15: Unable to locate the kernel source tree. Set SYSDIR to override. 12:12:25 ya, how exactly? 12:12:37 something sound like you missed something in your upgrade 12:12:45 am.. not sure 12:12:53  I even did `pkg upgrade -f` 12:13:21 Havent upgraded to 13.2, My world started with 13.2, and virtualbox works just fine on my machine(tm) 12:13:39 Beladona: do you have /usr/src with the 13.2 source code? 12:13:52 checking 12:13:55 so perhaps the driver is compiled with older kernel in mind... 12:14:19 and you need to update kernel source on your machine... 12:14:26 # ls /usr/src/ shows nothing 12:14:44 so the message made sense then 12:15:07 ok, how can I do that? 12:15:14 perhaps downloading correct version will solve your problem? 12:16:17 Beladona: how did you upgrade? 12:16:59 https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-src-obtaining-src-repopath 12:17:01 Title: Chapter 25. Updating and Upgrading FreeBSD | FreeBSD Documentation Portal 12:17:09 is this relevant for your situation? 12:19:18 I just did freebsd-update upgrade -r 13.2-RELEASE 12:19:29 I will follow this now https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-src-obtaining-src-repopath 12:19:30 Title: Chapter 25. Updating and Upgrading FreeBSD | FreeBSD Documentation Portal 12:21:00 that is probably what I would have done... But hey, I have never updated system in freebsd before -- Im a freebsd n000bie 12:21:37 no problem. Doing. will let you know 12:21:44 super 12:32:03 yuripv: do you want lspci -v or -vv ? 12:48:45 heads up ... src/bin/pkill/tests/pgrep-F_test.sh conflicts with src/bin/pkill/tests/pgrep-f_test.sh on case insensitive systems causing the repo to having problems with updating... can anyone get some eyes on this? ... its a real pita while working on case insensitive filesystems... 12:49:37 CmdLnKid: ugh, which system you on? 12:50:06 this is weird, cuz surely we have people working on macOS; like, the whole of buildworld and buildkernel compiles there 12:50:07 i work with the repository on macos "apfs" which is default case insensitive 12:50:54 easy enough for me to work around but really honestly shouldn't have to be that way 12:51:02 is there any fun benchmark software out there where I could compare results with other peoples computer setups? 12:51:34 CmdLnKid: can you open a bug, and add a patch to rename those files 12:52:23 dunno about a patch as the generated patch wouldn't reccomend anything other than file1 -> file2 renames. 12:52:33 i can file a bug report though 12:53:08 pgrep-F… → pgrep-Pidfile_test.sh ; and pgrep-f… → pgrep-full_test.sh 13:04:08 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270948 13:04:11 Title: 270948 – Conflict with bin/pkill/tests/pgrep-F_test.sh / bin/pkill/tests/pgrep-f_test.sh 13:05:04 what kind of benchmark? 13:05:44 paulf: whatever... hardware in general 13:06:13 im just trying to waste time here. 13:14:34 may be better to state your goal 13:14:50 get some random comparable results? 13:15:25 but your end result is ... 13:34:54 is it possible to incrementally compile the kernel?, I just modified a driver that's builtin into the kernel but need to rebuild the whole thing again, and my systems takes like 1 hour to compile 13:35:41 neirac: can't just cd into the driver and do make? 13:35:46 neirac: Meta mode, maybe? 13:36:01 is this a module? or a builtin one? 13:36:08 meena builtin one 13:36:24 vkarlsen what's Meta mode ? 13:37:05 neirac: https://wiki.freebsd.org/MetaMode -- "[...] an incremental build system for FreeBSD, which uses bmake's meta mode and filemon(4) to create metadata files, substantially decreasing build times by only building what has changed since the last build" 13:37:06 Title: MetaMode - FreeBSD Wiki 13:37:34 vkarlsen thanks! 13:38:02 neirac: I hope it helps, it's been a while since I used it myself 13:42:03 vkarlsen it only works with buildworld or also with buildkernel? according to the doc only refers to buildworld 13:42:39 neirac: I don't know 13:43:47 by the doc it seems pretty clear its buildworld but by the author that may have been just a quote as being everything 13:43:56 just an assumption 13:44:11 pretty cool none-theless 13:45:03 ill give it a shot on a RO nullfs mounted from a zfs 13:45:20 *.meta files are also present in /usr/obj for kernel, so i would assume -- yes, it should work for kernel too. meta mode that is 13:47:42 keeps my source tree clean as i learned in the past for some reason object files were left behind while compiling on a RW filesystem even tho a obj filesystem was supposed to be used. 13:48:17 now i don't have to second guess my source tree 13:49:07 fstab: /export/usr/src /usr/src nullfs ro,noatime,nfsv4acls 0 0 13:49:29 they are files automatically created with meta mode. i do not know how unlcean it is as it upposed to be that way 13:49:43 ill find out in a moment 13:49:46 ;-) 13:50:46 appears fine so far ... find /usr/obj/ -type f -iname \*.meta 13:51:02 find /usr/obj/ -type f -iname \*.meta |wc -l 13:51:03 175 13:51:42 next build after this im assuming it will be twice as fast 13:52:03 or at least faster 13:53:15 completely unaware there was src-env.conf. been a while since i revisited that 13:53:34 last i know it was src.conf only 13:53:44 s/know/known/ 14:00:56 what would be the best approach to export several disks as a single LUN (iSCSI) other than a zvol? 14:03:25 Hardware RAID an option? 14:04:20 iSCSI is block-level storage, so it'd have to be seen by the OS and one contiguous device, prior to export via iSCSI. 14:04:27 nop, I'd like to use ZFS on the client-side 14:05:52 and I can't find the information wheter $> zpool create mirror zvol1 zvol2 is supported 14:08:52 test it out on some local file backed zfs storage 14:09:56 dd if=/dev/random of=some/path/file[1-N] count=1000 bs=1024 14:10:27 zpool create ... after you attach those to a md device 14:10:45 reverse the process to delete them 14:19:46 meena: lspci -nn please 14:20:26 I think you're confusing OSes. . . 14:20:45 pciconf -lv 14:23:09 common man -k conf answer 14:23:26 ;-) 14:23:26 CrtxReavr: were comparing outputs from fbsd and Linux 14:24:17 Not allowed. 14:26:34 mage: "nested" zfs didn't really work for me ever 14:26:46 CrtxReavr: I'm not looking at GPL code, just at its output ;) 14:26:49 yuripv: updated 14:26:53 thank you 14:27:34 meena: so yes, it's the same in linux (meaning not a FreeBSD bug), only there it says "unclassified" instead of "old" 14:45:20 hrm… 17:31:37 mage: layering zfs on top of zvols isn't going to do anything good for you, even if you know exactly what you're doing (and if you did, you wouldn't be doing it :P) 17:32:40 ctld(8) using a zvol as a device extent is the optimal solution 17:43:44 Apparently, `umount` is unable to collapse consecutive slashes in device names: http://paste.debian.net/plainh/594a6076 18:03:50 fix it! 18:07:22 no c skills! 18:09:09 I've worked around it for now by making use of the venerable tr(1). 18:15:16 umount expects to be told the mount point, not the device name 18:15:53 if you just give it a device, it has to try and find it in the list of mounted filesystems, which is a text match rather than a matter of resolving inodes 18:17:48 Well, but the man page says, gving the device name is just fine. 18:18:55 Also, how would a text match prevent it from collapsing slashes? 19:29:59 how do I get the sound to work 19:35:14 on what hardware? 19:35:32 vmware works with root 19:36:05 what do you mean? 19:36:49 sound doesn't work with kiwichap 19:37:05 but does for root? 19:37:14 yes 19:37:18 check the permissions on the /dev/dsp* devices 19:38:24 how? 19:39:21 first, what happens if you run the command 'beep' ? 19:42:57 nothing 19:43:13 it completes successfully? or you don't have that command? 19:47:09 on snd_hda how do I get sound through headphones? 19:47:20 brb phone 19:47:25 that depends on how the hardware is wired. 19:47:59 in some cases, plugging the headphones in is enough. In others, the headphone output is on a different pcm device 19:48:22 sometimes you can tweak the hdaa config to handle it. 19:49:11 RhodiumToad thanks, I'll go read snd_hda then seems needs some tweaking 19:49:14 usually you can find the headphone output either from /dev/sndstat (for some easy cases) or from looking at the hdaa geometry 19:50:06 for example, sysctl dev.hdaa.0 will show you the pins and connections for hdaa device 0 20:13:26 if I try to kldload SGX and gat this error: `module_register_init: MOD_LOAD (sgx, 0xffffffff82c25000, 0) error 6`, does that mean the CPU doesn't support SGX? 20:19:35 typically, yes 20:20:14 if SGX isn't supported that's all you'll get. there are some other cases where you'd see another message as well 20:24:49 you should see SGX in /var/run/dmesg.boot if it is supported: 20:24:57 Structured Extended Features=0x29c6fbf 20:25:57 hi sorry back for 15 minutes 20:26:02 sorry it was the welfare office 20:26:14 how do I get the sound to work? 20:26:29 on my user account 20:26:40 beep never ever works on anything 20:26:52 I did mixer it's connected it's on vmware , it works with root 20:27:41 sorry call again with welfare 20:47:13 thanks RhodiumToad, ye, its not in the list 20:54:49 hi thanks RhodiumToad 20:55:01 sorry about that I am trying to get the sound to work 20:55:25 how do I do that? 20:56:50 does 'beep' work as root? 20:57:13 never works on any device 20:57:16 and what exactly _does_ work? 20:57:42 root : youtube, or like any sound works generally but not beep 20:58:14 user: kiwichap : no sound whatsoever , other installations such as laptop bare metal installation, sound works with no issues 20:58:17 so in a browser it works? 20:58:26 yes as root 20:58:46 in which browser? 20:59:03 and if it's firefox, what does about:support say about the sound config? 20:59:32 ungoogled chromium browser but I believe it's the same as otter 20:59:50 there's no beeping on the terminal etc.. 21:01:41 does chromium have an about:support or anything similar? 21:02:04 it's the user account that doesn't work I tried on otter browser it's the same issue 21:02:36 I can't help you if you can't answer questions 21:03:07 yes chromium has settings 21:03:17 what I need to know is: in the configuration that works, i.e. running a browser as root, which audio backend is the browser using 21:03:27 support, not settings 21:03:28 and there's also a group nntp on chromium , they have forums, there's youtube, mailing list 21:04:20 I don't use chromium. in firefox, if you go to about:settings and scroll down to "Media", it shows what audio configuration is actually in use. 21:04:44 what I want is either that info, IF IT WORKS, or the equivalent for chromium 21:05:21 interesting, it doesn't have this 21:11:15 if you want I can log out and login as root then test sond 21:11:17 sound 21:11:58 I don't want anything. If _you_ want help, you must answer the question. 21:12:10 what question there is no info 21:12:16 no there is nothing like that 21:12:26 in which browser? 21:12:39 in otter browser and ungoogle chromium 21:13:10 I. Don't. Care. 21:13:24 ok 21:13:40 so should I install firefox I'll do that 21:14:04 you need to find out how to tell which audio backend is in use in a configuration where audio works. Don't bother me again until you have that info 21:15:15 I have done that with cat /dev/sndstat 21:15:34 it says no devices installed from userspace 21:15:48 nothing else? 21:16:29 then you have no sound hardware available (real or emulated), so the only way you could have been playing sound is via network, e.g. with pulseaudio 21:17:03 which is why I was asking about audio backends 21:18:52 https://termbin.com/ccsj 21:21:46 so you have a pcm0 device. 21:22:40 what exactly happens if you do beep -d /dev/dsp0 21:22:53 would have started to test cat /dev/random >/dev/dsp 21:23:30 no sound 21:23:50 with your user and with root? 21:24:20 I have to logout but with root I get sound 21:24:41 you get sound when using one of those commands? 21:25:08 not sure I didn't use them but if I go to youtube with a browser I get sound for example 21:25:16 or if I click backspace on terminal 21:25:42 so it seems like permission problems if that cat work from root but not from your user 21:28:03 backspace on terminal is a different kind of sound, ignore that completely 21:28:35 can you make sounds using /dev/dsp when logged in as root, is the question 21:29:03 I will logo out and login 21:29:06 be right back 21:32:34 hello I am back 21:33:13 * meena mumbles something about sudo 21:41:05 doas! 21:46:57 substitute user 21:47:22 just login as root 21:47:41 on your serial console 22:10:42 right, I wanted to look into that new fangled doas stuff at some point 22:13:08 it's already old and maintenance free 22:14:34 I use doas exclusively for quite a while. I only have sudo setup for system administration utilities that need advanced capabilities not offered by doas (such as sysutils/cbsd) 22:15:56 the benefit of sudo is better support in third party libraries and application extensions (modules) due to its age and adoption 22:16:27 exactly. for anything else -> doas :D 22:16:35 what is the advantage of using doas? 22:16:41 and a stronger developer skill behind sudo 22:16:56 doas is much simpler, lower complexity, easier to configure. 22:16:58 Let's not have that discussion again. 22:17:33 todd miller vs ted unangst 22:17:44 its eems I need to have sudo set up still, so "less complex / easier to configure" doesn't really apply 22:17:46 but ok 22:17:54 Stop. Just stop. 22:18:04 * yourfate stops 22:18:24 Let the Linux zealots fight the conversion wars. 22:18:33 shall we talk about the one true editor now? :p 22:18:49 Take a guess. 22:19:00 there is no built-in editor for doas.conf ;-) 22:20:31 Well, visudo isn't an editor, it's a configuration sanity editor - which isn't a bad idea, when a misconfiguration can lock you out of your system. 22:20:40 err, configuration sanity checker* 22:21:50 It even respects the various environment variables related to editors. 22:22:02 ye, I used it with mg 22:22:17 if only mg was 8bit clean 22:23:11 there is probably a way to just use emacs tramp mode with visudo 22:23:42 tramp supports doas just fine 22:23:54 no comment 22:24:48 is there a good reason the rpi images don't ship with zfs root? 22:24:56 for the newer arm64 pis 22:25:18 yes 22:25:57 care to elaborate? I don't think performance would be any problem 22:26:24 it handles btrfs with compression on luks no problem :D 22:38:12 that's not important, the important part is, emacs is not unixy 22:39:07 and neither is python, so there is your "pi" correlation 22:41:00 Right. It's not unixy. Nothing other than ed is unixy. Since ed is the STANDARD editor. Says so right in the man page! 22:41:52 that was about sed 22:43:17 In any case visudo may edit files with emacs okay. No problem! :-) 22:44:15 I looked at doas and saw some reason not to use it, but I forget what it was 22:44:46 <_xor> sudo alternative from OpenBSD 22:45:00 sudo also lives in OpenBSD 22:45:23 <_xor> I started using doas recently just to check it out. It's less powerful than sudo, but also simpler. 22:46:06 <_xor> The syntax of /usr/local/etc/doas.conf is easier to remember than /usr/local/etc/sudoers.d/${USERNAME} 22:46:20 I can understand people advocating for doas because they like it better. I do not understand the opposition to sudo. 22:46:59 conf.d/* style is becoming more popular for good reason 22:47:01 there are use cases for both, based on functionality, not artefacts 22:47:16 _xor, What is /usr/local/etc/sudoers.d/${USERNAME} supposed to signify? That would just be another file included. Nothing special about ${USERNAME} there. 22:47:26 <_xor> I generally don't expect to get actual answers (though I'm willing to listen) from zealotry. 22:47:57 <_xor> rwp: What? I was just referencing the syntax of the files in sudoers.d/. 22:48:20 On systems where etc/sudoers is not maintained by a package manager then I use it and configure it directly. On those systems I use etc/sudoers.d/local-sudoers for my local configuration instead. 22:49:16 epony: yes, but everything that isn't OpenBSD gets the portable version of doas. 22:49:33 hurray for PAM-less systems 22:49:53 <_xor> RhodiumToad: I found it somewhat odd that the rc framework supports *_env and *_envfile but not much beyond that. I have a template rc script I wrote a while back that uses ${PREFIX}${ETCDIR}/profiles.d/ to load environment variables if running multiple instances of a service (e.g. haproxy). 22:51:57 <_xor> Well, maybe not odd, but I guess there wasn't enough of a need for it. Instead of needing to do something bespoke like how net/haproxy does ${name}_profiles="site1 site2 ..." and the rc script implements handling multiple profiles that way, it makes more sense to me to have multiple profiles specified as environment variables. 22:52:13 When I see things like profile.d/foo then I think, the user must be asked to log out and log back in again for the profile to be loaded into their environment. Would prefer to avoid that. I know I can manually source the profile and on down the environment manually. 22:52:22 <_xor> Though I'd be surprised if multiple instances of an rc service is an uncommon requirement. 22:52:49 Instead I very much prefer the style where a script loads the current environment configuration if one is needed on the fly. That way it can be changed and upon the next invocation the script gets the updated environment immediately. It's simpler to invoke that way. 22:53:42 _xor, And example for your point is OpenVPN might be used for multiple independent connections. 22:54:30 in that regard doas lets you control your environment 22:54:34 As just one example I have been in the middle of recently. On a, ahem, blech, a systemd system. 22:57:05 <_xor> Where would I submit a patch for review, and possible merging, if I copied my rc script over to /etc/rc.subr and possibly /etc/rc.d/* to use the optional approach I describe above? Phabricator? 22:59:25 <_xor> Wouldn't be too difficult and might be useful to others, though it's a bit of a mess so would probably need to be cleaned up. I can see it being done by adding 1-2 more functions to /etc/rc.subr and then possibly updating /etc/rc.d/* scripts to utilize them (along with relevant rc knobs) where multiple instances of the given service are run. 23:00:19 there's a few services where multiple instances make sense, and they currently tend to do their own profile hacking in the rc script 23:00:44 * _xor is trying to think, without looking, which base services do that 23:00:47 <_xor> dhclient? 23:01:03 ppp is the one that comes to mind 23:01:37 <_xor> Does dhclient just check for ifconfig_* knobs and then filter out the ones with DHCP in the value and process the ones that do? 23:02:26 dhclient is per-interface, iirc 23:02:55 so it's being specifically invoked with an interface name, not just generically started 23:03:29 <_xor> Right, but is there a single instance of dhclient that gets invoked to handle all DHCP-enabled interfaces or is it one-instance-per-netif? I want to say I've seen multiple dhclient processes via ps, and so I'm guessing the latter. 23:05:00 <_xor> I imagine the rc script for dhclient filters a list of ifconfig_* knobs, and then loops over them to look for DHCP somewhere in the value and launches dhclient for each one it finds. 23:05:14 no 23:05:29 the rc script for dhclient literally has an interface name as a parameter 23:05:33 <_xor> oh, well then <_< >_> 23:06:38 * _xor checks out /etc/rc.d/ to see how inaccurate his guess was 23:08:02 <_xor> Heh, I tried to grep for DHCP and didn't back much. Then I ran it on /etc and saw that network.subr has a functions to check for DHCP and WPA. 23:09:05 <_xor> Was mainly curious to see what/where/how it is that handles ifconfig_${NETIF}="... DHCP ..." 23:13:05 well that's not at all obvious 23:13:47 network.subr runs /etc/rc.d/dhclient start $1 for interfaces configured with SYNCDHCP 23:15:05 <_xor> Agreed, not obvious at all. 23:16:47 * _xor is trying to find the generic template he wrote a while back to handle multiple rc script instances via /usr/local/etc/${NAME}/profiles.d/*.env 23:16:54 the dhclient script has keyword nostart, so it's not executed itself 23:18:06 <_xor> That seems a bit...disjointed. 23:18:24 I mean, it's not executed directly as part of rcorder 23:19:16 <_xor> Probably missing a legit reason as to why, but it makes more sense to me to have something like ifconfig_${NETIF}_dhcp="..." 23:20:58 When building a port, is it possible to have pkg install any binary dependencies for that specific port so that the ports system doesn't also build all the dependencies? 23:21:00 <_xor> My router has an interface that needs to use DHCP and also set a static IP. It wasn't obvious to me at first for some reason, but I figured out ifconfig_em0="SYNCDHCP" + ifconfig_em0_alias0="inet ..." did the trick. 23:22:20 <_xor> Though I think it would be nice to be able to do something like ifconfig_em0_dhcp="..." to set explicit flags and/or config file on a per-interface basis. Or heck, could even do it by convention where it looks for the presence of /usr/local/etc/dhclient.d/em0.conf or something and uses that as the config file for dhclient. 23:22:36 Never mind. 23:22:49 <_xor> iio7: Synth does that, don't think poudriere supports that IIRC. 23:26:29 latest poudriere does, I believe 23:26:35 haven't used it yet 23:26:39 <_xor> Really? :O 23:27:07 if you're just building the port with make, there's some support for using pkg add (not pkg install) for dependencies 23:27:11 <_xor> I assume you're talking about poudriere-devel? 23:27:16 yeah 23:27:43 <_xor> Looking now. If so, that should save me a good amount of time. 23:29:22 * _xor is looking at poudriere-bulk(8) 23:29:39 <_xor> Oooh, lookie at that pretty -b argument. 23:30:53 Does anyone know what has happened to the signal-desktop package? It is suddenly no longer present when searching via pkg, but it is in net-im in ports. 23:31:23 <_xor> Hmm, interesting to note about custom knobs. 23:31:24 Any idea what commit this is? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221122#c28 23:31:27 Title: 221122 – Attaching interface to a bridge stops all traffic on uplink NIC for few seconds 23:31:29 After an upgrade, the package was suddenly gone (I didn't notice during the upgrade, until I needed to use the package). 23:32:59 <_xor> iio7: You sure it wasn't removed during pkg upgrade? Are you using both packages and ports together? 23:33:14 _xor, no, only packages. 23:33:45 _xor, I believe it was removed, without my noticing. I used it just the day before I did the upgrade. 23:34:01 Is there a pkg log where one can see what has been added/removed? 23:34:30 <_xor> You can look on both https://freshports.org as well as https://portsfallout.com 23:34:31 Title: FreshPorts -- The Place For Ports - Most recent commits 23:34:31 pkg logs these things to /var/log/messages 23:34:36 <_xor> ...and that 23:34:58 Nice. And yes, it was removed, for some reason. "pkg[60565]: signal-desktop-6.12.0 deinstalled" 23:35:27 But also, doing a search with pkg doesn't show the package any longer. 23:38:48 <_xor> iio7: I'm looking right now, one sec. Port appears to fail in configure. 23:39:40 <_xor> Oh wait, no, it fails in build not configure. 23:44:16 <_xor> iio7: I can't finish looking at this right now due to time constraints (the port has to fetch a bunch of files and it also uses electron, which is its own can of worms), but it looks like the port was updated within the past week and may address the issue you're seeing (specifically, it's not copying a patched file required for a dependency due to 23:44:16 <_xor> an invalid destination directory). 23:44:40 <_xor> iio7: If you want to wait, it may build in the next run, or you can try building it yourself after updating your ports tree. 23:45:54 _xor, I believe there maybe is a problem with electron22 which maybe the reason why it was removed. 23:46:13 _xor, thanks. 23:46:15 <_xor> Could be, wouldn't be surprised. Electron is annoying. 23:47:38 _xor, yes!