-
martinrame
Well, I don't know if it was 13.4 or the fact that it as compiled in a brand new jail, but it worked!
-
ek
martinrame: Excellent! I'm guessing it's the newer version of clang/llvm.
-
ek
As rtprio mentioned, that 13.x version of clang is pretty old!
-
FatalFUUU
I (accidentally) commented out my swap line in fstab and rebooted. Lots of services not starting due to lack of network with ifconfig et al complaining no buffer space. Fixed fstab and rebooted, swapinfo shows swap as active (ran swapon as well anyway) but no luck. re chipset so pluged a bge card in with the same issue. Reboot into an old environment (basically fresh install) and that is working okay.
-
FatalFUUU
Not sure what else would need to be fixed after that?
-
phryk
can i find out (from within freebsd) how much power the host (or ideally, different components of the host) are using?
-
phryk
FatalFUUU: this sounds… weird. i run most of my machines without swap. does this machine really have so little ram that it already needs to start swapping during boot? o_O
-
phryk
my point being: maybe you're dealing with two entirely separate problems.
-
FatalFUUU
phryk: there is a chance, 8gb ram, only just started so dont see a problem with or without. renabled it and its fine. if its more possible its unrelated that helps to know.
-
FatalFUUU
opps... renabled it and its *still not* fine
-
phryk
and in both cases (without swap line in fstab and after adding it back) the error messages are the same?
-
FatalFUUU
yea, mostly no buffer space available, various services wont start without network , I get rtsock blackhole info unable to find whatever again I think due to network issue
-
FatalFUUU
as for your power question - that always depends on the chipsets providing it and in the realm of server hardware (I only really see this via ipmi and such)
-
phryk
i'd probably try to find out if there's still free memory and/or how much swap is actually being used. 8G for a bare system should still be plenty tho.
-
FatalFUUU
exception of gpus
-
phryk
i have some vague recollection of stumbling over "no buffer space" errors once upon a time and it definitely not being a matter of too little ram.
-
FatalFUUU
swap is sat at 0% since most services wont start its not practically usable after boot
-
FatalFUUU
its hard when you cant ssh into the box
-
phryk
if memory serves (it may not), i think i needed to increase some sysctl tunable back then.
-
phryk
oh yes, that makes things a bit uncomfy^^
-
FatalFUUU
oddly the only results I can see are people turning on autotuning in freenas causing similar problems
-
phryk
what is that? freenas dynamically setting sysctl tunables or something?
-
FatalFUUU
yes, so the article doesnt help that much since their answer is to turn off autotune
-
FatalFUUU
Ive cleared out some of my sysctl.conf which were set for samba etc - although been working for a week or sos ince setup... thougn now not sure if ive restarted the machine since then
-
FatalFUUU
ah nice that sorted it
-
FatalFUUU
that little big helped
-
phryk
so… you're running freenas? and had this autotune option enabled at some point?
-
FatalFUUU
no this is freebsd
-
FatalFUUU
I had net.inet.tcp.sendspace set and net.inet.udp.recvspace etc
-
FatalFUUU
also kern.maxfiles* of various settings
-
phryk
and you removed them, rebooted and now it works again?
-
FatalFUUU
yup
-
FatalFUUU
going to narrow down now
-
phryk
ah nice, my vague memory helped :D
-
FatalFUUU
aye
-
FatalFUUU
On the last one so likely net.inet.udp.recvspace=
-
FatalFUUU
yup fixed and confirmed, set too high, for a service I never ended up using
-
phryk
when in doubt, return to default :P
-
FatalFUUU
I went back to a zfs snapshot on root but that was before I set anything up!
-
phryk
that's a subtle footgun you built yourself.^^
-
martinrame
Hi, is there a way to upgrade cc in FreeBSD 13.1?
-
martinrame
cc -v gives "FreeBSD clang version 13.0.0" and I need 14.x or above.
-
paulf
ports has different LLVM versions
-
martinrame
paulf: can't I upgrade it from pkg?
-
paulf96
your cc is probably the one in base
-
paulf
the easiest would probably be just "pkg ins llvm14"
-
martinrame
paulf: done, now where is the cc from llvm14?
-
martinrame
/usr/local/bin/cc does not exists
-
paulf
clang-14, possible cc-14
-
paulf
or something like that
-
martinrame
paulf: clang14, thanks!
-
martinrame
now I have to figure out how to run it from make
-
paulf
make CC=clang14
-
paulf
though I don't know BSD make well
-
martinrame
paulf: thanks!
-
martinrame
I'm trying to build node22 on a FreeBSD13.1 jail running on 14.1, and when compiling from ports I get: make: "/usr/ports/Mk/bsd.port.mk" line 1191: UNAME_r (14.1-RELEASE-p5) and OSVERSION (1301000) do not agree on major version number.
-
rtprio
yeah, no
-
dch
martinrame: why are you trying to build node22 from src, rather than use pkg ?
-
rtprio
why don't you agree on a version number?
-
dch
I'm not certain but the most likely explanation here is that you are trying to run a ports tree build that is newer than your OS support
-
dch
first, update jail to 13.4-RELEASE, then see if you can build ports on it again.
-
tyler82_Desktop
Hi
-
dch
martinrame: I just used /usr/ports ro-mounted into a 14.2-RELEASE jail, and can build www/node22 successfully here.
-
dch
-
dch
martinrame: this is the make.conf I used in the jail, I ran `cd /usr/ports/www/node22 && pkg install -yr FreeBSD --automatic $(make build-depends-list run-depends-list | sed -E -e 's,^.+/([^/]+/[^/]+$),\1,')` to ensure dependencies would be fetched
-
dch
you could try the IGNORE_OSVERSION at the end, but I bet you would end up wasting more time, that is better spent on updating the jail to 13.4-RELEASE which should be a 5 minute task
-
martinrame
hi dch!, let's try that later (right now I'm in a meeting)
-
dch
martinrame: no worries, ping me when you get stuck if needed
-
martinrame
dch: I added the IGNORE_OSVERSION=yes param to the end and got the same result.
-
martinrame
dch: also, I cannot use 13.4 as this jail must run on TrueNAS Core that can only be upgraded to 13.1. I know it can be possible to upgrade to 13.3 but usin the manual method.
-
skered
What's the ~delay with cgit.freebsd.org to github mirror?
-
mzar
skered: you should ask the opposite, so reverting your question, short
-
skered
github is now the official repo is what you're trying to say?
-
mzar
yes, maybe your phrasing was perfect, I just misread it
-
tyler82_Desktop
Is this channel moved to #freebsd-irc ?
-
kevans
-irc is about irc operations
-
kevans
this is still what it has been
-
tyler82_Desktop
hmm...weird. As i can not join into #freebsd on my new IRC instance....it will forward it to #freebsd-irc
-
emanuele6
there is +f #freebsd-irc
-
emanuele6
I think that means you go there if you are not logged in
-
emanuele6
you must be registered to join since it is +r
-
tyler82_Desktop
I see...Let me restart that client now....
-
tyler82_Desktop
Ok
-
emanuele6
if you don't use SASL to login, and you have autojoin, it is possible that it dries to join before login has completed
-
emanuele6
s/dries/tries/
-
tyler82_Desktop
I use SASL. But this instance is on archlinux and the new instance is on FreeBSD. The client also different. rch does use HexChat and FreeBSD does use Halloy
-
tyler82_Desktop
Probably something i have to set in Halloy then...
-
tyler82_FBSD
Test1
-
emanuele6
Tost1
-
tyler82_FBSD
Ok. Does work now. but i have to figure out how to save SASL into this client. As in HexChat does work autocredentials
-
tyler82_FBSD
emanuele6: what IRC client u use on FBSD?
-
emanuele6
I don't use a irc on freebsd, but I generally use the weechat terminal client
-
emanuele6
s/irc/& client/
-
tyler82_Desktop
i see
-
tyler82_Desktop
i just moved from weechat to HexChat few weeks ago
-
tyler82_Desktop
But on FreeBSD no HexChat as far as i know
-
tyler82_FBSD
Oh, shit. There is HexChat! :)
-
emanuele6
the main advantange of using a terminal client like weechat is that you can run it on tmux, so you stay connected if you need to log out of the graphical environment; also weechat can host a relay server from which you can connect with an android app on your phone which is nice
-
emanuele6
-
tyler82_FBSD
Yes. On android i use goguma
-
emanuele6
that is different; you don't use a separate client, you can just connect to weechat on your PC with the same account/connection
-
tyler82_FBSD
Ahh, i see what u mean now
-
scoobybejesus
The Lounge is a good IRC client for keeping up and running
-
tyler82_FBSD
T heard about it but did never try
-
ghoti
I have an XML file with a bunch of lines in the form of <twiddle foo="bar" baz="nurgle"/>. I would like to parse the file and generate lines like "foo nurgle" for use in another tool. Perhaps there is some way I can make xmllint from libxml generate the output? What's the "right" way to do this?
-
ghoti
or rather, "bar nurgle"..
-
scoobybejesus
when i was fiddling with xmllint with icecast, i had an incantation of the following: `curl -s -u admin:changeme localhost:24100/admin/stats > out.xml && xmllint --format out.xml | grep title` so perhaps you can go from there based on your needs
-
phryk
tykling: is there a canonical way to set the listen address for gstat_exporter when running it as service? not seeing anything that would indicate so in the rc script, but the executable offers -l for it…
-
phryk
also thanks for gstat_exporter :P
-
rtprio
ghoti: there's also xslt, the language designed for xml processing
-
phryk
also, anyone aware of a "bigger" exporter for geom stuff? particularly looking to monitor gmirror state.
-
phryk
kind of assuming i'll have to write my own, but i guess asking doesn't hurt. :P