Your message dated Sat, 9 Jun 2012 00:26:08 -0500
with message-id <20120609052608.GA13100@burratino>
and subject line Re: megasas: Failed to alloc kernel SGL buffer for IOCTL
has caused the Debian Bug report #604627,
regarding linux-image-2.6.32-5-amd64: megasas: Failed to alloc kernel SGL
buffer for IOCTL
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
604627: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604627
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: linux-2.6
Version: 2.6.32-27
Severity: important
Hi,
I am unable to do short and long tests initiated with smartd/smartctl.
calling 'smartctl -d megaraid,0 /dev/sda -t short' gives:
smartctl 5.40 2010-07-12 r3124 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
Short offline self test failed [Cannot allocate memory]
megasas: Failed to alloc kernel SGL buffer for IOCTL
calling 'smartctl -i -d megaraid,0 /dev/sda' gives:
smartctl 5.40 2010-07-12 r3124 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
Device: HITACHI HUS153014VLS300 Version: A5C0
Serial number: XXXXXXXX
Device type: disk
Transport protocol: SAS
Local Time is: Tue Nov 23 08:29:25 2010 CET
Device supports SMART and is Enabled
Temperature Warning Enabled
dmesg info:
-----------
megasas: 00.00.04.01 Thu July 24 11:41:51 PST 2008
megasas: 0x1000:0x0060:0x1000:0x1013: bus 96:slot 0:func 0
megaraid_sas 0000:60:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
megaraid_sas 0000:60:00.0: setting latency timer to 64
lspci info:
-----------
60:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 1078 (rev
04)
Subsystem: LSI Logic / Symbios Logic Device 1013
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at dfa40000 (64-bit, non-prefetchable) [size=256K]
I/O ports at 3000 [size=256]
Memory at dfa00000 (64-bit, non-prefetchable) [size=256K]
[virtual] Expansion ROM at 40100000 [disabled] [size=64K]
Capabilities: [b0] Express Endpoint, MSI 00
Capabilities: [c4] Message Signalled Interrupts: Mask- 64bit+ Queue=0/2
Enable-
Capabilities: [d4] MSI-X: Enable- Mask- TabSize=4
Capabilities: [e0] Power Management version 2
Capabilities: [ec] Vital Product Data <?>
Capabilities: [100] Power Budgeting <?>
Kernel driver in use: megaraid_sas
Kernel modules: megaraid_sas
It seems I am not alone with this problem:
http://www.mail-archive.com/linux-poweredge@dell.com/msg02575.html
and lots of hits from 2007 and 2008 from RHEL.
-- Package-specific info:
** Kernel log: boot messages should be attached
-- System Information:
Debian Release: squeeze/sid
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-image-2.6.32-5-amd64 depends on:
ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy
ii initramfs-tools [linux-initra 0.98.5 tools for generating an initramfs
ii linux-base 2.6.32-27 Linux image base package
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
Versions of packages linux-image-2.6.32-5-amd64 recommends:
ii firmware-linux-free 2.6.32-27 Binary firmware for various driver
Versions of packages linux-image-2.6.32-5-amd64 suggests:
pn grub | lilo <none> (no description available)
pn linux-doc-2.6.32 <none> (no description available)
Versions of packages linux-image-2.6.32-5-amd64 is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
pn firmware-iwlwifi <none> (no description available)
pn firmware-linux <none> (no description available)
pn firmware-linux-nonfree <none> (no description available)
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)
-- debconf information excluded
--- End Message ---
--- Begin Message ---
Version: 2.6.32-35
Bjørn Mork wrote:
> But I've now sent a backported version of the upstream fix to stable, so
> that it hopefully will end up in 2.6.32.x Real Soon Now(tm). That
> should also make it appear in Debian squeeze.
Fixed by v2.6.32.41~3 (megaraid_sas: Sanity check user supplied length
before passing it to dma_alloc_coherent, 2011-05-25). Thanks again
for making it happen.
--- End Message ---