00:00:00 does top show anything busy? 00:00:21 no not much 00:00:27 nothign about that drive 00:00:29 zpool status -v 00:00:33 what exact command did you do? 00:00:54 fuser /bd 00:01:11 before tthat, zpool export bd 00:01:49 do a control-T in the session that you did the export in 00:02:29 interesting 00:02:34 load: 2.18 cmd: zpool 97210 [tx->tx_sync_done_cv] 289.08r 0.00u 0.05s 0% 7456k 00:02:35 mi_switch+0xc2 _cv_wait+0x113 txg_wait_synced_impl+0xb9 txg_wait_synced+0xb zil_close+0xdf zfsvfs_teardown+0xb4 zfs_umount+0x119 dounmount+0x482 kern_unmount+0x332 amd64_syscall+0x10c fast_syscall_common+0xf8 00:03:23 is the disk still running? 00:03:40 yes 00:03:43 constantly 00:03:52 was there a lot of recent write activity on it? 00:03:57 yes 00:04:07 what type of disk? 00:04:08 well i deleted few GBs 00:04:11 hdd 00:05:08 it's apparently waiting to finish synchronizing all write operations to disk, but I have no idea why that should take so long 00:05:25 bad /slow disk maybe 00:05:30 but its new 00:06:26 do top -SH to see system threads - is the geli thread for the volume busy? 00:07:29 no 00:08:02 what about g_down or g_up threads? 00:08:23 none 00:09:01 zfskern* or kernel{z_* threads? 00:09:59 none 00:11:03 Zpool status is it scrubbing ? 00:11:11 gstat -p shows activity on the device? 00:12:16 by the way I found super fast loging of xorg logs saying [802036.674] (EE) Wacom One by Wacom M Pen eraser: Error reading wacom device : Invalid argument 00:12:16 wacom is unplugged right now 00:12:49 RhodiumToad heavy activity with da0 in gstate 00:13:05 100 busy 00:14:34 busy with read or write ops or both? 00:15:07 r/s , ops/s  ms/r is up 00:15:59 did you try zpool status on the pool? 00:17:47 normal 00:17:59 no scrub in progress? 00:18:02 no 00:18:09 last on 27th mar 00:19:22 Are you using that caching crap on kde ? 00:20:15 Kde uses a caching thing that requires MySQL and it's io intensive 00:20:57 Think it's supposed to mimic index service from windows 00:21:44 I do not have kde 00:21:45 there should be nothing in userland accessing the filesystem at this point as far as i can see 00:22:05 by the way, I have this issue and xorg is goign crazy https://forums.freebsd.org/threads/fighting-to-get-wacom-intuos-s-ctl-4100-working.77785/ 00:22:06 Title: Fighting to get Wacom Intuos S (CTL-4100) working | The FreeBSD Forums 00:22:19 Think there's some magic in ports that allows you see what zfs is doing 00:22:30 Oh that would do it as well 00:22:35 not sure how to stop xorg logging millions of lines to disk in /var/log/Xorg.. 00:23:02 cpet but that drive is not OS drive. 00:23:04 Really doubt it's millions but ok 00:23:08 so writes won't be there 00:23:15 cpet willl millions in a day. 00:23:20 It still scans all the things 00:23:23 few dozen a second 00:23:35 how do I stop xorrg loging 00:23:49 I set pretty much everything to not log and turn it on when something bitches 00:24:43 Beladona: what's the full output from zpool status? 00:25:19 Actually what does ps auxwww let's see what's running and hogging 00:25:29 all normal 00:25:35 how do i stop xorg log 00:25:38 Probably get better results from one of the other tops such as htop 00:25:49 You read the man pages and restart 00:28:55 ya ok but how do I stop xorg log? 00:29:16 it's really not a good idea to get sidetracked into another problem while trying to solve something 00:30:03 damn HHW :/ 00:30:41 paste the actual output from zpool status on termbin 00:32:16 I honestly think it's that xorg logging but I'm sure he can figure out how to stop logging by reading the man pages 00:32:30 RhodiumToadhttps://pastebin.mozilla.org/4DWaPC0K/raw 00:32:34 https://pastebin.mozilla.org/4DWaPC0K/raw 00:33:45 Setup makes no sense but ok 00:33:59 Paste in what ps auxwww outputs 00:37:56 also paste the second block of output from top -zSH -b -s10 -d2 40 (this will take 10 seconds to run) 00:38:06 cannot find https://man.freebsd.org/cgi/man.cgi?query=Xorg&sektion=1&format=html 00:38:07 Title: Xorg(1) 00:38:17 or the whole output if that's more convenient 00:39:09 found it. its gelli 00:39:28 https://pastebin.mozilla.org/9hcp8N9O/raw 00:42:05 found what? 00:43:39 i wonder who runs bsd.to? i saw a few people have noticed already the ssl certificate is expired 00:44:49 Oh nos you can still use it 00:45:19 Not sure why you need all your pools encrypted but ok 00:46:21 Topic should be changed to reflect though cloudfare shows a cached version. 00:46:38 might be koobs? not sure 00:48:58 can you still use it? it seems cloudflare won't let you 00:49:58 no 00:52:07 One reason to encrypt your pools is so you can simply throw a failed drive away without having to try to wipe it or physically destroy it. 00:52:46 I have about 60 drives I need to destroy... They are failed drive with data on them. Don't have to do that anymore. 00:54:54 yeah, definitely great for a failed drive scenario 00:55:02 since i seem to keep mine until they do fail 00:55:21 i think the most obvious thing is theft, though 00:56:01 For a laptop... But even for a server I suppose 01:44:17 RhodiumToad system crashed. 01:44:32 I am back and good. drive umounted anyway due to crash 01:45:04 xorg error was due to webcamd when I plugout wacom tablet. for now won't do that. will figure later 02:46:02 Hrm by PC is fine, oh it crashed but it's still fine 02:50:35 Erhard: if it's not enterprise you really don't need to do that I would sell them for 5 bucks a pops rather than destroy them just format then to CIA specs and they are good to go if you don't have data restore clean rooms really doubt you can find anything useful on drives formated that way 03:49:04 cpet: The point was about drives that actually fail... You can no longer wipe them with a computer. You have to destroy them, but, as you say, the likelihood of someone recovering them in that case is slim. 03:49:37 Normally I will wipe old drives and send to electronics recycling/reuse. 03:50:37 i sell them after I format them 03:53:33 a drive that has failed very few people can actually recover data from them without doing some magic, you cant really buy new HD mother boards as a end user so im not really worried about that but i know some people are, I would destroy them if they held trade secrets but even that can be fixed by formating as most drives have a expiration date so they are normally good drives that large datacenters just replace as they expire. 03:56:24 I the past I have run an open HDD and swapped the internal board with another good one, ad recovered the data (because I needed it). POint is that a clean room is not needed, but this was an old drive, and modern ones are likely far more sensitive, and harder to recover. 03:59:03 is this home end user or biz/corp end user ? 04:01:06 What? My use? Both. That data on the drive was personal stuff years ago. Nowadays I have auto-snapshotted systems and auto snapshotted to secondary and remote servers. So data loss is more difficult (though never impossible). 10:31:46 hi, could you give me a tip how to modify www/apache24 in ports so that it produces debug symbols for gdb? and, once it does, is there a place where debug symbols are split off to? I know there's /usr/lib/debug but that's for userland. Is there no equivalent place in /usr/local? Does it mean everything built with debug symbol has them embedded? 10:32:19 build the port with WITH_DEBUG=1 10:32:48 (ports are supposed to respect that and turn on debug symbols) 10:34:32 the port does not expose that option, but I did find a branch in the makefile that handles it. However, it also sets -O0 which is not good, so I just patched in -g -ggdb3. But I'm just noticing that release mode also does INSTALL_PROG_FLAGS="-s" ... which I now assume is 'strip' 10:34:51 it's not an option for individual ports, it's a framework option 10:35:06 make WITH_DEBUG=1 ... 10:35:46 or put WITH_DEBUG_PORTS=www/apache24 in /etc/make.conf 10:37:47 yea just saying that the makefile reacts to that by setting configure flags -O0 (no optimizations) plus -g. I guessed that I could get the same result by putting it into the 'else' branch for WITH_DEBUG. And I almost got it right, but indeed, '/usr/bin/install -s' strips debug symbols. Is there some other magic flag that splits them off instead? I knwo some stuff does it but I never paid attention how 10:37:53 exactly (probably a gdb commandline?) 10:37:55 *gcc 10:38:41 if the port is stripping binaries even when WITH_DEBUG was set, that's a bug in the port, and you need to report that 10:38:54 but I'm not convinced you're doing it correctly 11:09:29 it's my mistake, I didn't realize what that line in the release path meant, and I left it in. 11:09:53 you shouldn't be touching the makefile 11:10:14 just put everything back as it was, and build it with WITH_DEBUG 11:11:32 I don't wanna, this webserver runs live and I don't want an -O0 executable running long-term like that 11:12:21 all it needs is commenting out that install -s flag and it should be good to go 11:12:25 ok, then also set DEBUG_FLAGS="-g -O2" 11:12:52 you do not need to touch the makefile. 11:13:18 ah you are right, I could go that route as well. The debug build also does 'enable maintainer mode', and I didn't know what that did so I steered clear of it. 11:14:32 for now I'm going with 'release, but with debug symbols added in and not stripped out' 11:19:05 I use mod_php(threaded) + worker_mpm(threaded) and it's been crashing apache once a month since 2017, so I figured I'd try submitting a crash report again and see if I can make php pretend to be thread-safe a bit better 11:27:22 I'm not sure mod_php is still recommended, better use php_fpm with some mod_proxy 11:31:10 hi all 11:32:12 I did see that but that sounds way complicated for a single hobby pc. On a 'real' webserver I decided to avoid this issue and it runs singlethreaded mod_php and mpm_prefork. And I'm unhappy about that. And aggressive crawlers caused it to run out of system memory a few times so I had to block them. Gimme those threads 12:48:06 the native mod_php directives are appealing, but the lack of proper multi-threading support with mod_php extension is still a problem, yes 12:48:32 FWIW, setting up php-fpm with proxy_fcgi is very simple, a few directives are needed. 13:17:28 anyone know which package i get the c++ std lib for arm from? 13:18:03 specifically looking for type_traits.h. it's neither in arm-none-eabi-gcc nor in arm-none-eabi-newlib. 13:24:59 /usr/src/contrib/llvm-project/llvm/include/llvm/Support/type_traits.h 13:25:00 /usr/local/lib/gcc12/include/c++/ext/type_traits.h 13:26:28 they are usually included with the compiler you are installing 13:29:18 so arm-none-eabi-gcc is just… broken? 13:29:31 don't know 13:30:15 well, it definitely doesn't contain that file (checked with `pkg query %Fp arm-none-eabi-gcc | grep type_traits`) 13:38:41 grepped through the portstree, there seems to be an gcc-arm-embedded port which contains it… 13:49:35 yup, that one works. :) 14:35:11 grahamperrin: a solution to the 13.1 to 13.2 update? Yes, it was extra zfs labels left over when when one of the drives was used whole-drive ZFS vs partitioned zfs. 14:40:30 grahamperrin: https://gist.github.com/dlangille/af34e873727c62689ec937530b9ce398 14:40:31 Title: gist:af34e873727c62689ec937530b9ce398 · GitHub 15:13:14 dvl: it's annoying when you add a new disk and you realize you didn't remove the zfs labels previously 15:13:42 aquamo4k: In my case, the drives were not originally mine. :) 15:13:44 dvl: how did creep in out of nowhere, did you just recently add the problematic drive 15:14:43 aquamo4k: No, these drives have been in use since 2016 I think: https://dan.langille.org/2016/12/18/x8dtu/ 15:14:44 Title: x8dtu – Dan Langille's Other Diary 15:15:39 huh, i would have thunk that bad label would have caused problems prior 15:16:06 I'll read your blog to try to figure it out 15:26:19 aquamo4k: Nothing in the blog yet about this. I suspect it's just that the boot loader changed between 13.1 and 13.2 15:27:43 i recently put my alpine linux workstation on zfs and appreciate "wipefs -a $DISK" and "sgdisk --zap-all $DISK" commands. 15:27:55 as opposed to using the dd method 15:29:04 I suspect there are anagolous cmds in freeBSD (maybe gdisk) - need to maybe look into that 15:30:02 just updated my freeBSD server to 14-current with the just commited openSSL changes, so far no issues. 16:22:40 can't say ive ever had a need to go beyond stable on anything other than a testing vm for upcoming upgrades. 16:24:04 you do you ! congrats 16:32:24 The testing, especially for big changes like OpenSSL 3, is really helpful. 16:32:50 If _only_ developers ran -CURRENT, a lot less bugs would be found in time for -RELEASE. 17:43:56 i currently use this server as a build machine mainly and I figured since pfSense runs current, I will too, especially since we are getting close to 14's release (i hope) :-) 17:58:54 Likely "pfSense" have people to solve|workaround issues if they would pop up. Do you? 18:07:06 i can just wipe and re-install; everything on the build server is on a git server so it's no worries 18:19:52 Is there a server for the git server ? 18:22:02 Is there a way to add VLAN tag to traffic coming from a specific MAC address? 18:22:49 most of the code runs on another system running gitlab in a podman container so yes. 18:22:57 Is doing a live-install with only IPv6 possible? I get a Fetch error with "Address family not supported" 18:23:43 plus I just like building things from source when I can 18:24:05 your mileage may vary but I'm old and pre-date pkg managers 18:26:15 aquamo4k, I do similar. My contention was more about citing the example with supposedly more resources than you|I might have 18:30:57 parv: ack, understand. 18:35:40 ah, I got it. I was only once again to dumb for v6 18:36:19 jemius: cool, i was just looking through the bsdinstall and fetch source and it looks like they both know how to use ipv6 on a quick perusal. 18:37:24 However, it seems there's a little bug with the installer navigation? When I leave the address-window with TAB I'm stuck between OK and CANCEL 18:38:19 try arrow keys left<>right? 18:39:33 aquamo4k, nope, stuck. That's on a V-Server remote console, though. Maybe it's eating key codes 18:41:10 ack could be. i am running mine on xcp-ng and didn't have any form nav issues. good lulck 18:41:11 In the installer one of [Tab], [Up], [Down], [Left], [Right] eventually goes to the intended choice (who reads the doc for the installer anyway?) 18:41:49 .oO( perhaps I should ) 18:44:12 parv, the doc is not really useful here, or is it? Every human instinctively knows that it's the arrow keys and TAB 18:44:22 :-] 18:53:31 exciting https://www.freebsd.org/releases/14.0R/schedule/ 18:53:33 Title: FreeBSD 14.0 Release Process | The FreeBSD Project 19:08:59 why do I get a "Protocol not supported" when creating a SCTP socket? i thought that's a well supported protocol 19:23:05 jemius: what's your code look like? 19:24:03 meena, listen_sock = socket(AF_INET6, SOCK_STREAM, IPPROTO_SCTP); 19:24:10 that works on my linux desktop just fine 19:24:29 I guess the kernel module is missing in FreeBSD or the protocol was not activated when compiling 19:25:45 https://man.freebsd.org/src.conf(5) i don't see an option to disable it 19:25:46 Title: src.conf(5) 19:26:59 the manpage lists so called `options`; SCTP and SCTP_SUPPORt 19:27:12 https://man.freebsd.org/sctp(4) but you still can, in your KERNCONF 19:27:13 Title: sctp(4) 19:27:33 jemius: did you include the right files? 19:28:10 meena, what files? that's just a C-Program and it compiles witht errors and warnings. The error comes from the kernel. 19:28:47 this one: #include 19:29:35 of course. If I hadn't – it would not compile. 19:30:04 already... wrote 19:30:05 bah 19:30:35 but yeah, if the kernel was compiled without, that makes sense 21:08:54 is there an easy way to show the pkg versions of latest vs. quarterly? either web or using the pkg tool? 21:10:16 markmcb: freshports.org 21:11:15 meena: perfect, thanks! 21:11:41 this Aldi 21:12:05 this also shows if and why something is failing (fallout) 21:12:12 ☢ 21:25:05 if i want to "export" a jail for backup, is it as simple as "tar czf archive.tar.gz /my/jail" (along with the config)? 21:26:12 i see a lot of references to iocage, but i'm trying to avoid extra tools if possible 21:26:57 markmcb: how did you create the jail? what Filesystem is it on? 21:27:26 zfs, created it manually 21:27:44 on its own dataset 21:30:44 then bsdinstall jail /my/jail 21:31:07 meena, the solution was to load the module. `kldload sctp`. Apparently it is not auto-loaded 23:52:04 good to know