-
polyex
pathbuf canonicalize() handles "~" properly FUCK YES
-
rtprio
heh
-
sfox
hello
-
sfox
why would a bridge interface in freebsd have lots and lots of Oerrs in netstat -in
-
sfox
it's also limiting packets to 10 megs in one direction
-
sfox
the underlying interfaces aren't erroring
-
sfox
that's so strange. setting sysctl net.inet6.ip6.forwarding=1 brought it up from 10 megs to 225 megs
-
sfox
but it's still slower then it should be. it should be 900+
-
rtprio
what's attached to the bridge?
-
sfox
rtprio, epairs for fnet jails and lagg0.4
-
sfox
lagg0.4 is a vlan of lagg0, and lagg0 is a failover of two intel igb adaptors
-
sfox
i've tried disabling lro, tso, hwvlantagging, hwvlanfilter, and others
-
sfox
none of those seem to have much of an effect
-
polyex
nom vs pest for making a text format parser? i wanna try making a json parser
-
polyex
or peg-rs
-
Hecate
I am legally obliged to recommend nom
-
polyex
why
-
Hecate
polyex: geal's my mate :p
-
polyex
i think i like peg parser more than combinator tho. to just have a simple grammar to work with is really nice
-
polyex
what you think Hecate?
-
Hecate
polyex: I am a Haskeller so I'm heavily biased towards combinators, although in the end I don't know your objective: good error messages or speed?
-
polyex
good errors
-
Hecate
the more custom the better then
-
Hecate
the peg crate looks very declarative
-
Hecate
but then you would perhaps lose control over what errors are reported and how
-
polyex
i thought i was in #rust lol
-
Hecate
:)
-
Hecate
I just installed btop on my freebsd boxes, lovely interface
-
polyex
btop?
-
Hecate
polyex: an alternative to htop!
-
nerozero
Hi there ....
-
nerozero
After upgrading i'm missing mysql support in python ...
-
nerozero
previously I used py-mysql-connector-python port, any suggestion for mysql connector for freebsd for python 311 ?
-
nerozero
nevermind
-
nerozero
recompiled ports it starts working thanks
-
ant-x
Hello, all. I prevent my HDD from parking and unparking like crazy with camcontrol(8), by invoking it at boot, from /etc/rc.local . But after suspend and resume cycle the effect seems to disappear, whence two questions: 1. How can I check the current state of APM management and the value of the standby timer (to make sure they are reset after suspennd), and 2) shall I therefore invoke camcontrol /also/ from a resume script (as per acpiconf(8))?
-
nerozero
ant-x I guess it is better to adjust drive options via smartctl
-
nerozero
some drives does require hardware settings
-
nerozero
afk
-
polarian
so you got a bridge and a tap, if I pass on tap... then traffic will be allowed to and from tap, but it goes tap --> bridge --> phy, so if I do all port filtering on the bridge, even though all packets are passed on tap they will be then caught in the bridge rules, correct?
-
ant-x
nerozero, why smartctl? Does it make more persistent settings?
-
ant-x
My most pressing problem now is persisting drive settings over suspend-wakeup.
-
nerozero
its permanent
-
nerozero
you write this setting into hdd eep
-
ant-x
nerozero, I meant 1) camcontrol idle -t 0 ada0 and 2) camcontrol apm -l 254 . They seem to be external controls, not recorded into the HDD.
-
nerozero
camcontrol not always communicates properly with drives
-
nerozero
also look et EPC settings
-
nerozero
Extended power conditions if i recall correctly
-
ant-x
nerozero, I have checked that my drive does not support EPC.
-
nerozero
:(
-
nerozero
is it related to zfs ?
-
nerozero
drives fall offline sometimes ?
-
ant-x
nerozero, no, no ZFS here. I said: camcontrol works correctly until suspent-resume. Then I have repeat the two camcontrol commands above to restore the desired HDD behavior. Are you 100% sure those settings are stored insde the HDD. If they are not, the situation is explained.
-
nerozero
The new so called " green drives " do spindown by automatically
-
nerozero
that is a consumer grade drives, chipo onces
-
nerozero
its controlled by EPC
-
nerozero
as far as I know freebsd does not automatically spindown drives
-
nerozero
also suspend on bsd is very poorly implemented
-
ant-x
My drive is: WD5000LPCX . All I know, is that [camcontrol apm] and [camcontrol idle -l <N>] commands do persist their effect across suspends. Should they?
-
ant-x
This page: <
freebsd.org.ru/support/webresources.html> mentions several official Russian-language FreeBSD lists: ru-freebsd-annouce, ru-freebsd-chat, ru-freebsd-doc, ru-freebsd-questions , but I see no such lists now. Does anybody rember what has become of them, and why?
-
CountryBall0
hi all
-
CountryBall0
how can I set default system compiler to gcc in freebsd 14.1 ? I looked at src.conf and make.conf man pages but anything regarding gcc settings were removed from man pages
-
debdrup
Set the cc environment variable to point to the full path to gcc as installed by ports, I believe.
-
debdrup
I am curious what you're hoping to achieve with it, though.
-
dstolfa
while possible, results may vary with gcc since i'm not aware of anyone actively testing it
-
CountryBall0
playing and learning what can i do and cant (learning freebsd by breaking, etc learning from man pages and handbook)
-
CountryBall0
how can i compile the kernel and world with gcc tho ? there seems to be no definition left in man pages of src.conf and make.conf for gcc
-
rtprio
ok, but why?
-
CountryBall0
rtprio, whyy not :)
-
ant-x
CountryBall0, what -- the default compiler /not/ GCC in 14.1?
-
CountryBall0
ant-x, I'm trying to change default compiler of 14.1 to compile kernel and world and ports with gcc14
-
ant-x
CountryBall0, I thought your question implied that GCC was /not/ the default compiler on FreeBSD 14.1, and found that /very/ unusual. GCC very slow, bloated, complicated, and requires special options sucn as --pedantic to accept the actual C, but still it is the de facto starndard.
-
vkarlsen
No, gcc is not the default compiler, and hasn't been for some time
-
ant-x
Oh, just as well.
-
ant-x
Can devd in daemon mode be caused to log events to a file?
-
CountryBall0
ant-x, thx . i just wanted to see if I'm able to change compiler for the system.. gcc was the known and most up-to-date option to try
-
dstolfa
ant-x: freebsd has used llvm as a toolchain for most things for a while now, and is currently in the process of (or maybe has already) switched some of the elf tools to it too
-
dstolfa
for a while there were only a few of us using gcc while clang still had issues with debug info, but they're largely the same now... so there's not much point in using gcc
-
ant-x
I have a newbie shell question: I am trying to log devd events into a file. First I found that devd -d prints to stderr, and was able to filter it with: devd -d 2>&1 | grep 'Processing event' . This printed event list to the console. Then I tried to redirect the result to a file: devd -d 2>&1 | grep 'Processing event' >devd.log , which does not work: the events are handled, but devd.log is empty. Why?
-
llua
buffering most likely
-
ant-x
llua, You mean when I press Ctrl+C to exit from the devd running in foreground, the descriptors are not flushed?
-
llua
/msg greybot !faq buffering
-
ant-x
llua, Thank you. Will read: <
mywiki.wooledge.org/BashFAQ/009> .
-
futune_
When upgrading 13->14, is there a new version of the bootloader I should also install?
-
futune_
I remember that was very important for 12->13
-
ant-x
llua, re: buffering and that FAQ question: it says the buffering is performed by the writer, and that `grep` avoid it for console output, but buffers if its output it piped futher. How does it distinguish between these situations internally to decide wheter to buffer or not? I thought it simply wrote to stdout using the standard functions...
-
ant-x
nerozero (not here, but may be other can help), I cannot find any evidence that the effects (<level> and <timer> values) of `camcontrol apm -l <level>` and `camcontrol idle -t <timer>` persist in the HDD epp, as you say. Could you please point me to the relevant documentation?
-
llua
man 3 isatty
-
llua
ant-x: ^
-
ant-x
Thanks.
-
ant-x
What do you guys think is the better or more idiomatic way to persist settings across power-offs /and/ suspends -- calling a `persist' script 1) at boot (/etc/rc.local) and 2) from a generic rc.d script (as per rc.resume) or from the devd event?