Messages in this thread | | | Date | Tue, 03 Jan 2006 17:53:04 +0100 | From | Ralf Müller <> | Subject | Re: hdparm -C always give drive state is standby (was: Kernel panic with 2.6.15-rc7 + libata1 patch) |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |