|
From: Peter Radig <peter@ra...> - 2011-05-08 16:18:21
Attachments:
Message as HTML
|
My box has 21 SATA disks, some of them directly connected to the motherboard, others via LSI 3081E-R. OS is Solaris Express 11 x64 (2010.11 SRU5). Doing a "smartctl -d sat -a /dev/rdsk/c7t12d0" with smartmontools 5.39 on any of the disks delivers the expected output and no kernel warning. However, with 5.40 and everything else unchanged I get: May 8 17:55:01 rocky scsi: [ID 107833 kern.warning] WARNING: /pci@...,0/pci8086,2e21@.../pci1000,3140@.../sd@...,0 (sd7): May 8 17:55:01 rocky Error for Command: <undecoded cmd 0x85> Error Level: Recovered May 8 17:55:01 rocky scsi: [ID 107833 kern.notice] Requested Block: 0 Error Block: 0 May 8 17:55:01 rocky scsi: [ID 107833 kern.notice] Vendor: ATA Serial Number: MN1220 May 8 17:55:01 rocky scsi: [ID 107833 kern.notice] Sense Key: Soft_Error May 8 17:55:01 rocky scsi: [ID 107833 kern.notice] ASC: 0x0 (<vendor unique code 0x0>), ASCQ: 0x1d, FRU: 0x0 or (on another disk): May 8 17:31:39 rocky scsi: [ID 107833 kern.warning] WARNING: /pci@...,0/pci1043,82d4@...,2/disk@...,0 (sd3): May 8 17:31:39 rocky Error for Command: <undecoded cmd 0xa1> Error Level: Recovered May 8 17:31:39 rocky scsi: [ID 107833 kern.notice] Requested Block: 0 Error Block: 0 May 8 17:31:39 rocky scsi: [ID 107833 kern.notice] Vendor: ATA Serial Number: May 8 17:31:39 rocky scsi: [ID 107833 kern.notice] Sense Key: Soft_Error May 8 17:31:39 rocky scsi: [ID 107833 kern.notice] ASC: 0x0 (no additional sense info), ASCQ: 0x0, FRU: 0x0 How can I avoid these warnings (which reappear every 30 minutes from smartd)? |
|
From: Christian Franke <Christian.Franke@t-...> - 2011-05-08 19:54:26
|
Peter Radig wrote: > > My box has 21 SATA disks, some of them directly connected to the > motherboard, others via LSI 3081E-R. > > OS is Solaris Express 11 x64 (2010.11 SRU5). > > Doing a “smartctl -d sat -a /dev/rdsk/c7t12d0” with smartmontools 5.39 > on any of the disks delivers the expected output and no kernel warning. > > However, with 5.40 and everything else unchanged I get: > > May 8 17:55:01 rocky scsi: [ID 107833 kern.warning] WARNING: > /pci@...,0/pci8086,2e21@.../pci1000,3140@.../sd@...,0 (sd7): > > May 8 17:55:01 rocky Error for Command: <undecoded cmd 0x85> Error > Level: Recovered > > May 8 17:55:01 rocky scsi: [ID 107833 kern.notice] Requested Block: 0 > Error Block: 0 > > May 8 17:55:01 rocky scsi: [ID 107833 kern.notice] Vendor: ATA Serial > Number: MN1220 > > May 8 17:55:01 rocky scsi: [ID 107833 kern.notice] Sense Key: Soft_Error > > May 8 17:55:01 rocky scsi: [ID 107833 kern.notice] ASC: 0x0 (<vendor > unique code 0x0>), ASCQ: 0x1d, FRU: 0x0 > > or (on another disk): > > May 8 17:31:39 rocky scsi: [ID 107833 kern.warning] WARNING: > /pci@...,0/pci1043,82d4@...,2/disk@...,0 (sd3): > > May 8 17:31:39 rocky Error for Command: <undecoded cmd 0xa1> Error > Level: Recovered > > May 8 17:31:39 rocky scsi: [ID 107833 kern.notice] Requested Block: 0 > Error Block: 0 > > May 8 17:31:39 rocky scsi: [ID 107833 kern.notice] Vendor: ATA Serial > Number: > > May 8 17:31:39 rocky scsi: [ID 107833 kern.notice] Sense Key: Soft_Error > > May 8 17:31:39 rocky scsi: [ID 107833 kern.notice] ASC: 0x0 (no > additional sense info), ASCQ: 0x0, FRU: 0x0 > > How can I avoid these warnings (which reappear every 30 minutes from > smartd)? > > The solaris specific code was not changed between 5.39 and 5.40. The commands 0x85 and 0xa1 are the 16 and 12 byte versions of SAT ATA PASS-THROUGH 16 and 12 which are used to for all ATA commands if '-d sat' is specified. "smartctl -a" is equivalent to "smartctl -H -i -c -A -l error -l selftest -l selective". Please try which of those options produce a kernel warning. Thanks, Christian |
|
From: Peter Radig <peter@ra...> - 2011-05-08 20:05:39
|
It's the "-H" that causes the grief. Thanks, Peter -----Original Message----- From: Christian Franke [mailto:Christian.Franke@...] Sent: 08 May, 2011 21:54 To: Peter Radig Cc: smartmontools-support@... Subject: Re: [smartmontools-support] Kernel errors on Solaris 11 x64 after moving from 5.39 to 5.40 Peter Radig wrote: > > My box has 21 SATA disks, some of them directly connected to the > motherboard, others via LSI 3081E-R. > > OS is Solaris Express 11 x64 (2010.11 SRU5). > > Doing a "smartctl -d sat -a /dev/rdsk/c7t12d0" with smartmontools 5.39 > on any of the disks delivers the expected output and no kernel warning. > > However, with 5.40 and everything else unchanged I get: > > May 8 17:55:01 rocky scsi: [ID 107833 kern.warning] WARNING: > /pci@...,0/pci8086,2e21@.../pci1000,3140@.../sd@...,0 (sd7): > > May 8 17:55:01 rocky Error for Command: <undecoded cmd 0x85> Error > Level: Recovered > > May 8 17:55:01 rocky scsi: [ID 107833 kern.notice] Requested Block: 0 > Error Block: 0 > > May 8 17:55:01 rocky scsi: [ID 107833 kern.notice] Vendor: ATA Serial > Number: MN1220 > > May 8 17:55:01 rocky scsi: [ID 107833 kern.notice] Sense Key: > Soft_Error > > May 8 17:55:01 rocky scsi: [ID 107833 kern.notice] ASC: 0x0 (<vendor > unique code 0x0>), ASCQ: 0x1d, FRU: 0x0 > > or (on another disk): > > May 8 17:31:39 rocky scsi: [ID 107833 kern.warning] WARNING: > /pci@...,0/pci1043,82d4@...,2/disk@...,0 (sd3): > > May 8 17:31:39 rocky Error for Command: <undecoded cmd 0xa1> Error > Level: Recovered > > May 8 17:31:39 rocky scsi: [ID 107833 kern.notice] Requested Block: 0 > Error Block: 0 > > May 8 17:31:39 rocky scsi: [ID 107833 kern.notice] Vendor: ATA Serial > Number: > > May 8 17:31:39 rocky scsi: [ID 107833 kern.notice] Sense Key: > Soft_Error > > May 8 17:31:39 rocky scsi: [ID 107833 kern.notice] ASC: 0x0 (no > additional sense info), ASCQ: 0x0, FRU: 0x0 > > How can I avoid these warnings (which reappear every 30 minutes from > smartd)? > > The solaris specific code was not changed between 5.39 and 5.40. The commands 0x85 and 0xa1 are the 16 and 12 byte versions of SAT ATA PASS-THROUGH 16 and 12 which are used to for all ATA commands if '-d sat' is specified. "smartctl -a" is equivalent to "smartctl -H -i -c -A -l error -l selftest -l selective". Please try which of those options produce a kernel warning. Thanks, Christian |
|
From: Christian Franke <Christian.Franke@t-...> - 2011-05-17 21:48:59
|
Peter Radig wrote: > It's the "-H" that causes the grief. > > This is the only SMART command which requires ATA output registers. When SAT ATA PASS-THROUGH is used this requires proper transfer of sense data. Both the solaris code and the OS independent SAT code are not changed between 5.39 and 5.40. But the number and order of commands issued have changed. For further diagnostics please provide outputs of "smartctl -r ioctl,2 -H /dev/ice" from 5.39 and 5.40. Thanks, Christian |
|
From: Peter Radig <peter@ra...> - 2011-05-18 06:12:21
|
peter@...:~/src/smartmontools-5.39$ pfexec ./smartctl -d sat,12 -r ioctl,2 -H /dev/rdsk/c12t0d0p0 smartctl 5.39 2009-12-09 r2995 [i386-pc-solaris2.11] (local build) Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=IDENTIFY DEVICE Input: FR=...., SC=0x01, LL=...., LM=...., LH=...., DEV=...., CMD=0xec IN [ata pass-through(12): a1 08 0e 00 01 00 00 00 00 ec 00 00 ] Incoming data, len=512 [only first 256 bytes shown]: 00 7a 42 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 10 00 00 00 00 20 20 20 20 57 20 2d 44 58 57 30 33 20 43 41 4e 39 36 38 37 37 00 00 00 80 32 00 32 30 30 30 2e 41 31 32 30 44 57 20 43 44 57 32 33 30 30 40 45 42 54 4b 32 2d 41 32 35 32 31 54 20 20 20 20 50 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80 60 00 00 00 2f 01 40 00 00 00 00 07 00 ff 3f 10 00 70 3f 00 10 fc fb 00 00 01 ff ff ff 0f 00 00 07 00 80 03 00 78 00 78 00 78 00 78 00 00 00 00 00 00 00 90 00 00 00 00 00 00 1f 00 06 1f 00 00 4c 00 40 00 a0 fe 01 00 00 6b 74 09 7f 63 61 69 74 09 bc 63 61 b0 7f 40 1e 00 1e 00 60 00 fe ff 00 00 fe 80 00 00 c0 00 00 00 00 00 00 00 00 b0 ea 42 25 00 00 00 00 d0 00 00 00 00 00 00 00 00 01 50 e2 4e a8 ae ba c2 e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 40 f0 18 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=IDENTIFY DEVICE returned 0 ===== [IDENTIFY DEVICE] DATA START (BASE-16) ===== 000-015: 7a 42 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 016-031: 00 00 00 00 20 20 20 20 57 20 2d 44 58 57 30 33 032-047: 43 41 4e 39 36 38 37 37 00 00 00 80 32 00 32 30 048-063: 30 2e 41 31 32 30 44 57 20 43 44 57 32 33 30 30 064-079: 45 42 54 4b 32 2d 41 32 35 32 31 54 20 20 20 20 080-095: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80 096-111: 00 00 00 2f 01 40 00 00 00 00 07 00 ff 3f 10 00 112-127: 3f 00 10 fc fb 00 00 01 ff ff ff 0f 00 00 07 00 128-143: 03 00 78 00 78 00 78 00 78 00 00 00 00 00 00 00 144-159: 00 00 00 00 00 00 1f 00 06 1f 00 00 4c 00 40 00 160-175: fe 01 00 00 6b 74 09 7f 63 61 69 74 09 bc 63 61 176-191: 7f 40 1e 00 1e 00 60 00 fe ff 00 00 fe 80 00 00 192-207: 00 00 00 00 00 00 00 00 b0 ea 42 25 00 00 00 00 208-223: 00 00 00 00 00 00 00 00 01 50 e2 4e a8 ae ba c2 224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 40 240-255: 18 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 256-271: 21 00 00 00 00 00 00 00 00 00 c7 16 00 00 00 00 272-287: 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 288-303: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 336-351: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 352-367: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 368-383: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 384-399: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 400-415: 00 00 00 00 00 00 00 00 00 00 00 00 37 70 00 00 416-431: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 432-447: 00 00 20 1c 00 00 00 00 00 00 00 00 1e 10 00 00 448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 464-479: 00 00 00 00 01 00 00 10 00 00 00 00 00 00 00 00 480-495: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a5 fa ===== [IDENTIFY DEVICE] DATA END (512 Bytes) ===== REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS Input: FR=0xda, SC=...., LL=...., LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 [ata pass-through(12): a1 06 0c da 00 00 4f c2 00 b0 00 00 ] REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS returned 0 REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS CHECK Input: FR=0xda, SC=...., LL=...., LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 [ata pass-through(12): a1 06 2c da 00 00 4f c2 00 b0 00 00 ] status=0x2: sense_key=0x0 asc=0x0 ascq=0x0 >>> Sense buffer, len=24: 00 72 01 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00 10 00 4f 00 c2 00 00 00 00 Values from ATA Return Descriptor are: 00 09 0c 00 00 00 00 00 00 00 4f 00 c2 00 00 Output: ERR=0x00, SC=0x00, LL=0x00, LM=0x4f, LH=0xc2, DEV=0x00, STS=0x00 REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS CHECK returned 0 REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE VALUES Input: FR=0xd0, SC=0x01, LL=...., LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 IN [ata pass-through(12): a1 08 0e d0 01 00 4f c2 00 b0 00 00 ] Incoming data, len=512 [only first 256 bytes shown]: 00 10 00 01 2f 00 c8 c8 00 00 00 00 00 00 00 03 27 10 00 90 8f ef 06 00 00 00 00 00 04 32 00 64 64 0f 20 00 00 00 00 00 00 05 33 00 c8 c8 00 00 00 00 00 30 00 00 07 2e 00 c8 c8 00 00 00 00 00 00 00 09 32 40 00 5d 5d 9f 14 00 00 00 00 00 0a 32 00 64 fd 00 50 00 00 00 00 00 00 0b 32 00 64 fd 00 00 00 00 00 60 00 00 0c 32 00 64 64 0e 00 00 00 00 00 00 bf 32 70 00 5e 5e 06 00 00 00 00 00 00 c0 32 00 c8 c8 0d 80 00 00 00 00 00 00 c1 32 00 9e 9e 03 f1 01 00 00 90 00 00 c2 22 00 6b 5b 24 00 00 00 00 00 00 c4 32 a0 00 c8 c8 00 00 00 00 00 00 00 c5 32 00 c8 c8 00 b0 00 00 00 00 00 00 c6 30 00 c8 c8 00 00 00 00 00 c0 00 00 c7 32 00 c8 c8 00 00 00 00 00 00 00 c8 08 d0 00 c8 c8 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 REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE VALUES returned 0 ===== [SMART READ ATTRIBUTE VALUES] DATA START (BASE-16) ===== 000-015: 10 00 01 2f 00 c8 c8 00 00 00 00 00 00 00 03 27 016-031: 00 90 8f ef 06 00 00 00 00 00 04 32 00 64 64 0f 032-047: 00 00 00 00 00 00 05 33 00 c8 c8 00 00 00 00 00 048-063: 00 00 07 2e 00 c8 c8 00 00 00 00 00 00 00 09 32 064-079: 00 5d 5d 9f 14 00 00 00 00 00 0a 32 00 64 fd 00 080-095: 00 00 00 00 00 00 0b 32 00 64 fd 00 00 00 00 00 096-111: 00 00 0c 32 00 64 64 0e 00 00 00 00 00 00 bf 32 112-127: 00 5e 5e 06 00 00 00 00 00 00 c0 32 00 c8 c8 0d 128-143: 00 00 00 00 00 00 c1 32 00 9e 9e 03 f1 01 00 00 144-159: 00 00 c2 22 00 6b 5b 24 00 00 00 00 00 00 c4 32 160-175: 00 c8 c8 00 00 00 00 00 00 00 c5 32 00 c8 c8 00 176-191: 00 00 00 00 00 00 c6 30 00 c8 c8 00 00 00 00 00 192-207: 00 00 c7 32 00 c8 c8 00 00 00 00 00 00 00 c8 08 208-223: 00 c8 c8 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: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 288-303: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 336-351: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 352-367: 00 00 00 00 00 00 00 00 00 00 84 00 70 17 01 7b 368-383: 03 00 01 00 02 49 05 00 00 00 00 00 00 00 00 00 384-399: 00 00 01 02 00 00 00 00 00 00 00 00 00 00 00 00 400-415: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 416-431: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 432-447: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 464-479: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 480-495: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d3 ===== [SMART READ ATTRIBUTE VALUES] DATA END (512 Bytes) ===== REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE THRESHOLDS Input: FR=0xd1, SC=0x01, LL=0x01, LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 IN [ata pass-through(12): a1 08 0e d1 01 01 4f c2 00 b0 00 00 ] Incoming data, len=512 [only first 256 bytes shown]: 00 10 00 01 33 c8 c8 00 00 00 00 00 00 00 00 03 15 10 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 20 00 00 00 00 00 00 05 8c 00 00 00 00 00 00 00 00 30 00 00 07 00 c8 c8 00 00 00 00 00 00 00 00 09 00 40 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 00 00 50 00 00 00 00 00 00 0b 00 00 00 00 00 00 00 00 00 60 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 bf 00 70 00 00 00 00 00 00 00 00 00 00 c0 00 00 00 00 00 80 00 00 00 00 00 00 c1 00 00 00 00 00 00 00 00 00 90 00 00 c2 00 00 00 00 00 00 00 00 00 00 00 c4 00 a0 00 00 00 00 00 00 00 00 00 00 c5 00 00 00 00 00 b0 00 00 00 00 00 00 c6 00 00 00 00 00 00 00 00 00 c0 00 00 c7 00 00 00 00 00 00 00 00 00 00 00 c8 00 d0 c8 c8 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 REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE THRESHOLDS returned 0 ===== [SMART READ ATTRIBUTE THRESHOLDS] DATA START (BASE-16) ===== 000-015: 10 00 01 33 c8 c8 00 00 00 00 00 00 00 00 03 15 016-031: 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 032-047: 00 00 00 00 00 00 05 8c 00 00 00 00 00 00 00 00 048-063: 00 00 07 00 c8 c8 00 00 00 00 00 00 00 00 09 00 064-079: 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 00 00 080-095: 00 00 00 00 00 00 0b 00 00 00 00 00 00 00 00 00 096-111: 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 bf 00 112-127: 00 00 00 00 00 00 00 00 00 00 c0 00 00 00 00 00 128-143: 00 00 00 00 00 00 c1 00 00 00 00 00 00 00 00 00 144-159: 00 00 c2 00 00 00 00 00 00 00 00 00 00 00 c4 00 160-175: 00 00 00 00 00 00 00 00 00 00 c5 00 00 00 00 00 176-191: 00 00 00 00 00 00 c6 00 00 00 00 00 00 00 00 00 192-207: 00 00 c7 00 00 00 00 00 00 00 00 00 00 00 c8 00 208-223: c8 c8 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: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 288-303: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 336-351: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 352-367: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 368-383: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 384-399: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 400-415: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 416-431: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 432-447: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 464-479: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 480-495: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4e ===== [SMART READ ATTRIBUTE THRESHOLDS] DATA END (512 Bytes) ===== === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED peter@...:~/src/smartmontools-5.39$ peter@...:~/src/smartmontools-5.40$ pfexec ./smartctl -d sat,12 -r ioctl,2 -H /dev/rdsk/c12t0d0p0 smartctl 5.40 2010-10-16 r3189 [i386-pc-solaris2.11] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=IDENTIFY DEVICE Input: FR=...., SC=0x01, LL=...., LM=...., LH=...., DEV=...., CMD=0xec IN [ata pass-through(12): a1 08 0e 00 01 00 00 00 00 ec 00 00 ] Incoming data, len=512 [only first 256 bytes shown]: 00 7a 42 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 10 00 00 00 00 20 20 20 20 57 20 2d 44 58 57 30 33 20 43 41 4e 39 36 38 37 37 00 00 00 80 32 00 32 30 30 30 2e 41 31 32 30 44 57 20 43 44 57 32 33 30 30 40 45 42 54 4b 32 2d 41 32 35 32 31 54 20 20 20 20 50 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80 60 00 00 00 2f 01 40 00 00 00 00 07 00 ff 3f 10 00 70 3f 00 10 fc fb 00 00 01 ff ff ff 0f 00 00 07 00 80 03 00 78 00 78 00 78 00 78 00 00 00 00 00 00 00 90 00 00 00 00 00 00 1f 00 06 1f 00 00 4c 00 40 00 a0 fe 01 00 00 6b 74 09 7f 63 61 69 74 09 bc 63 61 b0 7f 40 1e 00 1e 00 60 00 fe ff 00 00 fe 80 00 00 c0 00 00 00 00 00 00 00 00 b0 ea 42 25 00 00 00 00 d0 00 00 00 00 00 00 00 00 01 50 e2 4e a8 ae ba c2 e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 40 f0 18 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=IDENTIFY DEVICE returned 0 ===== [IDENTIFY DEVICE] DATA START (BASE-16) ===== 000-015: 7a 42 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 |zB.?7.......?...| 016-031: 00 00 00 00 20 20 20 20 57 20 2d 44 58 57 30 33 |.... W -DXW03| 032-047: 43 41 4e 39 36 38 37 37 00 00 00 80 32 00 32 30 |CAN96877....2.20| 048-063: 30 2e 41 31 32 30 44 57 20 43 44 57 32 33 30 30 |0.A120DW CDW2300| 064-079: 45 42 54 4b 32 2d 41 32 35 32 31 54 20 20 20 20 |EBTK2-A2521T | 080-095: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80 | ..| 096-111: 00 00 00 2f 01 40 00 00 00 00 07 00 ff 3f 10 00 |.../.@...?..| 112-127: 3f 00 10 fc fb 00 00 01 ff ff ff 0f 00 00 07 00 |?...............| 128-143: 03 00 78 00 78 00 78 00 78 00 00 00 00 00 00 00 |..x.x.x.x.......| 144-159: 00 00 00 00 00 00 1f 00 06 1f 00 00 4c 00 40 00 |............L.@...| 160-175: fe 01 00 00 6b 74 09 7f 63 61 69 74 09 bc 63 61 |....kt..cait..ca| 176-191: 7f 40 1e 00 1e 00 60 00 fe ff 00 00 fe 80 00 00 |.@...`.........| 192-207: 00 00 00 00 00 00 00 00 b0 ea 42 25 00 00 00 00 |..........B%....| 208-223: 00 00 00 00 00 00 00 00 01 50 e2 4e a8 ae ba c2 |.........P.N....| 224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 40 |...............@| 240-255: 18 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |.@...| 256-271: 21 00 00 00 00 00 00 00 00 00 c7 16 00 00 00 00 |!...............| 272-287: 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 |................| 288-303: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 336-351: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 352-367: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 368-383: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 384-399: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 400-415: 00 00 00 00 00 00 00 00 00 00 00 00 37 70 00 00 |............7p..| 416-431: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 432-447: 00 00 20 1c 00 00 00 00 00 00 00 00 1e 10 00 00 |.. .............| 448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 464-479: 00 00 00 00 01 00 00 10 00 00 00 00 00 00 00 00 |................| 480-495: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a5 fa |................| ===== [IDENTIFY DEVICE] DATA END (512 Bytes) ===== REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE VALUES Input: FR=0xd0, SC=0x01, LL=...., LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 IN [ata pass-through(12): a1 08 0e d0 01 00 4f c2 00 b0 00 00 ] Incoming data, len=512 [only first 256 bytes shown]: 00 10 00 01 2f 00 c8 c8 00 00 00 00 00 00 00 03 27 10 00 90 8f ef 06 00 00 00 00 00 04 32 00 64 64 0f 20 00 00 00 00 00 00 05 33 00 c8 c8 00 00 00 00 00 30 00 00 07 2e 00 c8 c8 00 00 00 00 00 00 00 09 32 40 00 5d 5d 9f 14 00 00 00 00 00 0a 32 00 64 fd 00 50 00 00 00 00 00 00 0b 32 00 64 fd 00 00 00 00 00 60 00 00 0c 32 00 64 64 0e 00 00 00 00 00 00 bf 32 70 00 5e 5e 06 00 00 00 00 00 00 c0 32 00 c8 c8 0d 80 00 00 00 00 00 00 c1 32 00 9e 9e 07 f1 01 00 00 90 00 00 c2 22 00 6b 5b 24 00 00 00 00 00 00 c4 32 a0 00 c8 c8 00 00 00 00 00 00 00 c5 32 00 c8 c8 00 b0 00 00 00 00 00 00 c6 30 00 c8 c8 00 00 00 00 00 c0 00 00 c7 32 00 c8 c8 00 00 00 00 00 00 00 c8 08 d0 00 c8 c8 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 REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE VALUES returned 0 ===== [SMART READ ATTRIBUTE VALUES] DATA START (BASE-16) ===== 000-015: 10 00 01 2f 00 c8 c8 00 00 00 00 00 00 00 03 27 |.../...........'| 016-031: 00 90 8f ef 06 00 00 00 00 00 04 32 00 64 64 0f |...........2.dd.| 032-047: 00 00 00 00 00 00 05 33 00 c8 c8 00 00 00 00 00 |.......3........| 048-063: 00 00 07 2e 00 c8 c8 00 00 00 00 00 00 00 09 32 |...............2| 064-079: 00 5d 5d 9f 14 00 00 00 00 00 0a 32 00 64 fd 00 |.]]........2.d..| 080-095: 00 00 00 00 00 00 0b 32 00 64 fd 00 00 00 00 00 |.......2.d......| 096-111: 00 00 0c 32 00 64 64 0e 00 00 00 00 00 00 bf 32 |...2.dd........2| 112-127: 00 5e 5e 06 00 00 00 00 00 00 c0 32 00 c8 c8 0d |.^^........2....| 128-143: 00 00 00 00 00 00 c1 32 00 9e 9e 07 f1 01 00 00 |.......2........| 144-159: 00 00 c2 22 00 6b 5b 24 00 00 00 00 00 00 c4 32 |...".k[$.......2| 160-175: 00 c8 c8 00 00 00 00 00 00 00 c5 32 00 c8 c8 00 |...........2....| 176-191: 00 00 00 00 00 00 c6 30 00 c8 c8 00 00 00 00 00 |.......0........| 192-207: 00 00 c7 32 00 c8 c8 00 00 00 00 00 00 00 c8 08 |...2............| 208-223: 00 c8 c8 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: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 288-303: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 336-351: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 352-367: 00 00 00 00 00 00 00 00 00 00 84 00 70 17 01 7b |............p..{| 368-383: 03 00 01 00 02 49 05 00 00 00 00 00 00 00 00 00 |.....I..........| 384-399: 00 00 01 02 00 00 00 00 00 00 00 00 00 00 00 00 |................| 400-415: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 416-431: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 432-447: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 464-479: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 480-495: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 cf |................| ===== [SMART READ ATTRIBUTE VALUES] DATA END (512 Bytes) ===== REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE THRESHOLDS Input: FR=0xd1, SC=0x01, LL=0x01, LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 IN [ata pass-through(12): a1 08 0e d1 01 01 4f c2 00 b0 00 00 ] Incoming data, len=512 [only first 256 bytes shown]: 00 10 00 01 33 c8 c8 00 00 00 00 00 00 00 00 03 15 10 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 20 00 00 00 00 00 00 05 8c 00 00 00 00 00 00 00 00 30 00 00 07 00 c8 c8 00 00 00 00 00 00 00 00 09 00 40 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 00 00 50 00 00 00 00 00 00 0b 00 00 00 00 00 00 00 00 00 60 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 bf 00 70 00 00 00 00 00 00 00 00 00 00 c0 00 00 00 00 00 80 00 00 00 00 00 00 c1 00 00 00 00 00 00 00 00 00 90 00 00 c2 00 00 00 00 00 00 00 00 00 00 00 c4 00 a0 00 00 00 00 00 00 00 00 00 00 c5 00 00 00 00 00 b0 00 00 00 00 00 00 c6 00 00 00 00 00 00 00 00 00 c0 00 00 c7 00 00 00 00 00 00 00 00 00 00 00 c8 00 d0 c8 c8 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 REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE THRESHOLDS returned 0 ===== [SMART READ ATTRIBUTE THRESHOLDS] DATA START (BASE-16) ===== 000-015: 10 00 01 33 c8 c8 00 00 00 00 00 00 00 00 03 15 |...3............| 016-031: 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 |................| 032-047: 00 00 00 00 00 00 05 8c 00 00 00 00 00 00 00 00 |................| 048-063: 00 00 07 00 c8 c8 00 00 00 00 00 00 00 00 09 00 |................| 064-079: 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 00 00 |................| 080-095: 00 00 00 00 00 00 0b 00 00 00 00 00 00 00 00 00 |................| 096-111: 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 bf 00 |................| 112-127: 00 00 00 00 00 00 00 00 00 00 c0 00 00 00 00 00 |................| 128-143: 00 00 00 00 00 00 c1 00 00 00 00 00 00 00 00 00 |................| 144-159: 00 00 c2 00 00 00 00 00 00 00 00 00 00 00 c4 00 |................| 160-175: 00 00 00 00 00 00 00 00 00 00 c5 00 00 00 00 00 |................| 176-191: 00 00 00 00 00 00 c6 00 00 00 00 00 00 00 00 00 |................| 192-207: 00 00 c7 00 00 00 00 00 00 00 00 00 00 00 c8 00 |................| 208-223: c8 c8 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: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 288-303: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 336-351: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 352-367: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 368-383: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 384-399: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 400-415: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 416-431: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 432-447: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 464-479: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 480-495: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4e |...............N| ===== [SMART READ ATTRIBUTE THRESHOLDS] DATA END (512 Bytes) ===== === START OF READ SMART DATA SECTION === REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS CHECK Input: FR=0xda, SC=...., LL=...., LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 [ata pass-through(12): a1 06 2c da 00 00 4f c2 00 b0 00 00 ] status=0x2: sense_key=0x0 asc=0x0 ascq=0x0 >>> Sense buffer, len=24: 00 72 01 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00 10 00 4f 00 c2 00 00 00 00 Values from ATA Return Descriptor are: 00 09 0c 00 00 00 00 00 00 00 4f 00 c2 00 00 Output: ERR=0x00, SC=0x00, LL=0x00, LM=0x4f, LH=0xc2, DEV=0x00, STS=0x00 REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS CHECK returned 0 SMART overall-health self-assessment test result: PASSED peter@...:~/src/smartmontools-5.40$ May 18 08:07:42 rocky Error for Command: <undecoded cmd 0xa1> Error Level: Recovered May 18 08:07:42 rocky scsi: [ID 107833 kern.notice] Requested Block: 0 Error Block: 0 May 18 08:07:42 rocky scsi: [ID 107833 kern.notice] Vendor: ATA Serial Number: May 18 08:07:42 rocky scsi: [ID 107833 kern.notice] Sense Key: Soft_Error May 18 08:07:42 rocky scsi: [ID 107833 kern.notice] ASC: 0x0 (no additional sense info), ASCQ: 0x0, FRU: 0x0 Thanks, Peter -----Original Message----- From: Christian Franke [mailto:Christian.Franke@...] Sent: Dienstag, 17. Mai 2011 23:49 To: Peter Radig Cc: smartmontools-support@... Subject: Re: [smartmontools-support] Kernel errors on Solaris 11 x64 after moving from 5.39 to 5.40 Peter Radig wrote: > It's the "-H" that causes the grief. > > This is the only SMART command which requires ATA output registers. When SAT ATA PASS-THROUGH is used this requires proper transfer of sense data. Both the solaris code and the OS independent SAT code are not changed between 5.39 and 5.40. But the number and order of commands issued have changed. For further diagnostics please provide outputs of "smartctl -r ioctl,2 -H /dev/ice" from 5.39 and 5.40. Thanks, Christian |
|
From: Christian Franke <Christian.Franke@t-...> - 2011-05-18 19:52:14
Attachments:
smartmontools-sat-debug-wait.patch
|
Peter Radig wrote: > peter@...:~/src/smartmontools-5.39$ pfexec ./smartctl -d sat,12 -r ioctl,2 -H /dev/rdsk/c12t0d0p0 > smartctl 5.39 2009-12-09 r2995 [i386-pc-solaris2.11] (local build) > ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=IDENTIFY DEVICE returned 0 > ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS returned 0 > ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS CHECK returned 0 > ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE VALUES returned 0 > ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE THRESHOLDS returned 0 > ... > SMART overall-health self-assessment test result: PASSED > > peter@...:~/src/smartmontools-5.40$ pfexec ./smartctl -d sat,12 -r ioctl,2 -H /dev/rdsk/c12t0d0p0 > smartctl 5.40 2010-10-16 r3189 [i386-pc-solaris2.11] (local build) > ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=IDENTIFY DEVICE returned 0 > ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE VALUES returned 0 > ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE THRESHOLDS returned 0 > ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS CHECK returned 0 > SMART overall-health self-assessment test result: PASSED > ... > > May 18 08:07:42 rocky Error for Command:<undecoded cmd 0xa1> Error Level: Recovered > May 18 08:07:42 rocky scsi: [ID 107833 kern.notice] Requested Block: 0 Error Block: 0 > May 18 08:07:42 rocky scsi: [ID 107833 kern.notice] Vendor: ATA Serial Number: > May 18 08:07:42 rocky scsi: [ID 107833 kern.notice] Sense Key: Soft_Error > May 18 08:07:42 rocky scsi: [ID 107833 kern.notice] ASC: 0x0 (no additional sense info), ASCQ: 0x0, FRU: 0x0 > > Both versions behave as expected, sent identical commands and got identical replies from the disk. The only difference is that 5.39 sends SMART RETURN STATUS earlier and twice, first without request for sense data (ATA output registers): IDENTIFY DEVICE SMART RETURN STATUS (SAT CK_COND=0) <== 5.39 SMART RETURN STATUS (SAT CK_COND=1) <== 5.39 SMART READ ATTRIBUTES SMART READ THRESHOLDS SMART RETURN STATUS (SAT CK_COND=1) <== 5.40 For further diagnostics we need to know which command produces the warning. Unfortunately the syslog entry does only print the SAT command code which is the same for all commands. If possible please apply the attached patch to 5.40 (or current SVN) and repeat the test. After which command does the warning appear in the syslog? Thanks, Christian |
|
From: Peter Radig <peter@ra...> - 2011-05-18 20:05:44
|
Christian, It appears after this one: === START OF READ SMART DATA SECTION === REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS CHECK Input: FR=0xda, SC=...., LL=...., LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 [ata pass-through(12): a1 06 2c da 00 00 4f c2 00 b0 00 00 ] status=0x2: sense_key=0x0 asc=0x0 ascq=0x0 >>> Sense buffer, len=24: 00 72 01 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00 10 00 4f 00 c2 00 00 00 00 Values from ATA Return Descriptor are: 00 09 0c 00 00 00 00 00 00 00 4f 00 c2 00 00 Thanks, Peter -----Original Message----- From: Christian Franke [mailto:Christian.Franke@...] Sent: Mittwoch, 18. Mai 2011 21:52 To: Peter Radig Cc: smartmontools-support@... Subject: Re: [smartmontools-support] Kernel errors on Solaris 11 x64 after moving from 5.39 to 5.40 Peter Radig wrote: > peter@...:~/src/smartmontools-5.39$ pfexec ./smartctl -d sat,12 -r > ioctl,2 -H /dev/rdsk/c12t0d0p0 smartctl 5.39 2009-12-09 r2995 > [i386-pc-solaris2.11] (local build) ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=IDENTIFY DEVICE > returned 0 ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS returned > 0 ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS CHECK > returned 0 ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE > VALUES returned 0 ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE > THRESHOLDS returned 0 ... > SMART overall-health self-assessment test result: PASSED > > peter@...:~/src/smartmontools-5.40$ pfexec ./smartctl -d sat,12 -r > ioctl,2 -H /dev/rdsk/c12t0d0p0 smartctl 5.40 2010-10-16 r3189 > [i386-pc-solaris2.11] (local build) ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=IDENTIFY DEVICE > returned 0 ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE > VALUES returned 0 ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART READ ATTRIBUTE > THRESHOLDS returned 0 ... > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS CHECK > returned 0 SMART overall-health self-assessment test result: PASSED > ... > > May 18 08:07:42 rocky Error for Command:<undecoded cmd 0xa1> Error Level: Recovered > May 18 08:07:42 rocky scsi: [ID 107833 kern.notice] Requested Block: 0 Error Block: 0 > May 18 08:07:42 rocky scsi: [ID 107833 kern.notice] Vendor: ATA Serial Number: > May 18 08:07:42 rocky scsi: [ID 107833 kern.notice] Sense Key: Soft_Error > May 18 08:07:42 rocky scsi: [ID 107833 kern.notice] ASC: 0x0 (no additional sense info), ASCQ: 0x0, FRU: 0x0 > > Both versions behave as expected, sent identical commands and got identical replies from the disk. The only difference is that 5.39 sends SMART RETURN STATUS earlier and twice, first without request for sense data (ATA output registers): IDENTIFY DEVICE SMART RETURN STATUS (SAT CK_COND=0) <== 5.39 SMART RETURN STATUS (SAT CK_COND=1) <== 5.39 SMART READ ATTRIBUTES SMART READ THRESHOLDS SMART RETURN STATUS (SAT CK_COND=1) <== 5.40 For further diagnostics we need to know which command produces the warning. Unfortunately the syslog entry does only print the SAT command code which is the same for all commands. If possible please apply the attached patch to 5.40 (or current SVN) and repeat the test. After which command does the warning appear in the syslog? Thanks, Christian |
|
From: Christian Franke <Christian.Franke@t-...> - 2011-05-18 20:23:18
|
Peter Radig wrote: > Christian, > > It appears after this one: > > === START OF READ SMART DATA SECTION === > > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS CHECK > Input: FR=0xda, SC=...., LL=...., LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 > [ata pass-through(12): a1 06 2c da 00 00 4f c2 00 b0 00 00 ] > status=0x2: sense_key=0x0 asc=0x0 ascq=0x0 > >>> Sense buffer, len=24: > 00 72 01 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00 > 10 00 4f 00 c2 00 00 00 00 > Values from ATA Return Descriptor are: > 00 09 0c 00 00 00 00 00 00 00 4f 00 c2 00 00 > > I presume the warning is logged because this SCSI command returns sense data. If this is the case then this is IMO a kernel or driver bug and should be reported to solaris developers. SCSI errors should only be logged if the sense data contains real error codes. In this case sense data contains the ATA Return Descriptor as requested. But I have no idea why this does not happen when 5.39 is used as it issues the SAME command. Thanks, Christian |
|
From: Christian Franke <Christian.Franke@t-...> - 2011-05-20 05:42:56
|
Peter Radig wrote: > It appears after this one: > > === START OF READ SMART DATA SECTION === > > REPORT-IOCTL: Device=/dev/rdsk/c12t0d0p0 Command=SMART STATUS CHECK > Input: FR=0xda, SC=...., LL=...., LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 > [ata pass-through(12): a1 06 2c da 00 00 4f c2 00 b0 00 00 ] > status=0x2: sense_key=0x0 asc=0x0 ascq=0x0 > Bug in smarctl debug output: should print sense_key=0x1 (Soft_Error, as printed in kernel log) > >>> Sense buffer, len=24: > 00 72 01 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00 > Possible bug in controller Firmware: this should be: "72 00 00 00 ..." (No_Error) instead of: "72 01 00 00 ..." (Soft_Error). This explains why the kernel logs this as an error. It does not explain why this does not happen with 5.39. Is an firmware update for this controller available? Thanks, Christian |