[BUG] scsi: hpsa: how to destroy your files

Eric Dumazet
2011-09-01T15:24:02Z

Stephen,

Current linux-3.1-rc4+ is a total disaster on my BL460c G6

Few seconds after boot, I get "cmd_alloc returned NULL" messages
or "hpsa 0000:0c:00.0: resetting device 0:0:0:0"

Usually lot of files are corrupted, fsck needed, and full distro
reinstall as well.

I tested on two different machines, same result.

Relevant hardware information :

Manufacturer: HP
Product Name: ProLiant BL460c G6
Version: I24
Release Date: 05/05/2011
Intel(R) Xeon(R) CPU E5540 @ 2.53GHz (two sockets)

0c:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6
controllers (rev 01)
Subsystem: Hewlett-Packard Company Smart Array P410i
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fbc00000 (64-bit, non-prefetchable) [size=4M]
Memory at fbbf0000 (64-bit, non-prefetchable) [size=4K]
I/O ports at 4000 [size=256]
[virtual] Expansion ROM at e7200000 [disabled] [size=512K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [ac] MSI-X: Enable+ Count=16 Masked-
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: hpsa

# hpacucli ctrl all show config detail

Smart Array P410i in Slot 0 (Embedded)
Bus Interface: PCI
Slot: 0
Serial Number: 5001438006F44240
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Chassis Slot:
Hardware Revision: Rev C
Firmware Version: 2.50
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 secs
Surface Scan Mode: Idle
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 0 secs
Cache Board Present: False
Drive Write Cache: Disabled
SATA NCQ Supported: True

Array: A
Interface Type: SATA
Unused Space: 0 MB
Status: OK

Logical Drive: 1
Size: 232.9 GB
Fault Tolerance: RAID 1
Heads: 255
Sectors Per Track: 32
Cylinders: 59844
Strip Size: 128 KB
Status: OK
Unique Identifier: 600508B1001030364634343234300F00
Disk Name: /dev/cciss/c0d0
Mount Points: / 9.3 GB, /home 216.0 GB
OS Status: LOCKED
Logical Drive Label: A0124E845001438006F442403033
Mirror Group 0:
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA, 250 GB, OK)
Mirror Group 1:
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA, 250 GB, OK)

physicaldrive 1I:1:1
Port: 1I
Box: 1
Bay: 1
Status: OK
Drive Type: Data Drive
Interface Type: SATA
Size: 250 GB
Firmware Revision: HPG2
Serial Number: K648T9C27M8E
Model: ATA GJ0250EAGSQ
SATA NCQ Capable: True
SATA NCQ Enabled: True
PHY Count: 1
PHY Transfer Rate: 3.0GBPS

physicaldrive 1I:1:2
Port: 1I
Box: 1
Bay: 2
Status: OK
Drive Type: Data Drive
Interface Type: SATA
Size: 250 GB
Firmware Revision: HPG2
Serial Number: K648T9C27M49
Model: ATA GJ0250EAGSQ
SATA NCQ Capable: True
SATA NCQ Enabled: True
PHY Count: 1
PHY Transfer Rate: 3.0GBPS

64 bit kernel, 4GB of memory