A bug between kernel and hdparm

H.J. Lu (hjl@valinux.com)
Fri, 5 Nov 1999 09:10:32 -0800 (PST)


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.

-- 
H.J. Lu (hjl@gnu.org)

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