MegaRAID / smartctl issues

Jacob P jperkins at
Fri Aug 6 11:29:44 CDT 2010

  I've started seeing problems with MegaSAS + smartctl on a few R710's 
that we have:

*megasas: Failed to alloc kernel SGL buffer for IOCTL*

I'm getting these errors when trying to test megaraid disks with smartctl:

[root at houston ~]# smartctl -t long -d megaraid,0 /dev/sda ; dmesg | tail -1
smartctl 5.39.1 2010-01-28 r3054 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen,

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

megasas: Failed to alloc kernel SGL buffer for IOCTL
The gooogles have pointed me to an issue with RHEL4 and the MegaSAS 
drivers, however I don't believe that may be the issue here:
[root at houston~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
[root at houston~]# lspci | grep -i raid
03:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 1078 
(rev 04)
[root at houston~]# lsmod -i raid
[root at houston~]# lsmod  | grep mega
megaraid_sas           33277  6
[root at houston~]# modinfo megaraid_sas
description:    LSI MegaRAID SAS Driver
author:         megaraidlinux at
license:        GPL
srcversion:     100645F7D96F25200FE60DB
alias:          pci:v00001028d00000015sv*sd*bc*sc*i*
alias:          pci:v00001000d00000413sv*sd*bc*sc*i*
alias:          pci:v00001000d00000071sv*sd*bc*sc*i*
alias:          pci:v00001000d00000073sv*sd*bc*sc*i*
alias:          pci:v00001000d00000079sv*sd*bc*sc*i*
alias:          pci:v00001000d00000078sv*sd*bc*sc*i*
alias:          pci:v00001000d0000007Csv*sd*bc*sc*i*
alias:          pci:v00001000d00000060sv*sd*bc*sc*i*
alias:          pci:v00001000d00000411sv*sd*bc*sc*i*
vermagic: SMP mod_unload CORE2 4KSTACKS
parm:           poll_mode_io:Complete cmds from IO path, (default=0) (int)*

Any help would be greatly appreciated with this bugger.

More information about the Linux-PowerEdge mailing list