MegaRAID / smartctl issues

Jacob P jperkins at hostgator.com
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, http://smartmontools.sourceforge.net

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
filename:       
/lib/modules/2.6.34.1/kernel/drivers/scsi/megaraid/megaraid_sas.ko
description:    LSI MegaRAID SAS Driver
author:         megaraidlinux at lsi.com
version:        00.00.04.17.1-rc1
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*
depends:
vermagic:       2.6.34.1 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