1 |
On 2011-09-27, Michael Orlitzky <michael@××××××××.com> wrote: |
2 |
> On 09/26/11 16:13, Grant Edwards wrote: |
3 |
>> |
4 |
>> That's hilarious. |
5 |
>> |
6 |
>> The Linux developers are _constantly_ changing APIs in ways that break |
7 |
>> existing device driver code. There are repeatedly wholesale |
8 |
>> re-designs of some APIs that happen between minor versions of a |
9 |
>> supposedly "stable" kernel. |
10 |
>> |
11 |
>> We have to touch our NetBSD and FreeBSD drivers maybe once every 3-4 |
12 |
>> years. Often our Linux drivers have to be updated every 3-4 _months_ |
13 |
>> to keep up with changes in the kernel that break things. |
14 |
>> |
15 |
>> I suppose one could try to claim that people who ship Linux drivers |
16 |
>> for their hardware aren't "users" of the kernel, and therefore our |
17 |
>> dealing with such breakage isn't a "user experience". |
18 |
>> |
19 |
> |
20 |
> Contribute your drivers upstream. When the devs change an API, they'll |
21 |
> update your code for you. |
22 |
|
23 |
That sounds good, but in practice it doesn't work. |
24 |
|
25 |
1) The kernel developers don't support any existing customers. Bugs |
26 |
are only fixed for customers who are willing to run the next |
27 |
kernel verison. I've got customers that are still running 2.4 |
28 |
kernels. 2.6.18 is still widely used. Will the kernel developers |
29 |
add new features, support for new hardware, or fix bugs for those |
30 |
customers. Not a chance. |
31 |
|
32 |
2) The kernel developers only make sure that drivers compile. They |
33 |
don't have the hardware or knowlege required to actually test |
34 |
them. One of our drivers _is_ in the kernel. Sure, it builds, |
35 |
but AFAIK, it hasn't actually worked for at least 10 years. |
36 |
|
37 |
Trying to maintain two drivers (one in-kernel and one out-of-kernel) |
38 |
just creates twice as much work for no gain. |
39 |
|
40 |
-- |
41 |
Grant |