Opened 8 years ago

Closed 8 years ago

#87 closed defect (duplicate)

self test failed [Cannot allocate memory]

Reported by: jperkster Owned by: somebody
Priority: minor Milestone: Release 5.41
Component: smartctl Version: 5.39.1
Keywords: megaraid linux Cc: jperkins@…

Description

Hello,

I'm having trouble getting smartctl to run tests on our MegaRAID systems:

[root@server ~]# smartctl -t long -d megaraid,0 /dev/sda
smartctl 5.39.1 2010-01-28 r3054 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Long (extended) offline self test failed [Cannot allocate memory]

I've tried recompiling 5.39.1, but not installing it, thinking it might not like being in HIGHMEM, however that did not help either. I'm at a loss as to what the problem could be, and as a last resort I've put in this ticket for assistance.

[root@server ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
[root@server ~]# ulimit -a
core file size          (blocks, -c) 1000000
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 19
file size               (blocks, -f) unlimited
pending signals                 (-i) 192994
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 4096
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 14335
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

Any suggestions would be highly appreciated.

Change History (5)

comment:1 Changed 8 years ago by Christian Franke

Keywords: linux megaraid added; Cannot allocate memory removed

The message [Cannot allocate memory] may be from a misleading errno=ENOMEM returned by the MegaRAID specific SCSI pass-through ioctl.

Which MegaRAID controller is used?
Which disk model is used?
Please attach output from smartctl -r ioctl,2 -t long -d megaraid,0 /dev/sda.

comment:2 Changed 8 years ago by jperkster

Here's what we're looking at:

[root@server~]# smartctl -r ioctl,2 -t long -d megaraid,0 /dev/sda
smartctl 5.39 2009-11-06 r2982 [i686-redhat-linux-gnu] (local build)
Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net

Creating /dev/megaraid_sas_ioctl_node = 17
[inquiry: 12 00 00 00 24 00 ]
Got MegaRAID inquiry.. SEAGATE ST3146356SS HS0F
[inquiry: 12 00 00 00 24 00 ]
[send diagnostic: 1d 40 00 00 00 00 ]
Long (extended) offline self test failed [Cannot allocate memory]

03:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 1078 (rev 04)

Subsystem: Dell PERC 6/i Integrated RAID Controller
Control: I/O+ Mem+ BusMaster?+ SpecCycle?- MemWINV- VGASnoop- ParErr?- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr?- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 33
Region 0: Memory at df180000 (64-bit, non-prefetchable) [size=256K]
Region 2: I/O ports at fc00 [size=256]
Region 3: Memory at df1c0000 (64-bit, non-prefetchable) [size=256K]
Expansion ROM at df100000 [disabled] [size=32K]
Capabilities: [b0] Express Endpoint IRQ 0

Device: Supported: MaxPayload? 256 bytes, PhantFunc? 0, ExtTag?-
Device: Latency L0s unlimited, L1 unlimited
Device: AtnBtn?- AtnInd?- PwrInd?-
Device: Errors: Correctable- Non-Fatal- Fatal+ Unsupported-
Device: RlxdOrd?+ ExtTag?- PhantFunc?- AuxPwr?- NoSnoop?+
Device: MaxPayload? 256 bytes, MaxReadReq? 2048 bytes
Link: Supported Speed 2.5Gb/s, Width x8, ASPM L0s, Port 0
Link: Latency L0s <2us, L1 unlimited
Link: ASPM Disabled RCB 64 bytes CommClk?- ExtSynch?-
Link: Speed 2.5Gb/s, Width x4

Capabilities: [c4] Message Signalled Interrupts: 64bit+ Queue=0/2 Enable-

Address: 0000000000000000 Data: 0000

Capabilities: [d4] MSI-X: Enable- Mask- TabSize?=4

Vector table: BAR=0 offset=0003e000
PBA: BAR=0 offset=00fff000

Capabilities: [e0] Power Management version 2

Flags: PMEClk- DSI- D1+ D2- AuxCurrent?=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Capabilities: [ec] Vital Product Data
Capabilities: [100] Power Budgeting

We're running Seagate Cheetah's in a RAID 5, model: ST3146356SS
We're also running Seagate Enterprise in a RAID10, model: ST31000524NS

SMART fails on any PD, on any array.

Thanks again!

comment:3 Changed 8 years ago by Gabriele Pohl

Keywords: linux megaraidmegaraid linux

comment:4 Changed 8 years ago by dimaq

same problem with smartmontools 5.40, both -t short and -t long.

comment:5 Changed 8 years ago by Christian Franke

Milestone: Release 5.41
Resolution: duplicate
Status: newclosed

See ticket #78, r3204.

Note: See TracTickets for help on using tickets.