linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tyler <pml@dtbb.net>
To: "Dieter Stüken" <stueken@conterra.de>
Cc: Linux IDE Mailing List <linux-ide@vger.kernel.org>
Subject: Re: IDENTIFY DEVICE not working any more?
Date: Mon, 15 Aug 2005 06:33:01 -0700	[thread overview]
Message-ID: <4300998D.6000205@dtbb.net> (raw)
In-Reply-To: <43009642.40805@conterra.de>

Were the 2.6.11 kernels you have included with a distribution such as 
ubuntu, fedora, etc?  If it was, there's a good chance that it has the 
passthru libata patch, that allows you to access drives using smartctl, 
with the special ata flag.

Tyler.

Dieter Stüken wrote:

> Erik Slagter wrote:
>
>> On Mon, 2005-08-15 at 11:07 +0200, Dieter Stüken wrote:
>>
>>> I used smartmontools for sata devices quite successfully awhile.
>>> Since 2.6.12.2 however, I get an ioerror on "DENTIFY DEVICE"
>>> errno=25 [Inappropriate ioctl for device] and smartctl gives up.
>>
>>
>> Over here it works fine (sata_promise driver + 2.6.12.3 +
>> smartmontools).
>>
>> Also afaik the .1/.2/.3 patches did not contain changes to the libata or
>> scsi layer.
>
>
> strange. I Have written a tiny test with: rc = ioctl(fd, 
> HDIO_GET_IDENTITY, &id);
> and definitely got: "/dev/sda: Inappropriate ioctl for device" with 
> 2.6.12.2.
> I did not test any other 2.6.12.x, but it works fine for an other 
> 2.6.11 system.
>
> Unfortunalely I can't install an other kernel today, as all my systems 
> are in
> production. Is there any new kernel config I missed? The only 
> difference ist,
> that my 2.6.12 system is a x86_64, where as the 2.6.11 system is an i686.
> I'll try some constellations later at home, where I have an other 
> x86_64 system.
>
> Dieter.



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 8/12/2005


  reply	other threads:[~2005-08-15 13:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15  9:07 IDENTIFY DEVICE not working any more? Dieter Stüken
2005-08-15 10:34 ` Erik Slagter
2005-08-15 13:18   ` Dieter Stüken
2005-08-15 13:33     ` Tyler [this message]
2005-08-15 13:54       ` Dieter Stüken

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=4300998D.6000205@dtbb.net \
    --to=pml@dtbb.net \
    --cc=linux-ide@vger.kernel.org \
    --cc=stueken@conterra.de \
    /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).