Re: hdparm -C always give drive state is standby (was: Kernel panicwith 2.6.15-rc7 + libata1 patch)
From: Ralf Müller
Date: Tue Jan 03 2006 - 11:52:13 EST
Mark Lord schrieb:
Ralf Müller wrote:
A further problem is that calling "hdparm -C" _always_ give "drive
state is: standby" - even when the disks are clearly active. Maybe
this indicates something to you.
MMmm.. yes, it does that here, too.
This is probably a bug somewhere in the libata passthru code,
or in the HDIO_* translation code.
If I'm right that this should be handled in "ata_cmd_ioctl()" then there
is no copy_to_user() at all for WIN_CHECKPOWERMODE[12] - so there is
no chance to get data back. Are there any known plans to fix this?
Ralf
-
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/