mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Justin Piszcz <jpiszcz@lucidpixels.com>
To: Mark Lord <liml@rtr.ca>
Cc: Kai Makisara <Kai.Makisara@kolumbus.fi>,
	linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: 2.6.22-rc regression: smartctl does not work with SATA disk
Date: Sun, 10 Jun 2007 18:38:16 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0706101837300.1302@p34.internal.lan> (raw)
In-Reply-To: <466C7C35.7020105@rtr.ca>



On Sun, 10 Jun 2007, Mark Lord wrote:

> Kai Makisara wrote:
>> The command 'smartctl -a /dev/sdb' fails with 2.6.22-rc4 kernel. The disk 
>> /dev/sdb is a SATA disk. The command does work still with a real SCSI disk.
>
> Last time I checked, one must supply the "-d ata" parameter to smartctl
> for it to work with libata drives.  Has this changed?
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Wow, apparently it has, I just tried it here:

p34:~# smartctl -a /dev/sda | head -n 5
smartctl version 5.37 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 
Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Raptor family
.. [snip] ..

p34:~# echo $?
0
p34:~#

Normally you always had to use the -d ata parameter.

Justin.

      reply	other threads:[~2007-06-10 22:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-10  8:05 Kai Makisara
2007-06-10 22:33 ` Mark Lord
2007-06-10 22:38   ` Justin Piszcz [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=Pine.LNX.4.64.0706101837300.1302@p34.internal.lan \
    --to=jpiszcz@lucidpixels.com \
    --cc=Kai.Makisara@kolumbus.fi \
    --cc=liml@rtr.ca \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®