|
From: Peter R. <pe...@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:Chr...@t-...] Sent: Mittwoch, 18. Mai 2011 21:52 To: Peter Radig Cc: sma...@li... Subject: Re: [smartmontools-support] Kernel errors on Solaris 11 x64 after moving from 5.39 to 5.40 Peter Radig wrote: > peter@rocky:~/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@rocky:~/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 |