-
SponiX
ivy: then I should change mine to 16-CURRENT as I like even numbers better
-
ivy
uh, sure, if you like
-
SponiX
BIGGER Number = Better
-
regis
Don't CURRENT if you don't need to. I use CURRENT due to an edge and uncommon stuff and working with also HEAD drivers.
-
farhan
Going to gloat here - Just got a wifi device sending back USB callbacks.
-
farhan
First time ever on FreeBSD :)
-
ek
farhan: client-side?
-
farhan
sorry? client side?
-
ek
wifi device callbacks.
-
farhan
I don't follow what you mean by client side?
-
ek
Fromt he wifi device or the FBSD wifi device?
-
farhan
from the wifi device
-
ek
Nice!
-
farhan
as in, the wifi device is receiving frames from the air and sending them to the USB stack, which my driver is receiving.
-
farhan
That was *not* easy
-
ek
Yes. I get it. Very cool!
-
SponiX
packets are going into the bit bucket ?
-
farhan
bit bucket?
-
ek
farhan: /dev/null
-
ek
Trash
-
SponiX
Yeah, if packets are getting dropped. You put down the bit bucket to catch them
-
farhan
rigt now they aren't processed at all
-
farhan
The next step is to pipe them into ieee80211_input
-
ek
Perfect. Forward is progress.
-
SponiX
farhan: 1st time writing a driver?
-
farhan
2nd
-
farhan
but I didn't really know what I was doing the firs ttime.
-
SponiX
sounds like a real adventure
-
farhan
its a lot of reading and reading...
-
farhan
I would like a wiki account to write my notes there too
-
regis
farhan: see
wiki.freebsd.org/LinuxKPI to get ideas on stuff needing to be ported :) Different stack, may be less boring than this driver stuff.
-
farhan
I have no problems with that layer, but its an example of some inconsistencies in how to approach FreeBSD's current position vis-a-vis Linux
-
regis
There's no vis-a-vis.
-
farhan
I don't follow?
-
ivy
-
regis
farhan: I commented directly on below your "vis-a-vis" comment. What's there to follow.
-
SponiX
I wonder how much effort is involved in doing the "drm" stuff that comes from Linux. They are on like kernel 6.6 and I need it for like kernel 6.14 (current stable)
-
SponiX
probably no small task, and that is why they tend to lag behind so far
-
regis
-
regis
SponiX: amdgpu + drm work flawlessly for a few years now on FreeBSD
-
SponiX
regis: Yes, my RX 5700 is working very well. But I would really like my 9070 XT GPU working in FreeBSD also
-
SponiX
It only got support in Linux kernel 6.13.4 if my memory is correct
-
SponiX
-
SponiX
Yeah, it is for sure a process I'm not ready to take on
-
[tj]
SponiX: I think master on drm-kmod is approaching 6.9
-
Macer
mason: going back to the earlier conversation. i mostly use containers in proxmox too. i want to migrate those to fbsd jails and hopefully they carry over properly. but yeah it would be nice to have a webui similar to proxmox to admin the containers and vms (i have 2 vms)
-
Macer
realistically i only run 1 vm... it's a hackintosh vm to host bluebubbles lol
-
Macer
i'm not sure if bhyve can pull something like that off
-
[tj]
it depends on the hardward hackintoshed mac os wants
-
[tj]
bhyve might be missing support for doing some lies, but that shouldn't be too hard to add
-
Macer
i'd have to see. not having imessage was a big caveat of moving away from macos in favor of running linux on my ancient 2013 macbook pro
-
Macer
i really wish freebsd had a more advanced version of gnome/wayland
-
Macer
i woudln't mind running it on my "slightly modified" macbook pro if possible but i prefer gnome
-
Macer
i swapped out the broadcom wifi module for an intel one and the ssd with an nvme using adapters
-
Macer
i guess there were some attempts to make bsd derived out the box user workstations but they obviously don't compare to the linux flavors
-
aoei
how do I know if post-reboot `freebsd-update install` (upgraded to 14.2 from 13.2 just now...) is hanging or just slow?
-
aoei
ok nvm it was just slow :3
-
bitblt
hello
-
bitblt
what is the correct way to make a kind reminder about this?
bugs.freebsd.org/bugzilla/show_bug.cgi?id=286587
-
bitblt
shall I send an email in x11⊙Fo or freebsd-x11⊙Fo?
-
getz
bitblt: try asking in #freebsd-ports
-
farhan
I get bug report emails, have for years, but cannot figure out where to turn them off.
-
farhan
I've been through bugzilla a few times...the email says at the bottom I get them because "You are on the CC list for the bug". but these are new bugs I didn't sign up for.
-
farhan
and that I'm an assignee.
-
farhan
any ideas on how to turn that off?
-
zi
You select "Preferences" at the top and then select "Email Preferences" and uncheck boxes
-
» zi is skeptical of what "I've been through bugzilla a few times" means
-
farhan
all "I want to receive mail when" are checked. All "but not when" are checked.
-
zi
Click "Disable all mail" and then only enable the stuff you want
-
farhan
Done - I still get them :/
-
farhan
I'm on the CC list - not sure how/why
-
farhan
I think I got it...thank you GenAI - My general preferences somehow had me on the CC list.
-
farhan
one project at a time, but if usb modeswitching is a common thing, it perhaps should be in usbconfig.
-
[tj]
one project at a time? You mean like one project and one idea a day? Right
-
farhan
[tj]: haha :)
-
[tj]
Think of small projects as snacks between meals
-
farhan
[tj]: I have a personal list - there's another driver I want to bring to FreeBSD after my current one.
-
[tj]
Things arrive best small and often
-
[tj]
Drivers kind of break that as you need a lot of driver to do anything
-
CrtxReavr
All my src contributions have been adding chip IDs to existing ethernet or sound card drivers.
-
mzar
neat
-
farhan
CrtxReavr: thank you for that!
-
farhan
Look at the OS, or any OS, like an ecosystem. You start with tinkerers, then edge-case users, developers, and then production users -- and obviously some people jump order in the heirarchy
-
farhan
If I'm a brand new FreeBSD user and on day 1 my wifi card doesn't work and I'm told "buy hardware that works" I very well might just go ack to Linux.
-
farhan
but if some other arbitrary feature doesn't work, like graphics acceleration, I might not necessarily care on day 1.
-
CrtxReavr
These were instances of "WTF! This is Intel Gbit! Why doesn't it work?"
-
CrtxReavr
Someone suggested it was just some minor tweak, and just adding the chip ID to the driver may "fix" it, and they were right.
-
CrtxReavr
Worked multiple times.
-
tsoome_
what do you think, how linux got those cards working?;)
-
tsoome_
I have hunch that it was not "I very well might just go back to Windows" ;)
-
farhan
tsoome_: There were a few factors, but basically they focused on getting any and all devices working on Linux and spent time writing guides on how to do it.
-
CrtxReavr
tsoome_, from my experience, Linux device driver quality is very poor.
-
farhan
it is.
-
CrtxReavr
Every flip the bit on verbose SCSI logging on Linux?
-
» CrtxReavr shudders.
-
CrtxReavr
I used to hang on an IRC channel with Alan Cox.
-
CrtxReavr
I once told him I thought the Linux IP stack sucked. . . and he agreed with me.
-
farhan
I've seen stuff that makes no sense. For example, their implementation ot realtek 8188 PCI has (had?) a function A that called B, that called A with another condition that then did whatever it needed.
-
CrtxReavr
(Alan Cox wrote the Linux IP stack, if you were un-aware.)
-
farhan
They have conflicting naming conventions. For example, BSD will do rtwn_usb_attach and rtwn_pci_attach.
-
farhan
Linux will have the same function name.
-
CrtxReavr
Linux is often stealing code from BSD. . .
-
CrtxReavr
The BSD license sadly allows that.
-
farhan
and vice versa...that's fine.
-
ring0_starr
but the users reward that
-
farhan
that's an Open Source vs Free Software discussion
-
ring0_starr
instead of taking BSD as a base and actually improving upon it, linux just adds support for everything imaginable, all the tiniest dumbest variations in hardware
-
farhan
ring0_starr: that's a good thing.
-
ring0_starr
so the result is that linux is this giant bloated pile of shit and bsd has old code for sure but at least it's nice
-
ring0_starr
no, it encourages hardware vendors to do crap like that
-
farhan
BSD probably does not drive hardware vendors in general.
-
ring0_starr
there used to be standardization efforts
-
ring0_starr
tech is already caving in on itself with complexity
-
farhan
ring0_starr: feel free to disagree with me, but I do think *every* device should be supported, at least entire classes of devices.
-
ring0_starr
who designs those devices like that
-
ring0_starr
we have things like SMBus, PCI, EISA, and so on from industry forums, but then you have these chinese SoC vendors who each do their own thing and it's all a mess
-
ring0_starr
so complicated enough as-is. i can't even get bsd to run consistently on this single board computer i have. when it panics, i can't even get a dump because it freezes
-
farhan
ugh.
-
farhan
sorry to hear that.
-
ring0_starr
and that's the main problem, is that the world is running at a million miles per hour without getting any of the fundamentals right
-
farhan
ring0_starr: I appreciate that perspective, not just saying that, but I think BSD is over-indexed on that.
-
farhan
there is a level of "chasing shiny things" that should be done.
-
ring0_starr
the hardware is random, the variations are random, the documentation is horrible
-
ring0_starr
i was adding support for an SoC in some DMA code and for some reason linux shifted the physical address over by 2 bits
-
ring0_starr
couldn't figure out why that is by reading the manual at all
-
ring0_starr
the guy who wrote the linux driver for it explained and pointed to this one specific line where it said something about "word-sized addresses"
-
ring0_starr
see if i didn't get told that by a person, i would've probably not figured it out
-
farhan
ring0_starr: we should document our notes to help BSD here.
-
farhan
empower others with documentation
-
wavefunction
Please.
-
farhan
some is "easy", like how Free/Open&Net differ on naming conventions
-
CrtxReavr
I fail to see the value of Free, Open, & Net remaining separate projects.
-
CrtxReavr
'Course. . . . the Net people would insist on keeping VAX & Sparc IPX alive, and hold things back. . .
-
farhan
I would say Net and Free need to merge, while OpenBSD can remain separate.
-
ring0_starr
no, because then you're going to just kill off vax support
-
farhan
I'm genuinely not certain if that's sarcasm or not.
-
ring0_starr
netbsd's thing is compatibility
-
CrtxReavr
(with jurassic junk)
-
farhan
with all due respect, I personally do not see value in that.
-
ring0_starr
and that's the reason why forks exist.
-
ring0_starr
you can focus on what you see value in
-
CrtxReavr
Look at the CPU cycles per kWatt.
-
farhan
openbsd is different...They are perfectly fine with trying radical new things and that's good/healthy.
-
CrtxReavr
Oh, and then there's DragonFlyBSD.
-
CrtxReavr
Which was basically bourne of a pissing match amonst FreeBSD kernel devs.
-
CrtxReavr
+g
-
ring0_starr
hammerfs wouldn't exist
-
ring0_starr
BSD is supposed to be a research operating system
-
CrtxReavr
That's what -CURRENT is for.
-
regis
> BSD is supposed to be a research operating system
-
regis
ring0_starr: This channel is FreeBSD-focused and you're talking about
en.wikipedia.org/wiki/Berkeley_Software_Distribution
-
farhan
anyone has the right to fork this or any other OS. I might not like it, but its their choice.
-
farhan
regis: research, not production?
-
paulf
Did DragonFly ever get more than one FreeBSD dev? seems like a vanity project to me
-
farhan
paulf: a filesystem is vanity?
-
CrtxReavr
It kinda was. . . forked FreeBSD 4.x and built a sand castle with it.
-
CrtxReavr
Granted, 5.x had major issues.
-
regis
farhan: I'm pointing out that the other commenter mentioned principles driving the "BSD" which is dead for 29 years now.
-
farhan
ahh, excuse me.
-
ring0_starr
regis, so then FreeBSD is a fork of 4.4BSD that focuses on being production-ready
-
ring0_starr
you get to focus on the aspects of OS-dom that are important to you :)
-
regis
ring0_starr: I wanted to point out how "BSD is supposed to be a research operating system" outdated and irrelevant is where it comes to the OS this channel is focused on.
-
farhan
+1
-
ring0_starr
okay..?
-
CrtxReavr
I think "BSD is supposed to be a research operating system"
-
CrtxReavr
throws back to the Bell Labs/Sun fiasco and related court cases.
-
CrtxReavr
Or what lead up to them.
-
jemius
Would you say that it's "difficult" to create / maintain software packages for FreeBSD?
-
CrtxReavr
They have a strong mentorship program and set of documentation.
-
paulf
so what's new and/or borked in current
-
paulf
no gdb 16 :-(
-
farhan
lldb?
-
paulf
not for me at least not for the foreseeable future
-
paulf
oh dear seems to be plenty of brokedness around ptrace and signals :-((((
-
farhan
I'd love to see a kgdb equivlanet in llvm or lldb or whatever..I'm not familiar with all this toolchain stuff