All of lore.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dgilbert@interlog.com>
To: bugzilla-daemon@bugzilla.kernel.org
Cc: linux-scsi@vger.kernel.org
Subject: Re: [Bug 15623] doesn't allow SMART-passthrough on Adaptec Series 5 controller
Date: Thu, 25 Mar 2010 17:41:33 -0400	[thread overview]
Message-ID: <4BABD88D.8030002@interlog.com> (raw)
In-Reply-To: <201003241845.o2OIjmNv014049@demeter.kernel.org>

bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=15623
> 
> 
> 
> 
> 
> --- Comment #2 from lkolbe@techfak.uni-bielefeld.de  2010-03-24 18:45:10 ---
>> So in lk 2.6.32 aacraid driver version 24900 was used
>> successfully but with lk 2.6.33 the aacraid driver
>> version reverted to 24702 and didn't work. It might be
>> interesting to find the aacraid changelog between those
>> two versions.
> 
> I wonder as well. Vanilla 2.6.32 has aacraid version 2461 (IIRC), vanilla
> 2.6.33 has 24702, and Adaptec upstream has 24900, which is what they recommend
> for using for the 'enterprise'. I have no idea about the politics side of this,
> if there is any. There must be some reason why vanilla doesn't include 24900 by
> default, though - it was released in 9/2009 IIRC.
> 
>> Anyway the kernel messages shown by dmesg are just
>> noise and should disappear in lk 2.6.34 .
>> IOW "ATA pass through information available" indicates
>> normal operation of SAT.
> 
> Great, less noise ;)
> 
>> smartctl will provide more debug information if a
>> '-r ioctl,3' option is added.
> 
> good to know, output follows:
> 
> smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce
> Allen
> Home page is http://smartmontools.sourceforge.net/
> 
> 
> REPORT-IOCTL: DeviceFD=3 Command=IDENTIFY DEVICE
>  [ata pass-through(16): 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00 ]
>   scsi_status=0x0, host_status=0x0, driver_status=0x0
>   info=0x0  duration=12 milliseconds  resid=0
>   Incoming data, len=512 [only first 256 bytes shown]:

<snip>

> REPORT-IOCTL: DeviceFD=3 Command=SMART STATUS
>  [ata pass-through(16): 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00 ]
>   scsi_status=0x2, host_status=0x7, driver_status=0x8

The aacraid driver could not handle this command.
host_status=0x7 is DID_ERROR which is an internal
driver (aacraid) error.

What is being done by smartmontools is defined in
the SAT standard.

>   info=0x1  duration=104 milliseconds  resid=0
> sat_command_interface: do_scsi_cmnd_io() failed, status=-5
> REPORT-IOCTL: DeviceFD=3 Command=SMART STATUS returned -1
> SMART Disabled. Use option -s with argument 'on' to enable it.

Doug Gilbert




  reply	other threads:[~2010-03-25 21:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24 16:38 [Bug 15623] New: doesn't allow SMART-passthrough on Adaptec Series 5 controller bugzilla-daemon
2010-03-24 18:16 ` Douglas Gilbert
2010-03-24 18:17 ` [Bug 15623] " bugzilla-daemon
2010-03-24 18:45 ` bugzilla-daemon
2010-03-25 21:41   ` Douglas Gilbert [this message]
2010-03-25 21:42 ` bugzilla-daemon
2010-03-30  6:24 ` bugzilla-daemon
2010-03-30 10:52 ` bugzilla-daemon
2013-12-10 18:16 ` bugzilla-daemon

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=4BABD88D.8030002@interlog.com \
    --to=dgilbert@interlog.com \
    --cc=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-scsi@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.