-
runxiyu
does anyone also have a broken i915kms on 14.2?
-
jpb
runxiyu: yes. current recommendation i have heard is to build and install the drm-kmod module from ports.
-
jpb
or wait until the 14.2 ports are updated
-
runxiyu
alr, thx
-
runxiyu
i'm glad single user mode is not affected
-
runxiyu
thakns, works
-
runxiyu
kinda weird how a system update messed it up again (i used to install from ports)
-
MeGustaOro
Hello, everyone! I'm a beginner in FreeBSD and I want to learn how to use this amazing system for cybersecurity and pentesting purposes. I want to migrate from Linux/MacOS to BSD. Any tips?
-
mzar
hello MeGustaOro, please take your time and don'r rush; migrate services one by one, deploy jails and use bhyve for virtualisation if appropriate, read the manuals and
wiki.freebsd.org, and you will be fine
-
LXGHTNXNG
I can feel the rocket emoji energy emanating from that message.
-
» shbrngdo points out: EVERY time I upgrade to a new ports tree, SOMEthing does not build, and a DIFFERENT something either crashes or does not work at all...
-
shbrngdo
It would be very nice to see a "quarterly stable" ports tree and corresponding package collection that ONLY gets fixes and updates, such that upgrading packages or refreshing the ports collection does not result in TONS of dependencies that MUST be r-compild or upgraded...
-
shbrngdo
updates = "secueity updates" in this context. Chasing a moving target means i erarely "up"grade.
-
dch
shbrngdo: are you using the quarterly branch? or do you want STABLE kernel + quarterly ports?
-
dch
runxiyu: this is one of the warts of freebsd sadly, there is work to address this but I personally haven't tried it
-
» dch can't even find the link to the kernel-specific variants
-
dch
I have an annoying nfsv4 problem.
-
dch
-
dch
only /usr/obj is accessible on clients
-
dch
I can mount /usr/src, but the directory appears completely empty & I don't understand why
-
dch
and yet, on server side, they're both fully populated
-
dch
and permissions 755 / 644 on all dirs & files
-
polarian
runxiyu: its because drm-kmod needs compiling against the new kernel, but currently FreeBSD doesnt compile against the new version until iirc the old version reaches EOL
-
polarian
so update process is to comment out the module load, update, reboot, compile from port tree, uncomment and then either reboot/manually load it
-
runxiyu
yeah
-
dch
my weird nfs problem was "resolved" by nuking & re-recreating the datasets
-
LXGHTNXNG
o_O
-
LXGHTNXNG
O_o
-
dch
I have no idea what this is caused by, I'm not using extended fs acls, no zfs special properties
-
dch
one for the mailing list I think
-
LXGHTNXNG
on my side, I have a different problem, which causes me to dream of having a working UART, or a firewire card and another computer with firewire, and the debugger compiled in
-
LXGHTNXNG
but I'm not on FreeBSD per se, so this is not a problem for here
-
[tj]
you want xhci debug
-
[tj]
which we almost have
-
LXGHTNXNG
what
-
LXGHTNXNG
more to the point though: how would I debug a kernel panic leading to an instant reboot and no possibility of a dump, even with netdump configured
-
[tj]
in a virtual machine
-
LXGHTNXNG
goodness gracious
-
LXGHTNXNG
i think i'm cursed.
-
ivy
LXGHTNXNG: what's the panic message?
-
LXGHTNXNG
bold of you to assume I have that luxury - all I get is a hit on my netdump server from the machine, but it never starts sending data.
-
LXGHTNXNG
it just reboots instantly
-
LXGHTNXNG
I'll get back to you when the issue actually becomes ontopic for here
-
kevans
LXGHTNXNG: I think I missed some context when my VPS went EDOOFUS. Is this a debug or non-debug kernel?
-
LXGHTNXNG
> on my side, I have a different problem, which causes me to dream of having a working UART, or a firewire card and another computer with firewire, and the debugger compiled in
-
LXGHTNXNG
> but I'm not on FreeBSD per se, so this is not a problem [that's on-topic] for here
-
jaredj
i noted with delight that /usr/libexec/flua knows how to modify UCL files
-
jaredj
(it probably has had that for a while:
reviews.freebsd.org/D25009 is from 2020)
-
jaredj
so i set out to modify a jail.conf with it, and ... are jail.conf files not made of UCL? it didn't seem to parse properly.
-
ivy
jaredj: unfortunately jails long predate freebsd's use of ucl
-
pkubaj
is it possible to bind nfsd to an ip assigned to a bridge interface?
-
pkubaj
i tried to set nfs_server_flags="-h 192.168.1.1" in rc.conf
-
pkubaj
this address is assigned to a bridge
-
pkubaj
nfsd starts, but it doesn't listen on any interface
-
jaredj
hum. perhaps try no address for the bridge, create an epair, connect the 'a' half to the bridge, and give the 'b' half the ip address?
-
pkubaj
that's like bridging a bridge
-
Koston
super bridge
-
ivy
pkubaj: nfsd shouldn't care about that. try it just to test with an IP address on another type of internet, like an Ethernet NIC.
-
cinnabun
Hello everyone, I am cinnabun on the forums too. I'm a FreeBSD newbie
-
mzar
hm... nfsd is picky
-
» jaredj waves
-
mzar
cinnabun: take your time, install, evaluate, play, and use FreeBSD - good luck !
-
» cinnabun waves back to jaredj
-
cinnabun
Thank you mzar, I plan to do exactly that!
-
Yaazkal
welcome cinnabun
-
cinnabun
Thank you for the welcome Yaazkal :3
-
cinnabun
I got my hands on the Absolute FreeBSD book to get my bearings.
-
cinnabun
The large amount of documentation available is a big part in wanting to spend my time on this.
-
jaredj
that is a good one, i have that one
-
cinnabun
Great, I have only heard good things about it
-
mtll
cinnabun: I bet the book already says this, but recommend getting to know the man pages as well
-
mtll
FreeBSD has excellent manpages, and they're indispensable when you're stuck on a fresh install unable to get xorg running :P Which I have been since yesterday
-
mtll
(turns out, freebsd doesn't support my gpu at all, and probably won't for quite some time. So I'm gonna try porting the driver myself)
-
Yaazkal
cinnabun: That book is pretty cool and practical. It's a great starting point
-
cinnabun
I have noticed that there is a big difference between the experience of people who use the man pages and those who don't, on Linux also.
-
cinnabun
I feel spoilt for choice with the man pages, handbook, and the books available.
-
mtll
as someone with like 2 decades of linux experience, and who's only dabbled in FreeBSD, I can say I like the FreeBSD manpages quite a bit more
-
jaredj
yeees. half the documentation under Linux is in GNU Info or /usr/share/doc/* or something. on BSDs, on the other hand, man is the documentation system of choice
-
cinnabun
Ah so there is a difference there too.
-
mtll
lots of stuff has good manpages on linux, but since the system is more fragmented between many different projects, there's too much variation. And yes, the GNU info thing as well
-
cinnabun
Right.
-
rcf
The filesystem hierarchy is a good example. You get the systemd manpage and the more traditional manpage, and if you didn’t know better you’d be confused.
-
cinnabun
I have briefly installed GhostBSD just to see if my hardware works with FreeBSD, and it does. I ran Fedora in 2023-2024, but the issue is that I did not know what was going on under the hood, and that caused me to not have enough control over my system to feel comfortable. So I want to set the system up manually.
-
mtll
don't get me started on systemd manpages or systemd in general. one of many reasons I'm trying to flee to freebsd
-
mtll
btw, has anyone done any development on drm-kmod and could give me an idea how much work it is to port over more stuff?
-
mtll
ofc I'd be doing something somewhat unusual and not just updating the drivers in there, but porting a whole new driver, the Xe driver for intel discrete graphics
-
jaredj
ummm, i think the default repository pkg uses is quarterly, but you can set it to latest? that may be of use particularly for drm-kmod
-
mtll
yeah I've even tried building the latest version based on linux 6.8, on a custom compiled kernel, but no luck for my arc A770
-
mtll
good news is, since linux 6.8 update to drm-kmod is almost complete(if not yet merged), and 6.8 happens to be the first linux version to include the Xe driver, a lot of the compat work for the kernel should be done for me already
-
cinnabun
Are you guys also FreeBSD forum users or is that a different community?
-
cinnabun
-
mtll
I figured, if you do a venn diagram between people who 1. bought an intel discrete GPU, 2. run or want to run FreeBSD and 3. has significant experience with C programming
-
mtll
I might be the only person at the intersection
-
mtll
so I guess I gotta do it myself :D
-
mzar
all the communities are interwoven in assorted configurations
-
cinnabun
I have already seen overlap of the user list of this channel and #c
-
cinnabun
I am 1 and 2, wanting to be 3 also.
-
cinnabun
Oh, *discrete*! I don't integrated Intel graphics, sorry.
-
mzar
... and you will discover even more
-
cinnabun
I *have
-
cinnabun
I'm not supposed to already be stumbling over my words. -.-
-
mtll
yeah integrated intel graphics should be functional cinnabun, unless it's in like the very latest intel CPUs
-
Xe
oh good that driver is in freebsd too :lolsob:
-
cinnabun
Hello Xe ^-^;
-
mtll
Xe: sorry if I inadvertantly hilighted you :P
-
Xe
mtll: don't worry, it happens all the time
-
cinnabun
mtll: I'm on Intel 9th gen
-
Xe
for some reason even though I don't own any intel cards, i'm somewhat of an expert in how those cards cause problems
-
Xe
wonder why lol
-
mtll
9th gen should be fine cinnabun
-
cinnabun
The downsides of getting your ideal username
-
cinnabun
mtll: Great.
-
mtll
I'm on gen 13 intel. gonna try to get the integrated gpu in there to work tomorrow, so I can get a decent dev system up at least
-
kevans
Xe: ah, the trauma of getting blamed for things just because of your name, eh? :-p
-
mtll
I assume I'll have to do some decive.hints fucker to disable my discrete GPU or something
-
mtll
device.hints, even
-
cinnabun
I've wondered if the e-core / p-core situation is a concern.
-
kevans
should work, just not ideally
-
cinnabun
I'm currently not in the position to buy newer hardware anyway.
-
kevans
FreeBSDFoundation/proj-laptop #22 pending for work on better support for p/e cores in the scheduler
-
mtll
cinnabun: well I haven't seen any weird crashes or anything on my 13900k
-
mtll
and I compiled freebsd kernel on all cores yesterday and it finished in like a minute, so all good there. scheduling might not be ideal though
-
cinnabun
I see!
-
kevans
we just schedule them as if they're all identical, instead of understanding that some cores are more of a core than others
-
mtll
but it's not like I'm managing to actually saturate this CPU with its 8 P-cores and 16 E-cores very often, anyway, except for shorts bursts while compiling
-
mtll
I guess if I'm running some intensive single threaded thing I'll sure to pin it to a P-core
-
cinnabun
I never expected the big/little structure to come to desktop processors.
-
cinnabun
I can't remember if Ryzen/Zen does the same thing.
-
mtll
ryzen doesn't. all the cores are full fat hyperthreaded cores
-
cinnabun
Good to know.
-
cinnabun
I have a 9700 which has no HT.
-
mtll
probably if you're getting a top of the line cpu, AMD would be the way to go, I just picked intel because I'm weird about intel, I mean I'm the guy that bought their shitty GPU
-
cinnabun
Not anytime soon ^-^;
-
cinnabun
Current CPU was a gift from a loved one.
-
mtll
I mean 9700 i7 is a pretty damn good cpu as it is, unless you need a crazy amount of cores
-
cinnabun
Yeah I'm not complaining ^-^
-
mtll
my previous CPU was kaby lake i7. 6700 I believe
-
mtll
total disaster, that was the last CPU they released before all the spectre/meltdown stuff came out
-
mtll
so it was maximally vulnerable and needed all the kernel mitigations with their slowdowns
-
cinnabun
That is unfortunate
-
cinnabun
The ones after that were still hit by that too to a lesser extent
-
cinnabun
The news stories on that made me sad every time :p
-
hernan604
mtll: did you get the gpu running?
-
hernan604
the drm-kmod in pkg 14.2 is fuxored.. so you should build it manually from ports and then install
-
hernan604
and also you can always use scfb driver as an alternative. its not as good as accelerated drivers but its way better than vesa..
-
hernan604
and will get you going
-
hernan604
and also, an alternative to ghostbsd is nomadbsd (also has a live usb)
-
mzar
-
hernan604
kmods_quarterly_2 ?
-
hernan604
lol
-
mzar
use kmods_quarterly_2 or kmods_latest_2
-
hernan604
thast new to me
-
hernan604
thanks
-
mzar
np
-
mzar
14.1 reached EoL today, the builders will be running on 14.2 soon, so the problem will go away
-
hernan604
oh ok
-
» cinnabun pours one out for 14.1
-
farhan
Hi all. I am loading an unloading a device kernel module, but as soon as I remove the device driver it immediately re-loads. How do I prevent this behavior?
-
farhan
Is there a way to disable a kernel module from auto-loading?
-
cyric
farhan: see devmatch_blocklist in rc.conf(5)
-
farhan
ahh..and on that note, let me reboot this machine, pardon.
-
hernan604
How is the AI ecosystem on freebsd ?
-
duncan
multiple Lisp, Prolog and KBE systems are available
-
cinnabun
Is there anything in particular that you all would like to see from me in order to be an exemplary FreeBSD user? ^-^
-
nimaje
sat and smt solvers too as well as (I)LP solvers
-
jaredj
mm, RDF libraries for C, Perl, Python, and Ruby