From:
<f.v...@pl...> - 2007-09-20 10:41:59
|
Hello, I'm trying to get SMART data from disks behind a HP Smart Array E200i SATA/SAS card. The card firmware is the latest one, the cciss driver is from genuine Linux 2.6.20.6 and I've tried smartmontools 5.36, 5.37 and 5.38 (cvs). The card is configured as RAID-1 with 2 WD Digital Raptor SATA disks. acf:~# smartctl -dcciss,0 -a /dev/cciss/c0d0 smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-7 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Serial number: WD-WMANS1732855 Device type: disk Local Time is: Thu Sep 20 12:36:03 2007 CEST Device supports SMART and is Enabled Temperature Warning Disabled or Not Supported Log Sense failed, IE page [scsi response fails sanity test] Read defect list: asked for grown list but didn't get it Error Counter logging not supported Device does not support Self Test logging acf:~# smartctl -dcciss,0 -r ioctl,2 -a /dev/cciss/c0d0 smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-7 Bruce Allen Home page is http://smartmontools.sourceforge.net/ ===== [LUN DATA] DATA START (BASE-16) ===== 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA END (136 Bytes) ===== cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 status=0 Incoming data, len=36: 00 00 00 05 02 44 00 00 02 41 54 41 20 20 20 20 20 10 57 44 43 20 57 44 37 34 30 41 44 46 44 2d 30 30 20 37 51 52 34 ===== [LUN DATA] DATA START (BASE-16) ===== 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA END (136 Bytes) ===== cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 status=0 Incoming data, len=64: 00 15 00 00 08 04 a7 f9 7f 00 00 02 00 9c 0a 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA START (BASE-16) ===== 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA END (136 Bytes) ===== cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 status=0 Incoming data, len=64: 00 15 00 00 08 04 a7 f9 7f 00 00 02 00 9c 0a 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA START (BASE-16) ===== 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA END (136 Bytes) ===== cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 status=0 Incoming data, len=64: 00 00 80 00 14 20 20 20 20 20 57 44 2d 57 4d 41 4e 10 53 31 37 33 32 38 35 35 50 28 e0 00 50 49 eb 13 20 50 5c d1 68 50 49 e8 c8 50 5c d3 28 50 49 e8 d8 30 50 49 e8 e8 00 00 00 00 00 00 00 00 50 5c d1 f8 Serial number: WD-WMANS1732855 Device type: disk ===== [LUN DATA] DATA START (BASE-16) ===== 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA END (136 Bytes) ===== cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 status=0 Incoming data, len=64: 00 00 00 00 08 04 a7 f9 7f 00 00 02 00 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 scsiModePageOffset: response length too short, resp_len=1 offset=12 bd_len=8 Local Time is: Thu Sep 20 12:36:59 2007 CEST ===== [LUN DATA] DATA START (BASE-16) ===== 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA END (136 Bytes) ===== cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 status=0 Device supports SMART and is Enabled Temperature Warning Disabled or Not Supported ===== [LUN DATA] DATA START (BASE-16) ===== 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA END (136 Bytes) ===== cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 status=0 Incoming data, len=4: 00 00 00 00 03 ===== [LUN DATA] DATA START (BASE-16) ===== 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA END (136 Bytes) ===== cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 status=0 Incoming data, len=8: 00 00 00 00 03 00 2f 00 00 ===== [LUN DATA] DATA START (BASE-16) ===== 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA END (136 Bytes) ===== cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 status=0 Incoming data, len=4: 00 00 00 00 09 Log Sense failed, IE page [scsi response fails sanity test] ===== [LUN DATA] DATA START (BASE-16) ===== 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA END (136 Bytes) ===== cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 status=0 Incoming data, len=4: 00 00 00 00 00 Read defect list: asked for grown list but didn't get it Error Counter logging not supported ===== [LUN DATA] DATA START (BASE-16) ===== 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ===== [LUN DATA] DATA END (136 Bytes) ===== cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 status=0 Incoming data, len=64: 00 00 00 00 08 04 a7 f9 7f 00 00 02 00 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 scsiModePageOffset: response length too short, resp_len=1 offset=12 bd_len=8 Device does not support Self Test logging -- Frédéric VANNIÈRE Directeur Technique PLANET-WORK 231 rue Saint-Honoré 75001 PARIS - FRANCE Tél : 0891 024 424 Fax : 0141 797 861 Web : http://www.planet-work.fr/ Planet-Work, vecteur de votre image sur Internet |
From: Bruce A. <ba...@gr...> - 2007-09-20 14:16:59
|
Frédéric: thanks for the bug report. Developers: do we have a smartmontools developer who is supporting CCISS? If not, how could we go about finding a developer? Cheers, Bruce On Thu, 20 Sep 2007, Frédéric VANNIÈRE wrote: > Hello, > > I'm trying to get SMART data from disks behind a HP Smart Array E200i > SATA/SAS card. > The card firmware is the latest one, the cciss driver is from genuine > Linux 2.6.20.6 > and I've tried smartmontools 5.36, 5.37 and 5.38 (cvs). The card is > configured as RAID-1 > with 2 WD Digital Raptor SATA disks. > > > > acf:~# smartctl -dcciss,0 -a /dev/cciss/c0d0 > smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-7 > Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > Serial number: WD-WMANS1732855 > Device type: disk > Local Time is: Thu Sep 20 12:36:03 2007 CEST > Device supports SMART and is Enabled > Temperature Warning Disabled or Not Supported > Log Sense failed, IE page [scsi response fails sanity test] > Read defect list: asked for grown list but didn't get it > > Error Counter logging not supported > Device does not support Self Test logging > > > > > > > > acf:~# smartctl -dcciss,0 -r ioctl,2 -a /dev/cciss/c0d0 > smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-7 > Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > > ===== [LUN DATA] DATA START (BASE-16) ===== > 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 > 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 > 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > ===== [LUN DATA] DATA END (136 Bytes) ===== > > cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 > status=0 > Incoming data, len=36: > 00 00 00 05 02 44 00 00 02 41 54 41 20 20 20 20 > 20 > 10 57 44 43 20 57 44 37 34 30 41 44 46 44 2d 30 > 30 > 20 37 51 52 > 34 > > ===== [LUN DATA] DATA START (BASE-16) ===== > 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 > 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 > 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > ===== [LUN DATA] DATA END (136 Bytes) ===== > > cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 > status=0 > Incoming data, len=64: > 00 15 00 00 08 04 a7 f9 7f 00 00 02 00 9c 0a 00 > 00 > 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > > ===== [LUN DATA] DATA START (BASE-16) ===== > 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 > 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 > 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > ===== [LUN DATA] DATA END (136 Bytes) ===== > > cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 > status=0 > Incoming data, len=64: > 00 15 00 00 08 04 a7 f9 7f 00 00 02 00 9c 0a 00 > 00 > 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > > ===== [LUN DATA] DATA START (BASE-16) ===== > 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 > 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 > 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > ===== [LUN DATA] DATA END (136 Bytes) ===== > > cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 > status=0 > Incoming data, len=64: > 00 00 80 00 14 20 20 20 20 20 57 44 2d 57 4d 41 > 4e > 10 53 31 37 33 32 38 35 35 50 28 e0 00 50 49 eb > 13 > 20 50 5c d1 68 50 49 e8 c8 50 5c d3 28 50 49 e8 > d8 > 30 50 49 e8 e8 00 00 00 00 00 00 00 00 50 5c d1 > f8 > Serial number: WD-WMANS1732855 > Device type: disk > > ===== [LUN DATA] DATA START (BASE-16) ===== > 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 > 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 > 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > ===== [LUN DATA] DATA END (136 Bytes) ===== > > cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 > status=0 > Incoming data, len=64: > 00 00 00 00 08 04 a7 f9 7f 00 00 02 00 00 00 00 > 00 > 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > scsiModePageOffset: response length too short, resp_len=1 offset=12 bd_len=8 > Local Time is: Thu Sep 20 12:36:59 2007 CEST > > ===== [LUN DATA] DATA START (BASE-16) ===== > 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 > 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 > 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > ===== [LUN DATA] DATA END (136 Bytes) ===== > > cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 > status=0 > Device supports SMART and is Enabled > Temperature Warning Disabled or Not Supported > > ===== [LUN DATA] DATA START (BASE-16) ===== > 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 > 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 > 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > ===== [LUN DATA] DATA END (136 Bytes) ===== > > cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 > status=0 > Incoming data, len=4: > 00 00 00 00 > 03 > > ===== [LUN DATA] DATA START (BASE-16) ===== > 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 > 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 > 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > ===== [LUN DATA] DATA END (136 Bytes) ===== > > cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 > status=0 > Incoming data, len=8: > 00 00 00 00 03 00 2f 00 > 00 > > ===== [LUN DATA] DATA START (BASE-16) ===== > 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 > 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 > 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > ===== [LUN DATA] DATA END (136 Bytes) ===== > > cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 > status=0 > Incoming data, len=4: > 00 00 00 00 > 09 > Log Sense failed, IE page [scsi response fails sanity test] > > ===== [LUN DATA] DATA START (BASE-16) ===== > 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 > 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 > 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > ===== [LUN DATA] DATA END (136 Bytes) ===== > > cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 > status=0 > Incoming data, len=4: > 00 00 00 00 > 00 > Read defect list: asked for grown list but didn't get it > > Error Counter logging not supported > > ===== [LUN DATA] DATA START (BASE-16) ===== > 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 > 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 > 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > ===== [LUN DATA] DATA END (136 Bytes) ===== > > cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 > status=0 > Incoming data, len=64: > 00 00 00 00 08 04 a7 f9 7f 00 00 02 00 00 00 00 > 00 > 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > scsiModePageOffset: response length too short, resp_len=1 offset=12 bd_len=8 > Device does not support Self Test logging > > > > > |
From: Douglas G. <do...@to...> - 2007-09-20 17:46:05
|
Bruce Allen wrote: > Frédéric: thanks for the bug report. I can see some useful debug (e.g. responses but not the corresponding commands). The INQUIRY t10 vendor id is "ATA " which suggests SAT is in play. To what extent the CCISS driver and HBA support SAT I do not know but you might try adding '-d sat' to the smartctl command line. > Developers: do we have a smartmontools developer who is supporting CCISS? > > If not, how could we go about finding a developer? If someone would like to send me a controller card from that family I should be able to get it going :-) Doug Gilbert > On Thu, 20 Sep 2007, Frédéric VANNIÈRE wrote: > >> Hello, >> >> I'm trying to get SMART data from disks behind a HP Smart Array E200i >> SATA/SAS card. >> The card firmware is the latest one, the cciss driver is from genuine >> Linux 2.6.20.6 >> and I've tried smartmontools 5.36, 5.37 and 5.38 (cvs). The card is >> configured as RAID-1 >> with 2 WD Digital Raptor SATA disks. >> >> >> >> acf:~# smartctl -dcciss,0 -a /dev/cciss/c0d0 >> smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-7 >> Bruce Allen >> Home page is http://smartmontools.sourceforge.net/ >> >> Serial number: WD-WMANS1732855 >> Device type: disk >> Local Time is: Thu Sep 20 12:36:03 2007 CEST >> Device supports SMART and is Enabled >> Temperature Warning Disabled or Not Supported >> Log Sense failed, IE page [scsi response fails sanity test] >> Read defect list: asked for grown list but didn't get it >> >> Error Counter logging not supported >> Device does not support Self Test logging >> >> >> >> >> >> >> >> acf:~# smartctl -dcciss,0 -r ioctl,2 -a /dev/cciss/c0d0 >> smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-7 >> Bruce Allen >> Home page is http://smartmontools.sourceforge.net/ >> >> >> ===== [LUN DATA] DATA START (BASE-16) ===== >> 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 >> 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 >> 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> ===== [LUN DATA] DATA END (136 Bytes) ===== >> >> cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 >> status=0 >> Incoming data, len=36: >> 00 00 00 05 02 44 00 00 02 41 54 41 20 20 20 20 >> 20 >> 10 57 44 43 20 57 44 37 34 30 41 44 46 44 2d 30 >> 30 >> 20 37 51 52 >> 34 >> >> ===== [LUN DATA] DATA START (BASE-16) ===== >> 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 >> 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 >> 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> ===== [LUN DATA] DATA END (136 Bytes) ===== >> >> cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 >> status=0 >> Incoming data, len=64: >> 00 15 00 00 08 04 a7 f9 7f 00 00 02 00 9c 0a 00 >> 00 >> 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 >> 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 >> 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 >> >> ===== [LUN DATA] DATA START (BASE-16) ===== >> 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 >> 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 >> 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> ===== [LUN DATA] DATA END (136 Bytes) ===== >> >> cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 >> status=0 >> Incoming data, len=64: >> 00 15 00 00 08 04 a7 f9 7f 00 00 02 00 9c 0a 00 >> 00 >> 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 >> 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 >> 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 >> >> ===== [LUN DATA] DATA START (BASE-16) ===== >> 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 >> 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 >> 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> ===== [LUN DATA] DATA END (136 Bytes) ===== >> >> cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 >> status=0 >> Incoming data, len=64: >> 00 00 80 00 14 20 20 20 20 20 57 44 2d 57 4d 41 >> 4e >> 10 53 31 37 33 32 38 35 35 50 28 e0 00 50 49 eb >> 13 >> 20 50 5c d1 68 50 49 e8 c8 50 5c d3 28 50 49 e8 >> d8 >> 30 50 49 e8 e8 00 00 00 00 00 00 00 00 50 5c d1 >> f8 >> Serial number: WD-WMANS1732855 >> Device type: disk >> >> ===== [LUN DATA] DATA START (BASE-16) ===== >> 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 >> 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 >> 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> ===== [LUN DATA] DATA END (136 Bytes) ===== >> >> cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 >> status=0 >> Incoming data, len=64: >> 00 00 00 00 08 04 a7 f9 7f 00 00 02 00 00 00 00 >> 00 >> 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 >> 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 >> 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 >> scsiModePageOffset: response length too short, resp_len=1 offset=12 >> bd_len=8 >> Local Time is: Thu Sep 20 12:36:59 2007 CEST >> >> ===== [LUN DATA] DATA START (BASE-16) ===== >> 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 >> 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 >> 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> ===== [LUN DATA] DATA END (136 Bytes) ===== >> >> cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 >> status=0 >> Device supports SMART and is Enabled >> Temperature Warning Disabled or Not Supported >> >> ===== [LUN DATA] DATA START (BASE-16) ===== >> 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 >> 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 >> 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> ===== [LUN DATA] DATA END (136 Bytes) ===== >> >> cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 >> status=0 >> Incoming data, len=4: >> 00 00 00 00 >> 03 >> >> ===== [LUN DATA] DATA START (BASE-16) ===== >> 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 >> 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 >> 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> ===== [LUN DATA] DATA END (136 Bytes) ===== >> >> cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 >> status=0 >> Incoming data, len=8: >> 00 00 00 00 03 00 2f 00 >> 00 >> >> ===== [LUN DATA] DATA START (BASE-16) ===== >> 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 >> 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 >> 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> ===== [LUN DATA] DATA END (136 Bytes) ===== >> >> cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 >> status=0 >> Incoming data, len=4: >> 00 00 00 00 >> 09 >> Log Sense failed, IE page [scsi response fails sanity test] >> >> ===== [LUN DATA] DATA START (BASE-16) ===== >> 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 >> 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 >> 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> ===== [LUN DATA] DATA END (136 Bytes) ===== >> >> cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 >> status=0 >> Incoming data, len=4: >> 00 00 00 00 >> 00 >> Read defect list: asked for grown list but didn't get it >> >> Error Counter logging not supported >> >> ===== [LUN DATA] DATA START (BASE-16) ===== >> 000-015: 00 00 00 10 00 00 00 00 00 00 00 c0 00 00 04 01 >> 016-031: 00 00 00 c0 00 00 05 01 00 00 00 00 00 00 00 00 >> 032-047: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 080-095: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 096-111: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 112-127: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 128-143: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> ===== [LUN DATA] DATA END (136 Bytes) ===== >> >> cciss_getlun(3, 0) = 0x0; scsi3addr: 00 00 00 c0 00 00 04 01 >> status=0 >> Incoming data, len=64: >> 00 00 00 00 08 04 a7 f9 7f 00 00 02 00 00 00 00 >> 00 >> 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 >> 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 >> 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 >> scsiModePageOffset: response length too short, resp_len=1 offset=12 >> bd_len=8 >> Device does not support Self Test logging >> >> >> >> >> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Smartmontools-devel mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-devel |
From: Stanislav B. <sb...@su...> - 2007-09-24 13:42:20
|
Douglas Gilbert wrote: > Bruce Allen wrote: > > Frédéric: thanks for the bug report. > > I can see some useful debug (e.g. responses but not the > corresponding commands). The INQUIRY t10 vendor id is > "ATA " which suggests SAT is in play. To what extent > the CCISS driver and HBA support SAT I do not know but > you might try adding '-d sat' to the smartctl command > line. No. It does not help. Here is my blind guess: Suppose that CCISS code in smartmontools works correctly. This code passes SCSI commands over CCISS and sends them to the SAS bus. SAS is physically compatible with SATA, but it is not protocol compatible. To reach SATA disc, you need one extra level of encapsulation. Can anybody verify my guess by connecting a SAS disc to the card? -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sb...@su... Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ |
From: Stanislav B. <sb...@su...> - 2007-09-24 16:40:29
|
Stanislav Brabec wrote: > Suppose that CCISS code in smartmontools works correctly. This code > passes SCSI commands over CCISS and sends them to the SAS bus. > > SAS is physically compatible with SATA, but it is not protocol > compatible. To reach SATA disc, you need one extra level of > encapsulation. Here is an ugly hack, which forces CCISS_PASSTHROUGH when using -dsat. Now it seems, that commands are accepted and executed, but it returns nonsenses. I have tried to increase SCSI OFF_LINE entry ("cdb[2] = 0xc0 | "... in scsiata.cpp), but it did not help. Note that with -T permissive it returns table full of random nonsenses (random and different each time). --- os_linux.cpp +++ os_linux.cpp @@ -1083,14 +1083,18 @@ { switch(con->controller_type) { - case CONTROLLER_CCISS: - return cciss_io_interface(dev_fd, con->controller_port-1, iop, report); + //case CONTROLLER_CCISS: + default: +// return cciss_io_interface(dev_fd, con->controller_port-1, iop, report); + return cciss_io_interface(dev_fd, 0, iop, report); // not reached break; +/* default: return do_normal_scsi_cmnd_io(dev_fd, iop, report); // not reached break; +*/ } } smartctl -d sat -r ioctl,2 -a /dev/cciss/c0d0 smartctl version 5.37 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 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=0x1, host_status=0x0, driver_status=0x0 info=0x0 duration=27 milliseconds Incoming data, len=512 [only first 256 bytes shown]: 00 30 64 54 00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00 20 75 74 69 6c 69 74 79 2e 50 6f 2e 6f 00 00 00 00 30 20 00 00 00 00 00 00 00 31 00 00 00 00 00 00 00 40 30 89 55 00 00 00 00 00 00 00 00 00 00 00 00 00 50 e0 64 54 00 00 00 00 00 00 00 00 00 00 00 00 00 60 00 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00 70 20 b0 55 00 00 00 00 00 0c 00 01 00 00 00 00 00 80 20 00 00 00 00 00 00 00 91 00 00 00 00 00 00 00 90 40 3d 55 00 00 00 00 00 40 3d 55 00 00 00 00 00 a0 00 00 00 00 00 00 00 00 a0 3d 55 00 00 00 00 00 b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 status=0x1 REPORT-IOCTL: DeviceFD=3 Command=IDENTIFY DEVICE returned 0 ===== [IDENTIFY DEVICE] DATA START (BASE-16) ===== 000-015: 30 64 54 00 00 00 00 00 00 00 00 00 00 00 00 00 016-031: 00 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00 032-047: 75 74 69 6c 69 74 79 2e 50 6f 2e 6f 00 00 00 00 048-063: 20 00 00 00 00 00 00 00 31 00 00 00 00 00 00 00 064-079: 30 89 55 00 00 00 00 00 00 00 00 00 00 00 00 00 080-095: e0 64 54 00 00 00 00 00 00 00 00 00 00 00 00 00 096-111: 00 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00 112-127: 20 b0 55 00 00 00 00 00 0c 00 01 00 00 00 00 00 128-143: 20 00 00 00 00 00 00 00 91 00 00 00 00 00 00 00 144-159: 40 3d 55 00 00 00 00 00 40 3d 55 00 00 00 00 00 160-175: 00 00 00 00 00 00 00 00 a0 3d 55 00 00 00 00 00 176-191: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 192-207: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 208-223: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 240-255: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 256-271: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 272-287: ff ff 80 00 00 00 00 00 31 00 00 00 00 00 00 00 288-303: 20 6f 55 00 00 00 00 00 00 00 00 00 00 00 00 00 304-319: d0 3d 55 00 00 00 00 00 0a 00 00 00 00 00 00 00 320-335: 10 3d 55 00 00 00 00 00 31 00 00 00 00 00 00 00 336-351: b0 60 55 00 00 00 00 00 00 00 00 00 00 00 00 00 352-367: 90 a8 57 00 00 00 00 00 00 00 00 00 00 00 00 00 368-383: 30 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00 384-399: 2e 64 65 70 73 2f 73 6d 61 72 74 64 2e 50 6f 00 400-415: 65 78 2e 68 00 2e 68 00 f1 01 00 00 00 00 00 00 416-431: 20 4d 61 6b 65 66 69 6c 65 20 2e 64 65 70 73 2f 432-447: 61 74 61 63 6d 64 6e 61 6d 65 73 2e 50 6f 20 2e 448-463: 64 65 70 73 2f 61 74 61 63 6d 64 73 2e 50 6f 20 464-479: 2e 64 65 70 73 2f 61 74 61 70 72 69 6e 74 2e 50 480-495: 6f 20 2e 64 65 70 73 2f 64 61 65 6d 6f 6e 5f 77 496-511: 69 6e 33 32 2e 50 6f 20 2e 64 65 70 73 2f 68 6f ===== [IDENTIFY DEVICE] DATA END (512 Bytes) ===== === START OF INFORMATION SECTION === Device Model: [No Information Found] Serial Number: [No Information Found] Firmware Version: [No Information Found] Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 1 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Mon Sep 24 18:33:05 2007 CEST SMART is only available in ATA Version 3 Revision 3 or greater. We will try to proceed in spite of this. SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported. Checking for SMART support by trying SMART ENABLE command. REPORT-IOCTL: DeviceFD=3 Command=SMART ENABLE [ata pass-through(16): 85 06 0c 00 d8 00 00 00 01 00 4f 00 c2 00 b0 00 ] scsi_status=0x1, host_status=0x0, driver_status=0x0 info=0x0 duration=27 milliseconds status=0x1 REPORT-IOCTL: DeviceFD=3 Command=SMART ENABLE returned 0 SMART ENABLE appeared to work! Continuing. SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled. A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sb...@su... Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ |
From: Stanislav B. <sb...@su...> - 2007-09-25 16:22:58
|
Stanislav Brabec wrote: > Stanislav Brabec wrote: > > > Suppose that CCISS code in smartmontools works correctly. This code > > passes SCSI commands over CCISS and sends them to the SAS bus. > > > > SAS is physically compatible with SATA, but it is not protocol > > compatible. To reach SATA disc, you need one extra level of > > encapsulation. > > Here is an ugly hack, which forces CCISS_PASSTHROUGH when using -dsat. > Now it seems, that commands are accepted and executed, but it returns > nonsenses. Hopefully kernel use the same SATA encapsulation in libata as SCSI uses, so this step is simple. But I found a problem in the CCISS code itself. After calling ioctl(), the CommandStatus is CMD_DATA_UNDERRUN and no data are actually returned. Because ioctl returns OK, CommandStatus is ignored by os_linux.cpp and random data are provided. Looking at kernel sources, is seems to be expected behavior and we have to handle it. case CMD_DATA_UNDERRUN: case CMD_DATA_OVERRUN: /* expected for inquire and report lun commands */ case CMD_DATA_UNDERRUN: /* let mid layer handle it. */ -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sb...@su... Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ |
From: Bruce A. <ba...@gr...> - 2007-09-28 04:08:42
|
>> Developers: do we have a smartmontools developer who is supporting >> CCISS? >> >> If not, how could we go about finding a developer? > > If someone would like to send me a controller card from that family I > should be able to get it going :-) Doug, I'd be happy to get you one or two. Can you spend a few minutes googling and then let me know your prefered card model number(s)? Cheers, Bruce |
From: Stanislav B. <sb...@su...> - 2007-10-01 13:23:01
|
Bruce Allen wrote: > >> Developers: do we have a smartmontools developer who is supporting > >> CCISS? > >> > >> If not, how could we go about finding a developer? > > > > If someone would like to send me a controller card from that family I > > should be able to get it going :-) > > Doug, > > I'd be happy to get you one or two. Can you spend a few minutes googling > and then let me know your prefered card model number(s)? I have just now (not physical) access to one E400i with SAS disc connected and one E200i with SATA disc connected. I have tested CVS version with HP E400i with SAS disc. It seems to work with the currect CVS snapshot (except auto-detection, see report below), but not with the 5.37. I have also tested HP E200i with SATA disc using modified sm5 forcing cciss,0 with ATA-passthrough commands. I suspect that there is not implemented nor ATA PASS THROUGH (16) support nor SCSI to ATA S.M.A.R.T. translation, so we cannot get reply from the disc. The UNDERRUN errors mentioned in my previous mail can be safely ignored: They are issued, but data are returned for all commands except ATA PASS THROUGH (16). I have even tries some tricks for it (modification CDB to place buffer size to another place), but with no success. # ./smartctl -d cciss,1 -a /dev/cciss/c1d0 smartctl version 5.38 [x86_64-suse-linux-gnu] Copyright (C) 2002-7 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Device: HP DG072A8B54 Version: HPD7 Serial number: 3LB0XZTD00009708MBEP Device type: disk Transport protocol: SAS Local Time is: Mon Oct 1 15:16:43 2007 CEST Device supports SMART and is Enabled Temperature Warning Enabled SMART Health Status: OK Current Drive Temperature: 23 C Drive Trip Temperature: 65 C Elements in grown defect list: 0 Vendor (Seagate) cache information Blocks sent to initiator = 1750331011 Blocks received from initiator = 4901408 Blocks read from cache and sent to initiator = 88473190 Number of read and write commands whose size <= segment size = 2506686337 Number of read and write commands whose size > segment size = 0 Vendor (Seagate/Hitachi) factory information number of hours powered up = 5995.08 number of minutes until next internal SMART test = 74 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 0 0 0 0 0 0.000 0 write: 0 0 0 0 0 0.000 0 Non-medium error count: 0 SMART Self-test log Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ] Description number (hours) # 1 Background short Completed - 5993 - [- - -] # 2 Background short Completed - 1 - [- - -] Long (extended) Self Test duration: 1560 seconds [26.0 minutes] -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sb...@su... Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ |
From: Bruce A. <ba...@gr...> - 2007-10-01 13:36:40
|
Stanislav: thanks for the report! Doug: as I said, I'd be happy to buy some hardware to send to you. Please let me know what you want. Cheers, Bruce On Mon, 1 Oct 2007, Stanislav Brabec wrote: > Bruce Allen wrote: >>>> Developers: do we have a smartmontools developer who is supporting >>>> CCISS? >>>> >>>> If not, how could we go about finding a developer? >>> >>> If someone would like to send me a controller card from that family I >>> should be able to get it going :-) >> >> Doug, >> >> I'd be happy to get you one or two. Can you spend a few minutes googling >> and then let me know your prefered card model number(s)? > > I have just now (not physical) access to one E400i with SAS disc > connected and one E200i with SATA disc connected. > > I have tested CVS version with HP E400i with SAS disc. It seems to work > with the currect CVS snapshot (except auto-detection, see report below), > but not with the 5.37. > > > I have also tested HP E200i with SATA disc using modified sm5 forcing > cciss,0 with ATA-passthrough commands. I suspect that there is not > implemented nor ATA PASS THROUGH (16) support nor SCSI to ATA S.M.A.R.T. > translation, so we cannot get reply from the disc. > > The UNDERRUN errors mentioned in my previous mail can be safely ignored: > They are issued, but data are returned for all commands except ATA PASS > THROUGH (16). I have even tries some tricks for it (modification CDB to > place buffer size to another place), but with no success. > > > # ./smartctl -d cciss,1 -a /dev/cciss/c1d0 > smartctl version 5.38 [x86_64-suse-linux-gnu] Copyright (C) 2002-7 Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > Device: HP DG072A8B54 Version: HPD7 > Serial number: 3LB0XZTD00009708MBEP > Device type: disk > Transport protocol: SAS > Local Time is: Mon Oct 1 15:16:43 2007 CEST > Device supports SMART and is Enabled > Temperature Warning Enabled > SMART Health Status: OK > > Current Drive Temperature: 23 C > Drive Trip Temperature: 65 C > Elements in grown defect list: 0 > Vendor (Seagate) cache information > Blocks sent to initiator = 1750331011 > Blocks received from initiator = 4901408 > Blocks read from cache and sent to initiator = 88473190 > Number of read and write commands whose size <= segment size = 2506686337 > Number of read and write commands whose size > segment size = 0 > Vendor (Seagate/Hitachi) factory information > number of hours powered up = 5995.08 > number of minutes until next internal SMART test = 74 > > Error counter log: > Errors Corrected by Total Correction Gigabytes Total > ECC rereads/ errors algorithm processed uncorrected > fast | delayed rewrites corrected invocations [10^9 bytes] errors > read: 0 0 0 0 0 0.000 0 > write: 0 0 0 0 0 0.000 0 > > Non-medium error count: 0 > > SMART Self-test log > Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ] > Description number (hours) > # 1 Background short Completed - 5993 - [- - -] > # 2 Background short Completed - 1 - [- - -] > > Long (extended) Self Test duration: 1560 seconds [26.0 minutes] > > > |
From: Bruce A. <ba...@gr...> - 2007-10-10 20:01:24
|
Stanislav, I've ordered a card to send to Doug. So we'll have some support for this, providing that Doug has time and that the card is not too messy to understand/support. Cheers, Bruce On Mon, 1 Oct 2007, Stanislav Brabec wrote: > Bruce Allen wrote: >>>> Developers: do we have a smartmontools developer who is supporting >>>> CCISS? >>>> >>>> If not, how could we go about finding a developer? >>> >>> If someone would like to send me a controller card from that family I >>> should be able to get it going :-) >> >> Doug, >> >> I'd be happy to get you one or two. Can you spend a few minutes googling >> and then let me know your prefered card model number(s)? > > I have just now (not physical) access to one E400i with SAS disc > connected and one E200i with SATA disc connected. > > I have tested CVS version with HP E400i with SAS disc. It seems to work > with the currect CVS snapshot (except auto-detection, see report below), > but not with the 5.37. > > > I have also tested HP E200i with SATA disc using modified sm5 forcing > cciss,0 with ATA-passthrough commands. I suspect that there is not > implemented nor ATA PASS THROUGH (16) support nor SCSI to ATA S.M.A.R.T. > translation, so we cannot get reply from the disc. > > The UNDERRUN errors mentioned in my previous mail can be safely ignored: > They are issued, but data are returned for all commands except ATA PASS > THROUGH (16). I have even tries some tricks for it (modification CDB to > place buffer size to another place), but with no success. > > > # ./smartctl -d cciss,1 -a /dev/cciss/c1d0 > smartctl version 5.38 [x86_64-suse-linux-gnu] Copyright (C) 2002-7 Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > Device: HP DG072A8B54 Version: HPD7 > Serial number: 3LB0XZTD00009708MBEP > Device type: disk > Transport protocol: SAS > Local Time is: Mon Oct 1 15:16:43 2007 CEST > Device supports SMART and is Enabled > Temperature Warning Enabled > SMART Health Status: OK > > Current Drive Temperature: 23 C > Drive Trip Temperature: 65 C > Elements in grown defect list: 0 > Vendor (Seagate) cache information > Blocks sent to initiator = 1750331011 > Blocks received from initiator = 4901408 > Blocks read from cache and sent to initiator = 88473190 > Number of read and write commands whose size <= segment size = 2506686337 > Number of read and write commands whose size > segment size = 0 > Vendor (Seagate/Hitachi) factory information > number of hours powered up = 5995.08 > number of minutes until next internal SMART test = 74 > > Error counter log: > Errors Corrected by Total Correction Gigabytes Total > ECC rereads/ errors algorithm processed uncorrected > fast | delayed rewrites corrected invocations [10^9 bytes] errors > read: 0 0 0 0 0 0.000 0 > write: 0 0 0 0 0 0.000 0 > > Non-medium error count: 0 > > SMART Self-test log > Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ] > Description number (hours) > # 1 Background short Completed - 5993 - [- - -] > # 2 Background short Completed - 1 - [- - -] > > Long (extended) Self Test duration: 1560 seconds [26.0 minutes] > > > |
From: Guido G. <ag...@si...> - 2007-11-13 14:05:09
|
Hi, On Thu, Sep 20, 2007 at 12:41:46PM +0200, Frédéric VANNIÈRE wrote: > Hello, > > I'm trying to get SMART data from disks behind a HP Smart Array E200i > SATA/SAS card. > The card firmware is the latest one, the cciss driver is from genuine > Linux 2.6.20.6 > and I've tried smartmontools 5.36, 5.37 and 5.38 (cvs). The card is > configured as RAID-1 > with 2 WD Digital Raptor SATA disks. A developer from HP told me this a while ago: # SATA drive support behind a smart array controller can only be done on # an MSA20 enclosure. It appears you can't get detailed SATA disk # information from other smart array devices since the firmware support # for the passthroughs isn't there yet. I guess this applies here too? -- Guido |