-
polyex
-
VimDiesel
Title: GitHub - open-telemetry/opentelemetry-collector: OpenTelemetry Collector
-
Erhard
Hey if I have the latest binary pkg of ifstat, but I want SNMP support, which for some reason was disabled in the latest, what is the cleanest way to update just that with a version supporting SNMP?
-
Erhard
Not sure who thought it would be a good dieal to change ifstat pkg to no onger include snmp, unelss it was a security thing.
-
Erhard
good idea... (not one)
-
V_PauAmma_V
Hmm, are you talking about net/ifstat? SNMP support in that has been optional since 2004, per
cgit.freebsd.org/ports/commit/net/i…524983b12a7223d8564ce24e60f3400ed9b .
-
VimDiesel
Title: ports - FreeBSD ports tree
-
V_PauAmma_V
s/optional/a not-default option/
-
polyex
can anyone get fluent bit with the http or opentelemetry outputs working? they both break for different reasons for me
-
Erhard
V_PauAmma_V: Hmmm. Well I had it, and then after a pkg upgrade the snmp suport in ifstat went away.
-
Erhard
Ah, look slike I had ocmpield it myself before, and somehow package upgraded it. I probably overwrote the old package with the custom compile, and then pkg didn't know that and upgrade it to the new version, which has no snmp. Thx
-
Erhard
Damn my typing.. I had compiled it before...
-
Erhard
I use it to display BW usage in my screen status line
-
Erhard
Updaded from github and recompiled... Deleted the pkg and reinstalled manually. All good.
-
arino
is there something like
github.com/clopez/dellfan to disable BIOS fan control in FreeBSD?
-
VimDiesel
Title: GitHub - clopez/dellfan: User space utility to control the fan speed on Dell Laptops
-
entikan
ah it has nothing to do with my lid. If I switch between ttys and back to X it also swaps out the video driver for llvmpipe
-
entikan
(ctrl-alt-f3 then back with ctrl-alt-f9)
-
dch
Erhard: maybe you can ask to have it converted to a FLAVOR option so you get both
-
Halian|MBA
o/
-
Halian|MBA
I just installed FreeBSD on my AMD/AMD desktop, and I can't for the life of me get into X, even after following the relevant chapter of the documentation. What, if anything, can I do?
-
madmax
Halian|MBA, did you install X system ?
-
Halian|MBA
madmax: Of course
-
madmax
Halian|MBA, and driver for amd
-
Halian|MBA
madmax: AFAICT yes
-
Halian|MBA
I'm very n00b at BSD so
-
madmax
Halian|MBA,did you do --> pw groupmod video -m your_user_name
-
Halian|MBA
madmax: Yes
-
madmax
Halian|MBA,ok did you login to your user
-
Halian|MBA
Yes
-
madmax
startx
-
lts
Did you logout and login _after_ adding your user to the video group?
-
Halian|MBA
lts: yes; rebooted, even
-
Halian|MBA
Sorry, gotta BRB
-
madmax
what happen when you run startx
-
Halian|MBA
madmax: hokay so.
sprunge.us/5nrEAS
-
Halian|MBA
termbin.com/0xni also here's my Xorg.0.,og
-
Halian|MBA
.log *
-
lw
where are the list of names for tcpdump's 'icmp6[icmp6type]' documented? e.g. 'icmp6-echo'?
-
madmax
Halian|MBA, did you add the module to /etc/rc.conf file, executing the following command sysrc kld_list+=amdgpu
-
Halian|MBA
madmax: not that exact command; I added kld_list="andgpu" to /etc/rc.conf manually
-
V_PauAmma_V
Is "andgpu" instead of "amdgpu" a typo?
-
Halian|MBA
V_PauAmma_V: yes. :x It's spelled "amdgpu" in /etc/rc.conf
-
V_PauAmma_V
*nod*
-
V_PauAmma_V
(I've wasted hours due to typos of that ilk.)
-
Halian|MBA
(Felt af)
-
madmax
Halian|MBA,and now is working ?
-
Halian|MBA
madmax: not at all
-
madmax
Halian|MBA,after you install x org did you install any DE
-
Halian|MBA
madmax: yes, Xfce
-
V_PauAmma_V
OK. That X log reminds me vaguely of my first try at starting X, when I didn't actually have the module for my GPU loaded. So I think yours doesn't get loaded, despite the kld_list. So I'd try using the full path with the .ko extension, like so: kld_list="/boot/modules/amdgpu.ko"
-
Halian|MBA
OK
-
V_PauAmma_V
(and reboot)
-
Halian|MBA
OK
-
Halian|MBA
Nope, still no GUI :(
-
madmax
Halian|MBA, you follow instructions from xfce
-
Halian|MBA
termbin.com/z3xn here's the output of startx
-
Halian|MBA
madmax: Yes.
-
madmax
Halian|MBA,did you load dbus_enable="YES"
-
Halian|MBA
madmax: yes
-
V_PauAmma_V
What does "kldstat -n amdgpu.ko" display?
-
Halian|MBA
-
V_PauAmma_V
OK, it's loaded.
-
Halian|MBA
YEAH
-
Halian|MBA
Yeah*
-
V_PauAmma_V
So next we need to see what your X log looks now.
-
Halian|MBA
-
madmax
Halian|MBA,try '% startxfce4'
-
Halian|MBA
madmax: that just spits out the same kind of X error as above
-
madmax
Halian|MBA,when you make your user did you add to wheel group
-
V_PauAmma_V
OK, so based on your X log, you now have a different problem. amdgpu doesn't recognize your GPU. What GPU do you have, and is it integrated or external?
-
Halian|MBA
V_PauAmma_V: XFX Radeon RX 6700, discrete
-
V_PauAmma_V
Hmm. Have a look at
wiki.freebsd.org/Graphics#NVIDIA_Proprietary_Graphics_Driver and see if that helps. I have no experience with those, but I strongly suspect amdgpu is the wrong module for your graphics card.
-
VimDiesel
Title: Graphics - FreeBSD Wiki
-
lw
NVIDIA driver is definitely not going to be the correct driver for an RX 6700
-
V_PauAmma_V
I stand corrected.
-
lw
i have an RX 6800 XT and amdgpu works fine with this card, which is the same generation as 6700
-
Halian|MBA
I use amdgpu for it on Linux
-
lw
(however, i don't use X, so i'm not really sure how to configure that)
-
» V_PauAmma_V is out of useful advice, in that case.
-
madmax
Halian|MBA,you trying to set MidnightBSD
-
Halian|MBA
madmax: yes; unfortunately, their IRC channel is deader than disco
-
lw
Halian|MBA: can you install a Wayland compositor such as sway or hikari and try to run that? that should not require any configuration just to start and will tell you if the driver is at least working
-
Halian|MBA
lw: *sigh* I guess
-
lw
i'm not saying you have to use wayland, i'm just trying to narrow down the problem
-
Halian|MBA
Of course
-
Halian|MBA
I'm just not a fan of Wayland :þ
-
lw
i missed the start of this conversation, but when the amdgpu kernel module loads on boot, does it set the monitor resolution etc. correctly on the text console?
-
Halian|MBA
TBH I haven't checked closely
-
Halian|MBA
lw: [backend/backend.c:371] Failed to open any DRM device
-
lw
can you paste the output of dmesg somewhere? or relink it if you already did
-
Halian|MBA
-
lw
what version of drm-kmod are you using?
-
Halian|MBA
I don't know how to check that
-
lw
in freebsd, "pkg info | grep drm" should show it... i don't know anything about MidnightBSD or what that even is
-
Halian|MBA
lw: drm-fbsd12.0-kmod-4.16.g20220
-
lw
ouch, that's a bit old
-
lw
quite possible too old to support RX 6xxx series
-
Halian|MBA
Hrm
-
jmnbtslsQE
lw: i think in the pcap-filter manpage
-
Halian|MBA
The 6700 launched in 2021
-
lw
yes, but we only just got support for RX 7xxx like... a couple of months ago?
-
Halian|MBA
Ahh
-
lw
first it has to be supported in Linux, then the Linux driver has to be ported to FreeBSD, then you need to be usable a recent enough version of FreeBSD to use the newest drm-kmod
-
Halian|MBA
…yikes, 12.0 is from 2018
-
lw
s/usable/using
-
Halian|MBA
OK MidnightBSD is not the way forward lmao
-
lw
yeah
-
Halian|MBA
BBL installing proper FreeBSD ><;
-
lw
i'm pretty sure that card will be supported in 14.0
-
lw
because i remember using it there before i upgraded to 15.0
-
Halian|MBA
*nod*
-
lw
jmnbtslsQE: aha yes. thanks
-
lw
Halian|MBA: if it helps, the "4.16" in your drm-kmod version is the Linux kernel version it's based on, so you can check when Linux first supported this card
-
lw
in 15.0 we have drm-61-kmod which is Linux 6.1... i think 14.0 has Linux 5.15
-
lw
hmm
-
lw
16:14:26.136629 rule 161/0(match): block in on ix0.103: 10.1.3.130 > 10.1.3.1: ICMP echo request, id 3447, seq 0, length 1480
-
lw
16:14:26.136646 rule 161/0(match): block in on ix0.103: 10.1.3.130 > 10.1.3.1: ip-proto-1
-
lw
"ip-proto-1" is ICMP... i guess that means tcpdump can't parse the packet somehow?
-
lw
and why is one of my wireless clients sending a 1480-byte ICMP packet
-
Halian|MBA
I GOT X WORKING (in FreeBSD)
-
lw
OMG!! gz
-
Halian|MBA
TY ^_^
-
V_PauAmma_V
W00t!
-
jmnbtslsQE
lw: might be a fragment..should be able to confirm if you do -v or -vv to see the IP packet
-
lw
yeah, i wondered if it was a fragment but i thought tcpdump would mark that somehow... maybe not without -v
-
lw
but even then, it shouldn't be fragmented to begin with... and why is a wifi client sending a huge echo request to its router?
-
jmnbtslsQE
well if it's that large, that is the reason for the fragmentation i assume. but i don't know why it would send that
-
lw
ok yes it's a fragment
-
lw
16:34:53.817441 rule 161/0(match): block in on ix0.103: (tos 0x0, ttl 64, id 11783, offset 0, flags [+], proto ICMP (1), length 1500)
-
lw
10.1.3.130 > 10.1.3.1: ICMP echo request, id 3447, seq 0, length 1480
-
lw
16:34:53.817457 rule 161/0(match): block in on ix0.103: (tos 0x0, ttl 64, id 11783, offset 1480, flags [none], proto ICMP (1), length 52)
-
lw
10.1.3.130 > 10.1.3.1: ip-proto-1
-
lw
i'm actually not even sure why pf is blocking this, i thought it reassembled fragments by default, and icmp echo request should be passed
-
lw
rule 161 is: "block return in log quick from any to self" but before then: pass quick inet proto icmp from any to any icmp-type echoreq
-
jmnbtslsQE
firewalls have mysterious ways
-
lw
yeah. like my fun recent issue: scrub (reassemble tcp) breaks connections to Amazon/AWS... which reminds me, i need to file a bug about that
-
jmnbtslsQE
very mysterious. i have reassembly using ipfw on some hosts that don't have any issue with AWS (as far as i know)
-
jmnbtslsQE
how does it break your connection?
-
lw
the connection is established, client sends HTTP request, Amazon sends HTTP response, router forwards the response to the client, the client ignores it, Amazon continues to retransmit the response
-
jmnbtslsQE
client is separate from the pf machine just on the same network?
-
lw
yes
-
lw
client <-> router <--pppoe--> Internet
-
lw
(not an MTU issue, MTU is 1500 all the way)
-
jmnbtslsQE
i guess i wonder if something in the tcp payload was corrupted. but you said your scrub is only fragment reassembly?
-
jmnbtslsQE
i mean, the ip payload that includes the tcp header and its own payload
-
lw
match in all scrub (reassemble tcp)
-
jmnbtslsQE
pf.conf man seems to say that reassemble tcp just processes TCP and doesn't do IP reassembly (not sure why it's called reassemble). but yeah i guess it sounds like some bug where the tcp data is corrupted by that processing
-
jmnbtslsQE
hmm, i would think if the client just ignores it then maybe the checksum is wrong. not sure
-
jmnbtslsQE
i might misunderstand the pf.conf man page though
-
lw
yeah, i thought that as well - from what i can tell it *always* reassembles fragments and 'reassemble tcp' is the other stuff like sequence renumbering
-
lw
... which is odd
-
jmnbtslsQE
do you have checksum offload on that interface? not sure if that is relevant in this case
-
jmnbtslsQE
actually yeah that can't be relevant
-
lw
on the internet interface no (it's pppoe) but on the internal interface yes: options=4600703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,RXCSUM_IPV6,TXCSUM_IPV6,MEXTPG>
-
jmnbtslsQE
hmm, not sure
-
lw
the packets involved in this issue weren't fragmented anyway though (it was only about 400 bytes) so not related to that
-
lw
once my users go to bed i'll re-enable (reassemble tcp) and take some packet captures for a bug report
-
jmnbtslsQE
heh
-
lw
... wonder if i could fix this by turning off ipv4 and forcing them to use NAT64
-
jmnbtslsQE
fixed as in the machine will be set aflame by an angry mob
-
lw
heh
-
lw
i actually did that for a while and surprisingly few complaints
-
lw
but i turned it off due to issues i wasn't sure were related, once this new freebsd router has been stable for a bit i might turn it on again
-
ketas
i think i should publish more of my tools eh
-
jauntyd
save layout
-
lw
i shall not
-
lw
save ur own layout
-
ketas
jauntyd:
-
ketas
Password:
-
ketas
funnily i've not pasted anything sensitive in my >23y of ircing
-
ketas
more like 7wg
-
jauntyd
:)
-
arino
excuse me for repeating myself, but is there any fan control interface available in freebsd? seems my dell laptop has bios control enabled and fan does not work by some reason, i want to gain manual control on it.
-
polyex
i have a reproducible fluent bit seg fault bug i can't find a solution to. any help greatly appreciated:
termbin.com/ntly
-
polyex
it's using the fluent-bit directly from pkg
-
Halian
Does lightdm have anything like SDDM's Xsetup file? I need to run some xrandr commands when X sets up
-
skered
Halian: I think you might want to look at /usr/local/etc/lightdm/Xsession
-
Halian
skered: will do
-
skered
Looks like that's running stuff in /usr/local/etc/X11/xinit/xinitrc.d/
-
concussious
how do I use WITHOUT_LLVM_TARGET_ALL from src.conf(5)?
-
lw
concussious: put it in /etc/src.conf and enjoy ?
-
concussious
i tried "options WITHOUT_LLVM_TARGET_ALL" in /etc/src.conf
-
lw
oh no that is not the right way to do it
-
lw
WITHOUT_LLVM_TARGET_ALL=yes
-
concussious
aha
-
lw
although instead of 'yes' you can set it to literally any value, such as 'no' or 'false' and it still behaves the same way, what matters is the variable being set
-
concussious
can it go in the kernconf?
-
lw
uh, maybe but that doesn't seem right
-
lw
either you want to build all of src that way (including src/sys) or you don't
-
concussious
that makes it not build anything for cross compiling, right?
-
lw
based on my brief scan of src.conf(5), yes, but i wouldn't swear to it
-
concussious
okay, thank you so much
-
RoyalYork
Is OpenJDK the only java compiler in packages?
-
voy4g3r2
last time i checked oracle license on java, that you have to agree to their license to use the "offical" jdk. where openjdk can be reisitrubuted in other means
-
RoyalYork
Thank you
-
voy4g3r2
hrm.. they do have a license Oracle No-Fee Terms and Conditions, but the binaries are here:
oracle.com/java/technologies/downloads
-
polyex
i have a reproducible fluent bit seg fault bug i can't find a solution to. any help greatly appreciated:
termbin.com/ntly
-
polyex
freebsd have any api to make tailing 1000 files efficient?
-
polyex
what's everyone use to collect logs on hosts and ship them out?
-
jmnbtslsQE
regarding tailing files: select, or (better) kevent