sys-apps/smartmontools-5.36-r1 fail on 2.6.22-hardened: # smartctl -a -d ata /dev/sda smartctl version 5.36 [x86_64-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Device Model: ST3300622AS Serial Number: 4NF1JAV8 Firmware Version: 3.AAH User Capacity: 300,069,052,416 bytes Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 7 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Wed Aug 15 00:47:10 2007 EDT SMART support is: Available - device has SMART capability. SMART support is: Enabled Error SMART Status command failed Please get assistance from http://smartmontools.sourceforge.net/ Register values returned from SMART Status command are: CMD=0x50 FR =0x00 NS =0x00 SC =0x00 CL =0x00 CH =0x00 SEL=0x00 A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. The disk is S-ATA disk and the controller is nVidia MCP55. The same hardware worked fine with the same version of smart tools on 2.6.21-hardened kernel: smartctl version 5.36 [x86_64-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Device Model: ST3300622AS Serial Number: 4NF1JAV8 Firmware Version: 3.AAH User Capacity: 300,069,052,416 bytes Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 7 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Mon Aug 6 07:10:05 2007 EDT SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED See vendor-specific Attribute list for marginal Attributes. General SMART Values: Offline data collection status: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. ... This problem was apparently also reported on non-hardened 2.6.22-rc4 kernel: http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg358354.html
Created attachment 128141 [details] emerge --info
I'm using 2.6.23-rc1-gd941cf5e and smartmontools 5.37 and it works fine here. Try using '-d sat' instead of '-d ata' and see if that helps you?
I upgraded smrt tools to sys-apps/smartmontools-5.37. (Still 2.6.22 kernel.) But still get the same problem: # smartctl -a -d ata /dev/sda smartctl version 5.37 [x86_64-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.9 family Device Model: ST3300622AS Serial Number: 4NF1ZDSG Firmware Version: 3.AAH User Capacity: 300,069,052,416 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 7 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Wed Aug 15 23:06:50 2007 EDT SMART support is: Available - device has SMART capability. SMART support is: Enabled Error SMART Status command failed Please get assistance from http://smartmontools.sourceforge.net/ Register values returned from SMART Status command are: CMD=0x50 FR =0x00 NS =0x00 SC =0x00 CL =0x00 CH =0x00 SEL=0x00 A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. or # smartctl -a -d sat /dev/sda smartctl version 5.37 [x86_64-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.9 family Device Model: ST3300622AS Serial Number: 4NF1ZDSG Firmware Version: 3.AAH User Capacity: 300,069,052,416 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 7 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Wed Aug 15 23:06:58 2007 EDT SMART support is: Available - device has SMART capability. SMART support is: Enabled Error SMART Status command failed Please get assistance from http://smartmontools.sourceforge.net/ Values from ATA status return descriptor are: 00 09 0c 00 00 00 00 00 00 00 00 00 00 00 50 A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
similar problem here, since upgrade to kernel 2.6.22-gentoo-r2 smartd checks failed with sata-drives but smartctl-output is ok. google gives: http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg358354.html what is the same problem I have: Device: /dev/sda, not capable of SMART self-check from smartd when it is time to check the drive but output smartctl is ok in my case
The bug seems to be fixed on 2.6.22-hardened-r2 and sys-apps/smartmontools-5.37.