[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 #4 from Anonymous Emailer <anonymous@xxxxxxxxxxxxxxxxxxxx>  2010-03-30 06:24:01 ---
Reply-To: Mahesh_Rajashekhara@xxxxxxxxxxx

Hi All,

We've identified the root cause for this problem.

Root cause:
This issue is specific to ATA pass-through "CC" bit handling in driver.

The in kernel tree driver(build: 24702), the below mentioned conditions were
not handled.
1. When the CC bit is SET by the host in ATA pass thru CDB, driver is supposed
to return DID_OK.
2. When the CC bit is RESET by the host, driver should return DID_ERROR.

We're working on this issue high priority and in the process of preparing the
driver patch to address this problem.

Thanks,
Mahesh R

-----Original Message-----
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
[mailto:bugzilla-daemon@xxxxxxxxxxxxxxxxxxx] 
Sent: Friday, March 26, 2010 3:12 AM
To: AACRAID
Subject: [Bug 15623] doesn't allow SMART-passthrough on Adaptec Series 5
controller

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





--- Comment #3 from Anonymous Emailer <anonymous@xxxxxxxxxxxxxxxxxxxx> 
2010-03-25 21:42:14 ---
Reply-To: dgilbert@xxxxxxxxxxxx

bugzilla-daemon@xxxxxxxxxxxxxxxxxxx wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=15623
> 
> 
> 
> 
> 
> --- Comment #2 from lkolbe@xxxxxxxxxxxxxxxxxxxxxxxx  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

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

-- 
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