00:11:24 hi 00:11:33 hey 00:11:59 on freebsd 15 current and gnome havn`t access to settings 00:14:14 on terminal gnome- tab can find settings 00:14:25 tweaks yer but no settings 00:16:27 i would like do an audio and video workstation developpement but the configuration don't go 00:17:19 how can i repport bug ? 00:35:22 buzilla 00:46:29 ok polyex i submit 00:46:40 wish i could help more buddy 00:48:33 polyex: how did your DNS filter solution went? 00:49:43 haven't done it yet. trying to get dns working during a scripted bsdinstall right now :( 00:49:50 how bout you kenrap? 00:50:22 I'm taking a break from it for now 00:51:50 tempted to just got with pi-hole or adguard home, but I like the feeling of having more control while doing it in FreeBSD 00:53:01 *go with 01:16:24 kenrap : unbound+aguard home 01:19:17 during a scripted bsdinstall, before the reboot, how can i get dns resolution to work? service netif start brings up IP and i can ping my router (but no public IPs for some reason) but can't resolve domains. i added "nameserver x.x.x.x" to /etc/resolv.conf, and tried service resolv start. nothing works but i don't wanna use dhcp if there's a way 01:20:06 Check if local_unbound is running. 01:20:32 i'm sure it's not because nothing in my bsdinstall script enables or starts it 01:20:39 i guess i'm assuming but how could it be? 01:20:58 the files it creates on start up, /etc/unbound/* don't exist after the reboot so i'm sure it hasn't run 01:21:05 You could drop down to prompt and do a ps aux | grep unbound 01:21:06 ?? 01:21:14 sure sec 01:22:08 Is there a reason you want to do that before restarting? 01:23:48 ya no processes found 01:24:12 well because i want to make it so i can start a new box with a custom installer and once it reboots it's 100% ready to go 01:24:41 so that means fully setting it up during the scripted bsdinstall 01:24:46 before first reboot 01:24:49 Well, are you modifying the /etc/resolv.conf on the ramdisk or on the mounted partition? 01:25:01 i can get dns working if i use dhcp but i'd rather use the static ip config i already have in place 01:25:07 not sure 01:25:24 It's been a while since I installed FreeBSD. What does df -h show? 01:25:26 in bsdinstall script i just modify whatever's at /etc/resolv.conf 01:26:17 sec 01:27:31 ok i got the output 01:27:34 al1r4d: could you rephrase what you mean more specifically? 01:27:50 i had to record it on my phone tho BillyJoeBob so can i just tell you the info you want from it? 01:28:44 How many lines is it? You can paste it here: https://paste.debian.net/ 01:28:47 Title: Debian Pastezone 01:29:01 like 15 01:29:34 the /dev/ufs/freebsd_installer then a devfs, tmpfs, bunch of zroots, a /dev/gpt/efiboot, another devfs 01:30:08 How big is the drive you're installing it to? Find the same entry that has about the same capacity space as the drive you're installing to. 01:30:14 20GB 01:30:29 that's the zroot 01:30:46 Where is that mounted to? 01:31:01 oh hm, /mnt 01:31:01 Like under /mnt? 01:31:04 ya 01:31:21 do a "more /mnt/etc/resolv.conf" 01:32:45 no such file or dir 01:32:56 ls /mnt 01:35:06 no output from that 01:36:45 Yeah, I don't know what to tell you. It's been too long for me since I've installed FreeBSD and I've never dealt with scripting on the installer. 01:36:54 ok np tyvm 01:37:03 RhodiumToad pls ping me when around maybe you know 01:38:50 Worst case, reboot and see if it's correct. Or just start the process in a VM and keep doing it until it works lol 01:42:23 polyex i thought you want to build dns server 🙂 01:42:33 what? 01:42:41 yes, dns server 01:43:03 no he wanted a dns proxy... 01:43:04 but if not, just forget it, sorry for false thought 😅 01:43:19 i have 2 separate needs guys 01:44:17 What? polyex 01:46:26 how do i direct stdin to a command? 01:50:37 I think it's (for example) command < file 01:51:15 no such file or dir 01:51:21 oh wait 01:51:57 i need to pass some text to resolvconf -a vtnet0 through stdin 01:52:02 not sure how 02:21:13 oh just the echo pipe trick nvm 02:21:23 ok i still can't get dns resolving in a scripted bsdinstall env 02:21:27 damn 03:02:28 during a scripted bsdinstall, before the reboot, how can i get dns resolution to work without using local_unbound? service netif start brings up IP and i can ping my lan/router (but no public IPs for some reason) but can't resolve domains. i added "nameserver x.x.x.x" to /etc/resolv.conf, and tried service resolv start. nothing works but i don't 03:02:28 wanna use dhcp if there's a way 03:02:42 uh 03:04:00 do you really need to run netstart 03:09:48 netstart? 03:11:03 that's not still used i don't think 03:34:00 add a sleep maybe? 03:34:07 it really should happen right away 03:45:18 "it"? 03:47:02 the resolver function 04:09:35 add a sleep where? 04:32:37 forget it 04:41:42 hmm 04:41:45 there's no defaultrouter 04:50:01 that would do it 05:02:24 hm why can't i get defaultrouter to show up in netstat -rn? 05:08:17 i wouldn't use netif; i'd set the interface, add the route, set the resolv and you should be good 05:11:06 omg got it 05:14:22 is there a way to add a defaultrouter transiently? so that i don't have to add it to /etc/rc.conf 05:15:55 "route add default 10.11.77.1" 05:20:53 wow that seems to work!! 05:21:13 ok this is weird. in the new system i can resolve www.openbsd.org but not www.freebsd.org lol 05:21:23 can resolve netbsd.org too wtf 05:22:47 o rly 05:22:53 are you using a local resolver or a public one 05:23:14 my isp 05:23:24 try www.geo.freebsd.org 05:23:26 instead 05:23:38 this is weird too. when dns does eventually resolve for www.freebsd.org, i can ping www.openbsd.org but www.freebsd.org fails no route to host 05:24:01 weird ipv6 ? 05:24:25 www.geo.freebsd.org unknown host 05:24:32 dunno 05:25:16 btw is there a way to transiently set a name server for a host like route add default x.x.x.x for defaultrouter? 05:25:24 without having to add something to /etc/resolv.conf 05:25:48 i don't think that there is. 05:28:54 what's the lightest way to set a dns server so that host foo.com will resolve? is it echo 'nameserver x.x.x.x' | resolvconf -a vtnet0, or just echo "nameserver x.x.x.x" > /etc/resolv.conf, or? 05:44:15 i'd just pipe it, as i said i haven't really used resolvconf 06:07:51 when unbound gets installed it doesn't reconfigure /etc/resolv.conf. shouldn't it do that so it works? 06:07:59 like change the nameserver to localhost 06:41:00 i have this in my make.conf DEFAULT_VERSIONS+=perl5=5.32 and trying to upgrade znc and it wants to upgrade my perl to 5.34 instead 07:01:41 n30: perl 5.32 just went EOL 07:06:41 so i cant keep it at all? have other packages i cant upgrade yet due to other issues so i need to stick with 5.32 07:13:28 polyex: did you enable and start the unbound service? 07:14:09 n30: you can keep it, but then you have to fork the ports tree 07:14:41 meena so i gotta jump through some hoops 07:15:37 the hoops are: you have to configure a service you want to use 07:16:28 meena i boot scripted bsdinstall, script adds nameserver to resolvconf, restarts netif, adds defaultrouter, bootstraps pkg, installs unbound pkg, THEN needs to convert /etc/resolv.conf to being compatible with unbound (nameserver 127.0.0.1). not sure how to do the last step yet 07:16:49 no i mean i gotta set up temporary dns, then change it 07:18:49 doesn’t local_unbound at least have a script to do that? 07:19:29 if it does, it's not documented anywhere 07:19:58 no i'm using unbound not local_unbound 07:20:05 local_unbound is never enabled or started 07:25:10 oh, cool, I'm the last person who who's commit is in contrib/unbound 08:37:21 in csh i can redirect a string to a command over stdin like 'echo string | command' but how do i do it if i want to redirect multiple lines into the command? 08:53:31 echo -e "string 1\nstring 2" 08:53:50 polyex: why are you scripting in csh? 08:54:15 csh is decidedly not for scripting 09:02:16 omg i got it 09:03:22 i got scripted bsdinstall to bring up network and dns so i could install packages. no dhcp needed 09:04:04 then after it runs, bsdinstall script overwrites /etc/resolv.conf with the permanent settings (nameserver 127.0.0.1) 09:09:23 there any benefit to using resolvconf -a ... to set /etc/resolv.conf rather than just writing the file directly? 09:13:00 🤷🏻‍♀️ 09:29:08 polyex: congrats on getting bsdinstall scripted 09:30:02 ty!!! 09:47:08 meena: What kinda emoji is that? 09:48:04 Some kinda combination? shrug, something, female? 09:50:17 skered know any benefit to using resolvconf instead of writing /etc/resolv.conf directly? 09:50:29 skered: the something is my skin colour. I haven't seen the sun since i moved away from Vienna 09:51:57 Ok so a shruging female is shrug, 200d, female... 09:52:54 Makde kitty, tmux, epic lose its mind... multi multibyte emojis 09:53:02 Made* 09:59:05 skered: yeah, I'm not sure there's any terminal that can display that properly 10:00:06 makes me wonder about other Unicode ranges that heavily rely on ZWJ, like Perso-Arabic Script 10:03:03 سَلَام‎ 10:04:16 should probably still display, but who knows? 10:05:21 those little ticks over letters are (probably) vowels 13:07:24 I'm on 14 BETA3 and I think I got a memory leak somewhere. things (firefox, mpv, …) keep getting oomkilled. also whenever there's heavy disk io, my system pretty much completely freezes up… 13:09:26 any idea on how to triage this? i keep looking at top. judging by res there should be no memory exhaustion, but judging by size, at least firefox allocates crazy amounts… like multiple ff processes that allocate more memory than the entire system has. 13:12:15 what do the ram/swap lines look like? 13:13:06 a lot of FF's memory is shared between processes, which is why it doesn't add up to a reasonable amount 13:13:28 no swap 13:13:33 tmpfs /tmp tmpfs rw,mode=777 0 2 13:13:42 how much ram? 13:13:47 12G 13:13:58 what does the Mem: line in top look like? 13:14:23 and how much space is that tmpfs using? 13:14:23 Mem: 3852K Active, 53M Inact, 18M Laundry, 10G Wired, 1145M Buf, 257M Free 13:14:40 10G wired... using zfs? 13:14:47 252M 13:14:51 no, ufs only. 13:14:56 but with geli. 13:15:04 what are you running that wires memory? 13:15:09 bhyve? 13:15:23 nope. nothing much. currently not even firefox is running. 13:15:56 x11, awesome, half a dozen kitty terminals, claws-mail, ncmpcpp, dino, weechat and that's currently it. 13:16:09 all of that should be pretty slim. 13:16:40 can you paste your vmstat -m and vmstat -z to a paste site? 13:16:46 sure, sec 13:22:03 uuh 13:22:57 RhodiumToad: i wanted to paste, but when i started firefox, both displays just… turned off. had to reboot. when shutting down, i did get the kms vt back, tho… 13:23:04 polyex: you are still on about a temporary resolv.conf 13:24:57 RhodiumToad: vmstat -m: https://paste.xinu.at/mSN/ vmstat -z: https://paste.xinu.at/S9S/ 13:25:01 Title: vmstatm 13:25:11 (captured before my displays went awol) 13:25:37 in future you may find cat ... | nc termbin.com 9999 useful 13:26:01 or use curl to paste to dpaste.org 13:26:09 yeah, or sprunge, but whenever i actually need that i never quite remember the right call :P 13:28:57 firefox in general is also super sluggish. like it taking multiple seconds to scroll, focus/type into an input etc, tabs constantly crashing. in the beginning i thought it was firefox disk cache because i first noticed it on heavy io load, which is when this behavior shows the most. 13:29:15 rtprio ya you got something? 13:29:31 what drm driver are you using and was it compiled from ports or installed as a package? 13:29:45 hey RhodiumToad there any benefit to using resolvconf -a ... to set /etc/resolv.conf rather than just writing the file directly? 13:30:05 installed as package. drm-kmod-515. it's essentially the entire reason i went to beta – to finally have support for my rx6600xt 13:30:57 polyex: using resolvconf means that what happens is configurable via resolvconf.conf 13:31:44 phryk: a bunch of this excessive memory usage is tied to the drm driver. so something is not happy there 13:31:56 from the vmstat -m: 13:31:58 lkpikmalloc 6103476 6081121K 199208952 16,32,64,128,256,384,512,1024,2048,4096,8192,16384,32768,65536 13:32:19 that's the linux kpi, which is mainly there to support the drm driver 13:32:29 i also installed some metapackage to get all the firmware packages. previously only had the one specific to my gpu (dimgrey cavefish) but with that disconnecting one display would cause the other to blank. fixing the metapackage fixed that. 13:32:34 from vmstat -z: 13:32:37 drm_sched_fence: 184, 0, 6068053, 590,21244699, 0, 0, 0 13:32:45 and 13:33:10 malloc-1024: 1024, 0, 6069199, 177,44739201, 0, 0, 0 13:33:14 so… the driver for my gpu on drm 5.15 is likely just broken? 13:33:29 that malloc-1024 is probably what's backing the lkpi mallocs 13:34:02 it might be specific to your gpu or it might be a more general issue with drm 13:34:06 RhodiumToad is that generally a good idea? to funnel resolv.conf changes through resolvconf 13:34:34 polyex: tons of stuff wants to write to resolv.conf, so yes 13:34:44 ty!! 13:35:08 RhodiumToad: so what's my course of action, except for reporting the leak to drm-kmod maintainers? 13:35:30 phryk: I'd try compiling the drm kmods yourself, and if that doesn't help, report it as a bug (or report it anyway) 13:36:35 RhodiumToad: any particular branch of the ports repo i want for 14, or just main? 13:37:35 main 13:37:48 aye, thanks. checking out now. 13:37:58 the ports repo isn't specific to fbsd version, it just has main and quarterly branches 13:38:50 that was my understanding, but i never ran beta before, so better to ask once instead of regretting twice ^^; 14:14:27 freebsd 14 have rust in the kernel? 14:14:45 it makes better code so freebsd better catch up to linux bringing lots of rust in 14:17:18 Rust in the kernel is a complex matter. slightly more complex than, bring it in 14:17:23 "it makes better code". Citation needed. :P 14:17:25 As much as I like Rust, I don't think it matters a whole lot. They're both just different systems programming languages. 14:17:43 With similar performance. 14:18:31 the day rust shows up in core is the day I fork UnoxidizedBSD unless someone else beats me to it 14:20:14 RhodiumToad: I mean, I don't think it's THAT big of a deal. I just don't think it needs to be done. 14:21:37 polyex: I mean, I'm sure you can go ahead and make kernel modules just fine in rust if you wanted to. 14:22:26 they left already 14:22:55 BillyJoeBob: the benefits that rust brings to the table wrt to "simple" programming issues like off by ones and integer overflows are only outshined by the entire class of memory related bugs are hard to replicate in any other systems programming language. 14:24:49 however, many of the things people commonly associate with the downside of rust, as well as many of rust's strengths stem from its standard library and many thousands libraries in cargo 14:25:11 RhodiumToad: i need the os sources to compile drm-515-kmod – what branch do i use? the releng or the stable one? 14:25:40 there's every chance that the standard library is unusable in kernel code, and with it roughly 90% of cargo 14:25:57 everyone will just write in rust in c (using unsafe or whatever it is called) 14:26:12 nah, that's not what I'm saying 14:26:18 just like old joke about fortran programmers writing in fortran in any language 14:26:19 phryk: releng 14:26:25 RhodiumToad: tyvm 14:27:40 meena: i'm not commenting on what you are saying, rather on "better code" above 14:30:36 what im saying is more nuanced. you can get a lot of milage out of rust as Systems programming language without using unsafe. I'm fact, using unsafe, because it's so obvious, is highly scrutinised in the ecosystem and the community. but: you can't get much mileage out of rust ecosystem for kernel development. at least not until someone leads the 14:30:36 way, creating useful no_std libraries. would be a shame if they were all GPL licensed, tho… 14:31:37 AGPL the network stack. >:3 14:31:55 (scnr) 14:34:04 built drm-515-kmod locally and installed it. rebooting now, wish me luck^^ 14:35:51 🤞 14:44:12 nothing exploded, now gonna have a look at the lkpikmalloc thing while i do some memory/gpu intensive browser foo. :) 14:44:21 has anyone used any zpool.d scripts? 14:44:32 the ones in openzfs seem perhaps too linux-y and don't seem to work 14:44:52 phryk: visiting any website made after 2006? 14:55:58 meena: yes. :P 14:57:20 RhodiumToad: do you have a ballpark value for a reasonable upper bound for lkpikmalloc? system feels responsive, but the value has been climbing pretty steadily. currently at ~150Mbyte. 15:34:27 okay, it just keeps growing and growing. 15:35:14 how do i properly build the gpu-firmware-amd-kmod port? it doesn't have any options but building and installing it yields only the aldebaran firmware and none of the others… 15:40:27 mhh, they're flavors. i know poudriere can do @all to build all flavors, but i'm not aware how to do this with raw ports + make 15:42:41 phryk: make FLAVOR=whatever but I don't think you can do 'all' like that 15:45:19 make -V FLAVORS will show the list of available flavors for a port 15:45:57 if the value keeps growing then that's a problem 15:48:15 RhodiumToad: yeah, thought so, especially after it didn't even stop growing after quitting firefox. so now i want to retry with firmwares from current ports. 16:07:03 nope, still leaking 16:07:21 guess i'll report this^^ 16:28:36 i am very excited for this bug report, phryk 16:31:34 meena: you are? i just posted it: https://github.com/freebsd/drm-kmod/issues/258 16:31:37 Title: drm-515-kmod amdgpu memory leak · Issue #258 · freebsd/drm-kmod · GitHub 16:31:37 258 – The dialog_menu function's scroll saving feature is broken. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258 16:31:51 and thanks a bunch for helping triage this RhodiumToad :) 16:34:19 huh, VimDiesel talks to itself. 16:35:15 bots do that 16:56:50 anyhow, thanks for all the help, i'll go boot the bad os and play some games. :P 17:04:32 I was gonna play Zelda today, but then i just did house work and napped. 17:35:47 i love naps 18:24:38 Why does this work: "git clone ssh://i4industry-git/v1/repos/insight --progress 2>&1 | stdbuf --output=L tr '\r' '\n' | perl -ne 'print "$1\n" if /(\d{,3})%/'" 18:24:38 < but not "git clone ssh://i4industry-git/v1/repos/insight --progress 2>&1 | stdbuf --output=L tr '\r' '\n' | perl -ne 'print "$1\n" if /(\d{,3})%/' | xargs echo " 18:24:38 Why does this work: "git clone ssh://i4industry-git/v1/repos/insight --progress 2>&1 | stdbuf --output=L tr '\r' '\n' | perl -ne 'print "$1\n" if /(\d{,3})%/'" 18:25:51 but not "git clone ssh://i4industry-git/v1/repos/insight --progress 2>&1 | stdbuf --output=L tr '\r' '\n' | perl -ne 'print "$1\n" if /(\d{,3})%/' | xargs echo ". What buffering problem is this 18:28:18 Please clarify what you mean when you say works and does not work. That's rather a detailed command line to know what is meant just by inspection. 18:28:37 For example I wonder... Why translate CR to NL? Why not simply discard CR characters? 18:29:03 For example I wonder... The perl won't be line buffered. So won't things buffer there? 18:29:10 why are you piping git clone to perl 18:30:38 I can see that in the perl it is attempting to extract the percentage complete numbers. 30%, 40%, 50%, and so on, with the \d{,3}% pattern. 18:31:17 But I can't guess at why that result is being piped to "xargs echo". 18:35:42 perl will buffer output if it's not to a tty, like most programs 18:54:06 rwp, xargs echo is just a placeholder 18:54:12 I pipe it to dialog --gauge to show a status bar 18:54:31 I should not have spent any time on it but I did. I see that the translation from CR to NL is because git clone is overwriting the line only with CRs and no NLs at all. 18:55:00 translating CR to NL makes it so that each new percantage update (which is being printed with CR %) gets translated into a new line, thereby working with the diamond operator in perl 18:55:03 The perl is buffering as we all noted. The $| var can be set to 1 to cause it to be line buffered. 18:55:18 The xargs echo is also aggregating input. Use -L1 to avoid that. 18:56:10 Try this command: git clone --progress ssh://i4industry-git/v1/repos/insight 2>&1 | stdbuf --output=L tr '\r' '\n' | perl -lne '$| = 1; print $1 if /(\d{1,3})%/' | xargs -L1 echo 18:56:45 Also the perl regular expression {, was invalid on my installed versions of perl. Had to convert that to {1, in order to have it work. 18:57:25 the $| = 1 worked 18:57:39 \o/ 18:57:40 I tried using it, but ignored the -L1 on the xargs.. 18:57:43 ahh god 18:57:55 I wouldn't quite go that far. But you are welcome. 18:58:14 Thank you very much and sorry for making it hard (I was in the show :) 18:58:17 shower* 18:58:42 Glad to hear everything is all cleaned up now. Hahaha. 19:02:30 also 19:02:35 what is the -l flag for 19:02:45 I am on alpine... so its not the same 19:10:22 The perl -l option strips newlines on reading and appends newlines on writing. It's one of the helper options to make one-liners easier. 19:14:12 Also... Let me gently nudge you to keep topics on the right topic channel. Since you were not even close to FreeBSD while having this problem. It wasn't even in the room! 19:54:03 <_xor> meena: I'm back in town and back on my regular schedule. Let me know if you've found anything regarding vultr credits or whatnot. Can look at taking care of it this week. 20:31:35 not sure if it's a beta thing or my misunderstanding, but I'm on BETA4 right now. if i "bectl list" I see a BETA3 item as "NR". but i'm clearly in BETA4 kernel. 20:32:05 should the BETA4 item be NR? 20:37:02 https://bsd.to/EN03 20:37:03 Title: dpaste/EN03 (Plain Text) 20:38:24 freebsd-version -ku ? 20:39:24 14.0-BETA4 (shows twice on two lines) 20:39:25 I've never explicitly created any boot environments myself nor used anything but the default one 20:41:34 I always use "freebsd-version -kru" to show all three things. -k for the installed kernel and -r for the running kernel. Reboot if those two are different. -u for the userland. 20:42:10 How did you upgrade to BETA4? I think that's where things diverged. 20:42:59 -kru all 3 are the same BETA4 20:43:00 Oh wow, I've alwayes assumed -k shows the running kernel 20:43:08 I upgraded with freebsd-update 20:44:03 Just yesterday I did 13.2 -> BETA3 -> BETA4 upgrade with freebsd-update, everything is fine for me atleast 20:44:11 Hmm... I have always seen freebsd-update create a new boot environment itself okay and all. 20:44:34 rwp: it creates them, it's just not switching mine 20:44:51 i did break my system months ago and used boot environments to revert 20:45:08 i wonder if something needs to be set to allow it to not be static? 20:45:19 For me when I am "cruising along" through the upgrades I am riding "default". You don't have one. So maybe that is where things diverged? 20:45:30 what's weird though, is why is the BETA boot environment booting BETA4? 20:45:41 *BETA3 20:45:45 Full disclosure: I don't know. I use BEs and they are awesome but I don't have every detail in my head about them. 20:46:13 seems like I should be booting into BETA3 as long as that item is "NR" 20:46:29 I think freebsd-update is designed to work with "default". I think if that was deleted then maybe it won't do this automatically anymore. 20:46:51 dh, Can you pastebin your beadm list? Or rather I should ask if you are on "default" too? Or a named one? 20:47:00 I'm on default 20:47:28 That seems to reinforce that not having a default is likely why things are diverged. 20:47:32 https://bsd.to/EN03/raw 20:47:33 Title: EN03 20:47:36 I have no default 20:47:42 Is that required? 20:47:44 https://bsd.to/sruN 20:47:46 Title: dpaste/sruN (Plain Text) 20:48:10 I think "default" is required for freebsd-update to function on it automatically. I think. Not sure. Seems plausible. 20:48:58 And markmcb my request for the pastebin was for dh since the upgrade was normal there. Thanks though but that was the same paste you had posted before. :) 20:49:18 And I am not myself running BETA so mine would not be useful. 20:49:27 I guess I'll try renaming the lastest to default and see what happens on BETA5/RC1 20:49:57 I think that reconfiguring things so that you are back on "default" should fix the automation for the next upgrade. 20:50:23 And right now I think you are booted to 14.0-BETA3_2023-09-23_205902 and that on that clone branch your system is BETA4. 20:51:29 ok, renamed and activated, going to reboot to default then will see what happens next weekend :) 20:51:33 markmcb, What does "df -h /var/run" report for your system? I ask because then I would ask you to "cat /etc/os-release" and verify that it is BETA4 there. 20:52:02 zroot/ROOT/14.0-BETA3_2023-09-23_205902 20:52:06 Normally /etc/os-release is a symlink to ../var/run/os-release 20:52:32 All of that is making sense as to the way things got into this state. And I think you have the right fix. 20:53:12 Just fyi on my system df -h /var/run reports zroot/ROOT/default 20:53:45 Missed him by "that" much. lol 20:55:00 This is reminding me that I have some old boot environments just holding space from 12.x days that I will never need again. I should prune them. 20:56:42 markmcb, Just fyi on my system df -h /var/run reports zroot/ROOT/default which might be considered normal. 20:57:13 Not that doing other things is a problem. These are all tools in the toolbox to be used as required. :-) 20:57:40 made the switch and rebooted. also seeing zroot/ROOT/default now 20:58:17 I am thinking that should automatically do everything for the next BETA5 upgrade. Seems plausible. 20:59:03 If you really wanted to double-blind test things you could revert your system back to BETA3, reconfigure to default, then upgrade to BETA4 again and verify. :-) 20:59:18 Seems like a lot of work at this point though. So not really suggesting it. 20:59:33 yeah, i'll wait. lol. 21:00:23 fwiw, i had a "default" when i first noticed this behavior 21:00:35 so i'm not sure this will resolve it 21:00:42 but we'll see 21:01:09 It's still beta. It might be actual breakage. But dh did report it worked there. So, no idea! 21:09:55 yeah, seems odd behavior. i'd think on an upgrade no matter what the existing boot environment setup, the "R" flag should be set to the newly created environment. 21:38:00 I think it is the opposite. The newly created boot environment is the saved off old one. The currently running one is upgraded. It leaves a trail of previous BEs behind. Pretty sure. 21:40:02 That's not to say that one can't do it other ways such as the way you mention. Just that it isn't the way freebsd-update is coded to work. 21:54:44 hello 21:55:28 can`t acces to settings on gnome on 15 current, anyone can help me ? 21:56:00 need dvorak intl with death key for euro symbol 21:56:42 and switch right clic te left clic 22:04:10 anyone using 14.0 can test TCC? TinyC Compiler? It's giving me a seg fault on a hello world. 22:06:22 thedaemon: I only got 15.0-CURRENT in close reach. 22:08:22 you got TCC meena ? 22:08:46 thedaemon: core dump! 22:09:40 I got mine set on auto but haven't seen it make any dumps 22:09:49 thedaemon: not the most informative coredump 22:09:51 I might have disabled it someother way 22:10:06 oh you mean you got a core dump? 22:10:08 * thread #1, name = 'tcc', stop reason = signal SIGSEGV 22:10:08 * frame #0: 0x0000000000233f66 22:10:08 frame #1: 0x000007cf7cd4421e 22:10:27 let's rebuild WITH_DEBUG and see what that gives us 22:11:56 perl5>=5.32.r0<5.33 : lang/perl5.32 hrmpfvzfsddd... 22:15:43 WITH_DEBUG=yes did … nothing 22:15:50 oh crap 22:16:00 well, I am not smart enough to debug it yet. 22:16:09 Just diving into C. 22:16:10 I'm suspecting this might be related to the libc / csu changes 22:16:21 what is csu? 22:16:32 C start up 22:16:35 yeah I think I was able to get a lib error once 22:17:00 is it tcc itself dropping core? 22:18:29 RhodiumToad: yes 22:18:40 the above lldb output is from that 22:18:59 even tho it's compiled with debug symbols, I'm not getting anything better than that 22:19:21 and the numbers are actually the same. 22:21:12 rearranging my room, bbl. 22:21:13 setxkbmap dvorak-intl 22:21:13 Error loading new keyboard description 22:21:34 lemme see what 13.x says 22:25:37 well, this is way better: 22:25:37 In file included from hello.c:1: 22:25:37 In file included from /usr/include/stdio.h:43: 22:25:37 /usr/include/sys/_types.h:107: error: ',' expected (got "__aligned") 22:27:42 at least it's not segfaulting. 22:29:12 and it's not simd related: fish: Job 1, 'env ARCHLEVEL=scalar tcc hello.c' terminated by signal SIGSEGV (Address boundary error) 22:29:18 (probably) 22:29:36 (but we can still probably ask FUZxxl to take a peek) 22:30:27 what is the disassembly around the fault? 22:31:09 haven't look yet 22:31:39 wait, how do i do that. 22:32:01 error: core file does not contain 0x233f66 22:32:01 error: Failed to disassemble memory at 0x00233f66. 22:32:12 this core file won't let you dis it 22:34:08 oh, so it probably jumped into nowhere 22:34:17 what's in the registers? 22:39:10 sec, bringing the dog out. bbiab 22:56:24 RhodiumToad: https://gist.github.com/igalic/012bbbfb389dcadbc565d2b3ca20e0eb 22:56:26 Title: gist:012bbbfb389dcadbc565d2b3ca20e0eb · GitHub 23:01:14 thedaemon: ^ also for you, more or less 23:02:43 given that they're mostly 0, we can probably ignore the FP registers 23:03:49 r8 and r9 look funny, but I'm not sure they look suspicious. 23:06:45 Frame #0 has the same data as `rip` 23:06:59 i wonder how painful it would be to run tcc in the debugger… 23:08:42 oh, great, I have to run lldb as root… 23:10:34 In file included from /usr/include/stdio.h:42: 23:10:34 Process 33037 exited with status = 1 (0x00000001) 23:10:55 /usr/include/sys/_types.h:58: error: #error unsupported long size 23:14:42 (no, no it's not. i invoked it with -c hello.c, not with -o hello hello.c) 23:16:02 https://gist.github.com/igalic/dab6bde4f06c85406a6a2c2476e194ec 23:16:03 Title: gist:dab6bde4f06c85406a6a2c2476e194ec · GitHub 23:16:36 that's a tad more useful! 23:18:46 anyway, time to goto bed 23:20:59 hot take: debug symbols should be the default. 23:22:06 go and build rustc with debug symbols on, and notice how much disk space it took 23:27:41 RhodiumToad: i feel like disk space is cheaper than the time it takes n people to build $software just to get the symbols. 23:28:05 tcc with debug symbols is a whopping 240K 23:29:30 somebody should tell FUZxxl about https://gist.github.com/igalic/dab6bde4f06c85406a6a2c2476e194ec i feel like he might know what's up, or who to bug about this 23:29:32 Title: gist:dab6bde4f06c85406a6a2c2476e194ec · GitHub 23:31:00 it's a null pointer dereference 23:31:34 what's at that line in tcc_load_object_file ? 23:33:29 RhodiumToad: how do I figure that out? oh, by looking at the code. 23:34:10 lldb should be able to show you the source if you tell it where to find it. 23:43:53 or, I could just cd into the /usr/ports…work dir 23:44:54 or… not… 23:46:47 why do i get into these terrible debugging sesssions, that I have nothing to gain from… when it's bed time? always? 23:49:30 Sorry :( 23:54:15 thedaemon: your turn now ;) 23:56:05 cd /usr/ports/lang/tcc ; git pull ; make install-missing-packages ; make WITH_DEBUG=YES BATCH=YES ; make reinstall 23:57:51 that last step isn't strictly necessary, as you can just cd work/$tcc_src and lldb from there