Slashdot Mirror


Linus Puts Kibosh On Banning Binary Kernel Modules

microbee writes "On LKML's periodic GPL vs. binary kernel module discussion, Andrew Morton hinted that he favors refusing to load binary modules in 12 months. Greg Kroah-Hartman then posted a patch to do exactly that. Surprisingly Linus chimed in and called it 'stupid' and a 'political agenda,' and even compared it with the RIAA's tactics. Later in the same thread Greg withdrew his patch and apologized for not having thought it through."

25 of 494 comments (clear)

  1. And of course Linus is right... by Duds · · Score: 5, Insightful

    Seriously, there should be no "bans" of any code from Linux. That defeats the entire point. Banning people from loading their own kernal modules because YOU think there may be some weird legal issue is exactly the same as making your media player play only DRM files.

    This should be a short topic, Linus' reply (which if you haven't read you should) should finish the entire conversation right here, it's a stupid and petty toys out of the pram act and I'm glad he shot it down.

    Hopefully if it somehow does make it into the trunk, there will be very quickly versions with it removed releases as we go forward too because I don't think the wider community will have any truck with this at all.

    1. Re:And of course Linus is right... by JPrice · · Score: 5, Insightful

      Having the source code available is definitely an advantage. However, one of the other strengths of Linux is the amount of freedom that you have in how you use it. It seems a little hypocritical for members of the Linux community to criticize Microsoft (and, as Linux points out, the RIAA) for imposing restrictions on how you can use their software/content while imposing similar restrictions themselves. It doesn't matter that one group's motive is profit and another is some lofty political ideal... the end result is the same thing.

      Banning binary kernel modules also has the potential for being the start of a slippery slope... if you're going to say that binary kernel modules aren't allowed, why not extend that to any piece of software that isn't open source? Maybe that would cause some people to open-source their software; I'd argue that it would also cause a lot of people to stop producing software for Linux altogether.

      If you want Linux to be a paragon of open source virtues, banning binary modules is an excellent plan. If you want Linux to remain relevant in the real world, not so much.

    2. Re:And of course Linus is right... by NemosomeN · · Score: 3, Insightful

      If I remember right, the only reason it didn't work was because people got pissed off because of it. It was a bad idea not based on its merits, but based on the ideological stubbornness to accept something that is proprietary, no matter if it is better or not. You're talking about a group that would have rather used the US Postal Service to distribute/merge/collaborate on source code than Bitkeeper. If you want to go play pool, and all of your friends want to stay home, does that mean you had a bad idea? No, your friends just suck.

      --
      I hate grammar Nazi's.
    3. Re:And of course Linus is right... by kimvette · · Score: 3, Insightful
      Not going to happen. NVidia and ATi have stated they couldn't open up the drivers if they wanted to. There's just too much licensed IP they don't have the rights to open.


      Bullshit. They can yank out third-party routines and instead document EVERY register that is exposed to the bus. What possible "IP" can be "violated" by documenting that placing falue (n) through (n+255) in $foo register does $bar? Absolutely none. It does not reveal any optimizations in that third-party routine, and does not expose the chip mask to the layperson, e.g., anyone not possessing the equipment necessary to disassemble a chip without damage, not possessing an electron microsocope, and not possessing the skills to reverse engineer it even if they could get to the point where they can take those pictures.
      --
      The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
    4. Re:And of course Linus is right... by Ruie · · Score: 4, Insightful
      Not going to happen. NVidia and ATi have stated they couldn't open up the drivers if they wanted to. There's just too much licensed IP they don't have the rights to open.

      They lie. Or pretext - or whatever current euphemism is.

      The fact of the matter is that all they had to do is release register specs and the drivers would have been written, be more stable and provide fertile ground for experimentation with desktop technologies.

      The latest ATI cards do not even work in 2d - probably because someone decided that hoarding "IP" is useful before AMD merger.

    5. Re:And of course Linus is right... by Total_Wimp · · Score: 3, Insightful

      Understood. Haven't we gotten the EFF to sue people who illegally put GPLed software into their proprietary software? I'm all for that. I think it's funny that people who want to keep their own stuff from gettnig stolen have no problem with stealing the work of others. But it's not ha ha funny.

      TW

  2. Backpatching by Spazmania · · Score: 4, Insightful

    Besides, what's to stop anyone from back-patching the kernel so that it does accept binary module loads? Freedom to change it; that's the GPL. Or did you think Red Hat and Novell wouldn't remove that particular feature?

    --
    Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
  3. distro vs core by Speare · · Score: 4, Insightful

    This shouldn't be a part of the core kernel code. However, the companies providing commercial support may, of course, include such a restriction in their kernels. This would just be a step further from "we don't support your kernel if it is flagged as tainted." The user can remove them if they want, with the same consequences as removing those foil "WARRANTY VOID" stickers hiding the screw holes on electronics devices.

    --
    [ .sig file not found ]
  4. Linus was wrong on one point by MarkusQ · · Score: 4, Insightful

    Linus was wrong on one point:

    Oh, well. I realize nobody is likely going to listen to me, and everybody has their opinion set in stone.

    In fact, I had never understood his point until reading that post. As he points out, it clearly is hypocritical to object to the RIAA tactics (which I do) on the one hand and then propose using exactly the same sort of technological barriers to fair use on the other. If people object to binary only drivers, the sollution is for those people to refuse to use them, not for them to try to game the system to prevent other people from using them.

    --MarkusQ

  5. Linus have a right to his opinion by GauteL · · Score: 4, Insightful

    But the fact is that there is a large number of copyright holders for the Linux kernel, not just Linus himself. Not all of these copyright holders accept binary kernel modules, and thus they should be considered illegal to distribute with the kernel.

    However, refusing users to shimmy in a binary module themselves is wrong. The GPL clearly states that it only covers distribution, not usage, so users are perfectly entitled to do whatever they want to the kernel as long as they do not distribute it. Adding a check to refuse loading of binary modules would only lead to a fork of the kernel, which is unproductive and unhelpful.

    If a binary kernel module contains absolutely no code from the Linux kernel in the form of headers or anything like that, the FSF would have a hard time claiming it is derivative work, thus it should be perfectly legal to distribute. The GPL may say otherwise, but this may be an over extension of the powers of a copyright holder.

  6. Linus is sort of an anomaly by Scarblac · · Score: 5, Insightful

    This is the strange effect brought on by the following situation:

    • The GPL is the tool of a political movement, using it is a political statement
    • Linux is one of the big poster childs of this movement
    • The actual author of Linux doesn't really care about any of this
    --
    I believe posters are recognized by their sig. So I made one.
    1. Re:Linus is sort of an anomaly by kebes · · Score: 5, Insightful

      Very often people characterize Linus as 'not caring about the politics' or 'being a pragmatism not an idealist.' Yet if you read his post you see that he's very much thinking about rights and freedoms. He very much does care about the freedom issue. His stance just happens to be a bit different than others (RMS for instance).

      Frequently I do not agree with Linus on issues, because his general view is to avoid meddling with things until absolutely necessary (whereas RMS, for instance, tries to think as far down the road as possible). However in this particular case Linus is dead right: putting code into the kernel for non-technical reasons, purely to limit the *end user* and specifically limit what they can do with their computer is very much "anti-computer-freedom" and should never be done.

      So Linus is effectively saying "if we do this we limit the freedom of the end user, just like the RIAA is doing with DRM..." and he is quite right.

  7. That's the problem with "free" by 91degrees · · Score: 4, Insightful

    You have to choose exactly what level of free you want.

    The GPL has clauses in it that seek to prevent people from making it non-free. That's fair enough, but it's a compromise. You could make the licence more free by removing these clauses. That would enable others to limit your freedom. Linus seems to tend towards offering more freedom to make Linux less free.

    But does a no-binaries patch matter? Those who want to add binary-only modules are free to customise the kernel to allow this. I hope this patch remains available. choice is good.

  8. *Distribution* license by quarrel · · Score: 4, Insightful

    The bottom line here, that Linus and so many other often ignored people are pushing, is that the GPL, and all other *copy*right licenses, are only licenses that effects distribution.

    Putting artificial measures into the Linux kernel that affect users of Linux, even when they're building their own kernels is BAD. Technology rules, ok?

    Even RMS would recognise that the GPL is about freedom to do WTF you want with it once you've got it, but if you want to offer it to others, you damn well better give them those same freedoms.

    Unfortunately, as any longtime /. reader knows, almost any license discussion degenerates into the idiots that think being GPL means you CAN'T do what you want. As Linus so well pointed out, the RIAA sux, why do we have to?

    --Q

  9. it was always about technology by zoftie · · Score: 3, Insightful

    Linus has kept focus, that linux was, is and will be about technology and I agree with him on that. It is about providing wealth of options for software users. Not twisting their hand in very specific way. GPL protects linux kernel. Using GPL to blugeon other people's practices into extreme ways that GPL can be interpreted is silly.
    See there is new and old world. In the new world code is the law. In the old world it is legalese like licences, laws for real people from standpoint of non-technical point. To Linus GPL is only a way to protect kernel code, like a tool. Nothing political. Whereas for Mr Stallman it is his life and politics. For linus gnu toolkit and gcc, came with added protection of GPL. And gpl for him is exactly like a tool.

    When you are a carpenter, you don't think of societal and humane implications of using auto-nailer to a hammer. Same with Linus, his codebase is what matters first. He is driving politics from within the kernel, you might say in very meritocratic way and not from GPL and how morally conflicting it is with GPL, to load binary drivers. GPL is a cover from blatant abuse of the kernel code.

    Linus has kept focus since beginning of the project and I stand with him on that. He is a coder first, and likes to provide things and services for other fellow coders, not be meddeling in world of politics.

  10. Re:Exactly by diegocgteleline.es · · Score: 4, Insightful

    Certainly you're not one of the brave hackers that didn't stop developing linux in the early days despite of the severe lack of drivers.

    These days you can boot linux anywhere. But you know, there was a time (not that far ago) when Linux (and BSDs) didn't support almost anything. Those people really believed in open source, and they didn't mind spending many hours of their life reverse-engineering obscure hardware. They also didn't mind selling their incompatible hardware and buying linux-compatible hardware in order to run their wonderful open source OS.

    And you plan to to switch windows if the linux developers plan to ban propietary modules. You aren't switching your graphics card and buying a linux-compatible one (something you can fix with money). You just plan to switch windows.

    We're lucky that the early open source hackers weren't like you - if they had switched to windows every time they found a barrier we wouldn't have open source operative systems today. Linux has got big without the help of propietary drivers and despite of the ridiculous hardware support and the one way of getting even bigger is following the same path. We don't need propietary drivers, fuck them.

  11. Re:Oh irony by operagost · · Score: 3, Insightful

    Morality is not based on law, but perhaps law should be based on morality.

    --

    Gamingmuseum.com: Give your 3D accelerator a rest.
  12. Re:Torvalds needs to get over himself. by IdleTime · · Score: 4, Insightful

    Woowwww

    Do you know any other logical fallacies? You must lead a horrible life to have such an opinion.

    Besides that, i agree with Linus, binary modules should not be banned. Because of the ability to use binary modules, a lot of commercial software are made available and that is A Good Thing (Tm)

    --
    If you mod me down, I *will* introduce you to my sister!
  13. Re:LKML could be a soap opera by araemo · · Score: 4, Insightful

    Actually, (And in contrast to the majority of LKML spats that get posted here), Linus' post is actually rather accurate, and I agree with his reasoning. I don't want the RIAA being able to prevent all fair use just because some people make 'un-fair use'. I don't want to prevent other people from doing the same things with my works or I am being hypocritical. (Just to use one example, I realize kernel binary modules have nothing to do with fair use, and everything to do with derived works.)

  14. Yay, politics. by GeekDork · · Score: 3, Insightful

    It's just a shame that all this is basically the result of a really fucked up kernel design.

    The kernel right now is one big monolithic, undocumented blob of ever changing ugly interfaces that requires breaking the license if you want to add a closed source driver. There is no clear interface for any third-party work that doesn't involve the inclusion of core kernel code into closed-source modules. This design of course clashes with the reality of needing closed-source drivers for some tasks. Face it: nvidia, ATI and others are not going to open their driver sources just because a minority OS doesn't want to play with them anymore. It's really a miracle that they still are making drivers, because core interfaces are changing weekly, so instead of being little bitching whiners, be thankful for that gesture of goodwill.

    What Linux IMO really needs is a stable, well-designed external interface for such drivers. I don't know how possible it would be to create something like that, but systems like QNX suggest that it actually works. But I guess that having such an interface and actual *gasp* documentation for it would be too much to ask, especially from people who apparently don't know about the terrific capability of C to include comments in the code. It does work for other things than just the license! So far, I've only been working with three or four little interfaces in the kernel, and and each one of those required at least a week of code exploration before I could even only get to a trial-and-error phase, just because to the fact that (1) there is no or just outdated documentation in the kernel package itself, (2) the code isn't commented, and (3) all tutorials on the web are aimed at kernel version 2.2.0.

    Yes, I'm quite disgusted with OSS in general and especially Linux, but it's still less expensive than the other crap./p

    --

    Fight hunger. Filet a politician and send him to a 3rd world country of your choice.

  15. Re:Exactly by bzipitidoo · · Score: 5, Insightful

    And Windows doesn't take LOTS of time to get working? Ever tried setting up IIS with LDAP and wikis? Spent hours trying to find out why files on the network were being mysteriously and only very occasionally corrupted? (Thanks, DLink and your buggy network card drivers for Windows.) Have that fresh Windows installation get pwned in less than a minute because you didn't know it must be patched before it touches the Internet? Maybe you really believe MacIntoshes "just work"? They're pretty good, but they aren't perfect either.

    OSS gets a LOT of flak it shouldn't. Double standards. When a device doesn't work with Windows, that's the device's fault. When a device doesn't work with Linux, that's Linux's fault. But you know, if those device drivers are OSS, you at least have another option. Lot of talented people out there will be able to work on the drivers.

    --
    Intellectual Property is a monopolistic, selfish, and defective concept. It is "tyranny over the mind of man"
  16. Re:Exactly by Professor_UNIX · · Score: 4, Insightful
    If you are going to run closed, proprietary, unaudited code in ring 0, what benefits do you think you are going to get from running a Free/Open OS?
    It doesn't cost $300 and includes a pretty decent array of software while providing a stable networking platform? MOST of the arguments for switching to Linux involve the price and have nothing to do with open source philosophy. If Linux cost $300 nobody would be running it.
  17. Re:Torvalds needs to get over himself. by kripkenstein · · Score: 5, Insightful

    Besides that, i agree with Linus, binary modules should not be banned. Because of the ability to use binary modules, a lot of commercial software are made available and that is A Good Thing (Tm)

    Linus's reasons, as appear in his message, are completely and utterly different from yours. To briefly summarize: first, this prevents USE of binary modules, but the GPL can only come into effect when you DISTRIBUTE something (via copyright law). Second, this will just annoy people, by shoving the kernel developers' opinions down their throat (any they can change the kernel source to allow binary modules anyhow). Third, it won't work, because a small GPLed "shim" can load a binary driver (as NVidia already do).

    However, he hates binary drivers, and for good reason. I agree both with this and with his reasons, and disagree with yours.

  18. Re:Torvalds needs to get over himself. by kripkenstein · · Score: 3, Insightful

    The only reason the parent gave was that he feels commercial software being made available for Linux is a good thing. Is this what you are disagreeing with?

    I disagree that running commercial software is reason enough for having binary kernel modules. Now, commercial software is fine, if you want/need that sort of thing, but you should run it in userspace. Binary drivers in the kernel are something else altogether.

    AFAIK most commercial software written for Linux does not need to run anything as a kernel module, so the connection between "having commercial software on Linux" and "binary drivers in the kernel" is fairly slim, anyhow. Please correct me if I am wrong.

  19. Re:Exactly by vakuona · · Score: 3, Insightful

    Then Linux would be like OpenBSD. You wouldn't be reading about it at all.