Skip to contentSkip to conversation

Kernel crash with lspci -vv and SAS Controller LSI Logic / Symbios Logic MegaRAID SAS 9240

DISCUSSION stepping stone GmbH 2 participants 3 messages Jul 18, 2012 – Jul 19, 2012

lore
Share & tools
lore
#0 lore raw

Hi folks

While trying to list Informations about the PCI Devices using lspci -vv the Output stops at the SAS Controller (LSI Logic / Symbios Logic MegaRAID SAS 9240 rev03) (probably just before the "Kernel driver in use" Line) and the system completly freezes. Listing the PCI Devices with only lspci -v works though.

Vanilla Kernel: Linux version 3.4.4 (gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) ) #1 SMP Mon Jul 16 13:13:04 CEST 2012

ASUS RS700-E6-ERS4 rev. 1.xxG with ASUS Mainboard Z8PS-D12-1U with two Xeon E5645 2.40GHz and 12 x 8GB DIMM

AMI BIOS Version: 1201

Informations about the Controller

~# MegaCli -AdpAllInfo -aALL

Adapter#0

==============================================================================

                    Versions
                ================

Product Name : LSI MegaRAID ROMB
Serial No :
FW Package Build:20.9.1-0011

                    Mfg. Data
                ================
Mfg. Date       :00/00/00
Rework Date     :00/00/00
Revision No     :
Battery FRU     : N/A

Image Versionsin Flash:
================
BIOS Version :4.18.00_4.09.05.00_0x0416A000
Preboot CLI Version:03.02-012:#%00008

WebBIOS Version    :4.0-42-e_30-Rel
NVDATA Version     :3.08.03-0006
FW Version         :2.110.04-0967

Boot Block Version :2.01.00.00-0019

Pending Imagesin Flash
================
None

                PCI Info
                ================
Vendor Id       :1000
Device Id       :0073
SubVendorId     :1043
SubDeviceId     : 843b

Host Interface : PCIE

Number of Frontend Port:0 Device Interface : PCIE

Number of Backend Port:8 Port : Address

0         5000c50042e37119
1         5000c50042e31e5d
2         4433221102000000  3         4433221103000000  4         0000000000000000  5         0000000000000000  6         0000000000000000  7         0000000000000000  

a tail of lspci -vv http://pastebin.com/kjh8ig9q

continued at http://pastebin.com/fWv2uX5p

/proc/cpuinfo /proc/ioports and /proc/iomem at http://pastebin.com/pdRi2BJD

Greetings

David Vollmer

Signature · 7 lines
stepping stone GmbH
Neufeldstrasse 9
CH-3012 Bern

Telefon: +41 31 332 53 63
www.stepping-stone.ch
[email protected]
#1 lore raw

On 7/18/12, stepping stone GmbH <[email protected]> wrote:
...

Quoted 3 lines

a tail of lspci -vv http://pastebin.com/kjh8ig9q

PCI Config reads from lspci -vvv don't go through the megaraid_sas driver itself.

It looks like your system hung up while trying to do a PCI Config read of Capabilities 0xd0: VPD (Vital Product Data).

I have a 9240 controller, and with kernel 3.5.0-rc1, I can do lspci -vvv :

Capabilities: [d0] Vital Product Data
Unknown small resource type 00, will not decode more.
Capabilities: [a8] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [c0] MSI-X: Enable+ Count=15 Masked-
Vector table: BAR=1 offset=00002000
PBA: BAR=1 offset=00003800
Capabilities: [100] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt-
UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
Capabilities: [138] Power Budgeting <?>
Kernel driver in use: megaraid_sas
Kernel modules: megaraid_sas

Can you reproduce with kernel 3.5.0-rcX ? I would also try upgrading your controller firmware.

-Adam

#2 lore raw

Dear Adam

It did not work (exact same behaviour) with a newer kernel (3.5-rc7). The problem was the firmware. After a upgrade it works; with older kernels too. Great thanks and sorry to bother you (all).

Greetings

David

Am 19.07.2012 02:39, schrieb adam radford:

Quoted 37 lines · stepping stone GmbH

...

Quoted 2 lines

a tail of lspci -vv http://pastebin.com/kjh8ig9q

PCI Config reads from lspci -vvv don't go through the megaraid_sas driver itself.

It looks like your system hung up while trying to do a PCI Config read of Capabilities 0xd0: VPD (Vital Product Data).

I have a 9240 controller, and with kernel 3.5.0-rc1, I can do lspci -vvv :

Capabilities: [d0] Vital Product Data
Unknown small resource type 00, will not decode more.
Capabilities: [a8] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [c0] MSI-X: Enable+ Count=15 Masked-
Vector table: BAR=1 offset=00002000
PBA: BAR=1 offset=00003800
Capabilities: [100] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt-
UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
Capabilities: [138] Power Budgeting <?>
Kernel driver in use: megaraid_sas
Kernel modules: megaraid_sas

Can you reproduce with kernel 3.5.0-rcX ? I would also try upgrading your controller firmware.

-Adam

Signature · 7 lines
stepping stone GmbH
Neufeldstrasse 9
CH-3012 Bern

Telefon: +41 31 332 53 63
www.stepping-stone.ch
[email protected]