Re: [PATCH] 2.5.6 IDE 19

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 11 Mar 2002 16:58:49 +0000 (GMT)


> You are claiming this repeatidly. But please just send me the f*cking
> strace and I will beleve you. Or point me at the corresponding docs.

You tell me how to strace the bios for one

> I see no special purpose Win2000 microdrive drivers on IBM.

No because Microsoft implement the bloody standard in the first place. It
works very nicely in MS systems. It works ok in 2.4.18 except with a couple
of boxes that don't poke the drive from the APM layer (eg IBM PC110)

> And I suppose you don't even *own* an IBM MicroDrive. And please

If you wish to call me a liar, why not do so directly ?

> some required functionality by now. Just to satisfy your imagination of how
> broken an implementation of the ATA firmware could be isn't a reaons.
> If you have a damn Micro Drive, then feel free to add the required wakeup code -
> you are all welcome. But please don't implement it as cat jksadfgkjhasdjkf >
> /proc/some/wried/stuff.

I've got a nice working 2.4 system thank you. I don't have time to rewrite
the IDE layer at the moment. The fact that every 2.5 I've tried either
crashed or corrupted my filesystems the moment I did anything load related
with it (eg cerberus) convinces me its not something I have time to even
consider yet.

> > promptly, or on power off. I'd like to see what you plan to do about all
> > the IBM disks you plan to mistreat and give bad blocks that require a
> > reformat ?
>
> For gods sake:
>
> 1. How is Win2000 going to work then?

Because its standards compliant. It wasnt written by a half clued wannabe
who has never read the manuals and can do nothing but call people who have
a "liar". And a standards compliant implementation does all the right power
management commands. Win 98 didnt quite get it right and you'll find one
of the updates addresses IDE problems. Ironically fixing the same flush
cache and shut down politely problem you plan to break in Linux

> 3. Why are *all the other* ATA drivers in different operating systems
> such easy on this matter and generally much simpler leaner and more
> readable then the Linux one?!

For the other reason - they are better written. But a driven can be both
well written and correct. Its quite apparently you don't care about "correct".
If your design is not rigorously following the standard (plus the usual
amount of vendor got it wrong slop) then bad things will occur.

I'm not arguing that Andre's code is good, or that it doesn't need
some serious redesign. I'm just suggesting it would be a good idea if whoever
wrote it new what the hell the were doing, or at least spent the time to
understand the ATA documentation and implement it.

Now contrary to your claim I do have an ibm microdrive, do you have the
ATA specs, have you ever read them ? I really doubt it.

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