Skip to contentSkip to conversation

HSM violation spew.

DISCUSSION Dave Jones 2 participants 4 messages Aug 29, 2007 – Sep 8, 2007 libata

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

Just noticed this in dmesg..

ata3.00: exception Emask 0x2 SAct 0x1fffd SErr 0x0 action 0x2 frozen ata3.00: spurious completions during NCQ issue=0x0 SAct=0x1fffd FIS=004040a1:00040000 ata3.00: cmd 61/08:00:d9:f7:09/00:00:24:00:00/40 tag 0 cdb 0x0 data 4096 out

         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/10:10:b1:f4:09/00:00:24:00:00/40 tag 2 cdb 0x0 data 8192 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/10:18:c9:f4:09/00:00:24:00:00/40 tag 3 cdb 0x0 data 8192 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/08:20:e1:f4:09/00:00:24:00:00/40 tag 4 cdb 0x0 data 4096 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/d8:28:f1:f4:09/00:00:24:00:00/40 tag 5 cdb 0x0 data 110592 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/38:30:d1:f5:09/00:00:24:00:00/40 tag 6 cdb 0x0 data 28672 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/f8:38:11:f6:09/00:00:24:00:00/40 tag 7 cdb 0x0 data 126976 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/70:40:11:f7:09/00:00:24:00:00/40 tag 8 cdb 0x0 data 57344 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/08:48:89:f7:09/00:00:24:00:00/40 tag 9 cdb 0x0 data 4096 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/08:50:99:f7:09/00:00:24:00:00/40 tag 10 cdb 0x0 data 4096 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/08:58:a9:f7:09/00:00:24:00:00/40 tag 11 cdb 0x0 data 4096 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/08:60:b9:f7:09/00:00:24:00:00/40 tag 12 cdb 0x0 data 4096 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/08:68:c9:f7:09/00:00:24:00:00/40 tag 13 cdb 0x0 data 4096 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/08:70:e9:f7:09/00:00:24:00:00/40 tag 14 cdb 0x0 data 4096 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/10:78:f9:f7:09/00:00:24:00:00/40 tag 15 cdb 0x0 data 8192 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/90:80:11:f8:09/00:00:24:00:00/40 tag 16 cdb 0x0 data 73728 out
         res 40/00:84:11:f8:09/00:00:24:00:00/40 Emask 0x2 (HSM violation)

ata3: soft resetting port
ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata3.00: configured for UDMA/133
ata3: EH complete
sd 2:0:0:0: [sdc] 625142448 512-byte hardware sectors (320073 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA ata3.00: exception Emask 0x2 SAct 0xff3 SErr 0x0 action 0x2 frozen ata3.00: spurious completions during NCQ issue=0x0 SAct=0xff3 FIS=004040a1:00000008 ata3.00: cmd 61/98:00:e9:30:60/00:00:21:00:00/40 tag 0 cdb 0x0 data 77824 out

         res 40/00:0c:81:ee:6c/00:00:21:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/80:08:81:ee:6c/00:00:21:00:00/40 tag 1 cdb 0x0 data 65536 out
         res 40/00:0c:81:ee:6c/00:00:21:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/80:20:81:31:60/00:00:21:00:00/40 tag 4 cdb 0x0 data 65536 out
         res 40/00:0c:81:ee:6c/00:00:21:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/08:28:e1:30:60/00:00:21:00:00/40 tag 5 cdb 0x0 data 4096 out
         res 40/00:0c:81:ee:6c/00:00:21:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/80:30:81:d9:0e/00:00:24:00:00/40 tag 6 cdb 0x0 data 65536 out
         res 40/00:0c:81:ee:6c/00:00:21:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/00:38:01:6f:68/01:00:21:00:00/40 tag 7 cdb 0x0 data 131072 out
         res 40/00:0c:81:ee:6c/00:00:21:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/98:40:01:70:68/00:00:21:00:00/40 tag 8 cdb 0x0 data 77824 out
         res 40/00:0c:81:ee:6c/00:00:21:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/28:48:a1:70:68/00:00:21:00:00/40 tag 9 cdb 0x0 data 20480 out
         res 40/00:0c:81:ee:6c/00:00:21:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/10:50:d1:70:68/00:00:21:00:00/40 tag 10 cdb 0x0 data 8192 out
         res 40/00:0c:81:ee:6c/00:00:21:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/18:58:e9:70:68/00:00:21:00:00/40 tag 11 cdb 0x0 data 12288 out
         res 40/00:0c:81:ee:6c/00:00:21:00:00/40 Emask 0x2 (HSM violation)

ata3: soft resetting port
ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata3.00: configured for UDMA/133
ata3: EH complete
sd 2:0:0:0: [sdc] 625142448 512-byte hardware sectors (320073 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA ata3.00: exception Emask 0x2 SAct 0x66 SErr 0x0 action 0x2 frozen ata3.00: spurious completions during NCQ issue=0x0 SAct=0x66 FIS=004040a1:00000001 ata3.00: cmd 61/50:08:29:29:ea/00:00:23:00:00/40 tag 1 cdb 0x0 data 40960 out

         res 40/00:14:79:29:ea/00:00:23:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/08:10:79:29:ea/00:00:23:00:00/40 tag 2 cdb 0x0 data 4096 out
         res 40/00:14:79:29:ea/00:00:23:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/18:28:01:29:ea/00:00:23:00:00/40 tag 5 cdb 0x0 data 12288 out
         res 40/00:14:79:29:ea/00:00:23:00:00/40 Emask 0x2 (HSM violation)
ata3.00: cmd 61/08:30:21:29:ea/00:00:23:00:00/40 tag 6 cdb 0x0 data 4096 out
         res 40/00:14:79:29:ea/00:00:23:00:00/40 Emask 0x2 (HSM violation)

ata3: soft resetting port
ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata3.00: configured for UDMA/133
ata3: EH complete
sd 2:0:0:0: [sdc] 625142448 512-byte hardware sectors (320073 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

sdc is this..

scsi 2:0:0:0: Direct-Access ATA WDC WD3200AAJS-0 12.0 PQ: 0 ANSI: 5
sd 2:0:0:0: [sdc] 625142448 512-byte hardware sectors (320073 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 2:0:0:0: [sdc] 625142448 512-byte hardware sectors (320073 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdc: sdc1 sdc2

controller is ...
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 01)

kernel is 2.6.23rc3
Does this disk need adding to a 'dont do NCQ' blacklist perhaps?

Dave

Signature · 1 line
http://www.codemonkey.org.uk
#2 lore raw
In reply to Dave Jones
Quoted 1 line · Dave Jones

scsi 2:0:0:0: Direct-Access ATA WDC WD3200AAJS-0 12.0 PQ: 0 ANSI: 5

This could have been truncated, please post the result of 'hdparm -I /dev/sda'. Thanks.

Signature · 1 line
tejun
author
#3 lore raw
Quoted 5 lines · Tejun Heo
Quoted 1 line · Dave Jones

scsi 2:0:0:0: Direct-Access ATA WDC WD3200AAJS-0 12.0 PQ: 0 ANSI: 5

This could have been truncated, please post the result of 'hdparm -I /dev/sda'. Thanks.

sda is a different model, the one above is..

$ sudo hdparm -I /dev/sdc

/dev/sdc:

ATA device, with non-removable media

        Model Number:       WDC WD3200AAJS-00RYA0                   
        Serial Number:      WD-WCAPZ0121878
        Firmware Revision:  12.01B01

Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:

        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        --
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:  268435455
        LBA48  user addressable sectors:  625142448
        device size with M = 1024*1024:      305245 MBytes
        device size with M = 1000*1000:      320072 MBytes (320 GB)

Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, with device specific minimum R/W multiple sector transfer: Max = 16 Current = 16 Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* 64-bit World wide name
* Segmented DOWNLOAD_MICROCODE
* SATA-I signaling speed (1.5Gb/s)
* SATA-II signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
DMA Setup Auto-Activate optimization
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
unknown 206[12]
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
80min for SECURITY ERASE UNIT.
Checksum: correct

Signature · 1 line
http://www.codemonkey.org.uk