LWN.net Logo

Quote of the week

Quote of the week

Posted Dec 17, 2004 2:02 UTC (Fri) by mbp (guest, #2737)
In reply to: Quote of the week by elanthis
Parent article: Quote of the week

You complain to RedHat and/or the hardware vendor, and get them to release a new kernel package which supports the right driver. Installing random drivers yourself would void your expensive RedHat support contract and your even more expensive binary application certification. RedHat support new hardware in updates, sometimes by backporting to a previous kernel.

Leaving aside the RedHat model, you seem to be saying you would like to be able to use a driver released with (say) 2.6.10 without upgrading from 2.6.4. *Even if* Linux had backward-compatible driver interfaces (and I believe Greg when he says they're a bad idea), this wouldn't work. The new driver might depend on new features which don't exist in 2.6.4. The only fix for this is a manual backport, which could be done either by a distribution or by the driver maintainer.

What you want would require not only back- but forward-compatibility: in other words, all internal kernel interfaces must be frozen for the duration of a branch. That's an entirely different development model to what the kernel uses now, and it probably wouldn't scale up.

As Greg and others have offered: if *you* want to do a stable fork of the kernel at any point and backport only the changes you think worthwhile, feel free.


(Log in to post comments)

Quote of the week

Posted Dec 17, 2004 13:07 UTC (Fri) by mrshiny (subscriber, #4266) [Link]

You're right, a driver written for 2.6.10 might not work on 2.6.4. But
the thing about a stable API is that people could write drivers for 2.6.0
and it would work on 2.6.10; that's what would happen in practice if
vendors were trying to support a large number of linux users. Driver
writers could make the choice about what they want to support, based on
their users's needs, and write to that API. They could pick a version,
and know that from that version on, the driver will work, until 2.8 comes
out. With the current model, a driver written for 2.6.x may not work for
2.6.x-1 or 2.6.x+1.

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