LWN.net Logo

Study: Linux nears Windows XP usability (ComputerWorld)

Study: Linux nears Windows XP usability (ComputerWorld)

Posted Aug 6, 2003 17:15 UTC (Wed) by Peter (guest, #1127)
In reply to: Study: Linux nears Windows XP usability (ComputerWorld) by mmarq
Parent article: Study: Linux nears Windows XP usability (ComputerWorld)

You forgot to mention Linus himself, in the beginning,... the problem with UDI was, as you said it, WHO controls it and HOW that control happened.

No, the real problem with UDI was that it was a fixed ABI. From what I remember, Linus has never been in favor of those, UDI or otherwise. If you disagree I'd very much like to see a cite.

Basically, nobody in the Linux kernel development camp wants the burden of supporting a fixed ABI. Have you read LWN's 2.5 Driver Porting series? In the last couple of years, all kinds of things have changed that some or all device drivers must adapt to. If Linux had an officially supported layer like UDI, each one of those changes would either (a) not have happened at all, or (b) left behind a UDI compatibility interface.

And, over time, those UDI compatibility interfaces would get more and more crufty, and less and less efficient compared to "native" code. There is a reason Linux kernels are something like 1/4 the size of AIX kernels, and I for one would like them to stay that way.

There's also the small matter of not wanting to encourage vendors to produce proprietary drivers. There are all kinds of disadvantages to these. Just ask Microsoft if you don't believe me: every time Windows crashes, it's because of a poorly written third-party driver. You laugh, but there's more than a little truth to it. Besides the code quality problems, the simple fact is that vendors who produce binary-only drivers never do so for any respectible subset of architectures Linux supports. Usually it is i386-only, sometimes even narrower: ask any Windows gaming hardware freak about using the latest and greatest hardware with a Cyrix CPU, circa 1998.

Ah well, I don't know why I'm even posting. Anyone who argues for a module ABI either does not understand, or does not agree with, such core Linux kernel goals as speed, elegance, portability and not making arbitrary compromises just to support vendors who refuse to participate.


(Log in to post comments)

Study: Linux nears Windows XP usability (ComputerWorld)

Posted Aug 6, 2003 19:31 UTC (Wed) by mmarq (guest, #2332) [Link]

To the heart of the matter.
FIXED ABI
What is the law that states that an ABI has to stay fixed for ever?...that is the problem with M$, that makes nobody really code to WDM.

I "can imagine" an ABI is a burden to maintain and it can limit severely "wilderness" above that layer,... hey but isnt Linux now all about compatibility and stability?,... and isnt that also why there is in kernel modules so that we can have a compartment of diferent codes mechanisms ?...

So cant we have, example, ALSA be made a "super-module", that is, a module that has none dependency to other equal "super-module" and at the same time is an ABI to all lower level "AUDIO hardware device drivers", that are outside of kernel and interfacing via DKMS ??

We can have also, a in kernel D-BUS mechanism so that a "AUDIO hardware device driver" for the ALSA API/ABI can communicate whit a "TVcapture hardware device driver for the V4L API/ABI without engaging in strange dependencys!... When ALSA API/ABI CHANGE that DOSENT mean V4L API/ABI HAS TO CHANGE to.

I dont know about AIX an it UDI implementation, but i belive the problem is that it try to be an unified vision allover,... but whit diferent ,example, API/ABI for ALSA and V4L most of code remain inside the ALSA or V4l structures, inside the kernel as modules, and as native code as it is possible.

For all propose this is a "Multiple" abstration layers "Split" driver model
that lieave to hardware industry little they can do with closed proprietary drivers, but also gives them a word to say when a API/ABI change...

The actual paradigma is to continue, now that 2.6 is about to burst, to try to fix 1 to 2 years old "hardware device drivers" because hardware industry dont disclose technical data for the brand new stuff... and in the end is not hard to imagine, isnt it, a kernel that has equal hardware support than windows but wich sources are about 1 Giga, and toke 4,5 or 6 years to get to the stable version... IT COULD BE THE COLAPSE OF LINUX!

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds