-
aquamo4k
does top show anything busy?
-
Beladona
no not much
-
Beladona
nothign about that drive
-
aquamo4k
zpool status -v
-
RhodiumToad
what exact command did you do?
-
Beladona
fuser /bd
-
Beladona
before tthat, zpool export bd
-
RhodiumToad
do a control-T in the session that you did the export in
-
Beladona
interesting
-
Beladona
load: 2.18 cmd: zpool 97210 [tx->tx_sync_done_cv] 289.08r 0.00u 0.05s 0% 7456k
-
Beladona
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
-
RhodiumToad
is the disk still running?
-
Beladona
yes
-
Beladona
constantly
-
RhodiumToad
was there a lot of recent write activity on it?
-
Beladona
yes
-
RhodiumToad
what type of disk?
-
Beladona
well i deleted few GBs
-
Beladona
hdd
-
RhodiumToad
it's apparently waiting to finish synchronizing all write operations to disk, but I have no idea why that should take so long
-
Beladona
bad /slow disk maybe
-
Beladona
but its new
-
RhodiumToad
do top -SH to see system threads - is the geli thread for the volume busy?
-
Beladona
no
-
RhodiumToad
what about g_down or g_up threads?
-
Beladona
none
-
RhodiumToad
zfskern* or kernel{z_* threads?
-
Beladona
none
-
cpet
Zpool status is it scrubbing ?
-
RhodiumToad
gstat -p shows activity on the device?
-
Beladona
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
-
Beladona
wacom is unplugged right now
-
Beladona
RhodiumToad heavy activity with da0 in gstate
-
Beladona
100 busy
-
RhodiumToad
busy with read or write ops or both?
-
Beladona
r/s , ops/s ms/r is up
-
RhodiumToad
did you try zpool status on the pool?
-
Beladona
normal
-
RhodiumToad
no scrub in progress?
-
Beladona
no
-
Beladona
last on 27th mar
-
cpet
Are you using that caching crap on kde ?
-
cpet
Kde uses a caching thing that requires MySQL and it's io intensive
-
cpet
Think it's supposed to mimic index service from windows
-
Beladona
I do not have kde
-
RhodiumToad
there should be nothing in userland accessing the filesystem at this point as far as i can see
-
Beladona
-
VimDiesel
Title: Fighting to get Wacom Intuos S (CTL-4100) working | The FreeBSD Forums
-
cpet
Think there's some magic in ports that allows you see what zfs is doing
-
cpet
Oh that would do it as well
-
Beladona
not sure how to stop xorg logging millions of lines to disk in /var/log/Xorg..
-
Beladona
cpet but that drive is not OS drive.
-
cpet
Really doubt it's millions but ok
-
Beladona
so writes won't be there
-
Beladona
cpet willl millions in a day.
-
cpet
It still scans all the things
-
Beladona
few dozen a second
-
Beladona
how do I stop xorrg loging
-
cpet
I set pretty much everything to not log and turn it on when something bitches
-
RhodiumToad
Beladona: what's the full output from zpool status?
-
cpet
Actually what does ps auxwww let's see what's running and hogging
-
Beladona
all normal
-
Beladona
how do i stop xorg log
-
cpet
Probably get better results from one of the other tops such as htop
-
cpet
You read the man pages and restart
-
Beladona
ya ok but how do I stop xorg log?
-
RhodiumToad
it's really not a good idea to get sidetracked into another problem while trying to solve something
-
cpet
damn HHW :/
-
RhodiumToad
paste the actual output from zpool status on termbin
-
cpet
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
-
Beladona
RhodiumToadhttps://pastebin.mozilla.org/4DWaPC0K/raw
-
Beladona
-
cpet
Setup makes no sense but ok
-
cpet
Paste in what ps auxwww outputs
-
RhodiumToad
also paste the second block of output from top -zSH -b -s10 -d2 40 (this will take 10 seconds to run)
-
Beladona
-
VimDiesel
Title: Xorg(1)
-
RhodiumToad
or the whole output if that's more convenient
-
Beladona
found it. its gelli
-
Beladona
-
RhodiumToad
found what?
-
wcarson
i wonder who runs bsd.to? i saw a few people have noticed already the ssl certificate is expired
-
cpet
Oh nos you can still use it
-
cpet
Not sure why you need all your pools encrypted but ok
-
cpet
Topic should be changed to reflect though cloudfare shows a cached version.
-
RhodiumToad
might be koobs? not sure
-
wcarson
can you still use it? it seems cloudflare won't let you
-
natewrench
no
-
Erhard
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.
-
Erhard
I have about 60 drives I need to destroy... They are failed drive with data on them. Don't have to do that anymore.
-
wcarson
yeah, definitely great for a failed drive scenario
-
wcarson
since i seem to keep mine until they do fail
-
wcarson
i think the most obvious thing is theft, though
-
Erhard
For a laptop... But even for a server I suppose
-
Beladona
RhodiumToad system crashed.
-
Beladona
I am back and good. drive umounted anyway due to crash
-
Beladona
xorg error was due to webcamd when I plugout wacom tablet. for now won't do that. will figure later
-
cpet
Hrm by PC is fine, oh it crashed but it's still fine
-
cpet
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
-
Erhard
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.
-
Erhard
Normally I will wipe old drives and send to electronics recycling/reuse.
-
cpet
i sell them after I format them
-
cpet
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.
-
Erhard
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.
-
cpet
is this home end user or biz/corp end user ?
-
Erhard
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).
-
ultramage
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?
-
RhodiumToad
build the port with WITH_DEBUG=1
-
RhodiumToad
(ports are supposed to respect that and turn on debug symbols)
-
ultramage
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'
-
RhodiumToad
it's not an option for individual ports, it's a framework option
-
RhodiumToad
make WITH_DEBUG=1 ...
-
RhodiumToad
or put WITH_DEBUG_PORTS=www/apache24 in /etc/make.conf
-
ultramage
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
-
ultramage
exactly (probably a gdb commandline?)
-
ultramage
*gcc
-
RhodiumToad
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
-
RhodiumToad
but I'm not convinced you're doing it correctly
-
ultramage
it's my mistake, I didn't realize what that line in the release path meant, and I left it in.
-
RhodiumToad
you shouldn't be touching the makefile
-
RhodiumToad
just put everything back as it was, and build it with WITH_DEBUG
-
ultramage
I don't wanna, this webserver runs live and I don't want an -O0 executable running long-term like that
-
ultramage
all it needs is commenting out that install -s flag and it should be good to go
-
RhodiumToad
ok, then also set DEBUG_FLAGS="-g -O2"
-
RhodiumToad
you do not need to touch the makefile.
-
ultramage
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.
-
ultramage
for now I'm going with 'release, but with debug symbols added in and not stripped out'
-
ultramage
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
-
mage
I'm not sure mod_php is still recommended, better use php_fpm with some mod_proxy
-
adilix
hi all
-
ultramage
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
-
thumbs
the native mod_php directives are appealing, but the lack of proper multi-threading support with mod_php extension is still a problem, yes
-
thumbs
FWIW, setting up php-fpm with proxy_fcgi is very simple, a few directives are needed.
-
phryk
anyone know which package i get the c++ std lib for arm from?
-
phryk
specifically looking for type_traits.h. it's neither in arm-none-eabi-gcc nor in arm-none-eabi-newlib.
-
CmdLnKid
/usr/src/contrib/llvm-project/llvm/include/llvm/Support/type_traits.h
-
CmdLnKid
/usr/local/lib/gcc12/include/c++/ext/type_traits.h
-
CmdLnKid
they are usually included with the compiler you are installing
-
phryk
so arm-none-eabi-gcc is just… broken?
-
CmdLnKid
don't know
-
phryk
well, it definitely doesn't contain that file (checked with `pkg query %Fp arm-none-eabi-gcc | grep type_traits`)
-
phryk
grepped through the portstree, there seems to be an gcc-arm-embedded port which contains it…
-
phryk
yup, that one works. :)
-
dvl
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.
-
dvl
-
VimDiesel
Title: gist:af34e873727c62689ec937530b9ce398 · GitHub
-
aquamo4k
dvl: it's annoying when you add a new disk and you realize you didn't remove the zfs labels previously
-
dvl
aquamo4k: In my case, the drives were not originally mine. :)
-
aquamo4k
dvl: how did creep in out of nowhere, did you just recently add the problematic drive
-
dvl
aquamo4k: No, these drives have been in use since 2016 I think:
dan.langille.org/2016/12/18/x8dtu
-
VimDiesel
Title: x8dtu – Dan Langille's Other Diary
-
aquamo4k
huh, i would have thunk that bad label would have caused problems prior
-
aquamo4k
I'll read your blog to try to figure it out
-
dvl
aquamo4k: Nothing in the blog yet about this. I suspect it's just that the boot loader changed between 13.1 and 13.2
-
aquamo4k
i recently put my alpine linux workstation on zfs and appreciate "wipefs -a $DISK" and "sgdisk --zap-all $DISK" commands.
-
aquamo4k
as opposed to using the dd method
-
aquamo4k
I suspect there are anagolous cmds in freeBSD (maybe gdisk) - need to maybe look into that
-
aquamo4k
just updated my freeBSD server to 14-current with the just commited openSSL changes, so far no issues.
-
CmdLnKid
can't say ive ever had a need to go beyond stable on anything other than a testing vm for upcoming upgrades.
-
CmdLnKid
you do you ! congrats
-
debdrup
The testing, especially for big changes like OpenSSL 3, is really helpful.
-
debdrup
If _only_ developers ran -CURRENT, a lot less bugs would be found in time for -RELEASE.
-
aquamo4k
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) :-)
-
parv
Likely "pfSense" have people to solve|workaround issues if they would pop up. Do you?
-
aquamo4k
i can just wipe and re-install; everything on the build server is on a git server so it's no worries
-
cpet
Is there a server for the git server ?
-
dautor
Is there a way to add VLAN tag to traffic coming from a specific MAC address?
-
aquamo4k
most of the code runs on another system running gitlab in a podman container so yes.
-
jemius
Is doing a live-install with only IPv6 possible? I get a Fetch error with "Address family not supported"
-
aquamo4k
plus I just like building things from source when I can
-
aquamo4k
your mileage may vary but I'm old and pre-date pkg managers
-
parv
aquamo4k, I do similar. My contention was more about citing the example with supposedly more resources than you|I might have
-
aquamo4k
parv: ack, understand.
-
jemius
ah, I got it. I was only once again to dumb for v6
-
aquamo4k
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.
-
jemius
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
-
aquamo4k
try arrow keys left<>right?
-
jemius
aquamo4k, nope, stuck. That's on a V-Server remote console, though. Maybe it's eating key codes
-
aquamo4k
ack could be. i am running mine on xcp-ng and didn't have any form nav issues. good lulck
-
parv
In the installer one of [Tab], [Up], [Down], [Left], [Right] eventually goes to the intended choice (who reads the doc for the installer anyway?)
-
parv
.oO( perhaps I should )
-
jemius
parv, the doc is not really useful here, or is it? Every human instinctively knows that it's the arrow keys and TAB
-
parv
:-]
-
meena
-
VimDiesel
Title: FreeBSD 14.0 Release Process | The FreeBSD Project
-
jemius
why do I get a "Protocol not supported" when creating a SCTP socket? i thought that's a well supported protocol
-
meena
jemius: what's your code look like?
-
jemius
meena, listen_sock = socket(AF_INET6, SOCK_STREAM, IPPROTO_SCTP);
-
jemius
that works on my linux desktop just fine
-
jemius
I guess the kernel module is missing in FreeBSD or the protocol was not activated when compiling
-
meena
man.freebsd.org/src.conf(5) i don't see an option to disable it
-
VimDiesel
Title: src.conf(5)
-
jemius
the manpage lists so called `options`; SCTP and SCTP_SUPPORt
-
meena
man.freebsd.org/sctp(4) but you still can, in your KERNCONF
-
VimDiesel
Title: sctp(4)
-
meena
jemius: did you include the right files?
-
jemius
meena, what files? that's just a C-Program and it compiles witht errors and warnings. The error comes from the kernel.
-
meena
this one: #include <netinet/sctp.h>
-
jemius
of course. If I hadn't – it would not compile.
-
kevans
already... wrote
-
kevans
bah
-
meena
but yeah, if the kernel was compiled without, that makes sense
-
markmcb
is there an easy way to show the pkg versions of latest vs. quarterly? either web or using the pkg tool?
-
meena
markmcb: freshports.org
-
markmcb
meena: perfect, thanks!
-
meena
this Aldi
-
meena
this also shows if and why something is failing (fallout)
-
meena
☢
-
markmcb
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)?
-
markmcb
i see a lot of references to iocage, but i'm trying to avoid extra tools if possible
-
meena
markmcb: how did you create the jail? what Filesystem is it on?
-
markmcb
zfs, created it manually
-
markmcb
on its own dataset
-
markmcb
then bsdinstall jail /my/jail
-
jemius
meena, the solution was to load the module. `kldload sctp`. Apparently it is not auto-loaded
-
meena
good to know