lkml.org 
[lkml]   [2006]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2006-01-03 17:56    [W:0.050 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site