Package: smartmontools
Version: 5.38-2+lenny1
Severity: normal

Hi,

I suspect my problem is similar to the already archived bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526011

Iam using a LSI Logic SAS1068 Fusion MPT SAS/SATA controller and luckily
the MPT bug that caused the drives to become unavailable is already
fixed in linux-image-2.6.26-2-openvz-amd64 (lenny kernel).


*** For package 'smartmontools 5.38-2+lenny1':

The simptoms are the same as described elsewhere: smartctl works fine
for all drives (even without specifying -d sat), smartd on the other
hand seems to work only with the last device listed in smartd.conf:
--
/dev/sg0 -a -d sat
/dev/sg1 -a -d sat
--

This configuration gives the following 'smartd -dn' output:
--
smartd version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8
Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Opened configuration file /etc/smartd.conf
Configuration file /etc/smartd.conf parsed.
Device: /dev/sg0, opened
Device: /dev/sg0, not found in smartd database.
Device: /dev/sg0, is SMART capable. Adding to "monitor" list.
Device: /dev/sg1, opened
Device: /dev/sg1, not found in smartd database.
Device: /dev/sg1, is SMART capable. Adding to "monitor" list.
Monitoring 2 ATA and 0 SCSI devices
Device: /dev/sg0, not capable of SMART self-check
Error SMART Values Read failed: Operation not permitted
Device: /dev/sg0, failed to read SMART Attribute Data
Error SMART Error Self-Test Log Read failed: Operation not permitted
Device: /dev/sg0, Read SMART Self Test Log Failed
Error SMART Error Log Read failed: Operation not permitted
Device: /dev/sg0, Read SMART Error Log Failed
--


*** For packages smartmontools 5.39.1+svn3060-1~bpo50+1 (from backports)
and smartmontools 5.39.1+svn3077-1 (testing and unstable):

Not even smartctl works:
--
# smartctl -a -d sat /dev/sg0
smartctl 5.40 2010-02-03 r3060 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.

# smartctl -a -d sat -T permissive /dev/sg0
smartctl 5.40 2010-02-03 r3060 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

=== 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:   [No Information Found]
ATA Standard is:  [No Information Found]
Local Time is:    Mon Apr 26 12:45:35 2010 CEST
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show
if SMART supported.
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.
--

As expected 'smartd -dn' doesnt work either:
--
# smartd -dn
smartd 5.40 2010-03-16 r3077 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Opened configuration file /etc/smartd.conf
Configuration file /etc/smartd.conf parsed.
Device: /dev/sg0 [SAT], opened
Device: /dev/sg0 [SAT], not ATA, no IDENTIFY DEVICE Structure
Unable to register ATA device /dev/sg0 [SAT] at line 145 of file
/etc/smartd.conf
Device /dev/sg0 [SAT] not available
Device: /dev/sg1 [SAT], opened
Device: /dev/sg1 [SAT], not ATA, no IDENTIFY DEVICE Structure
Unable to register ATA device /dev/sg1 [SAT] at line 146 of file
/etc/smartd.conf
Device /dev/sg1 [SAT] not available
Unable to monitor any SMART enabled devices. Try debug (-d) option.
Exiting...
--

It seems that either newer smartmontools packages need a newer kernel or
they are completely broken for this controller.

Greetings,
  gw



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to