All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-scsi@vger.kernel.org
Subject: [Bug 15623] doesn't allow SMART-passthrough on Adaptec Series 5 controller
Date: Wed, 24 Mar 2010 18:17:10 GMT	[thread overview]
Message-ID: <201003241817.o2OIHAMf004478@demeter.kernel.org> (raw)
In-Reply-To: <bug-15623-11613@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=15623





--- Comment #1 from Anonymous Emailer <anonymous@kernel-bugs.osdl.org>  2010-03-24 18:17:03 ---
Reply-To: dgilbert@interlog.com

bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=15623
> 
>            Summary: doesn't allow SMART-passthrough on Adaptec Series 5
>                     controller
>            Product: SCSI Drivers
>            Version: 2.5
>     Kernel Version: 2.6.33
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: AACRAID
>         AssignedTo: scsi_drivers-aacraid@kernel-bugs.osdl.org
>         ReportedBy: lkolbe@techfak.uni-bielefeld.de
>                 CC: sfrey@techfak.uni-bielefeld.de
>         Regression: No
> 
> 
> On Linux 2.6.33, wich includes aacraid version 24702 (that's at least what
> Adaptec's arcconf tells me), we're unable to query the smart information (SATA
> disks attached to an Adaptec 52445):
> 
> wash:~# smartctl -a -d sat /dev/sg5
> smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce
> Allen
> Home page is http://smartmontools.sourceforge.net/
> 
> === START OF INFORMATION SECTION ===
> Device Model:     ST31000340NS
> Serial Number:    9QJ2XFQP
> Firmware Version: SN06
> User Capacity:    1,000,204,886,016 bytes
> Device is:        Not in smartctl database [for details use: -P showall]
> ATA Version is:   8
> ATA Standard is:  ATA-8-ACS revision 4
> Local Time is:    Wed Mar 24 16:33:07 2010 UTC
> SMART support is: Available - device has SMART capability.
> SMART support is: Enabled
> 
> SMART Disabled. Use option -s with argument 'on' to enable it.
> 
> If I try with '-s on' I get:
> 
> wash:~# smartctl -a -d sat -s on /dev/sg5
> smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce
> Allen
> Home page is http://smartmontools.sourceforge.net/
> 
> === START OF INFORMATION SECTION ===
> Device Model:     ST31000340NS
> Serial Number:    9QJ2XFQP
> Firmware Version: SN06
> User Capacity:    1,000,204,886,016 bytes
> Device is:        Not in smartctl database [for details use: -P showall]
> ATA Version is:   8
> ATA Standard is:  ATA-8-ACS revision 4
> Local Time is:    Wed Mar 24 16:33:25 2010 UTC
> SMART support is: Available - device has SMART capability.
> SMART support is: Enabled
> 
> === START OF ENABLE/DISABLE COMMANDS SECTION ===
> SMART Enabled.
> SMART Disabled. Use option -s with argument 'on' to enable it.
> 
> dmesg says:
> 
> [77323.301112] scsi 0:1:2:0: [sg5] Sense Key : Recovered Error [current]
> [descriptor]
> [77323.301120] Descriptor sense data with sense descriptors (in hex):
> [77323.301122]         72 01 00 1d 00 00 00 0e 09 0c 00 00 00 00 00 00 
> [77323.301130]         00 4f 00 c2 40 50 
> [77323.301134] scsi 0:1:2:0: [sg5] Add. Sense: ATA pass through information
> available
> [77335.412005] scsi 0:1:2:0: [sg5] Sense Key : Recovered Error [current]
> [descriptor]
> [77335.412012] Descriptor sense data with sense descriptors (in hex):
> [77335.412014]         72 01 00 1d 00 00 00 0e 09 0c 00 00 00 00 00 00 
> [77335.412022]         00 4f 00 c2 40 50 
> [77335.412026] scsi 0:1:2:0: [sg5] Add. Sense: ATA pass through information
> available
> [77353.712031] scsi 0:1:2:0: [sg5] Sense Key : Recovered Error [current]
> [descriptor]
> [77353.712044] Descriptor sense data with sense descriptors (in hex):
> [77353.712046]         72 01 00 1d 00 00 00 0e 09 0c 00 00 00 00 00 00 
> [77353.712052]         00 4f 00 c2 40 50 
> [77353.712055] scsi 0:1:2:0: [sg5] Add. Sense: ATA pass through information
> available
> 
> On 2.6.32, we can use the aacraid driver from adaptec (version 24900) and
> smartmontools work as expected, but with 2.6.33 their version doesn't compile
> anymore.
> 
> We really don't want to run their 'enterprise' storage manager software on our
> servers to warn us about bad blocks, but as long as we're unable to use
> smartctl for this we're quite out of luck :/

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.

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.


smartctl will provide more debug information if a
'-r ioctl,3' option is added.

Doug Gilbert

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

  parent reply	other threads:[~2010-03-24 18:17 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 ` bugzilla-daemon [this message]
2010-03-24 18:45 ` [Bug 15623] " bugzilla-daemon
2010-03-25 21:41   ` Douglas Gilbert
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=201003241817.o2OIHAMf004478@demeter.kernel.org \
    --to=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.