01:26:10 meena: just a suggestion, don't stress yourself 06:51:33 Is it enough to host OpenVPN and DNS servers like Adguard and Pihole with 1 CPU, 0.5GB of RAM, and 10 GB of SSD on FreeBSD? 07:00:25 raspberry pi 4 is back in stock 08:04:08 https://docs.pi-hole.net/main/prerequisites/ -> Min. 2GB free space, 4GB recommended, 512MB RAM 08:04:10 Title: Prerequisites - Pi-hole documentation 08:09:09 Could 13.2 read, write 14-CURRENT ZFS datasets created c late 2021? 08:10:33 (It shooould, & obligatory: There Is Only One Way To Find Out.) 08:26:39 Thank you, Nixkernal 13:08:25 how hard would it be to remove the ipv4 stack? 13:09:43 we know freebsd has a CLAT so maybe there's some dependency between the v6 and v4 stacks... 13:18:19 Soni: WITHOUT_INET 13:19:02 Soni: see here https://man.freebsd.org/src.conf(5) 13:19:03 Title: src.conf(5) 13:23:06 we see 15:40:55 I've got a first gen framework laptop that mostly collects dusts, so i tried installing 14 beta 2 on it. i can complete the installer no problem, but after reboot it's unusable. if i drop to a shell in the installer i can see 3 partitions, but fdisk can interpret and i can't say "mount_msdosfs /dev/nda0p1 /tmp/boot" 15:41:27 the laptop works fine. installed arch just to confirm it's not a hardware issue 15:41:44 *fdisk can't 15:42:21 did the install with geli and uefi 15:43:57 (and zfs) 15:46:21 i know that's limited troubleshooting, but i thought i'd mention it. i tried dd'ing the drive with zeroes too just in case, but that didn't help. 15:51:20 markmcb: I'm about to disappear, but I would make sure you've picked the combined UEFI+BIOS install flavour, and re-try the installer 15:51:44 I *guess* they're UEFI only but I don't know for sure. 15:51:54 does it work without geli in the way? 15:52:23 worth doing a `gpart show -l` and pasting that in the channel, along with whatever ended up in /etc/fstab 15:52:51 dch: i'll try that. was definitely doing UEFI only. 15:53:02 also when you say its unusable after reboot, be a bit more specific, 15:53:27 e.g. does it get as far as the loader prompt, does it get stuck trying to find the root partition, etc. 15:53:46 bbl 15:53:49 dch: unusable as in nothing happens. bios error message appears stating no bootable devices 15:54:20 i have to boot from usb to do anything 15:58:04 and once i've booted from usb, if i drop to a shell i can't mount the efi partition created by the installer 18:07:30 Well Idk folks new FreeBSD14 mirror just keep dieing with some signature error after 10 minutes 18:07:38 I try to install the xfce with pkg 18:07:51 what kind of cdn is this :/ 18:08:09 don't paste it or anything, everyone here is telepathic 18:11:21 I am so telepathic that i can tell — without consulting any documentation or searching the Web — that rtprio is being sarcastic 18:19:56 I just cant get the volume up 18:20:14 sysctl hw.snd.vpc_0db=1 did this and trying firefox 18:20:17 hmmm 18:21:16 are you using OSS? 18:22:44 concrete_houses: why are you ignoring what I've pointed out several times 19:16:00 Hi. Could i somehow start the ssh-agent and load my ssh private keys automatically? I got a pair for github, i need to run 'ssh-agent -s' and 'ssh-add ' every time before doing git pull / push 19:17:41 running ssh-agent automatically is the intended method; the way to do it depends on how exactly you're logging in 19:18:34 obviously running ssh-add requires interaction to specify a passphrase if the key is encrypted 19:18:44 KingShark: https://www.freshports.org/security/keychain/ helps with that, depending on… what RhodiumToad said 19:18:45 Title: FreshPorts -- security/keychain: User-friendly front-end to ssh-agent(1) 19:19:01 I source it in my shell startup. 19:19:03 i wrote something little in my .profile 19:20:03 https://codeberg.org/meena/dotfiles/src/branch/main/config/fish/conf.d/keychain.fish 19:20:05 Title: dotfiles/keychain.fish at main - dotfiles - Codeberg.org 19:20:09 https://projects.17es.net/elliot/dotfiles/src/branch/master/.ssh_agent 19:20:12 Title: dotfiles/.ssh_agent at master - dotfiles - projects.17es.net 19:20:12 * rtprio compares 19:20:40 I really need a new profile picture. that i one is older than my daughter 19:20:43 https://github.com/google/cpu_features/blob/main/src/impl_x86_freebsd.c well 19:20:44 Title: cpu_features/src/impl_x86_freebsd.c at main · google/cpu_features · GitHub 19:21:40 who needs any of that tricky CPUID instruction assembly stuff when you can just.. parse /var/run/dmesg.boot 19:22:36 that is the second worst code I've seen all day (that wasn't written by myself) 19:29:23 sigh, __attribute__((target="")) only works in C++ mode in gcc 19:29:53 "And the C programmers likely prefer an explicit way using `__attribute__((ifunc(...)))` so nobody really wanted to spend time implementing this for C." 19:30:08 no, I'd like it to work as it does in clang, thanks 19:31:06 I love having order of magnitude performance improvements that never get used because someone might be using a 15 year old CPU 19:41:42 Freaky: is there any way to make this code less worse 20:08:47 meena: I'm sure that's as pretty as CPU feature detection gets 20:09:01 meena: the kernel probably works it out by parsing the same file from the previous boot tbh 20:09:43 Freaky: i… i want to doubt that 20:10:13 but i would think it's present in a sysctl 20:10:16 the kernel certainly does not do that :-) 20:10:56 afaik it's not in any sysctl. 20:12:23 I think apps that care about cpu features are expected to do CPUID themselves 20:13:02 https://github.com/Freaky/fast-bytecount/blob/addcc5468cf664d68f9a9ece3add5987f298a93f/bytecount.c#L86-L104 20:13:04 Title: fast-bytecount/bytecount.c at addcc5468cf664d68f9a9ece3add5987f298a93f · Freaky/fast-bytecount · GitHub 20:15:30 RhodiumToad: well, it's in kern.msgbuf which gives you the same thing :D 20:18:01 it might not be in kern.msgbuf since that's of limited size 20:18:17 using lldb on a program I compiled with `-g O0`, but it seems not to be aware of the C sources it was built from 20:19:05 i.e. can't set a breakpoint to a given line, doesn't display C source of file 20:19:39 what exact commands were used to compile and link? 20:19:56 does `file` say that the executable is not stripped? 20:21:21 file says its not stripped, image says it has a section (not entirely sure what that means) 20:22:04 https://www.irccloud.com/pastebin/bu9HSXf1/Makefile 20:22:06 Title: Snippet | IRCCloud 20:24:46 and you're running it in the same dir you compiled in? what clang and lldb version? 20:25:27 yup, all in the same dir, default clang/lldb from CURRENT a few days ago 20:25:45 also there generally won't be source info for libs that come from ports 20:26:35 this isnt a port, just local hacking 20:26:48 it's like cflags isn't being used here 20:26:52 let me do this by hand 20:27:20 so e.g. a command like 'list main' in lldb isn't working? 20:27:23 adding `-v` to CFLAGS should show more stuff, but its still silent 20:28:56 so maybe its not even being picked up 20:29:56 oh I see why 20:30:01 stupid me 20:30:28 ah 20:30:39 your second CFLAGS= is clobbering the first 20:31:14 ffs thats been there since day 1 of this project 20:34:49 ok, now lets see if we has the sources... nope 20:37:25 can't set any breakpoints either 20:37:41 does 'list main' in lldb work 20:38:08 RhodiumToad: ok, that does 20:38:20 so what did you try that didn't work 20:38:47 so I start `lldb -- ./zen ... args` 20:38:54 source list -> nothing 20:38:59 but `list main` does 20:39:28 before you actually run the program there's no current location to list 20:40:37 sure, but I get that result even after starting the prog 20:40:44 starting it how? 20:41:22 https://www.irccloud.com/pastebin/Wcaw3D46/out 20:41:23 Title: Snippet | IRCCloud 20:41:30 ok so this is unexpected 20:41:44 the first `source list` is blank 20:41:56 you're still in the startup code 20:41:59 but if I do it again, we're suddenly showing L524 20:42:10 so I guess there's some libc init stuff that I *don't* see beforehand? 20:42:19 so I should breakpoint main, run it 20:42:27 then try to set more breakpoints 20:42:39 yes 20:42:51 TIL all the things 20:42:56 with shared libs there's a _lot_ of work done before main 20:43:19 since it's the rtld that's responsible for finding all the shared libs and linking them into the program 20:46:23 huh 20:47:38 there is a "gui" command in lldb 20:47:42 this is pretty nice 20:48:51 so in the end, 1 error, CFLAGS being clobbered, and 1 unexpected behaviour, need to get to main before source works 20:49:22 RhodiumToad: thanks for the rtld(1) info, I'll look at that later 20:52:54 if you have the base system -dbg files installed, you should be able to see the ld-elf.so sources 21:14:03 Freaky: that looks suspiciously like compile time, and not run-time. 21:15:37 https://www.moritz.systems/blog/lldb-support-for-fork-and-vfork/ how convenient 21:15:38 Title: LLDB support for fork(2) and vfork(2) | Moritz Systems 21:17:46 > posix_spawn(3) triggers events depending on the implementation. On NetBSD, it is reported as a single event. On the two other platforms, it is reported as the underlying vfork(2) and exec(3) calls. 21:17:52 that's interesting 21:18:29 I just used it, feeling very proud of my new skillz 21:19:23 ah, ok, I see the table now 21:43:09 meena: the #if's are compile-time, the __builtin_cpu_supports() are run-time 21:43:23 Freaky: aye 21:43:39 meena: as evidenced by the same binary working on this Zen 3 and an old K8 I have lying about 21:43:41 Freaky: consequence of me reading commits every morning: https://reviews.freebsd.org/D41920 21:43:42 Title: ⚙ D41920 local-unbound: remove stray config.h.in backup 21:43:50 basically, this is your fault. 21:48:06 meena: I like how 3 people were asked to review it 21:48:15 you know, just in case someone liked it 21:48:31 Freaky: i asked all the people who have touched that code in the last two years lol