Bruce Allen wrote:
> what happens if you replace '-d ata' with '-d sat'?
smartd version 5.37 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6
Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Opened configuration file /etc/smartd.conf
Configuration file /etc/smartd.conf parsed.
Device: /dev/sda, opened
Device: /dev/sda, not found in smartd database.
Device: /dev/sda, enabled SMART Attribute Autosave.
Device: /dev/sda, enabled SMART Automatic Offline Testing.
Device: /dev/sda, is SMART capable. Adding to "monitor" list.

Nice. Thanks! This solves the problem completely on the sata_nv controller.

There's a lingering issue with the drive on the sata_sil controller --
enabling Autosave generates a device error:

Device: /dev/sdc, opened
Device: /dev/sdc, not found in smartd database.
Device: /dev/sdc, enabled SMART Attribute Autosave.
kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err 0x4 (device error)
kernel: ata1: EH complete
smartd[20488]: Device: /dev/sdc, enabled SMART Automatic Offline Testing.
kernel: SCSI device sdc: 1465149168 512-byte hdwr sectors (750156 MB)
kernel: sdc: Write Protect is off
kernel: sdc: Mode Sense: 00 3a 00 00
smartd[20488]: Device: /dev/sdc, is SMART capable. Adding to "monitor" list.
kernel: SCSI device sdc: drive cache: write back
smartd[20488]: Monitoring 4 ATA and 0 SCSI devices

Here's from dmesg:

sata_sil 0000:02:0d.0: version 2.0
ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
GSI 16 sharing vector 0xB1 and IRQ 16
ACPI: PCI Interrupt 0000:02:0d.0[A] -> Link [APC2] -> GSI 17 (level,
low) -> IRQ 16
ata1: SATA max UDMA/100 cmd 0xFFFFC2000000E080 ctl 0xFFFFC2000000E08A
bmdma 0xFFFFC2000000E000 irq 16
ata2: SATA max UDMA/100 cmd 0xFFFFC2000000E0C0 ctl 0xFFFFC2000000E0CA
bmdma 0xFFFFC2000000E008 irq 16
scsi0 : sata_sil
ata1: SATA link down (SStatus 0 SControl 310)
scsi1 : sata_sil
ata2: SATA link down (SStatus 0 SControl 310)

I can't tell whether Autosave is actually working or not. The drive is
identical to one that claims to support the feature on the sata_nv
controller.


>> Package: smartmontools
>> Version: 5.37~cvs20061002-1
>> Followup-For: Bug #391999
>>
>>
>> Unfortunately this bug does not appear to have been fully fixed in
>> 5.37~cvs20061002-1.
>>
>> On the 3ware card, things are largely working, but on the sata_nv
>> controller
>>
>> 00:0a.0 IDE interface: nVidia Corporation CK8S Serial ATA Controller
>> (v2.5) (rev a2)
>>
>> using this in /etc/smartd.conf
>>
>> /dev/sda -d ata -H -o on -S on -s (S/../.././02|L/../../6/03)
>>
>> on a ST3250620NS drive, I still get
>>
>> could not enable SMART Attribute Autosave
>> enable SMART Automatic Offline Testing failed
>>
>> along with this alarming-sounding chatter:
>>
>> Nov 11 19:36:08 prato smartd[16384]: smartd version 5.37
>> [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 Bruce Allen
>> Nov 11 19:36:08 prato smartd[16384]: Home page is
>> http://smartmontools.sourceforge.net/
>> Nov 11 19:36:08 prato smartd[16384]: Opened configuration file
>> /etc/smartd.conf
>> Nov 11 19:36:08 prato smartd[16384]: Configuration file
>> /etc/smartd.conf parsed.
>> Nov 11 19:36:08 prato smartd[16384]: Device: /dev/sda, opened
>> Nov 11 19:36:08 prato smartd[16384]: Device: /dev/sda, not found in
>> smartd database.
>> Nov 11 19:36:08 prato kernel: ata1.00: exception Emask 0x0 SAct 0x0
>> SErr 0x0 action 0x2 frozen
>> Nov 11 19:36:08 prato kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x2 stat
>> 0x50 err 0x0 (HSM violation)
>> Nov 11 19:36:08 prato kernel: ata1: soft resetting port
>> Nov 11 19:36:08 prato kernel: ata1: SATA link up 1.5 Gbps (SStatus
>> 113 SControl 300)
>> Nov 11 19:36:08 prato kernel: ata1.00: configured for UDMA/133
>> Nov 11 19:36:08 prato kernel: ata1: EH complete
>> Nov 11 19:36:08 prato kernel: ata1.00: exception Emask 0x0 SAct 0x0
>> SErr 0x0 action 0x2 frozen
>> Nov 11 19:36:08 prato kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x2 stat
>> 0x50 err 0x0 (HSM violation)
>> Nov 11 19:36:09 prato kernel: ata1: soft resetting port
>> Nov 11 19:36:09 prato kernel: ata1: SATA link up 1.5 Gbps (SStatus
>> 113 SControl 300)
>> Nov 11 19:36:09 prato kernel: ata1.00: configured for UDMA/133
>> Nov 11 19:36:09 prato kernel: ata1: EH complete
>> Nov 11 19:36:09 prato kernel: ata1.00: exception Emask 0x0 SAct 0x0
>> SErr 0x0 action 0x2 frozen
>> Nov 11 19:36:09 prato kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x2 stat
>> 0x50 err 0x0 (HSM violation)
>> Nov 11 19:36:09 prato kernel: ata1: soft resetting port
>> Nov 11 19:36:09 prato kernel: ata1: SATA link up 1.5 Gbps (SStatus
>> 113 SControl 300)
>> Nov 11 19:36:10 prato kernel: ata1.00: configured for UDMA/133
>> Nov 11 19:36:10 prato kernel: ata1: EH complete
>> Nov 11 19:36:10 prato kernel: ata1.00: exception Emask 0x0 SAct 0x0
>> SErr 0x0 action 0x2 frozen
>> Nov 11 19:36:10 prato kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x2 stat
>> 0x50 err 0x0 (HSM violation)
>> Nov 11 19:36:10 prato kernel: ata1: soft resetting port
>> Nov 11 19:36:10 prato kernel: ata1: SATA link up 1.5 Gbps (SStatus
>> 113 SControl 300)
>> Nov 11 19:36:10 prato kernel: ata1.00: configured for UDMA/133
>> Nov 11 19:36:10 prato kernel: ata1: EH complete
>> Nov 11 19:36:10 prato kernel: ata1.00: exception Emask 0x0 SAct 0x0
>> SErr 0x0 action 0x2 frozen
>> Nov 11 19:36:10 prato kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x2 stat
>> 0x50 err 0x0 (HSM violation)
>> Nov 11 19:36:10 prato kernel: ata1: soft resetting port
>> Nov 11 19:36:11 prato kernel: ata1: SATA link up 1.5 Gbps (SStatus
>> 113 SControl 300)
>> Nov 11 19:36:11 prato kernel: ata1.00: configured for UDMA/133
>> Nov 11 19:36:11 prato kernel: ata1: EH complete
>> Nov 11 19:36:11 prato kernel: ata1.00: exception Emask 0x0 SAct 0x0
>> SErr 0x0 action 0x2 frozen
>> Nov 11 19:36:11 prato kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x2 stat
>> 0x50 err 0x0 (HSM violation)
>> Nov 11 19:36:11 prato kernel: ata1: soft resetting port
>> Nov 11 19:36:11 prato kernel: ata1: SATA link up 1.5 Gbps (SStatus
>> 113 SControl 300)
>> Nov 11 19:36:11 prato kernel: ata1.00: configured for UDMA/133
>> Nov 11 19:36:11 prato kernel: ata1: EH complete
>> Nov 11 19:36:11 prato smartd[16384]: Device: /dev/sda, could not
>> enable SMART Attribute Autosave.
>> Nov 11 19:36:11 prato kernel: SCSI device sda: 488397168 512-byte
>> hdwr sectors (250059 MB)
>> Nov 11 19:36:11 prato kernel: sda: Write Protect is off
>> Nov 11 19:36:11 prato kernel: sda: Mode Sense: 00 3a 00 00
>> Nov 11 19:36:11 prato kernel: SCSI device sda: drive cache: write back
>> Nov 11 19:36:11 prato kernel: SCSI device sda: 488397168 512-byte
>> hdwr sectors (250059 MB)
>> Nov 11 19:36:11 prato kernel: ata1.00: exception Emask 0x0 SAct 0x0
>> SErr 0x0 action 0x2 frozen
>> Nov 11 19:36:11 prato kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x2 stat
>> 0x50 err 0x0 (HSM violation)
>> Nov 11 19:36:11 prato kernel: ata1: soft resetting port
>> Nov 11 19:36:12 prato kernel: ata1: SATA link up 1.5 Gbps (SStatus
>> 113 SControl 300)
>> Nov 11 19:36:12 prato kernel: ata1.00: configured for UDMA/133
>> Nov 11 19:36:12 prato kernel: ata1: EH complete
>> Nov 11 19:36:12 prato kernel: ata1.00: exception Emask 0x0 SAct 0x0
>> SErr 0x0 action 0x2 frozen
>> Nov 11 19:36:12 prato kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x2 stat
>> 0x50 err 0x0 (HSM violation)
>> Nov 11 19:36:12 prato kernel: ata1: soft resetting port
>> Nov 11 19:36:12 prato kernel: ata1: SATA link up 1.5 Gbps (SStatus
>> 113 SControl 300)
>> Nov 11 19:36:12 prato kernel: ata1.00: configured for UDMA/133
>> Nov 11 19:36:12 prato kernel: ata1: EH complete
>> Nov 11 19:36:12 prato kernel: ata1.00: exception Emask 0x0 SAct 0x0
>> SErr 0x0 action 0x2 frozen
>> Nov 11 19:36:12 prato kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x2 stat
>> 0x50 err 0x0 (HSM violation)
>> Nov 11 19:36:12 prato kernel: ata1: soft resetting port
>> Nov 11 19:36:13 prato kernel: ata1: SATA link up 1.5 Gbps (SStatus
>> 113 SControl 300)
>> Nov 11 19:36:13 prato kernel: ata1.00: configured for UDMA/133
>> Nov 11 19:36:13 prato kernel: ata1: EH complete
>> Nov 11 19:36:13 prato kernel: ata1.00: exception Emask 0x0 SAct 0x0
>> SErr 0x0 action 0x2 frozen
>> Nov 11 19:36:13 prato kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x2 stat
>> 0x50 err 0x0 (HSM violation)
>> Nov 11 19:36:13 prato kernel: ata1: soft resetting port
>> Nov 11 19:36:13 prato kernel: ata1: SATA link up 1.5 Gbps (SStatus
>> 113 SControl 300)
>> Nov 11 19:36:13 prato kernel: ata1.00: configured for UDMA/133
>> Nov 11 19:36:13 prato kernel: ata1: EH complete
>> Nov 11 19:36:13 prato kernel: ata1.00: exception Emask 0x0 SAct 0x0
>> SErr 0x0 action 0x2 frozen
>> Nov 11 19:36:13 prato kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x2 stat
>> 0x50 err 0x0 (HSM violation)
>> Nov 11 19:36:14 prato kernel: ata1: soft resetting port
>> Nov 11 19:36:14 prato kernel: ata1: SATA link up 1.5 Gbps (SStatus
>> 113 SControl 300)
>> Nov 11 19:36:14 prato kernel: ata1.00: configured for UDMA/133
>> Nov 11 19:36:14 prato kernel: ata1: EH complete
>> Nov 11 19:36:14 prato kernel: ata1.00: exception Emask 0x0 SAct 0x0
>> SErr 0x0 action 0x2 frozen
>> Nov 11 19:36:14 prato kernel: ata1.00: tag 0 cmd 0xb0 Emask 0x2 stat
>> 0x50 err 0x0 (HSM violation)
>> Nov 11 19:36:14 prato kernel: ata1: soft resetting port
>> Nov 11 19:36:14 prato kernel: ata1: SATA link up 1.5 Gbps (SStatus
>> 113 SControl 300)
>> Nov 11 19:36:14 prato kernel: ata1.00: configured for UDMA/133
>> Nov 11 19:36:14 prato kernel: ata1: EH complete
>> Nov 11 19:36:14 prato smartd[16384]: Device: /dev/sda, enable SMART
>> Automatic Offline Testing failed.
>> Nov 11 19:36:14 prato smartd[16384]: Device: /dev/sda, is SMART
>> capable. Adding to "monitor" list.
>> Nov 11 19:36:14 prato smartd[16384]: Monitoring 1 ATA and 0 SCSI devices
>> Nov 11 19:36:14 prato kernel: sda: Write Protect is off
>> Nov 11 19:36:14 prato kernel: sda: Mode Sense: 00 3a 00 00
>> Nov 11 19:36:14 prato kernel: SCSI device sda: drive cache: write back
>> Nov 11 19:36:14 prato kernel: SCSI device sda: 488397168 512-byte
>> hdwr sectors (250059 MB)
>> Nov 11 19:36:14 prato kernel: sda: Write Protect is off
>> Nov 11 19:36:14 prato kernel: sda: Mode Sense: 00 3a 00 00
>> Nov 11 19:36:14 prato kernel: SCSI device sda: drive cache: write back
>> Nov 11 19:36:14 prato smartd[16386]: smartd has fork()ed into
>> background mode. New PID=16386.
>> Nov 11 19:36:14 prato smartd[16386]: file /var/run/smartd.pid written
>> containing PID 16386
>>
>>
>> -- Package-specific info:
>> Ouput of /usr/share/bug/smartmontools:
>> # CONFIG_IDE_TASK_IOCTL is not set
>>
>> -- System Information:
>> Debian Release: 4.0
>>  APT prefers unstable
>>  APT policy: (500, 'unstable')
>> Architecture: amd64 (x86_64)
>> Shell:  /bin/sh linked to /bin/bash
>> Kernel: Linux 2.6.18
>> Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
>>
>> Versions of packages smartmontools depends on:
>> ii  debianutils                  2.17.3      Miscellaneous utilities
>> specific t
>> ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared
>> libraries
>> ii  libgcc1                      1:4.1.1-19  GCC support library
>> ii  libstdc++6                   4.1.1-19    The GNU Standard C++
>> Library v3
>> ii  lsb-base                     3.1-19      Linux Standard Base 3.1
>> init scrip
>>
>> Versions of packages smartmontools recommends:
>> ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
>>
>> -- no debconf information
>>
>>




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to