linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ralf Müller" <ralf@bj-ig.de>
To: Mark Lord <lkml@rtr.ca>
Cc: Adrian Bunk <bunk@stusta.de>,
	linux-kernel@vger.kernel.org, jgarzik@pobox.com,
	linux-ide@vger.kernel.org
Subject: Re: hdparm -C always give drive state is standby (was: Kernel panic with 2.6.15-rc7 + libata1 patch)
Date: Tue, 03 Jan 2006 17:53:04 +0100	[thread overview]
Message-ID: <43BAABF0.7080507@bj-ig.de> (raw)
In-Reply-To: <43B93375.1020701@rtr.ca>

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


      reply	other threads:[~2006-01-03 16:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <43B724BA.90405@bj-ig.de>
     [not found] ` <43B7EA0A.7040805@bj-ig.de>
2006-01-01 14:57   ` Kernel panic with 2.6.15-rc7 + libata1 patch Adrian Bunk
2006-01-01 16:43     ` Ralf Müller
2006-01-02 14:06       ` Mark Lord
2006-01-03 16:53         ` Ralf Müller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43BAABF0.7080507@bj-ig.de \
    --to=ralf@bj-ig.de \
    --cc=bunk@stusta.de \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@rtr.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).