Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
GNU is Not Unix Software Linux

Linux: the GPL and Binary Modules 657

An anonymous reader writes "When first made available in September of 1991, the Linux kernel source code was released under a very restrictive non-GPL license requiring that the source code must always be available, and that no money could be made off of it. Several months later Linus changed the copyright to the GPL, or GNU General Public License, under which the kernel source code has remained ever since. Thanks to the GPL, any source code derived from the Linux kernel source code must also be freely released under the GPL. This has led many to question the legality of 'binary only' kernel modules, for which no source code is released. Linux creator Linus Torvalds talks about this issue in a recent thread on the lkml."
This discussion has been archived. No new comments can be posted.

Linux: the GPL and Binary Modules

Comments Filter:
  • by rubypossum ( 693765 ) * on Monday December 08, 2003 @04:04AM (#7658117)
    Maybe I'm wrong here but perhaps this is a way to look at it. If I wrote a story that was derived from the LOTR then it would not be a derived work in the legal sense it would be copyright by me. Although I'd have to get permission to use the trademarked names etc. Isn't this a bit like the linux kernel issue? The module is not directly derived from the kernel it is an extension that uses the hooks that were created in the previous "story". Maybe I'm on crack here....
    • by rubypossum ( 693765 ) * on Monday December 08, 2003 @04:12AM (#7658136)
      On the other hand... if I were to take chepter 5 from the LOTR and change it a little bit, include it in my story and then publish it then it would be a derived work. Just like a company taking net/socket.c, modifying it, then including it in their own module and not distributing the source.
      • by adrianbaugh ( 696007 ) on Monday December 08, 2003 @06:48AM (#7658581) Homepage Journal
        So you're saying that it's okay for (say) nVidia to distribute a binary driver module (because it is new to the kernel rather than modifying it) but the bits that may require kernel modification or that hook directly into the kernel (their wrapper) do need to be open?
        Sounds fair enough to me.
        • by mabhatter654 ( 561290 ) on Monday December 08, 2003 @12:28PM (#7660569)
          The nVida drivers are the clasic test case for this...

          Generally, if I sit down with Linux and write "hello world" using standard C calls and compile with normal methods, that's mine and not a derivitive work at all. The problem comes with drivers such as nVidia's. They are not just "windows" drivers with a wrapper for linux. They get into the system and re-route system API calls, much about with non-standard kernel features and the like. And that's the problem with "bianary" modules. The problem with nVidia's approach is that it's hard to tell where their drivers start and the kernel begins...heck, they could rewrite half the kernel and simply override it in their module, it would be hard to fiugure out for normal users...it's that poteitial for abuse that is the cause of such arguments.

          On nVidia's defence though, Ther was talk for 2.6 about removing the API calls they try to legally use in favor of others that would require 100% GPL code. That's also a problem because certian vocal parts of the community are actively trying to make the current scheme too "sour" for compaines like nVidia to publish their code. On a side note, there are certian things nVidia CAN'T publish if they have to use GPL! Much of the hardware they build is "patented" from outside sources...they would get into IBM/SCO style lawsuits...but without any cause to defend themselves! That leaves them [and us] with bianary drivers--or NO drivers.

          My opinion right now is that Linus is sticking his head in the sand on this issue...other stuff I've read he seems to fully support how nVidia is working, but then allows changes to APIs that clearly theaten that way of working???? This IS a key issue with linux...If companies can't use proprietary, binary modules to protect their/others IP, then Linux will never be a truly "first class" OS. What's needed is for the community to "standardize" the rules [make them just a bit more attractive to business?]...and stop the FSF and such from "legal creeping" against the people who go out of their way RIGHT NOW to support Linux.

    • by arkanes ( 521690 ) <(arkanes) (at) (gmail.com)> on Monday December 08, 2003 @04:29AM (#7658191) Homepage
      It depends on just how much your story is like LOTR. How much is too much is very subjective and depends alot on your lawyer and how convincing he is. It's the same for software except theres even less case law giving you a clear standard to work from.

      Basically, aside from clean rooming, there is no 100% way to ensure that you aren't violating copyright, in ANY field.

    • by kscd ( 414074 ) on Monday December 08, 2003 @04:34AM (#7658208)
      Derivative works in general are a grey area, but in your specific example I would have to say that you are in fact wrong. Not wrong according to the original U.S. copyright law, but definitely wrong according to what we have now. You say, "If I wrote a story that was derived from the LOTR...". That's it. You wrote a story derived, it's a deritave work. That simple. For example, let's say you would like to re-write Gone with the Wind from a slave's perspective. Completely different story (as you can imagine), but characters, plot, etc. derived from the original. If you did this, you would wind up in court, much like the person that did. [freedomforum.org]
      • Yes, but Houghton Mifflin Company, the publisher of The Wind Done Gone, won in that case.
    • by ron_ivi ( 607351 ) <sdotno@@@cheapcomplexdevices...com> on Monday December 08, 2003 @05:31AM (#7658382)
      My driver is a parody [publaw.com] of their driver. :-)
  • Pragmatism (Score:5, Insightful)

    by nepheles ( 642829 ) on Monday December 08, 2003 @04:05AM (#7658120) Homepage
    A certain amount of pragmatism has to prevail here -- were binary modules disallowed, the phrase 'shoot yourself in the foot' jumps to mind. Linux is probably better off with them, as it lowers the entry barrier to companys wishing to contribute. And that's rarely a bad thing.
    • Re:Pragmatism (Score:5, Insightful)

      by pe1rxq ( 141710 ) on Monday December 08, 2003 @04:19AM (#7658155) Homepage Journal
      When binary modules are allowed it doesn't help linux in any way....

      Just look at the nvidia drivers: The only thing you get are kiddies yelling that nvidia has such great linux support. Meanwhile linux didn't get any better from it, kernel developers get lots of bug reports caused by the nvidia black box (One of the reasons the 'tainted' flag was introduced), I still can't use the nvidia cards on platform not-quite-obscure-nividia-just-didnt-bother-compil ing-their-driver-for-it, and most importantly you don't know what the driver is doing on your system (its a black box afterall)

      Jeroen
      • Re:Pragmatism (Score:5, Interesting)

        by jusdisgi ( 617863 ) on Monday December 08, 2003 @04:40AM (#7658227)
        Whatever man, those modules aren't that bad.

        1)I'm interested to see these bug reports due to the "nvidia black box"...you are aware that a good chunk of this thing (and all the kernel interface) is available in source, right?

        2)And what's this about not having one compiled for your archetecture? Have you ever installed these? I did it this morning; I typed one command, a menu prompted me to accept a license, then looked for a version on nvidia's ftp site, didn't find one. So it compiled one for me. This was all every bit as easy as running a WISE installer in windows. That is, as long as you can read the instruction on the site where you downloaded the thing from that says "type 'sh nvidia-thingie'"

        I have run a lot of video cards in a lot of Linux boxes. Some had open source drivers; most of these were good, a couple were not. Some had no drivers available, and I had to use a generic driver. Sometimes this worked, and sometimes it didn't. If I have my choice, I use an nvidia board...the drivers are easy to install, they're fast, you don't have to worry about getting the right module, and most of all they have a knack for just working immediately.

        I wish those drivers were FOSS, but they aren't. I'm not too proud to run them.

        Now...if I can just get the 3d on this ATI mobile radeon IGP320M going......
        • Re:Pragmatism (Score:5, Informative)

          by kyz ( 225372 ) on Monday December 08, 2003 @06:13AM (#7658494) Homepage
          you are aware that a good chunk of this thing (and all the kernel interface) is available in source, right?

          I'm a programmer. None of the NVIDIA core is available as source. None of the NVIDIA GLX is available as source. The only source provided is a small kernel interface. Even if you're not a programmer, notice the compiled file sizes: nv-linux.o (wrapper) = 47Kb. nv-kernel.o (binary-only NVIDIA core) = 1.8Mb. The nv-linux.o source code is just over 6000 lines of code. Extrapolating, NVIDIA are keeping over a quarter of a million lines of code out of our site, and that's just the kernel module!

          what's this about not having one compiled for your archetecture? Have you ever installed these?

          I have -- for an IA32 architecture consumer/home PC. Have you installed one on a SPARC box? You can't! NVIDIA don't provide a SPARC architecture build. Have you installed one on a RISC PC? You can't! NVIDIA don't provide an ARM architecture build. Have you installed one on an iMac? You can't! NVIDIA don't provide a POWERPC architecture build.

          I have run a lot of video cards in a lot of Linux boxes.

          You sound like an unreformed Windows-using home/consumer PC builder. "Just download drivers from the manufacturer's support site" is the worst possible form of providing hardware support in an operating system.
          • Re:Pragmatism (Score:5, Insightful)

            by W2k ( 540424 ) on Monday December 08, 2003 @07:22AM (#7658677) Journal
            So in your opinion, having no nVidia drivers would be better than the current state, which is that there are drivers for the vast majority of systems that need them (which is to say desktop PC's) which are closed-source but mostly working.

            How typical of "free software" zealots to whine and whine for improvement, and when they get it, to whine again that it isn't good enough because it is missing feature X or because it doesn't support obscure platform Y. nVidia is giving you drivers for free, whining because you think they should just give away all their source is not the way to get more companies follow in their footsteps, releasing drivers for Linux.

            I've heard the argument that welcoming binary drivers is counter-productive to getting more drivers that are fully open source. While this may well be true, having a somewhat functional driver which works on some platforms (or better yet as in the nVidia case, a well-functioning driver that works on most platforms) is certainly better for the users than having no driver at all.
            • Re:Pragmatism (Score:5, Insightful)

              by kyz ( 225372 ) on Monday December 08, 2003 @08:11AM (#7658872) Homepage
              My opinion is that having NVIDIA work with kernel developers to come up with fully open-source, GPL licensed Linux drivers for their hardware would be better than ever releasing a single binary-only driver.

              NVIDIA haven't given us anything for free. They have given us 6000 lines of code to interface a big black box to the free and open Linux kernel. This has been more than paid for by the thousands of NVIDIA cards sold on the back of supposed "Linux support". They have given us absolutely no device specifications whatsoever. Experience shows us that, over time, Linux kernel programmers write far superior Linux drivers than the hardware manufacturers.

              Currently, NVIDIA have offered a sop to the whining Linux fanboys -- "here's your binary, black box secret drivers -- just like in Microsoft Windows". The drivers cause mysterious kernel panics which can't be debugged because they originate from somewhere inside a black box that only NVIDIA may look at. NVIDIA can't leverage the support of hundreds of kernel developers when trying to fix it. It sucks.

              If NVIDIA gets away with providing half-hearted binary-only support for Linux, why can't every other hardware manufacturer? "No, you can't have any specifications for this Ethernet chipset, it's top secret -- here's a binary HAL instead". "No, you can't have any specifications for this SCSI disk controller", etc.
              • Re:Pragmatism (Score:3, Insightful)

                by W2k ( 540424 )
                You and 7658880 [slashdot.org] are both right in saying nVidia hasn't given anything (of value) to Linux. They have, however, given something to users of Linux (Linux on i386, anyway), and from what I am reading elsewhere in this discussion, there certainly are people for whom the nVidia drivers have proven very useful. So they have definitely given _something_ to the Linux community, though clearly, not everyone thinks it's worth cheering over.

                Whether they gave it (or are giving it) away for free is arguable. Clearly,
              • Re:Pragmatism (Score:4, Informative)

                by mhesseltine ( 541806 ) on Monday December 08, 2003 @09:57AM (#7659456) Homepage Journal
                My opinion is that having NVIDIA work with kernel developers to come up with fully open-source, GPL licensed Linux drivers for their hardware would be better than ever releasing a single binary-only driver.

                And, as has been said many times before, NVidia doesn't own all the code in their drivers. Some of that is licensed. As a result, they are not allowed to change the licensing to GPL-only. To do that, they'd have to strip out much of the functionality that makes the card useful.

              • This has been more than paid for by the thousands of NVIDIA cards sold on the back of supposed "Linux support".

                Well, this is precisely why, I and many others, buy nVidia cards. I use a dual boot Win2K/Mandrake box and I know I'm getting excellent drivers for each operating system.

                I personally don't see any problems with closed source binary drivers. The kernel provides (or should provide) interface abstraction to a sensible level where it's possible for safe "black box" drivers to be written.

                Then a
              • If NVIDIA gets away with providing half-hearted binary-only support for Linux, why can't every other hardware manufacturer?

                Because those who provide full-hearted open-source support for Linux have a competitive advantage over NVIDIA. If you don't like the Linux support for NVIDIA, don't buy their hardware in the first place. No one is forcing you to do so. If you feel you have been tricked by the advertisement of "Linux support," return your video card and demand a refund.

        • Re:Pragmatism (Score:3, Informative)

          by iantri ( 687643 )
          Now...if I can just get the 3d on this ATI mobile radeon IGP320M going......

          You might be interested in this [xfree86.org].. or this. [xfree86.org]

          I believe you still need the patched agpgart w/ the precomplied binaries.

      • Re:Pragmatism (Score:5, Interesting)

        by October_30th ( 531777 ) on Monday December 08, 2003 @04:47AM (#7658249) Homepage Journal
        Meanwhile linux didn't get any better from it

        Yes it did. I get proper OpenGL acceleration on my Linux box now.

        not-quite-obscure-nividia-just-didnt-bother-compil ing-their-driver-for-it

        You know, if the installer cannot find pre-compiled drivers for your card, it will compile them for you. How's that for service?

        most importantly you don't know what the driver is doing on your system

        Yeah, right. Have you ever read through the code of your LAN card driver, too? How about the USB controller and SCSI-card? Most important of all, how many driver exploits have you heard of either in Windows or Linux?

        • Re:Pragmatism (Score:5, Interesting)

          by MS_is_the_best ( 126922 ) on Monday December 08, 2003 @04:55AM (#7658272)
          Yes it did. I get proper OpenGL acceleration on my Linux box now.

          That is true and an advantage. Unfortunately the drawbacks are perhaps larger (depends on your opinion). An open driver with the same performance would be better (but perhaps impossible).

          You know, if the installer cannot find pre-compiled drivers for your card, it will compile them for you. How's that for service?

          Nope, only the interface around the binary core is compiled, not the driver itself.

          Yeah, right. Have you ever read through the code of your LAN card driver, too? How about the USB controller and SCSI-card? Most important of all, how many driver exploits have you heard of either in Windows or Linux?

          Yes, I have. Lots of others have done this too. Being able to look up the source in case of network troubles is really a great help. The debug mode of the driver is very helpful, the source even better.
          • Re:Pragmatism (Score:3, Insightful)

            by 10Ghz ( 453478 )

            Yes, I have. Lots of others have done this too. Being able to look up the source in case of network troubles is really a great help. The debug mode of the driver is very helpful, the source even better.

            What about users like me? I'm not a coder. For me the source might as well be written in Hebrew. I get no benefits from having the code available. I can't debug it, I don't know what things do what. All I care is having a drivers that work. If I could choose between closed and open drivers that worked as we

            • Re:Pragmatism (Score:3, Insightful)

              by hummassa ( 157160 )
              All I care is having a drivers that work. So, you must care about others as the grandparent poster reading and debugging your drivers and their interactions with the kernel at large, so in the end you have... (roll the drums) drivers that work!
      • Re:Pragmatism (Score:5, Insightful)

        by zurab ( 188064 ) on Monday December 08, 2003 @04:59AM (#7658289)
        When binary modules are allowed it doesn't help linux in any way....


        In certain cases, manufacturers can provide open source modules, but many times, there simply is no viable way. Complex hardware or hardware/software combination is usually covered by multiple patents, trade secrets, copyrights, and various agreements between different parties. In such cases asking hardware manufacturers to open up their internals and provide modules open source is like asking Linus to provide Linux under license other than the GPL. In neither of those cases is a single party is in control of all of the "intellectual property" involved; and it is virtually impossible to get all parties involved to agree to such a request.
        • Re:Pragmatism (Score:5, Insightful)

          by pe1rxq ( 141710 ) on Monday December 08, 2003 @05:21AM (#7658353) Homepage Journal
          In most cases hardware/software is believed to be the next best thing since sliced bread by management.....
          Most drivers do NOTHING that justifies keeping the code under lock like it is done today.
          Most drivers simply push data to the right place and fiddle with registers in the right way. There is nothing the competitor wouldn't have already thought off.
          If youre competitor has to learn from your driver they are atleast two generations behind you and you have nothing to fear.
          Its a corporate culture that is the problem, not patents (which already are open for anybody to see anyway), trademarks or trade secrets.

          Jeroen
          • Re:Pragmatism (Score:3, Insightful)

            I think he's stating that it's more that there are so many legal hoops to leap through because of cross-manufacturer and cross-corporation mingling, that it simply isn't feasible to open up the drivers. Getting approval from all involved parties is a daunting task. Now-a-days, the video driver does a lot more than just fiddle with registers and memory, especially if there are vertex/pixel shaders involved. There's quite a bit of compiler technology in the current driver releases from nVidia and ATI.
        • Re:Pragmatism (Score:4, Insightful)

          by femto ( 459605 ) on Monday December 08, 2003 @06:15AM (#7658500) Homepage
          > ...there simply is no viable way.

          Rubbish.

          What you should have said is "...there is a lack of will."

          The problem is that the companies don't want to release the source not that they cannot. Once they start looking serious sales volumes, due to being excluded from the Linux kernel, companies will find the will to release source.

          • Re:Pragmatism (Score:5, Informative)

            by ray-auch ( 454705 ) on Monday December 08, 2003 @06:56AM (#7658598)
            In some, common, cases they cannot. Eg.

            Companies may licence parts of the code from third parties, usually under other licences that do not allow unlmited source release - so they would have to re-write (clean room) to get a version that they could release source for.

            Regulations (depending on your location, eg. on things like wireless cards, modems) sometimes require that stuff works within set limits (eg. power, spectrum). Often the hardware is more flexible, and the limits have to be encoded in the driver software. The law will then require the company to take resonable steps to ensure that end users can't change the software to circumvent the limits. Usually this will mean preventing release of modifiable source code.

            That's just two examples - there are plenty more reasons that might apply.

      • The huge problem pertaining to graphic cards is that they probably are, on PCs, the item that is replaced /upgraded most often and are developed at the highest pace immediately after CPUs.

        While CPUs are well documented and a critical resource well looked after by developers, GPUs are in contrast shrouded in mystery and buried in patents. Also most kernel developers, I'd wager, don't care one bit about dual screens and accelerated OpenGL.

        Before NVidia came on the scene with their drivers the high-quality m
      • Re:Pragmatism (Score:5, Insightful)

        by _Spirit ( 23983 ) on Monday December 08, 2003 @05:04AM (#7658305) Journal
        So you would rather have nvidia making no drivers at all for Linux? In an ideal world I might agree with you, but in the real world I suspect most Linux users would rather have support for their video card.
        • Re:Pragmatism (Score:5, Insightful)

          by nathanh ( 1214 ) on Monday December 08, 2003 @06:23AM (#7658523) Homepage
          So you would rather have nvidia making no drivers at all for Linux?

          Yes.

          And I don't say that lightly. Nvidia has some extremely intelligent staff, including former open-source developers like Gareth and Mark. Nvidia contribute code to open source projects like XFree86. Nvidia are valued members of the ARB and their proposals are both worthy and appreciated. Nvidia's support for OpenGL has helped prevent Direct3D from usurping the entire industry and for that act alone we should all be grateful.

          But even with those things considered, I still think nvidia's closed source drivers are worse than no drivers at all. There are many reasons why I think this but the single most important reason is that the nvidia binary drivers take away the very freedoms that Linux grants you. Not for the same code but it's the same principles.

          In an ideal world I might agree with you, but in the real world I suspect most Linux users would rather have support for their video card.

          They had support. The Utah GLX nvidia driver wasn't the greatest but it did work with both 3D and 2D. The XFree86 drivers still support 2D on all nvidia cards and the performance is excellent.

          And really, I don't know when you started to use Linux, but when I started (pre-1.0) we didn't have video drivers. We wrote them ourselves. We chose the freedom of Linux over the convenience of binary-only platforms with working drivers. It shames me that so many of the current generation of Linux users don't understand what the world before Linux was like. It was hell. Closed source binary-only drivers everywhere. Buggy code that you couldn't fix. Linux changed all that. Finally we have source and freedom and rights. Finally there's something to be proud of; an entirely open source operating system built through the sweat and tears of 1000s of volunteers. And you would sacrifice all that for slightly faster 3D graphics? I can't comprehend your state of mind. Your priorities are completely foreign to me.

          • Re:Pragmatism (Score:4, Insightful)

            by NegativeK ( 547688 ) <tekarienNO@SPAMhotmail.com> on Monday December 08, 2003 @09:04AM (#7659132) Homepage
            We chose the freedom of Linux over the convenience of binary-only platforms with working drivers.

            That's odd, as it is the exact reason I switched over too. Plus stability and power, of course. But you know what else I find odd? You. It would seem that you would rather I didn't have the freedom to do what I want with the OS on my computer. It is really pretty simple.. To each his own. I'll run my binary modules, unload them if I think I have a bug to test it, and get my very nice hardware acceleration out of a card that I payed $200 for.
            But really, I think this argument comes down to one issue.. If you have to release and use everything as open source, then you are almost as restricted as having to release and use everything as closed source.

            P.S.: I do agree that I would _like_ open source drivers, and I have e-mailed nVidia's PR department about that. But I'm still going to support them, as they've shown more support for their hardware than _some_ companies.
      • was a crackingly playable Quake 3. That was worth something to me.
    • Re:Pragmatism (Score:5, Insightful)

      by LizardKing ( 5245 ) on Monday December 08, 2003 @04:23AM (#7658172)

      Binary modules may "lower the entry barrier" for some companies, but it can end up being counter productive. Binary only drivers have tended to be crude ports of Windows drivers, and frequently crash the users kernel. This results in bug reports that the regular kernel hackers can't solve, and a misconception amongst users that Linux is unstable.

      Far better would be if companies jumped wholeheartedly into the Linux way of doing things, and published their drivers under the GPL. Their competitors aren't going to get much of a leg up from seeing the source to most drivers, especially those for network adapters and the like, but the vendor can benefit from bug fixes provided by independent kernel hackers.

      Chris

      • Re:Pragmatism (Score:4, Insightful)

        by jusdisgi ( 617863 ) on Monday December 08, 2003 @04:46AM (#7658247)
        Well, the trouble is, the drivers to products that really are trivial (those NICs you mentioned) are already available, because those companies agreed with you and released drivers openly or at least released information, allowing the community to produce them.

        But some products aren't that way; nvidia, for instance, at least *says* they have IP tied up in the binary part of their drivers that they can't afford to let competitors (ATI) get ahold of. I don't know whether it's the truth.....I haven't seen the code!

        • Re:Pragmatism (Score:4, Interesting)

          by Tim C ( 15259 ) on Monday December 08, 2003 @07:55AM (#7658807)
          More than that, last I heard NVidia was under NDA from one or more third parties concerning some of the code in their drivers. They simply can't release it, as it essentially isn't theirs to release.
    • by ciaran_o_riordan ( 662132 ) on Monday December 08, 2003 @04:26AM (#7658181) Homepage
      it lowers the entry barrier to companys wishing to contribute

      I see it as encouraging companies *not* to contribute. Why give people Free code when you don't have to?

      A binary file is not a contribution, it's just a marketing tactic exploiting our free platform. Since the Linux hackers have written an entire kernel, I don't think it's unreasonable for them to ask for module source code in return. Otherwise the module vendor is a parasite.
      • by jusdisgi ( 617863 ) on Monday December 08, 2003 @04:55AM (#7658276)
        Er, yeah, that's a little warped.

        It might make sense to take that position, if such a thing as a "module vendor" existed. As it happens, it doesn't, and no one is out trying to sell binary modules for Linux. The creators of binary modules are *hardware vendors* and they are "contributing" by making their hardware compatible with the free system.

        This is not parasitic; if they want, they can just not bother, and you can just not use that hardware in Linux. Let's not forget, it's not like you wrote the driver; why would you want to keep people from making their hardware usable on your system? If a manufacturer says "well, sorry, I want to support linux, but not if it means letting the competition get a sneak peak at this crazy technology in my drivers" you would just say, "ok, parasite, we don't need your stupid hardware."

        When the manufacturer in question is a leading producer of video boards, such fanaticism is extremely foolish.

        • by Spoing ( 152917 ) on Monday December 08, 2003 @06:24AM (#7658527) Homepage
          If a manufacturer says "well, sorry, I want to support linux, but not if it means letting the competition get a sneak peak at this crazy technology in my drivers" you would just say, "ok, parasite, we don't need your stupid hardware."

          The manufacturer is selling hardware. Anything they want to protect from being exposed in the module means little to other hardware companies who have competent developers. The details of how the hardware is controlled and any setup and tables can be discovered using the Windows drivers and debuggers.

          Contrary example: In Nvidia's case, they don't own everything they ship so unless they convince other companies to opening those parts (unlikely) Nvidia has to either drop those parts or replace them.

          The motivations of different companies are important. Server-grade hardware companies fall all over themselves supporting Linux in the main kernel source tree. If Linux becomes popular on the desktop -- even if modestly so -- the kernel modules that support desktop software will likely be open. Nvidia might even change (though this is speculation on my part).

        • This is not parasitic; if they want, they can just not bother, and you can just not use that hardware in Linux.

          Yes, it is "parasitic". And the kernel license should be updated to put a stop to this. If we believe in free software, we want to support companies that support free software.

          When the manufacturer in question is a leading producer of video boards, such fanaticism is extremely foolish.

          No, it's not. It will give other companies a chance to get into the market, with Linux-friendly products w
      • by _Spirit ( 23983 ) on Monday December 08, 2003 @05:12AM (#7658329) Journal
        This is some seriously deranged logic. This is how your post reads to me:

        I make a video card which I expect to be used with Windows. Some of my users beg me to support Linux. I make a Linux driver. Now I'm a parasite?

        An open sourced driver would be nice but not supplying one is now a crime? What am I missing here?
      • by Spoing ( 152917 ) on Monday December 08, 2003 @06:08AM (#7658474) Homepage
        I see it as encouraging companies *not* to contribute. Why give people Free code when you don't have to?

        A few plusses just for maintenance come to mind, there are likely more for maintenance and other reasons such as good PR;

        1. As the kernel changes, the module is kept in sync almost automatically
        2. Others can look at and make changes, fixing defects
        3. Crossplatform support is much more likely
        4. Any defects discovered during the in the kernel port and maintenace will help with the Mac and Windows versions that lack this level of review; remember, the copyright holder does not loose copyright when using the GPL and can dual-licence or re-licence any code they have copyright to!
        5. Knowing that the code will be seen, opening it encourages cleaning up and repairing the nasty parts -- or if it is not a port -- keeping it clean and better organized leading to fewer defects

        There's not much of a benifit to binary-only modules for the vendor except;

        1. They don't have to pull or replace code or binary parts that come from other companies (though this applies to few potential modules)
        2. Likely faster to get an initial version out since there is no requirement for code review to be "accepted" (no acceptance process)
        3. If the code is too messy, there's no need to clean it up so others can figure out what's going on or to avoid embarasment
        4. The old protecting IP paranoia is lowered
    • Re:Pragmatism (Score:5, Interesting)

      by BESTouff ( 531293 ) on Monday December 08, 2003 @04:30AM (#7658193)
      Nope. Having binary modules only stops developers from trying to make their own, so you end up with proprietary, non-debuggable and non-portable (across kernel versions or across architectures) drivers. There are for example winmodem drivers you can only use on a 2.2 kernel, or the famous nvidia drivers which work only on i386. Even if this helps the casual gamer (which would be waaay better running Windows anyway), this is in fact a regression from the free software perpective.

      Imagine a future where you install your core Linux kernel, then download a ton of different binary modules from different websites, have to hunt in the forums to mix-and-match the right versions, and end up having bugs nobody won't fix ? Think about it, that's what you want when you allow "pragmatism".

      • Re:Pragmatism (Score:5, Insightful)

        by starsong ( 624646 ) on Monday December 08, 2003 @04:56AM (#7658281)

        Imagine a future where you install your core Linux kernel, then download a ton of different binary modules from different websites, have to hunt in the forums to mix-and-match the right versions, and end up having bugs nobody won't fix....

        We have that under Windows! They're called "drivers."

      • by Spoing ( 152917 )
        Imagine a future where you install your core Linux kernel, then download a ton of different binary modules from different websites, have to hunt in the forums to mix-and-match the right versions, and end up having bugs nobody won't fix ? Think about it, that's what you want when you allow "pragmatism".

        Hey! That would make Windows user feel right at home! LET'S DO IT!!!! (leaps behind flame-proof barrier)

      • by ashridah ( 72567 ) on Monday December 08, 2003 @06:27AM (#7658541)
        There are for example [...] the famous nvidia drivers which work only on i386.

        Shenanigans! SHENANIGANS!

        (Example following)

        $ ncftp download1.nvidia.com
        Connecting to 216.228.115.24...
        Logging in...
        Anonymous user logged in.
        Logged in to download1.nvidia.com.
        ncftp / > ls
        [...]
        XFree86/
        [...]
        ncftp / > cd XFree86
        ncftp /XFree86 > ls
        FreeBSD-x86/ Linux-x86/ [...] Linux-ia64/ Linux-x86-64/ [...]
        ncftp /XFree86 >

        There you go!
        ia64 is not i386, regardless of what RISC loving zealots will scream about, and x86-64 is not i386 either.
        and what's more, FreeBSD is also not linux.

        I declare your statement partially false on two fronts!

        ashridah
    • by BigRedFish ( 676427 ) on Monday December 08, 2003 @05:33AM (#7658386)

      OK, I've wondered about this since the dawn of PCs, and wonder about it every time I have to install nVidia drivers: Why do this? Onceupponatime, you bought hardware and drivers were just kinda there with it. Then they started putting copyright callouts on 'em. Now they're treating 'em as if they were standalone programs - doesn't an nVidia card kind of function as a dongle for the nVidia drivers, if they're so worried about copying?

      If the driver spec is floating around in the open, that's a value-add for me as a comsumer (the company can't force-obsolete the cards by yanking drivers away, easier to switch OSes) and for the company (it makes the devices marketable to more people, and they get free optimizations and ports from the OSS community). On embedded devices it's even sillier, I mean, what good does PalmOS do me if I don't have a Palm? If I were trying to reverse-engineer an nVidia card or a Palm, wouldn't I start with the hardware? And if I did make a 100% Palm-compatible, I could just sponge off Palm's binaries then... ditto nVidia...

      So, why be all grabby about drivers anyway? The cavalier something-for-nothing closed-source approach to open-source support seems vaguely dishonest to me somehow - it just makes me uneasy, and affects my purchasing decisions. If they're so happy to rip off the OSS community, won't they also be happy to rip me off, I ask myself.

      IMO, binary-only is a trap: All it takes is closed-source drivers for motherboard devices, the manufacturer doesn't make a new version of the drivers to support a new kernel, and you're stuck buying a new computer or using Windows. A trap. Since an open driver spec is a value-add for both the consumer and the hardware company, I am very suspicious of proprietary drivers and the motives behind them. Trap. Linux is better off without binary-only taps. I mean drivers.

      • by RevMike ( 632002 ) <{moc.liamg} {ta} {ekiMver}> on Monday December 08, 2003 @08:47AM (#7659042) Journal

        OK, I've wondered about this since the dawn of PCs, and wonder about it every time I have to install nVidia drivers: Why do this? Onceupponatime, you bought hardware and drivers were just kinda there with it. Then they started putting copyright callouts on 'em. Now they're treating 'em as if they were standalone programs....

        If the driver spec is floating around in the open, that's a value-add for me as a comsumer (the company can't force-obsolete the cards by yanking drivers away, easier to switch OSes) and for the company (it makes the devices marketable to more people, and they get free optimizations and ports from the OSS community)....

        So, why be all grabby about drivers anyway?....

        In ye olde days, drivers did nothing more thancanfigure and move data back and forth to a piece of hardware. They were fairly trivial pieces of software, and so no one cared if they were protected. Many types of drivers are still like this today. Network card drivers typically do nothing magical.

        A few generations ago, hardware designers realized that they could offload some of the task traditionally done in hardware to the driver. Thus they could simplify the hardware and save money. The driver for a WinModem doesn't just configure and communicate with a hardware modem, it actually performs in software some tasks that were usually done in the modem hardware itself.

        At this point, drivers aren't trivial programs, but represent substantial investment and competative edge for the hardware manufacturer. If WinModem company B could look at WinModem company A's driver, they would see the tricks that they used in order to reduce the part count that much further. Company B could immitate Company A, and match their price.

        Video cards are like WinModems, although the competititon is not based price but performance. The card manufacturers are using tricks in the driver in order to boost the performance of their hardware. Those tricks may confer to them a competetive advantage, so they won't open source the drivers.

        Smart companies are quick to release software as open source when the software doesn't give them a specific and compelling competitive advantage. Cisco released CUPS as OSS because they felt they would benefit far more from having a community enhance their internal printing system than the would be hurt because Bay Networks could reduce their overhead a few hundred thousand dollars. Cisco is not going to open source their routing software anytime soon, because other router manufacturers could use it to compete against Cisco.

  • by millette ( 56354 ) <robin@ m i llette.info> on Monday December 08, 2003 @04:12AM (#7658137) Homepage Journal
    The article is actually an email thread. It does explain boths views. Here's another look at it from Kevin Dankwardt [linuxdevices.com]. A little dated, sept. 2002, but still relevant today.
  • by Vanders ( 110092 ) on Monday December 08, 2003 @04:16AM (#7658148) Homepage
    This "grey area" exists because there is no clearly defined boundary defining the seperation between the kernel and the drivers. Modules are parts of the kernel which have not been linked yet. When they're required, they are loaded and linked with the kernel.

    The fact that Linus states that there is no exception must worry a lot of companies out there who are producing binary drivers for Linux E.g. nVidia, or SciTech (Who started the LKML thread, after all!) Are nVidia's kernel modules under the GPL? If the possibility exists that they are then I would expect them to suddenly get cold feet over Linux.

    If the kernel had a proper boundary with E.g. a set of API's that the kernel and drivers can use to communicate with each other then it would help to solve the issue of what is and isn't "the kernel". For example in Syllable [sourceforge.net] drivers are ELF images which are loaded by the kernel ELF loader. The drivers are loaded under the kernels memory space but there is a very well defined API between the two, and a very clear seperation between them. Under this model I can argue that the kernel is actually being linked to the driver, so the driver can be under any licence while the kernel remains under the GPL. There is no "cross pollenation" between the driver and the kernel. Which is a good thing IMHO, if it avoids issues like the ones being raised on the LKML.
    • The fact that Linus states that there is no exception must worry a lot of companies out there who are producing binary drivers for Linux

      No, because he immediately explains that it isn't an exception, it's a clarification:

      There's a clarification that user-space programs that use the standard system call interfaces aren't considered derived works, but even that isn't an "exception" - it's just a statement of a border of what is clearly considered a "derived work". User programs are _clearly_ not derived work

  • by ciaran_o_riordan ( 662132 ) on Monday December 08, 2003 @04:18AM (#7658154) Homepage
    LWN.net do some great coverage of this issue in these articles:
    http://lwn.net/Articles/53780/ [lwn.net]
    http://lwn.net/Articles/51561/ [lwn.net]
    These two articles are in relation to Linksys, but they cover the general issue. There have been some other great GPL-related articles on LWN.net if anyone wants to search the site.
  • by kju ( 327 ) on Monday December 08, 2003 @04:20AM (#7658158)
    Linus talks all about linking source with the kernel and stuff like this. But guess what: With most binary modules this part is done by the user, not by the distributor, and this is clearly your right - you just cannot distribute the binary.

    See for example stuff like driverloader (the ndis-wrapper around windows wlan drivers for the centrino and other cards): They are shipping a source which you can compile against the kernel headers (which are provided by YOU!) and will form a kernel module which can be loaded (by YOU!) against the kernel.

    I really can't see how linus can claim copyright to the distribution of any source which happens to run with the linux kernel - but does not contain any part of it. And the enduser is free to compile and link this sources against the kernel, as the GPL allows modifications for own use without any restriction.

    I guess the whole discussion is politics. Linus dislikes binary only drivers (for good reasons: they are unflexible, hard to debug and can cause user confusion and problems) and would like to have them not happen. But i don't think it is helpful to take a extreme shaky legal position (and downright confusing the users by making legal statements which simply do not apply here) to achieve this goal.

    Although i dislike binary-only drivers in general, i came to the understanding that sometimes this might be the best you can get. In the business software world copyright is often a diverse field, and even companies who would like to release the source might be barred from that through NDAs and copyrights of third companies. So some companies have no choice but releasing binary drivers and i'm happy that they do at least that. If all would adhere to linus position we would just keep some users alone out in the rain. I'm all for helping users getting their hardware running. They might have made the wrong purchase in the first (getting a hardware with open sourced drivers would have been wiser), but just saying "tough stuff, you have lost, now go away" won't help them.
  • by the gnat ( 153162 ) on Monday December 08, 2003 @04:22AM (#7658170)
    Linus really calls it the way he sees it, doesn't he?

    Your logic is fundamentally flawed, and/or your reading skills are deficient.

    You are a weasel, and you are trying to make the world look the way you want it to, rather than the way it _is_.

    Wow. I hope someday I'm enough of a badass to be able to flame people like that and get away with it. (That said, it's particularly impressive how Linus can fling these barbs at people and still come off as a reasonable guy, unlike quite a few open-source "leaders". Having a sense of humor seems to help quite a bit.)
  • by MROD ( 101561 ) on Monday December 08, 2003 @04:24AM (#7658176) Homepage
    OK, from the article it seems that merely writing a device driver which uses the kernel module interface automatically makes the code a derived work. Also, building programs which include the kernel header files automatically makes those programs GPL.

    Now, what if someone wrote another standard driver interface, separate from the kernel interface, wrote a device driver which implemented that and then wrote a GPL'd interface wrapper which translated the Linux module interface to that of the new standard?

    Obviously, the wrapper interface code is now a derived work. However, does it also mean that because the new driver which uses a code interface which the GPL'd wrapper implements now is tainted by the GPL?

    Also, does the driver become a derived work if the person who writes it initially does so to get some hardware working on his Linux box, rather than his other box which runs ObsureOS which also implements this standard device driver interface but the person hasn't installed the hardware on that machine yet?
  • by putaro ( 235078 ) on Monday December 08, 2003 @04:27AM (#7658184) Journal

    The SCO case will have some far reaching effects if a sufficiently bone-headed judge rules in certain ways. One of the cornerstones of SCO's "case" is their theory on derivative works: notably, JFS. JFS is in the same category of kernel module as AFS which Linus references. SCO claims that JFS is a derivative work of Unix and therefore falls under IBM's contract obligations and SCO's copyright. Were SCO's theory to be accepted, it would be theoretically possible to try to force AFS to be GPL'd under the same theory.


    An even more interesting stretch of the theorem would depend on how this "derivativeness" would be defined. Why is JFS a derivative work? If it's because it has substantial similarities to other Unix file systems (tree structured directories, permissions) there's an interesting case against MS for NTFS and DOS FAT, as these both have tree-structured directories and MS has been a Unix licensee. Now, wouldn't that be fun. Unfortunately the only entity that could bring that case would be our good friends Darl and SCO at this time.

  • Fair Use (Score:5, Interesting)

    by Anonymous Coward on Monday December 08, 2003 @04:32AM (#7658195)
    So, I think there's lots of things to quibble about here, and appended is part of the law that might prove relevent. I'll try to make a case for a driver company attempting to create a non-GPL driver that uses snippets of GPL'd code in a 'fair use' way.

    The key I think is if you can convince a judge that what they are doing is furthering 'research'. But the rest of the tests obtain:

    1) Binary Linux drivers are generally release with a non-commercial nature - people don't charge for the software (although the opposite case, that you have to buy the hardware, could be argued to contradict this) - specifically, note that the word "including" modifies the two called out styles of use (commercial and non-profit eduacation) - thus other things might very well cause this section to obtain.
    2) The copyrighted work is humungus and designed to be used in explicitly this manner
    3) The portion of the whole is miniscule - it could be characterized as a 'quote' from an original source
    4) The effect on the market value of the copyrighted work can be argued (successfully, I think) to be _positive_.

    One other thing: I am under the impression that you can't copyright tables of raw data (such as names and their numeric mappings), so with Linus, I'd argue the #defines and such don't count for these calculations. The comments can't be said to contribute to the (binary) final work, even if someone read them once. Linus noted, and I agree, the compilable code (macros, subs defined in .h files), is what matters, and not all of the compilable code even in the subset of files referenced are used to create the .obj.

    I think I've made a (albeit shakey) case for 'Fair Use' in this way.

    (ObSCO: I wouldn't be _at all_ surprised if SCO is going to attempt to argue that the overwhelming weight of the detrimental effect of #4 on SCOnix's value will outweigh the relatively trivial amount of infringement of #1, #2, #3 should IBM attempt to suggest fair-use of a couple of lines here and there)

    ------
    Title 17, Chapter 1, Section 107
    Notwithstanding the provisions of sections 106 and 106A, the fair use of a copyrighted work, including such use by reproduction in copies or phonorecords or by any other means specified by that section, for purposes such as criticism, comment, news reporting, teaching (including multiple copies for classroom use), scholarship, or research, is not an infringement of copyright. In determining whether the use made of a work in any particular case is a fair use the factors to be considered shall include --

    (1) the purpose and character of the use, including whether such use is of a commercial nature or is for nonprofit educational purposes;

    (2) the nature of the copyrighted work;

    (3) the amount and substantiality of the portion used in relation to the copyrighted work as a whole; and

    (4) the effect of the use upon the potential market for or value of the copyrighted work.

    The fact that a work is unpublished shall not itself bar a finding of fair use if such finding is made upon consideration of all the above factors.

  • by Anonymous Coward on Monday December 08, 2003 @04:41AM (#7658229)
    I hate binary-only kernel modules, and all kernel modules should be available as source.

    I recently purchased an IDE Raid controller, and naturally I chose one where the box said "Yes! Works with Linux!".

    Sounds great so far, doesn't it? Problem was that the drivers turned out to be precompiled binaries for the kernel shipped with the following distributions: SuSe 7.1-8.0 and RedHat 7.2-9.0.

    I returned the controller and demanded my money back.

    First of all, I ran Debian with a kernel not supported by the binary drivers.

    Second, with these kernel-spesific drivers I would be unable to upgrade my kernel (what if an dangerous kernel exploit is found?)

    Third, "Yes, works with Linux!" is a lie. What the label should say is "Yes, works with a couple of Linux kernels!"

    Fuck the binary drivers. I don't see the point. It's not like they would loose money by giving away the source to the driver -- they'll sell the hardware anyways, won't they!?
    • That's not true, they might lose money...

      The IDE Raid controller you're talking about uses some functionality which I have a patent on. To make this functionality work the driver includes some code which of course I wrote and are the copyright owner.
      I see no point in releasing any of my code as that would lower my income, because none of the manufacturers would need to buy my code anymore...

      Ok, I admit, I'm not holding any patents and didn't write any driver code that's included in any RAID driver (not th
  • by MisterFancypants ( 615129 ) on Monday December 08, 2003 @04:53AM (#7658267)
    With Windows and other OSes, there is a clearly defined API that drivers code against to work with the system. In the Windows case this is *required* because the driver authors do not have the Window source code (well, most of them don't). If Linux had something similar to the Windows DDK, this would all be a non-issue as that API would become a clear boundary of where the GPL ends and commercial company lawyers wouldn't have a near-heart-attack worrying about this huge (in Linus' words) 'grey area'.

    I know some people just hate the idea of binary drivers to begin with, and if that is your stance, fine; I don't agree, but I understand where you're coming from. But if you're going to allow binary modules (as Linux does), why do it in such a half-assed fashion that a company that might provide a Linux driver can't be sure one way or another how you're going to view their code (exempt from GPL or bound by it)? Either do it right and enforce a clear boundary or just stick with source only drivers.

    • An even better alternative would be for the proprietary part of the driver to be a provider of a public, documented API, so that anyone could write a driver for it for any OS, instead of it being a consumer of some particular OS driver API. This would completely eliminate the need to use any GPL'd code in the proprietary driver binary.

      Such an API could (and in many cases should) conceal proprietary aspects of the associated hardware, and in so doing perhaps remain stable for more than one generation of

  • Original purpose (Score:4, Insightful)

    by tjackson ( 50499 ) on Monday December 08, 2003 @05:01AM (#7658298) Journal
    The original purpose of restricting derived works was to make it so that authors (companies or not) could not copy code from the public domain and claim it as private work, No?

    Kernel Modules cannot exist without the Linux Kernel. This dependancy means that any part of the Kernel Module that depends on the kernel for *module* interface purposes is not derived work. It is when authors base their code off of other code that is in the GPL that they must in turn release thier code under the GPL.

    So in short, if the module could have been written entirely with Manpages and documentation, it is not derived work. If the author views the code of other modules, then it is derived work.

    Deriving functions and invoking them are two very different things.
  • by Akai ( 11434 ) on Monday December 08, 2003 @05:15AM (#7658337) Homepage Journal
    I'm no C expert, but I imagine there is a to get a list of available functions from the kernel, some query or another. One that is available, at least as root, from userland. Something like how the System.map file is generated from a kernel compile.

    If this facility exists, would a dump of the function calls in the kernel, with apropriate calling information (data types, number of parameters, etc) converted info a new set of .h files (which don't contain any inline'd code, just function defs), would the resulting .h files be considered GPL? After all if I use a GPL word processor, my documents are not GPL'd, right?

    In ethical belief, I side with the GPL-only crowd, in the rome-wasn't-built-in-a-day argument, binary drivers wins for me.

    If I were NVidia, which seems to be both the most loved and most hate bin only driver, I would see if it was possible to move all protected/proprietary code to the X11/GLX driver. X11 has full (or near full) access to the system a t a low level, and it's BSD licensed so no toes are stepped on.
  • by tr0llx0r ( 730590 ) on Monday December 08, 2003 @05:18AM (#7658345)
    Several issues need to be more clearly defined before the forest is seen for the trees.

    The phrase "Her bosom heaved..." can probably be found in 152,234 fictional books. If I add a few more words, it becomes a sentence and can probably be found in 1,289 books.

    Derivation means you take the original work which has some 'body' of substance and add or subtract to it. Using less than that results in an excerpt. We know that excerpts can be used all over the place. There is also a difference in whether the material is 'instructional' in nature. Significantly more leeway is given. The kernel and associates aren't 'instructional'.

    Simply including one line of a system or function call will not make a work a derivation. Including a file (or, even if not a 'file') of substantial body will make a work derivative. Two people writing a play may write separate acts which are then combined and published. Their final work is not one derived from another, but a shared work - joint equal ownership. If they individually copyright their own 'act', the joining would be derivative - the former not.

    Binary code is a derivative work. It could not have occurred without the source file. But is it a copyright derivative? Colorization of B&W films results in new copyright, but also contains information for the 'source' that is identifiable. Binary code doesn't except for strings which might appear.

    If I use a proprietary compiler on a GPL code, I get a binary. In one sense, it's derivative. In another, it's not. If I create my own scrambler, and process the novel Gone with the Wind text, is that new work a copyright derivative? I think not. This may even imply that using a GPL compiler on GPL source may result in a work that is -not- GPL because it could only be created via the creators unique use of the tools.

    Joining a transmission to a motor will not result in copyright infringment over either the motor or tranmission, without regard that they have complex connectivity, assuming there were only separate copyrights beforehand. Patents aren't an issue either provided there is one for the motor and one for the transmission.

    Whoever put the two together can sell it or use it as they wish.

    Titles cannot be copyrighted. For more protection over things like system or function calls which may be specific to Linux, it may be necessary to do more legal legwork. For example, it may be necessary to assign a trademark to the function one-liner. Overkill? Not in todays legal world. Perhaps a GPL for trademarks used in Linux will become necessary.
  • Think Back (Score:5, Insightful)

    by ajs318 ( 655362 ) <sd_resp2@earthsh ... minus herbivore> on Monday December 08, 2003 @05:46AM (#7658420)
    My second printer was a Citizen 120-D 9-pin mono dot matrix, and it was also very Epson-compatible. It had a beautiful programmer's manual replete with examples of how to access each feature, from simple double width text to high-density image graphics, and even went so far as to provide timing details for the Centronics interface. {Hey, you might be plugging the thing into some device of your own construction}. It was even known for owners of EPROM burners to patch the charsets to match certain manufacturers' non-strict interpretation of ASCII {the BBC model B, for example, had a pound sign at CHR$(96) instead of a backtick, so it could keep the comment mark at CHR$(35) - a comment in BASIC is denoted by REM, but the # was used to specify immediate mode in assembler}.

    Compare and contrast that with today ..... you get a Quick Start guide which says "Plug the printer into your computer. Do exactly what Windows tells you to do" and a huge manual, replete this time not with useful programming information but with dire warnings about attempting to do anything "unauthorised" with the printer, and it probably illegal to examine the printout with a magnifier to see how the fonts are made up.

    IMHO the lawful owner of an instrument has the right to know everything about that instrument. My property can, by definition, contain no secrets from me {though I might reasonably be bound to keep any secret I discover}. It's time that this was enshrined into law. If you can't handle the concept of people knowing how to write drivers for your hardware then you perhaps shouldn't be selling it. Mandatory Full Disclosure would put an end to this argument once and for all.
  • by mumblestheclown ( 569987 ) on Monday December 08, 2003 @05:48AM (#7658426)
    From what i get of linus' posts, he seems to take an (from his standpoint) overly optimistic view of what "derived" works are.

    By his definition, if X was created primarily to work with the linux kernel, then it is a derived work, and therefore falls under his copyright regimen of choice (GPL). this is like saying that if you make a super efficient oil filter that was clearly designed exclusively for mercedes engines, then mercedes can tell you how to sell it.

    while mercedes clearly has the right to protect its trademarks and copyrights, as long as the oil filter maker doesn't pass it off as anything but an aftermarket job, his business is secure. this is true whether the aftermarket add-on fits onto an easily identifiable interface (the little bit that the oil filter screws on to) or not (those places that hack up a whole mercedes and turn it into a stretch limousine or something - though the latter may well run into trademark issues if they are not careful).

    yes, software is not like physical items in many instances. but, in this one, it is.

  • Depends (Score:3, Interesting)

    by famazza ( 398147 ) <fabio.mazzarino@ ... com minus distro> on Monday December 08, 2003 @06:14AM (#7658498) Homepage Journal

    It depends rather the module uses or not other GPLed files, either source or headers.

    It's as simple as MS claims to be. GPL infects everything it touches. If you use any header or any source code from Linux kernel (or whatever GPLed code) it MUST be released under GPL.

    But this is theory. We must avoid problems with this kind of GPL violation in order to keep major non-free drivers avaiable. (oh no, if Stallman sees me talking like this... :o) At this moment popularity is also very interesting.

    Let's not become like SCO.

  • by jonwil ( 467024 ) on Monday December 08, 2003 @06:58AM (#7658610)
    that sometimes there is no other choice.

    For example, try to find a combination of GPU and drivers that is good enough to play linux games like Neverwinter and Unreal or emulated games through WINE that is 100% open.

    You cant.
    I suspect that even if you were able to completly Reverse Engineer (through disassembly or otherwise) the windows or linux Binary-Only drivers and/or the interface and hardware APIs for and from that, make an open source driver, you would probobly be violating several patents or other IP thingos and would have your ass sued by the makers of . Also, the makers of would probobly state that using the code means you get no tech support, no warranty, no nothing. Plus, the makers of would get some kind of court order to state that since the open source driver violates the patents etc that distributing, using or working with it is illegal and have all the copies in existance removed.

    Also, 802.11* wireless network cards. I dont know of any 802.11* wireless network cards that have 100% open source drivers for linux except for 1 or 2 that have been Reverse Engineered by someone. For those, you dont get technical support, you may not get warranty service and the manufacturers would probobly shut down the Open Source driver projects if they had a way to do it.

    Personally, I love Open Source and Open Specifications (i.e. Open file formats, Open APIs, Open network protocols, Open hardware interfaces etc) and push for such things wherever I can. (I was involved in a push to get Electronic Arts to release stuff connected with the gameplay scripts for Command & Conquer Renegade. They didnt release it. But in the end, I wrote my own DLL that sits between the game exe and the official DLL and allows one to implement ones own scripts but its still nowhere near as good as having the official stuff would have been)
    • by Just Some Guy ( 3352 ) <kirk+slashdot@strauser.com> on Monday December 08, 2003 @10:06AM (#7659512) Homepage Journal
      For example, try to find a combination of GPU and drivers that is good enough to play linux games like Neverwinter and Unreal or emulated games through WINE that is 100% open.

      The problem is trying to determine causality. You could equally argue that were it not for NVidia's binary drivers, there would've been enough need for someone to have spent the time and money to reverse engineer an MX-400 and build good open source drivers. From that point on, NVidia would have a vested interest in supporting the community drivers with their new boards, since it would be cheaper than maintaining their own in-house closed drivers.

      Instead, they beat us to the punch, and removed 99% of the motivation to do it "right".

  • by penguin7of9 ( 697383 ) on Monday December 08, 2003 @07:14AM (#7658655)
    Basically:
    - anything that was written with Linux in mind (whether it then _also_
    works on other operating systems or not) is clearly partially a derived
    work.
    - anything that has knowledge of and plays with fundamental internal
    Linux behaviour is clearly a derived work. If you need to muck around
    with core code, you're derived, no question about it.
    I think arguing what is a "derived work" is both dangerous and unnecessary.

    It's dangerous because if Linus's argument actually holds, than Microsoft can legitimately claim that Mono is a "derived work" from .NET and SCO can legitimately claim that Linux is derived from UNIX. Fortunately, courts, so far, do not seem to have agreed.

    It is also unnecessary because the kernel falls under a license. A license can state under what conditions something can be used. Whether or not the GPL has enough teeth, you could certainly write an open source license under which any module developed using the Linux kernel must itself have an open source license. Or you could write an open source license that explicitly prohibits the linking of closed source modules into the kernel. That makes the question of whether something is a "derived work" or not irrelevant and still enforces the intent.

    Now, we only need to figure out what the intent should be. Do we actually want closed source kernel modules?
  • by Otis_INF ( 130595 ) on Monday December 08, 2003 @07:30AM (#7658711) Homepage
    You don't have to agree with me, but I can only conclude that the restrictive GPL with its vague derived work clause is hurting Linux: a company won't put trade secrets into a binary driver to run the risk of losing these trade secrets because of a lawsuit based on the GPL which states that the binary only driver has to be opened up because it violates the GPL.

    OR get a proper system into place like in Windows, for kernel modules so the modules are not 'derived works' (calling kernel modules derived works is pretty stupid IMHO, but that aside) OR live by the fact that not a lot of hardware vendors will offer drivers for their hardware. (which then results in the 'home brewn' drivers which are not always up to par).

    Reading all the comments here I simply can't understand why so many people are so hardheaded. Don't you see / understand that to make Linux an OS with great support for a LOT of hardware, you have to convince hardware vendors their drivers will not be part of a GPL-case? Apparently not.
  • -1 Flamebait (Score:5, Informative)

    by brunes69 ( 86786 ) <slashdot@keir[ ]ad.org ['ste' in gap]> on Monday December 08, 2003 @08:15AM (#7658891)
    Companies like NVidia provide binary-only modules because they have to. Their code contains stuff that is patented and licensed from other companies, and they *cannot* legally release that code.

    For example, NVidia's linux drivers contain S3TC tecxture compression algorithms, which is patented and licenssed. It is not theirs.

    They CANNOT open source these drivers, nor could Linux developers create an implementation of them without being sued by the company who owns the rights.

    And people just don' t seem to get this and it really really pisses me off. NVidia is just trying to do The Right Thing (tm), releasing Linux drivers at a LOSS nonetheless ( you think they make enough on Linux-owner sales of their cards ot cover these programmers salaries? I doubt it. ), and all the community does is flame them. No wonder hardware companies are so hesitant to support Linux in any shape or form.

    I also need to throw this in to close... I don't know what people's problems with these drivers are. I have been using them since version 1043 (3+ years), and I have *NEVER* had a problem that wasn't fixed by reading the FAQ. And their feature and 3D support totally blows away any of the open source drivers (ATIs always lag 1-2 years behind the release of a card, and they still don't have all the features of the windows ones like FSAA and anisotropic filtering, while NVidia has had them for years).
    • Not likely anyone will see this at this point but I just had to say something.

      What pisses me off are the, as was said, hardheaded people who are of the immovable position that either a driver is open source or it's evil. Or worse, those who say that either it should be open source or not exist!

      You correctly, finally someone did it, pointed out that even if nvidia wanted to release their drivers under the GPL they can't! The owners of S3TC would own them inside of a week.

      And it is not a bloody solution t

  • by Nemosoft Unv. ( 16776 ) on Monday December 08, 2003 @08:25AM (#7658953)

    So far, most posts in here have been about binary only drivers provided directly by hardware vendors. My case is somewhat different, yet if I read everything correctly, I could still be affected by all this.

    I am the author of the Linux Philips webcam driver [demon.nl], which supports a lot of Philips and Logitecht webcams, and a few others. This driver has been in development for nearly 4 years, has been formally introduced into kernel 2.4.5 and has been in continual support by yours truely ever since the first public release, some 3 years ago. Now here's the catch:

    Part of the driver (PWC) is Open Source, even in the kernel under the GPL. With it, you have a functional webcam driver, but there are some limitations; you can't get the full resolution and not as high as framerate as is possible. For that, you need a binary only plugin, called PWCX. It contains decompression routines that allow you to use the cam at its full performance. These decompression routines fall under an NDA and are thus not public. Judging by the number of mails and webvisitors [nedstatbasic.net] I think this driver has been quite a success. And now this may no longer be possible.

    The point is, that by the strict interpretation held by Linus et al. I can no longer make this PWCX driver, thereby depriving a lot of users of a useful bit of hardware. Or at least make it quite a bit less enjoyable. I might as well remove the PWC driver altogether form the kernel then, hmm?

    First off, I feel sorry for the thousands of Linux users that use my driver (PWC and/or PWCX) and may no longer be able to do so. Second, I'm getting pissed off beyond measure by this Open Source fundamentalism because it is my driver that may be turned into a worhtless piece of code.

    It is my ass here that's on the line; I signed the NDA with Philips and if I goof up and accidently post the decompressor code or fail to protect it properly, I will be the one standing in court, not Linus. Second, I went through all the trouble of getting in contact with Philips, trying to convince them to help the Linux community and indeed they have, and I commend them on that. But they have their reasons to shield some parts from prying eyes (read: competition) and I can't blame them. So that's why there's and NDA and it's even fairly relaxed. Without the NDA there wouldn't even have been a driver.

    BTW, Philips spent exactly 2 webcams and a couple of manhours on getting the paperwork done in order to get their product supported in Linux for 3 years across 3 major kernel versions, including online helpdesk. I think that's damn cheap. I cannot count the hours I spent on programming and debugging and tracing intractable bugs, not to mention the time spent in helping users by e-mail. I've also spent many an hour to get this PWCX module crosscompiled to various hardware platforms in order to extend it's Linux usage as much as possible. Now that may appearantly all have been a big waste of time. Thank you very much!

    No, it is time to realize for anybody who thinks that the GPL is the Holy Grail of computing that this is not going to work. You cannot force anyone to oblige by a volountary license (because that's what the GPL is: nothing more, nothing less). As I wroting in my piece on tainting the kernel [demon.nl], if you make it any harder for (hardware) vendors to support their product in Linux, they'll drop it like a brick because they don't have to. This way Linux will never gain any real acceptance.

    Finally, it's also not very wise to piss off people like me, who are doing their best, and made some small yet clearly apreciated contribution to Linux. I would also rather have a complete Open Source solution, but I'm realistic enough to know that is not possible in this Universe. So I think I've struck quite a good comprise. But if I am being told now: "well, that isn't good enough", I might just throw in the towel in the ring altogether.

    - Nemosoft

  • Don't push it... (Score:3, Insightful)

    by OneFix at Work ( 684397 ) on Monday December 08, 2003 @10:31AM (#7659710)
    The reason most of these companies develop binary-only modules is to keep a leg up on their competition. Put simply, companies like nVidia don't want ATI or Matrox getting hold of their improvements. Some drivers include proprietary technology and speed or quality improvements that either can't or (in the interest of profit) shouldn't be open.

    Hardware manufacturers have very little that sets them apart from each other. Their biggest concern is that the driver source code would give away how the hardware works and therefore would show their competitors how to implement their technologies.

    Let the hardware manufacturers develop their binary only modules. It's better than what we've seen with the wireless market...which is what we would likely see if we started spouting "show us your source code" to all of the hardware manufacturers that choose to make binary only modules...

    And of course the other reason for a binary module is to charge for it (like is being done with Linuxant's DriverLoader) but...just like anything else worthwhile, there is already an open sourced [sourceforge.net] equivalent under development.
  • by Sloppy ( 14984 ) * on Monday December 08, 2003 @12:44PM (#7660697) Homepage Journal
    If a piece of code is a derived work, then the license Linus chooses (the GPL) sets the terms, and the issue of "linking" and so on, is relevant. If a piece of code is not a derived work, then the GPL, the contents of the COPYING file, and Linus' desires, are irrelevant. When Linus tries to refute Larry McVoy's excellent point, Linus shows he's very aware of this:
    But a license only covers what it _can_ cover - derived works. The fact that Linux is under the GPL simply _cannot_matter_ to a user program, if the author can show that the user program is not a derived work.
    although he then shows a little confusion:
    Does that mean that any kernel module is automatically not a derived work? HELL NO! It has nothing to do with modules per se, except that non-modules clearly are derived works (if they are so central to the kenrel that you can't load them as a module, they are clearly derived works just by virtue of being very intimate - and because the GPL expressly mentions linking).
    (I say this indicates confusion, because of his reference to "because the GPL expressly mentions linking." What the GPL says is irrelevant in discussions of whether something is or isn't a derived work.)

    I think it would be interesting to see the support for these two statements:

    There are areas that are not gray at all: user space is clearly not a derived work, while kernel patches clearly _are_ derived works.
    and
    Basically:

    - anything that was written with Linux in mind (whether it then _also_
    works on other operating systems or not) is clearly partially a derived
    work.
    - anything that has knowledge of and plays with fundamental internal
    Linux behaviour is clearly a derived work. If you need to muck around
    with core code, you're derived, no question about it.
    Where's he getting this stuff? I have serious doubts that copyright law contains the words "user space" anywhere. So just what causes that distinction to exist? My guess is that he's making it up (with the best intentions and desire, of course).

    That one about "anything that was written with Linux in mind" is particularly amazing.

  • by yeremein ( 678037 ) on Monday December 08, 2003 @01:01PM (#7660847)
    ...that include Linux kernel header files?

    Linus commented in the LKML thread that "YOU CAN NOT USE THE KERNEL HEADER FILES TO CREATE NON-GPL'D BINARIES" (emphasis in original).

    I've written a userland program for my company that #includes a single kernel header file (linux/nbd.h, the network block device).

    It's mostly of academic interest, since my company has no plans to ship this program, but does #include'ing that GPL'd header file mean that the program must now be GPL licensed?

    I didn't think so, since I'm not getting any actual GPL'd code in my own program (just #defines for ioctl() numbers, and a couple of struct definitions), but Linus's comment seems to say otherwise.
  • This is pathetic (Score:4, Interesting)

    by pclminion ( 145572 ) on Monday December 08, 2003 @01:05PM (#7660881)
    This is exactly why I'm choosing the BSD license for my code. If you want my code, by all means USE it. By all means CHANGE it. In binary form if you wish. All I ask is that you don't claim that you WROTE IT yourself.

    More and more these days, I view the GPL as moralistic masturbation. It's pathetic and sad. There are plenty of other things in this world that are worth being moralistic about. I don't see how software development falls under the same heading as "helping the homeless" or "stopping persecution" or any of those things we really ought to give a shit about.

    Sorry, but I just don't want to waste my energy on that crap. My primary objective with my code is for people to USE it. Not to sit around smoking cigars with the boys arguing over who has a "right" to it. Grow up and find something worth fighting for, for chrissake.

You can be replaced by this computer.

Working...