Slashdot Mirror


OpenBSD Loadable Kernel Modules

LiquidPC writes: "deadly.org has a very thorough tutorial on LKM in OpenBSD, by Patrick Werner. You can check it out here. It gives you examples on writing LKMs and tells you why using them isn't the best idea."

15 comments

  1. *BSD is dying by Anonymous Coward · · Score: 0
    *BSD is dying

    Yet nother crippling bombshell hit the eleaguered *BSD community when last month IDC confirmed that *SD accounts for less than a fraction of 1 percent of all servers. Coming on the heels of the latest Netcraft survey which plainly states that *BSD has lost more market share, this news serves to reinforce what we've known all along. *BSD is collapsing in complete disarray, as further exemplified by failing dead last in the recent Sys Admin comprehensive networking test.

    You don't need to be a Kreskin to predict *BSD's future. The hand writing is on the wall: *BSD faces a bleak future. In fact there won't be any future at all for *BSD because *BSD is dying. Things are looking very bad for *BSD. As many of us are already aware, *BSD continues to lose market share. Red ink flows like a river of blood. FreeBSD is the most endangered of them all.

    Let's keep to the facts and look at the numbers.

    OpenBSD leader Theo states that there are 7000 users of OpenBSD. How many users of NetBSD are there? Let's see. The number of OpenBSD versus NetBSD posts on Usenet is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 NetBSD users. BSD/OS posts on Usenet are about half of the volume of NetBSD posts. Therefore there are about 700 users of BSD/OS. A recent article put FreeBSD at about 80 percent of the *BSD market. Therefore there are (7000+1400+700)*4 = 36400 FreeBSD users. This is consistent with the number of FreeBSD Usenet posts.

    Due to the troubles of Walnut Creek, abysmal sales and so on, FreeBSD went out of business and was taken over by BSDI who sell another troubled OS. Now BSDI is also dead, its corpse turned over to another charnel house.

    All major surveys show that *BSD has steadily declined in market share. *BSD is very sick nd its long term survival prospects are very dim. If *BSD is to survive at all it will be among OS hobbyist dabblers. *BSD continues to decay. Nothing short of a miracle could save it at this point in time. For ll practical purposes, *BSD is dead.

    *BS is dying

  2. Sorry, Trolls are dying by Anonymous Coward · · Score: 1, Funny

    Please remember, yet another crippling bombshell hit the beleaguered Troll community when last month the FBI confirmed that Trolls account for less than a fraction of 1 percent of all netizens. Coming on top of of the latest Netcraft survey which plainly states that Trolls have lost more market share, this news serves to reinforce what we've known all along. Trolls are collapsing in complete disarray, as further exemplified by failing dead last in the recent ZDNet comprehensive networking test.

    You don't need to be a Ms. Cleo to predict a Trolls future. The hand writing is on the wall: Trolls face a bleak future. In fact there won't be any future at all for Trolls because Trolls are dying. Things are looking very bad for Trolls. As many of us are already aware, Trolls continue to lose market share. Green ink flows like a river of blood. Anonymous Trolls are the most endangered of them all.

    Let's keep to the facts and look at the numbers.

    Troll leader AC states that there are 7000 Anonymous Trolls. How many Trolls with names are there? Let's see. The number of Anonymous versus Named posts on /. is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 Trolls with names. Fake Troll posts on /. are about half of the volume of Named Troll posts. Therefore there are about 700 Trolls with fake names. A recent article put /. Editorial Trolls at about 80 percent of the Troll market. Therefore there are (7000+1400+700)*4 = 36400 Editorial Trolls. This is consistent with the number of Editorial Troll /. posts.

    Due to the troubles of Trolling, abysmal sales and so on, CompuServ went out of business and was taken over by AOL who sells another troubled product to Trolls. Now AOL is also dead, its corpse turned over to another Troll-Lover.

    All major surveys show that Trolling has steadily declined in market share. Trolling is very sick and its long term survival prospects are very dim. If Trolling is to survive at all it will be among Anonymous hobbyist dabblers. Trolling continues to decay. Nothing short of a miracle could save it at this point in time. For all practical purposes, Trolls are dead. (and if they don't die, I will kill them).

  3. Re:Making up 'facts' by Anonymous Coward · · Score: 0

    No kidding! It's a plain and simple fact, *BSD is dying. There's really no discussion that needs to be made about it by this point in time.

  4. Good idea, bad idea by Anonymous Coward · · Score: 0

    Well, this is both a good thing and a bad thing. I'm going to have to start reading up on the security implications of kernel modules now.

  5. LKMs are crap by Anonymous Coward · · Score: 0

    LKMs are the gay kind of shit used by insecure operating systems like Linux. Why the fuck would a *BSD want to implement such a shit-headed, swiss-cheese scheme, unless they want to be as vulnerable as Linux for the kiddiez?

    1. Re:LKMs are crap by _peter · · Score: 3, Insightful
      LKMs in OpenBSD aren't intended to cut the size of the kernel down, as with Linux.

      From LKM(4):

      Loadable kernel modules allow the system administrator to dynamically add and remove functionality from a running system. This ability also helps software developers to develop new parts of the kernel without constantly rebooting to test their changes.

      I get the idea that they're used much more in the second capacity than in the first; the default kernel (which users are strongly advised not to stray from) doesn't even enable Loadable Kernel Modules.

    2. Re:LKMs are crap by Fluffy+the+Cat · · Score: 1

      What difference does it make? If you've gained the ability to load kernel modules you've probably already got the ability to write into aribtrary chunks of address space and rewrite the kernel to do whatever you want it to.

  6. Re:Making up 'facts' by Anonymous Coward · · Score: 0

    Yes, exactly. Although the reposting of the *BSD-is-dying troll is justified by the continued presence of uninformed slashbots.

  7. A tribute to the Slashdot of old by Anonymous Coward · · Score: 0

    USian Pie

    A long, long time ago
    I can still remember
    How the trollers used to make me smile

    And I knew if I had to boast
    That I could try to get first post
    And maybe I'd be happy for a while

    But moderators made me shiver
    With every minus they'd deliver

    DoS scripts couldn't stop it
    They scored them all "Offtopic"

    I know that it's cheap crack they smoke
    And meta-moderation's broke
    At first I thought it was a joke
    The day that trolltalk died

    -- Chorus --
    Bye, bye, MEEPTy, OOG, and Grits guy
    Drove the Cruiser like some loser who starts posts with a *sigh*
    Those Steve Woston posts that we all knew were a lie
    Wonder what became of girls petrified?
    What became of girls petrified?
    --

    Did you write a bunch of Perl?
    And did it make you want to hurl
    Feces at the Wall?

    Can you believe these lame-ass polls?
    Do you post big stretched-out assholes?
    Can you make the goatse.cx link not show?

    Well I know you think that Siggy sucked
    Will the real Bruce Perens please stand up?

    The bots don't have a clue.
    Man, I dig those trolls from Shoe!

    I was a rabid Free Speech advocate
    With a Red Hat T-shirt and a Free Beer gut
    Bought my Sony laptop working Pizza Hut
    The day that trolltalk died

    -- Chorus --

    It's been two years since the IPO
    And LNUX sinks to all-time lows
    But that's not how it used to be

    When Spiral showed how it was done
    Trolling as Jon Erikson
    Who worked for NPO Technologies

    Oh and while they tried to filter posts
    Somebody rooted Slashdot's host

    "Crack Slashdot? That's absurd!"
    Better go change your password

    While JonKatz wrote a Hellmouth book
    By using posts he simply took
    And we flamed him till he was cooked
    The day that trolltalk died

    And we were singin....

    -- Chorus --

    10 grams. Inchfan. Didn't log out. Goddamn
    The mods will find the sid real soon, man
    You can't hide if you aren't AC

    Your bud (George here) tried BSD
    A dead Streetlawyer's tips were free
    And WIPO helped letsriot turn Nazi

    70 made his percents up
    While 80md warned "liberals suck"

    The moon does not exist
    It's just a liberal myth

    Oh and as Taco tried to take a nap
    We forced him to invoke bitchslaps
    Do you recall the flood of crap
    The day that trolltalk died?

    We started singin....

    -- Chorus --

    Oh and then we were wearing out "All your base"
    And started posting monospace
    The better for our penis birds

    So come on, be a zealot, be a dick
    You don't think Anne Marie's a chick?
    Because lying's all we do about HURD

    So go and push for BSD
    And say GPL isn't free

    Slow down, cowboy! The limit
    Is one post every minute

    Now tell the right wing facist slime
    Infringing on Your Rights Online
    That they can't censor all the time
    The day that trolltalk died

    -- Chorus --

    I met a troll they called The Rev
    And asked him if CD BREAK HEAD
    He said, "That's old. Get over it."

    And with all the courage I could muster
    "Imagine what a Beowulf cluster...."
    But it wasn't worth the trouble to submit

    The karma caps are just plain jive
    And everyone's moved to K5

    The steelcage has grown rusted
    And Geekizoid is busted

    The three sites I don't see for weeks
    Segfault, kernel, Comp-u-geek
    Code is not art. This ain't Freshmeat
    The day that trolltalk died

    -- Chorus

    1. Re:A tribute to the Slashdot of old by Anonymous Coward · · Score: 0

      USian
      what the fuck is that?

      A US citizen is an American.