Re: Changes to ide-probe.c in 2.6.9-rc2 causing improper detection

From: Jens Axboe
Date: Tue Sep 14 2004 - 06:28:10 EST


On Tue, Sep 14 2004, Alan Cox wrote:
> On Maw, 2004-09-14 at 08:15, Jens Axboe wrote:
> > printf("issuing FLUSH_CACHE: ");
> > if (ioctl(fd, HDIO_DRIVE_TASK, args) == -1)
> > printf("failed 0x%x/0x%x!\n", args[0], args[1]);
> > else
> > printf("worked\n");
>
> Drive acked the command is all that proves. Maybe its a nop, maybe it
> does it, maybe like the last time someone engaged in this kind of "lets
> not check" approach it erases your firmware and leaves your CD-ROM drive
> defunct as the Mandrake error of the same form did.

Alan, you are sounding like a broken record :)

--
Jens Axboe

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