Re: A bug between kernel and hdparm

Jens Axboe (axboe@image.dk)
Fri, 5 Nov 1999 18:47:22 +0100


On Fri, Nov 05 1999, H.J. Lu wrote:
> Hi,
>
> There is a bug between kernel and hdparm. hdparm can change the setting
> on an IDE device. For example,
>
> # hdparm -d1 -X 18 /dev/hda
>
> will change the DMA mode on /dev/hda. However, the change is not
> updated in the kernel data structure for hda. As the result,
>
> # hdparm -i /dev/hda
> # hdparm -d1 -X 18 /dev/hda
> # hdparm -i /dev/hda
>
> will not show the DMA mode change on /dev/hda.

The way I understand it, -i will print original drive information
obtained at boot. A plain hdparm shows DMA info correctly
here.

-- 
*  Jens Axboe <axboe@image.dk>
*  Linux CD-ROM Maintainer
*  http://www.kernel.dk

- 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/