Re: Kernel interface changes (was Re: cdrecord problems on recent Linux versions)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 4 Feb 1999 01:30:13 +0000 (GMT)


> Cdparanoia uses the HDIO_GET_IDENTITY ioctl. It is not the only
> package that uses it. Cdrecord, cdda2wav and pcmcia services (!) all
> got nailed by this change. From 2.0.33 to 2.0.34 (sorry, I
> misreported this earlier as 2.0.34->35. 2.0.33->34 is correct), the

Yes I found it in the end. Thats a "ioctl should have changed number" case.
The next step up on the IDE info ioctl did get this right Im glad to say

> size of the argument struct passed to the ioctl grew... And the extra
> bytes were padding! They held nothing. They added no functionality.
>
> How were these pagakes 'incorrectly coded' such that they could have
> expected this change?

That one is a bug. No argument.

> way. *No* program dynamically linked against a previous version would
> function any longer because the lookup tables in the compile-time
> headers changed. This is not a minor bug! Nor has this kind of bug
> been a rarity.
>
> *That* is my problem.

No argument.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/