Hei!

I can't get SATA disks smart status using atactl command. atactl with identify command shows disk model, serial correctly, but readattr command don't get nothing and smartstatus returns always "No SMART threshold exceeded", irrespective of real SMART values.

NetBSD shows, that disk sd2 have exceeded SMART id5, "reallocated sector count", value and computer BIOS shows, that SMART is bad, too.

Thanks

Allan Liblik

........

# /sbin/atactl sd2 readattr

# /sbin/atactl sd2 smartstatus
No SMART threshold exceeded

# /sbin/atactl sd2 smartread
Off-line data collection:
    status: completed ok
    activity completion time: 600 seconds
    capabilities:
        execute immediate
        read scanning
        self-test routines
Self-test execution:
    status: completed ok or not started
    recommended polling time:
        short routine: 1 minutes
        extended routine: 175 minutes
SMART capabilities:
    saving SMART data
    enable/disable attribute autosave
Error logging: supported

# /sbin/atactl sd2 identify
Model: ST31000528AS, Rev: CC38, Serial #:             5VP2JJFC
Device type: ATA, fixed
Cylinders: 16383, heads: 16, sec/track: 63, total sectors: 1953525168
Device capabilities:
        ATA standby timer values
        IORDY operation
        IORDY disabling
Device supports the following standards:
ATA-4 ATA-5 ATA-6 ATA-7 ATA-8
Master password revision code 0xfffe
Device supports the following command sets:
        READ BUFFER command
        WRITE BUFFER command
        Host Protected Area feature set
        Read look-ahead
        Write cache
        Power Management feature set
        Security Mode feature set
        SMART feature set
        Flush Cache Ext command
        Flush Cache command
        Device Configuration Overlay feature set
        48bit address feature set
        Automatic Acoustic Management feature set
        Set Max security extension commands
        DOWNLOAD MICROCODE command
        SMART self-test
        SMART error logging
Device has enabled the following command sets/features:
        READ BUFFER command
        WRITE BUFFER command
        Host Protected Area feature set
        Read look-ahead
        Write cache
        Power Management feature set
        SMART feature set
        Flush Cache Ext command
        Flush Cache command
        Device Configuration Overlay feature set
        48bit address feature set
        Automatic Acoustic Management feature set
        DOWNLOAD MICROCODE command

dmesg:
OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 420 @ 1.60GHz ("GenuineIntel" 686-class) 1.61 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR
real mem  = 536236032 (511MB)
avail mem = 510861312 (487MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/19/07, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.5 @ 0xfc410 (27 entries)
bios0: vendor American Megatrends Inc. version "V090L" date 12/19/2007
bios0: Intel SS4200-E
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG OEMB
acpi0: wakeup devices P0P2(S4) P0P1(S4) PS2K(S4) PS2M(S4) MC97(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) EUSB
(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P4)
acpiprt2 at acpi0: bus 2 (P0P5)
acpiprt3 at acpi0: bus 3 (P0P6)
acpiprt4 at acpi0: bus -1 (P0P7)
acpicpu0 at acpi0
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xf000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 1 int 16 (irq 10)
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: apic 1 int 16 (irq 10), address 00:15:17:32:1a:73 ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 1 int 17 (irq 11)
pci2 at ppb1 bus 2
vga1 at pci2 dev 0 function 0 "ATI Radeon HD 4350" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci2 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: apic 1 int 18 (irq 5)
azalia0: no supported codecs
azalia0: initialization failure, detaching
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x01: apic 1 int 18 (irq 5)
pci3 at ppb2 bus 3
sili0 at pci3 dev 0 function 0 "CMD Technology SiI3132 SATA" rev 0x01: apic 1 int 18 (irq 5)
scsibus0 at sili0: 2 targets
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 1 int 23 (irq 7) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 1 int 19 (irq 3) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 1 int 18 (irq 5) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 1 int 16 (irq 10) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 1 int 23 (irq 7)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
pci4 at ppb3 bus 4
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM disabled
ahci0 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x01: apic 1 int 19 (irq 3), AHCI 1.1
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, ST31000528AS, CC38> SCSI3 0/direct fixed
sd0: 953869MB, 512 bytes/sec, 1953525168 sec total
sd1 at scsibus1 targ 1 lun 0: <ATA, ST31000528AS, CC38> SCSI3 0/direct fixed
sd1: 953869MB, 512 bytes/sec, 1953525168 sec total
sd2 at scsibus1 targ 2 lun 0: <ATA, ST31000528AS, CC38> SCSI3 0/direct fixed
sd2: 953869MB, 512 bytes/sec, 1953525168 sec total
sd3 at scsibus1 targ 3 lun 0: <ATA, ST31000528AS, CC38> SCSI3 0/direct fixed
sd3: 953869MB, 512 bytes/sec, 1953525168 sec total
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 1 int 19 (irq 3)
iic0 at ichiic0
adt0 at iic0 addr 0x2e: sch5027 rev 0x69
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 7 configuration 1 interface 0 "USB2.0 External Mass Storage Device" rev 2.00/2.40 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
cd0 at scsibus2 targ 1 lun 0: <Slimtype, DVD A DS8A1H, WX13> SCSI0 5/cdrom removable
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b

Reply via email to