[Bug 15623] doesn't allow SMART-passthrough on Adaptec Series 5 controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





--- Comment #1 from Anonymous Emailer <anonymous@xxxxxxxxxxxxxxxxxxxx>  2010-03-24 18:17:03 ---
Reply-To: dgilbert@xxxxxxxxxxxx

bugzilla-daemon@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxx
>         ReportedBy: lkolbe@xxxxxxxxxxxxxxxxxxxxxxxx
>                 CC: sfrey@xxxxxxxxxxxxxxxxxxxxxxxx
>         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.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux