OpenBSD Drops Support For Loadable Kernel Modules
jones_supa writes: The OpenBSD developers have decided to remove support for loadable kernel modules from the BSD distribution's next release. Several commits earlier this month stripped out the loadable kernel modules support. Phoronix's Michael Larabel has not yet found an official reason for the decision to drop support. He wagers that it is due to security or code quality/openness ideals.
As far as I'm concerned, the OpenBSD developers are as close to infallable as software developers could ever hope to get.
If they've decided to do this, then it's just the correct thing to be doing.
It's probably because OpenBSD's "LKMs" are so ancient, limited, and inflexible that nobody bothers to use them. I imagine if there were demand they would have adopted a more modern loadable module system, more akin to what's found in FreeBSD, NetBSD, Linux, etc.
This isn't news. It's more Phoronix spam.
"...Michael Larabel has not yet found an official reason for the decision to drop support. He wagers that it is due to security or code quality/openness ideals."
I know Phoronix is infamous, but, wow...
The OpenBSD mailing lists are right there. You're already reading them! Many developers frequent them daily. All you need to do is post a question! Hell, send an email to Ted himself if you're that shy. Why bother writing this article without doing the most basic of research?
"amazingly customizable kernel with"
Clearly you've never used OpenBSD before. Kernel hacking is one thing they explicitly frown upon. Too easy to break important things and compromise security.
I use ports all the time, and I've never compiled my own kernel. From what I recall, everything available in the OpenBSD kernel is always enabled by default. The only reason to compile a new kernel is to remove something from the default kernel.
Removing the LKM means someone can't maliciously load a module that screws everything up. The malicious entity would have to replace your kernel and then force a reboot.
Now if they could also drop support for shared libraries I might consider upgrading my warezed copy of NetBSD 0.8.
This is it. Old implementation, low quality, and NOTHING USES IT. Bye bye!
Since it's a script, you can do what you want with it. run-parts style, if you like. It's a script, bring your own fun. Quite the opposite of systemd, if you will.
Why UNIX?
The official changelog also says they removed LKM http://www.openbsd.org/faq/cur...
The OpenBSD developers are so awesome that they've found a magical way to make modules unnecessary: Magical code compression with zero runtime overhead. As a result of this new approach, every possible kernel module (including ones that haven't been written yet) is stored in less space than an otherwise completely stripped kernel from the prior revision.
They also removed Sendmail and BIND. Where's the outcry there?
https://bitbucket.org/braindam...
These are some of the worst and most uninformative commit messages I've ever seen...
1) Why are there so many commits to achieve the same thing?
2) Any commit message that is only a single line other than "fix typo" is a bad commit message
Seriously, even some of the worst/most incompetent Android kangers have written better commit messages than the shitpile of LKM removals I'm seeing there.
retrorocket.o not found, launch anyway?
Exactly. The editors should be ashamed. The post was carefully engineered to promote someone's private fork. OpenBSD uses WebCVS for crying out loud! How stupid can people be?!
A successful API design takes a mixture of software design and pedagogy.
As an avid OpenBSD user and fan, this puzzle me because it would seem like a giant step backwards. Yes, loadable kernel modules do weaken the security some but it makes adding hardware drivers difficult. I really like OpenBSD as the OS does so many things very well but the team members are far from fallible. The community isn't as supportive and tends to be very exclusive, responding with RTFM sometimes a little too often. I can understand RTFM, but I cannot understand being told to read when I've read it already and I'm still unclear.
Linux or OpenBSD?
BSD seems to be strengthening (all BSDs). More and more serious businesses I know are considering FreeBSD. I used to run 6 BSD/OS servers and short of HW issues, never had an issue. In fact, we got to work about 9, went to lunch at 1130, hung out wherever until about 1330, came back smoked on the loading dock and left for home by 4. Rarely had issues. The Windows and Linux guys? Always something wrong.
If any vendor has proprietary drivers for OpenBSD, they would undoubtedly be using better kernel interfaces directly. Especially for something like a driver for a hardware RAID controller. LKM(4) support has mostly been only "compile tested" for years. Nothing uses it seriously, at the time of it's removal.. the ports tree contained a single port making use of it.. a firmware flasher for some Dell systems.
I didn't say it wasn't good I said it wasn't modular.
I regularly have uptimes of over a year, and bug reports generally produce a next day response. Try getting that elsewhere.
Back when I ran obsd I had panics and problems with network card drivers that almost cost me a job. The machine was rock solid under Linux and the NICs were bog-standard eepro100s. Now I have a netbook and a laptop I can't use because of a lack of NIC support. Linux supports both NICs without ndiswrapper. I want to use these machines for low-end servers, but I can't without adding a NIC (dongle hell) or in one case, swapping out minipci. And I could do that, but it was cheaper to install Linux.
obsd lacks support for common hardware which everyone else supports. That's simply not arguable.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"