Skip to contentSkip to conversation

NMI error and Intel S5000PSL Motherboards

DISCUSSION AndrewL733 5 participants 11 messages Sep 26, 2007 – Oct 1, 2007

lore
Share & tools
lore

AndrewL733

author
#0 lore raw

We have about 100 servers based on Intel S5000PSL-SATA motherboards. They have been running for anywhere between 1 and 10 months. For the past few months, after updating them all to the 2.6.20.15 kernel (because of a bug in the 2.6.18 kernel), we are seeing some strange NMI errors. For example:

Aug 29 09:02:10 master kernel: Uhhuh. NMI received for unknown reason 30.
Aug 29 09:02:10 master kernel: Do you have a strange power saving mode enabled?
Aug 29 09:02:10 master kernel: Dazed and confused, but trying to continue

Sometimes these errors cause a total system freeze. Most of the time the systems keep running.

We have determined these errors come most frequently on machines that have an Intel PCI-e Quad Port Gigabit Adapter. On machines that HAVE these cards (it doesn't matter what slot they are in), the NMI errors can occur as frequently as every 3-5 minutes. On machines that do NOT have these Quad Port Adapters, the NMI errors occur about once per month on average. (we have tried the "in-kernel" e1000 drivers, as well as Intel's latest - 7.6.5).

We have also determined (through a chance discovery) that running “scanpci” can 100 percent reliably reproduce the NMI error on any machine that has the Quad Port NICS. Our various motherboards have different Intel BIOS versions – some have Rev 70, others 74, 79 or 81. They all exhibit the same behavior regardless of BIOS version.

We have reproduced this problem with:

Mandriva 2008 RC2 (2.6.22 kernel)
Mandriva 2007 with custom 2.6.20.15 kernel
Mandriva 2007 with custom 2.6.19.8 kernel
Ubuntu “Feisty” with 2.6.20 kernel
Fedora Core 7 with 2.6.22 kernel

The problem does NOT occur with any distribution running a 2.6.18 kernel or lower. I.E., CentOS or SUSE 10 and also Mandriva 2007 with included 2.6.17 kernel or custom-compiled 2.6.18 kernel.

We have been in contact with Intel. Their high level tech support people have basically said,

“the errors we have logged so far are pointing to a kernel issue and not a hardware problem. If we [Intel] can confirm this, it will be up to the kernel developer or OS system manufacturer to debug those ones, as we do not perform Operating system support.”

In other words, Intel seems to be blaming the problem we are seeing on something introduced starting with the 2.6.19 kernel. We are not looking to blame anybody. We are only looking for a solution.

Does anybody have an idea what could be going on here, as well as what the solution may be? Going back to 2.6.18 or lower is not an option.

#1 lore raw
Quoted 1 line · On Wed, 26 Sep 2007 02:12:34 -0800 AndrewL733 wrote:

We have about 100 servers based on Intel S5000PSL-SATA motherboards.

product info (for others):
http://support.intel.com/support/motherboards/server/s5000psl/index.htm

Quoted 47 lines

They have been running for anywhere between 1 and 10 months. For the past few months, after updating them all to the 2.6.20.15 kernel (because of a bug in the 2.6.18 kernel), we are seeing some strange NMI errors. For example:

Aug 29 09:02:10 master kernel: Uhhuh. NMI received for unknown reason 30.
Aug 29 09:02:10 master kernel: Do you have a strange power saving mode 
enabled?
Aug 29 09:02:10 master kernel: Dazed and confused, but trying to continue

Sometimes these errors cause a total system freeze. Most of the time the systems keep running.

We have determined these errors come most frequently on machines that have an Intel PCI-e Quad Port Gigabit Adapter. On machines that HAVE these cards (it doesn't matter what slot they are in), the NMI errors can occur as frequently as every 3-5 minutes. On machines that do NOT have these Quad Port Adapters, the NMI errors occur about once per month on average. (we have tried the "in-kernel" e1000 drivers, as well as Intel's latest - 7.6.5).

We have also determined (through a chance discovery) that running “scanpci” can 100 percent reliably reproduce the NMI error on any machine that has the Quad Port NICS. Our various motherboards have different Intel BIOS versions – some have Rev 70, others 74, 79 or 81. They all exhibit the same behavior regardless of BIOS version.

We have reproduced this problem with:

Mandriva 2008 RC2 (2.6.22 kernel)
Mandriva 2007 with custom 2.6.20.15 kernel
Mandriva 2007 with custom 2.6.19.8 kernel
Ubuntu “Feisty” with 2.6.20 kernel
Fedora Core 7 with 2.6.22 kernel

The problem does NOT occur with any distribution running a 2.6.18 kernel or lower. I.E., CentOS or SUSE 10 and also Mandriva 2007 with included 2.6.17 kernel or custom-compiled 2.6.18 kernel.

We have been in contact with Intel. Their high level tech support people have basically said,

“the errors we have logged so far are pointing to a kernel issue and not a hardware problem. If we [Intel] can confirm this, it will be up to the kernel developer or OS system manufacturer to debug those ones, as we do not perform Operating system support.”

Quoted 6 lines

In other words, Intel seems to be blaming the problem we are seeing on something introduced starting with the 2.6.19 kernel. We are not looking to blame anybody. We are only looking for a solution.

Does anybody have an idea what could be going on here, as well as what the solution may be? Going back to 2.6.18 or lower is not an option.

Please provide some basic info, like:

- how much RAM
- what CPUs (be precise: use 'cat /proc/cpuinfo')
- output of 'lspci -v'
- what kind(s) of SATA drives
- are you using 32-bit or 64-bit kernel(s)

Can you test kernels from kernel.org (i.e., not vendor kernels,
no other [unkwown] patches applied to them)?

Does tracing 'scanpci' produce any helpful information?

# strace -o scanpci.trace scanpci

---
~Randy
Phaedrus says that Quality is about caring.

#2 lore raw
In reply to AndrewL733
Quoted 48 lines · On Wed, 26 Sep 2007 02:12:34 -0800 AndrewL733 wrote:

We have about 100 servers based on Intel S5000PSL-SATA motherboards. They have been running for anywhere between 1 and 10 months. For the past few months, after updating them all to the 2.6.20.15 kernel (because of a bug in the 2.6.18 kernel), we are seeing some strange NMI errors. For example:

Aug 29 09:02:10 master kernel: Uhhuh. NMI received for unknown reason 30.
Aug 29 09:02:10 master kernel: Do you have a strange power saving mode 
enabled?
Aug 29 09:02:10 master kernel: Dazed and confused, but trying to continue

Sometimes these errors cause a total system freeze. Most of the time the systems keep running.

We have determined these errors come most frequently on machines that have an Intel PCI-e Quad Port Gigabit Adapter. On machines that HAVE these cards (it doesn't matter what slot they are in), the NMI errors can occur as frequently as every 3-5 minutes. On machines that do NOT have these Quad Port Adapters, the NMI errors occur about once per month on average. (we have tried the "in-kernel" e1000 drivers, as well as Intel's latest - 7.6.5).

We have also determined (through a chance discovery) that running “scanpci” can 100 percent reliably reproduce the NMI error on any machine that has the Quad Port NICS. Our various motherboards have different Intel BIOS versions – some have Rev 70, others 74, 79 or 81. They all exhibit the same behavior regardless of BIOS version.

We have reproduced this problem with:

Mandriva 2008 RC2 (2.6.22 kernel)
Mandriva 2007 with custom 2.6.20.15 kernel
Mandriva 2007 with custom 2.6.19.8 kernel
Ubuntu “Feisty” with 2.6.20 kernel
Fedora Core 7 with 2.6.22 kernel

The problem does NOT occur with any distribution running a 2.6.18 kernel or lower. I.E., CentOS or SUSE 10 and also Mandriva 2007 with included 2.6.17 kernel or custom-compiled 2.6.18 kernel.

We have been in contact with Intel. Their high level tech support people have basically said,

“the errors we have logged so far are pointing to a kernel issue and not a hardware problem. If we [Intel] can confirm this, it will be up to the kernel developer or OS system manufacturer to debug those ones, as we do not perform Operating system support.”

Quoted 6 lines

In other words, Intel seems to be blaming the problem we are seeing on something introduced starting with the 2.6.19 kernel. We are not looking to blame anybody. We are only looking for a solution.

Does anybody have an idea what could be going on here, as well as what the solution may be? Going back to 2.6.18 or lower is not an option.

Answer #2: if a kernel change was responsible for this problem, the direct way to find that change is to clone the kernel 'git' tree and then use git bisect to find the culprit. If you are certain that 2.6.18 is good and 2.6.19 is bad, then use those git tree tags instead of the ones that are used in the example at:
http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html

git wiki is here:  http://git.or.cz/
and git docs are here:  http://www.kernel.org/pub/software/scm/git/docs/

If you want to use this tool, say so and I think that we (the royal "we") will try to work you thru it.

---
~Randy
Phaedrus says that Quality is about caring.

#3 lore raw
In reply to AndrewL733
Quoted 3 lines
Aug 29 09:02:10 master kernel: Uhhuh. NMI received for unknown reason 30.
Aug 29 09:02:10 master kernel: Do you have a strange power saving mode 

enabled?

What would be useful is to know under what situations that board can raise NMI 30.

Quoted 3 lines

In other words, Intel seems to be blaming the problem we are seeing on something introduced starting with the 2.6.19 kernel. We are not looking to blame anybody. We are only looking for a solution.

The first thing to find out is to find out in which kernel the behaviour is introduced. It might also be worth disabling msi in case Intel screwed the board up somewhat.

Quoted 2 lines

Does anybody have an idea what could be going on here, as well as what the solution may be? Going back to 2.6.18 or lower is not an option.

See if 2.6.20.* with the 2.6.18 driver compiles and how that behaves. Also see if pci=nomsi and/or pci=nommconf make a difference.

Alan

#4 lore raw

[Re: NMI error and Intel S5000PSL Motherboards]

Hello,

I'm working with AndrewL733 on this issue. I'm doing the git bisect right now.

scanpci -f -1 causes the problem, scanpci -f -2 and scanpci -O do not.

The systems have two 1-Gig sticks in the D1 and C1 slots of the motherboard. I ran memtest86 overnight and got no errors. (Samsung 1GB PC2-5300F-555-11-B0)

Both pci=nomsi and pci=nommconf don't change the situation on the ubuntu's custom kernel. I can try them on a stock kernel.org kernel after I finish doing the git bisect.

The driver does not even need to be loaded to have the problem (e1000). I have not tried the 2.6.18 driver with 2.6.20, but I have tried both the in-kernel driver as well as the newer driver from Intel with the same result.

The drive is a Seagate Barracuda 7200.9 80 Gbytes with fimware 3.AAE I can include hdparm -i output if it will help.

The problem is only happening on 64-bit. As noted above, I'm running git-bisect to test a stock kernel.org kernel. 32-bit Ubuntu does not exhibit the problem, I have not tested a kernel.org 32-bit kernel.

Extended command output follows:

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz
stepping : 6
cpu MHz : 1998.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fx sr sse sse2 ss ht tm
syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca lahf_lm
bogomips : 5990.11
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz
stepping : 6
cpu MHz : 1998.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fx sr sse sse2 ss ht tm
syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca lahf_lm
bogomips : 5984.99
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

----------------------------------------------------------------------
lspci -v:
00:00.0 Host bridge: Intel Corporation Server Memory Controller Hub (rev b1)
Subsystem: Intel Corporation Unknown device 3476
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>

00:02.0 PCI bridge: Intel Corporation Server PCI Express x8 Port 2-3 (rev b1) (prog-if 00 [Normal decode])

        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=05, sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: b8000000-b89fffff
        Capabilities: <access denied>

00:03.0 PCI bridge: Intel Corporation Server PCI Express x4 Port 3 (rev b1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
Capabilities: <access denied>

00:04.0 PCI bridge: Intel Corporation Server PCI Express x8 Port 4-5 (rev b1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
Capabilities: <access denied>

00:05.0 PCI bridge: Intel Corporation Server PCI Express x4 Port 5 (rev b1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
Capabilities: <access denied>

00:06.0 PCI bridge: Intel Corporation Server PCI Express x8 Port 6-7 (rev b1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=09, subordinate=0c, sec-latency=0 I/O behind bridge: 00002000-00003fff
Memory behind bridge: b8b00000-b8cfffff
Prefetchable memory behind bridge: 00000000b8e00000-00000000b8f00000
Capabilities: <access denied>

00:07.0 PCI bridge: Intel Corporation Server PCI Express x4 Port 7 (rev b1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0d, subordinate=0d, sec-latency=0
Capabilities: <access denied>

00:08.0 System peripheral: Intel Corporation Server DMA Engine (rev b1)
Subsystem: Intel Corporation Unknown device 3476
Flags: bus master, fast devsel, latency 0, IRQ 1 Memory at fe700000 (64-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>

00:10.0 Host bridge: Intel Corporation Server Error Reporting Registers (rev b1)
Subsystem: Intel Corporation Unknown device 3476
Flags: fast devsel

00:10.1 Host bridge: Intel Corporation Server Error Reporting Registers (rev b1)
Subsystem: Intel Corporation Unknown device 3476
Flags: fast devsel

00:10.2 Host bridge: Intel Corporation Server Error Reporting Registers (rev b1)
Subsystem: Intel Corporation Unknown device 3476
Flags: fast devsel

00:11.0 Host bridge: Intel Corporation Reserved Registers (rev b1)
Subsystem: Intel Corporation Unknown device 3476
Flags: fast devsel

00:13.0 Host bridge: Intel Corporation Reserved Registers (rev b1)
Subsystem: Intel Corporation Unknown device 3476
Flags: fast devsel

00:15.0 Host bridge: Intel Corporation Server FBD Registers (rev b1)
Subsystem: Intel Corporation Unknown device 3476
Flags: fast devsel

00:16.0 Host bridge: Intel Corporation Server FBD Registers (rev b1)
Subsystem: Intel Corporation Unknown device 3476
Flags: fast devsel

00:1c.0 PCI bridge: Intel Corporation Enterprise Southbridge PCI Express Root Port 1 (rev 09) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0e, subordinate=0e, sec-latency=0
Capabilities: <access denied>

00:1d.0 USB Controller: Intel Corporation Enterprise Southbridge UHCI USB #1 (rev 09) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Unknown device 3476
Flags: bus master, medium devsel, latency 0, IRQ 98 I/O ports at 5080 [size=32]

00:1d.1 USB Controller: Intel Corporation Enterprise Southbridge UHCI USB #2 (rev 09) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Unknown device 3476
Flags: bus master, medium devsel, latency 0, IRQ 106 I/O ports at 5060 [size=32]

00:1d.2 USB Controller: Intel Corporation Enterprise Southbridge UHCI USB #3 (rev 09) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Unknown device 3476
Flags: bus master, medium devsel, latency 0, IRQ 98 I/O ports at 5040 [size=32]

00:1d.3 USB Controller: Intel Corporation Enterprise Southbridge UHCI USB #4 (rev 09) (prog-if 00 [UHCI])
Subsystem: Intel Corporation Unknown device 3476
Flags: bus master, medium devsel, latency 0, IRQ 106 I/O ports at 5020 [size=32]

00:1d.7 USB Controller: Intel Corporation Enterprise Southbridge EHCI USB (rev 09) (prog-if 20 [EHCI])
Subsystem: Intel Corporation Unknown device 3476
Flags: bus master, medium devsel, latency 0, IRQ 98 Memory at b8d00400 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0f, subordinate=0f, sec-latency=32 I/O behind bridge: 00001000-00001fff
Memory behind bridge: b8a00000-b8afffff
Prefetchable memory behind bridge: 00000000b0000000-00000000b7f00000
Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation Enterprise Southbridge LPC (rev 09)
Subsystem: Intel Corporation Unknown device 3476
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation Enterprise Southbridge PATA (rev 09) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corporation Unknown device 3476
Flags: bus master, medium devsel, latency 0, IRQ 90 I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at 50b0 [size=16]

00:1f.2 IDE interface: Intel Corporation Enterprise Southbridge SATA IDE (rev 09) (prog-if 8f [Master SecP SecO PriP PriO])

        Subsystem: Intel Corporation Unknown device 3476
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 90
        I/O ports at 50c8 [size=8]
        I/O ports at 50e4 [size=4]
        I/O ports at 50c0 [size=8]
        I/O ports at 50e0 [size=4]
        I/O ports at 50a0 [size=16]
        Memory at b8d00000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>

00:1f.3 SMBus: Intel Corporation Enterprise Southbridge SMBus (rev 09)
Subsystem: Intel Corporation Unknown device 3476
Flags: medium devsel, IRQ 10
I/O ports at 5000 [size=32]

01:00.0 PCI bridge: Intel Corporation Enterprise Southbridge PCI Express Upstream Port (rev 01) (prog-if 00 [Normal decode])

        Flags: bus master, fast devsel, latency 0
        Bus: primary=01, secondary=02, subordinate=04, sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: b8000000-b88fffff
        Capabilities: <access denied>

01:00.3 PCI bridge: Intel Corporation Enterprise Southbridge PCI Express to PCI-X Bridge (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=01, secondary=05, subordinate=05, sec-latency=64
Capabilities: <access denied>

02:00.0 PCI bridge: Intel Corporation Enterprise Southbridge PCI Express Downstream Port E1 (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=02, secondary=03, subordinate=03, sec-latency=0
Capabilities: <access denied>

02:02.0 PCI bridge: Intel Corporation Enterprise Southbridge PCI Express Downstream Port E3 (rev 01) (prog-if 00 [Normal decode])

        Flags: bus master, fast devsel, latency 0
        Bus: primary=02, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: b8000000-b88fffff
        Capabilities: <access denied>

04:00.0 Ethernet controller: Intel Corporation PRO/1000 EB Network Connection with I/O Acceleration (rev 01)
Subsystem: Intel Corporation Unknown device 3476
Flags: bus master, fast devsel, latency 0, IRQ 122 Memory at b8820000 (32-bit, non-prefetchable) [size=128K] Memory at b8400000 (32-bit, non-prefetchable) [size=4M] I/O ports at 4020 [size=32]
Capabilities: <access denied>

04:00.1 Ethernet controller: Intel Corporation PRO/1000 EB Network Connection with I/O Acceleration (rev 01)
Subsystem: Intel Corporation Unknown device 3476
Flags: bus master, fast devsel, latency 0, IRQ 130 Memory at b8800000 (32-bit, non-prefetchable) [size=128K] Memory at b8000000 (32-bit, non-prefetchable) [size=4M] I/O ports at 4000 [size=32]
Capabilities: <access denied>

09:00.0 PCI bridge: Integrated Device Technology, Inc. Unknown device 8018 (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=09, secondary=0a, subordinate=0c, sec-latency=0 I/O behind bridge: 00002000-00003fff
Memory behind bridge: b8b00000-b8cfffff
Prefetchable memory behind bridge: 00000000b8e00000-00000000b8f00000
Capabilities: <access denied>

0a:00.0 PCI bridge: Integrated Device Technology, Inc. Unknown device 8018 (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=0a, secondary=0b, subordinate=0b, sec-latency=0 I/O behind bridge: 00003000-00003fff
Memory behind bridge: b8c00000-b8cfffff
Prefetchable memory behind bridge: 00000000b8e00000-00000000b8e00000
Capabilities: <access denied>

0a:01.0 PCI bridge: Integrated Device Technology, Inc. Unknown device 8018 (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=0a, secondary=0c, subordinate=0c, sec-latency=0 I/O behind bridge: 00002000-00002fff
Memory behind bridge: b8b00000-b8bfffff
Prefetchable memory behind bridge: 00000000b8f00000-00000000b8f00000
Capabilities: <access denied>

0b:00.0 Ethernet controller: Intel Corporation Unknown device 10a4 (rev 06)

        Subsystem: Intel Corporation Unknown device 10a4
        Flags: bus master, fast devsel, latency 0, IRQ 138
        Memory at b8c60000 (32-bit, non-prefetchable) [size=128K]
        Memory at b8c40000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at 3020 [size=32]
        Expansion ROM at b8e00000 [disabled] [size=128K]
        Capabilities: <access denied>

0b:00.1 Ethernet controller: Intel Corporation Unknown device 10a4 (rev 06)

        Subsystem: Intel Corporation Unknown device 10a4
        Flags: bus master, fast devsel, latency 0, IRQ 146
        Memory at b8c20000 (32-bit, non-prefetchable) [size=128K]
        Memory at b8c00000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at 3000 [size=32]
        Expansion ROM at b8e20000 [disabled] [size=128K]
        Capabilities: <access denied>

0c:00.0 Ethernet controller: Intel Corporation Unknown device 10a4 (rev 06)

        Subsystem: Intel Corporation Unknown device 10a4
        Flags: bus master, fast devsel, latency 0, IRQ 154
        Memory at b8b60000 (32-bit, non-prefetchable) [size=128K]
        Memory at b8b40000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at 2020 [size=32]
        Expansion ROM at b8f00000 [disabled] [size=128K]
        Capabilities: <access denied>

0c:00.1 Ethernet controller: Intel Corporation Unknown device 10a4 (rev 06)

        Subsystem: Intel Corporation Unknown device 10a4
        Flags: bus master, fast devsel, latency 0, IRQ 162
        Memory at b8b20000 (32-bit, non-prefetchable) [size=128K]
        Memory at b8b00000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at 2000 [size=32]
        Expansion ROM at b8f20000 [disabled] [size=128K]
        Capabilities: <access denied>

0f:0c.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev
02) (prog-if 00 [VGA])
Subsystem: Intel Corporation Unknown device 3476
Flags: bus master, stepping, fast Back2Back, medium devsel,
latency 32, IRQ 11

        Memory at b0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at 1000 [size=256]
        Memory at b8a00000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at fffe0000 [disabled] [size=128K]
        Capabilities: <access denied>

-----------------------------------------------------------------------------------------
strace: I don't know what syscall_273 does. I trimmed the output to include syscall 273 and the lines surrounding it. I can include the entirety of the strace if it will help.

arch_prctl(ARCH_SET_FS, 0x2aca24060f50) = 0 mprotect(0x2aca23e3b000, 12288, PROT_READ) = 0
munmap(0x2aca238e2000, 36649) = 0
set_tid_address(0x2aca24060fe0) = 10319
syscall_273(0x2aca24060ff0, 0x18, 0x7fff87790188, 0x2aca233193c0, 0x2aca24060f50, 0x2aca233352b8, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1) = 0
rt_sigaction(SIGRTMIN, {0x2aca23e4a3a0, [], SA_RESTORER|SA_SIGINFO, 0x2aca23e53200}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x2aca23e4a2f0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x2aca23e53200}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
ioperm(0, 0x400, 0x1) = 0

Samson

#5 lore raw

Re: [Re: NMI error and Intel S5000PSL Motherboards]

Quoted 5 lines · On Wed, 26 Sep 2007 15:07:14 -0400 samson yeung wrote:

Hello,

I'm working with AndrewL733 on this issue. I'm doing the git bisect right now.

scanpci -f -1 causes the problem, scanpci -f -2 and scanpci -O do not.

Does the problem always happen when scanpci is making an ioperm syscall (as in the strace output below)?

Quoted 5 lines

The driver does not even need to be loaded to have the problem (e1000). I have not tried the 2.6.18 driver with 2.6.20, but I have tried both the in-kernel driver as well as the newer driver from Intel with the same result.

Quoted 7 lines

The drive is a Seagate Barracuda 7200.9 80 Gbytes with fimware 3.AAE I can include hdparm -i output if it will help.

The problem is only happening on 64-bit. As noted above, I'm running git-bisect to test a stock kernel.org kernel. 32-bit Ubuntu does not exhibit the problem, I have not tested a kernel.org 32-bit kernel.

-----------------------------------------------------------------------------------------

Quoted 3 lines

strace: I don't know what syscall_273 does. I trimmed the output to include syscall 273 and the lines surrounding it. I can include the entirety of the strace if it will help.

Does this include trace info all the way to the end of the trace output file? If not, please send that part also.

Quoted 6 lines

arch_prctl(ARCH_SET_FS, 0x2aca24060f50) = 0 mprotect(0x2aca23e3b000, 12288, PROT_READ) = 0
munmap(0x2aca238e2000, 36649) = 0
set_tid_address(0x2aca24060fe0) = 10319
syscall_273(0x2aca24060ff0, 0x18, 0x7fff87790188, 0x2aca233193c0, 0x2aca24060f50, 0x2aca233352b8, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1,

Quoted 8 lines

0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1) = 0
rt_sigaction(SIGRTMIN, {0x2aca23e4a3a0, [], SA_RESTORER|SA_SIGINFO, 0x2aca23e53200}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x2aca23e4a2f0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x2aca23e53200}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
ioperm(0, 0x400, 0x1) = 0

---
~Randy
Phaedrus says that Quality is about caring.

#7 lore raw
In reply to Jim Paris
Quoted 12 lines · On Wed, 26 Sep 2007 19:48:14 -0400 Jim Paris wrote:

Hello,

Quoted 9 lines

We have about 100 servers based on Intel S5000PSL-SATA motherboards. They have been running for anywhere between 1 and 10 months. For the past few months, after updating them all to the 2.6.20.15 kernel (because of a bug in the 2.6.18 kernel), we are seeing some strange NMI errors. For example:

Aug 29 09:02:10 master kernel: Uhhuh. NMI received for unknown reason 30.
Aug 29 09:02:10 master kernel: Do you have a strange power saving mode enabled?
Aug 29 09:02:10 master kernel: Dazed and confused, but trying to continue
Quoted 6 lines

I'm also working with Andrew and Samson. It seems that the cause of the problem is CONFIG_PCIEAER, which was introduced after 2.6.18 and defaults to y.

With CONFIG_PCIEAER=n, scanpci works fine with no errors. This is the workaround that they'll likely use for now.

Glad that you found it.

Quoted 2 lines

With CONFIG_PCIEAER=y, scanpci always triggers the NMI error. The option aerdriver.forceload=1 has no effect.

The 'forceload' option only forces the driver to load even when the ACPI hardware initialization routine fails.

It would be nice to be able to disable PCIEAER at boot time though. Shouldn't be difficult.

Quoted 23 lines

The related dmesg output at boot is:

Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:02.0:pcie01 failed with error 2
aer_init: AER service init fails - No ACPI _OSC support
aer: probe of 0000:00:03.0:pcie01 failed with error 1 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:04.0:pcie01 failed with error 2 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:05.0:pcie01 failed with error 2 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:06.0:pcie01 failed with error 2
aer_init: AER service init fails - No ACPI _OSC support
aer: probe of 0000:00:07.0:pcie01 failed with error 1

Quoted 4 lines

Full dmesg, lspci, and ACPI DSDT are available here:
http://jim.sh/~jim/tmp/nmi/

-jim

---
~Randy
Phaedrus says that Quality is about caring.

#6 lore raw
In reply to Randy Dunlap

Hello,

Quoted 9 lines

We have about 100 servers based on Intel S5000PSL-SATA motherboards. They have been running for anywhere between 1 and 10 months. For the past few months, after updating them all to the 2.6.20.15 kernel (because of a bug in the 2.6.18 kernel), we are seeing some strange NMI errors. For example:

Aug 29 09:02:10 master kernel: Uhhuh. NMI received for unknown reason 30.
Aug 29 09:02:10 master kernel: Do you have a strange power saving mode enabled?
Aug 29 09:02:10 master kernel: Dazed and confused, but trying to continue

I'm also working with Andrew and Samson. It seems that the cause of the problem is CONFIG_PCIEAER, which was introduced after 2.6.18 and defaults to y.

With CONFIG_PCIEAER=n, scanpci works fine with no errors. This is the workaround that they'll likely use for now.

With CONFIG_PCIEAER=y, scanpci always triggers the NMI error. The option aerdriver.forceload=1 has no effect.

The related dmesg output at boot is:

Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:02.0:pcie01 failed with error 2
aer_init: AER service init fails - No ACPI _OSC support
aer: probe of 0000:00:03.0:pcie01 failed with error 1 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:04.0:pcie01 failed with error 2 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:05.0:pcie01 failed with error 2 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:06.0:pcie01 failed with error 2
aer_init: AER service init fails - No ACPI _OSC support
aer: probe of 0000:00:07.0:pcie01 failed with error 1

Full dmesg, lspci, and ACPI DSDT are available here:
http://jim.sh/~jim/tmp/nmi/

-jim

author
#8 lore raw
In reply to Randy Dunlap
Quoted 16 lines · [email protected] wrote:
Quoted 13 lines · On Wed, 26 Sep 2007 19:48:14 -0400 Jim Paris wrote:

Hello,

Quoted 6 lines

We have about 100 servers based on Intel S5000PSL-SATA motherboards. They have been running for anywhere between 1 and 10 months. For the past few months, after updating them all to the 2.6.20.15 kernel (because of a bug in the 2.6.18 kernel), we are seeing some strange NMI errors. For example:

Aug 29 09:02:10 master kernel: Uhhuh. NMI received for unknown reason 30.
Aug 29 09:02:10 master kernel: Do you have a strange power saving mode enabled?
Aug 29 09:02:10 master kernel: Dazed and confused, but trying to continue

I'm also working with Andrew and Samson. It seems that the cause of the problem is CONFIG_PCIEAER, which was introduced after 2.6.18 and defaults to y.

Quoted 10 lines
Quoted 3 lines

With CONFIG_PCIEAER=n, scanpci works fine with no errors. This is the workaround that they'll likely use for now.

Glad that you found it.

Quoted 3 lines

With CONFIG_PCIEAER=y, scanpci always triggers the NMI error. The option aerdriver.forceload=1 has no effect.

So, looking for some closure here, what do we think is the "root cause"? Is it:

1) a defect with Intel's S5000PSL motherboards that is exposed by an otherwise fine new (since 2.6.19) Linux kernel feature? (in which case we and others should probably press Intel to recognize they have a problem, seeing as they only "officially support" distributions running on 2.6.16 or below so maybe they don't even know about this issue).

2) a problem with PCIEAER? And maybe "CONFIG_PCIEAER=y" should NOT be the default setting? (in which case the kernel maybe needs fixing)

3) just a bad interaction between a good motherboard and a good Linux feature that don't play well together? (in which case this is a kernel "feature" that anybody compiling a kernel to run on the Intel S5000PSL motherboard should know not to enable -- maybe a note is warranted so that when configuring the kernel, people with S5000PSL motherboards might not make the same mistake???).

Quoted 43 lines

The 'forceload' option only forces the driver to load even when the ACPI hardware initialization routine fails.

It would be nice to be able to disable PCIEAER at boot time though. Shouldn't be difficult.

Quoted 23 lines

The related dmesg output at boot is:

Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:02.0:pcie01 failed with error 2
aer_init: AER service init fails - No ACPI _OSC support
aer: probe of 0000:00:03.0:pcie01 failed with error 1 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:04.0:pcie01 failed with error 2 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:05.0:pcie01 failed with error 2 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:06.0:pcie01 failed with error 2
aer_init: AER service init fails - No ACPI _OSC support
aer: probe of 0000:00:07.0:pcie01 failed with error 1

Quoted 5 lines

Full dmesg, lspci, and ACPI DSDT are available here:
http://jim.sh/~jim/tmp/nmi/

-jim

---
~Randy
Phaedrus says that Quality is about caring.

author
#9 lore raw
In reply to Randy Dunlap
Quoted 27 lines · [email protected] wrote:
Quoted 9 lines · On Wed, 26 Sep 2007 19:48:14 -0400 Jim Paris wrote:

Hello,

Quoted 6 lines

We have about 100 servers based on Intel S5000PSL-SATA motherboards. They have been running for anywhere between 1 and 10 months. For the past few months, after updating them all to the 2.6.20.15 kernel (because of a bug in the 2.6.18 kernel), we are seeing some strange NMI errors. For example:

Aug 29 09:02:10 master kernel: Uhhuh. NMI received for unknown reason 30.
Aug 29 09:02:10 master kernel: Do you have a strange power saving mode enabled?
Aug 29 09:02:10 master kernel: Dazed and confused, but trying to continue
Quoted 7 lines

I'm also working with Andrew and Samson. It seems that the cause of the problem is CONFIG_PCIEAER, which was introduced after 2.6.18 and defaults to y.

With CONFIG_PCIEAER=n, scanpci works fine with no errors. This is the workaround that they'll likely use for now.

Glad that you found it.

Quoted 3 lines

With CONFIG_PCIEAER=y, scanpci always triggers the NMI error. The option aerdriver.forceload=1 has no effect.

Quoted 7 lines

The 'forceload' option only forces the driver to load even when the ACPI hardware initialization routine fails.

It would be nice to be able to disable PCIEAER at boot time though. Shouldn't be difficult.

So, looking for some closure here, what do we think is the "root cause"? Is it:

1) a defect with Intel's S5000PSL motherboards that is exposed by an otherwise fine new (since 2.6.19) Linux kernel feature? (in which case we and others should probably press Intel to recognize they have a problem, seeing as they only "officially support" distributions running on 2.6.16 or below so maybe they don't even know about this issue).

2) a problem with PCIEAER? And maybe "CONFIG_PCIEAER=y" should NOT be the default setting? (in which case the kernel maybe needs fixing)

3) just a bad interaction between a good motherboard and a good Linux feature that don't play well together? (in which case this is a kernel "feature" that anybody compiling a kernel to run on the Intel S5000PSL motherboard should know not to enable -- maybe a note is warranted so that when configuring the kernel, people with S5000PSL motherboards might not make the same mistake???).

Quoted 35 lines
Quoted 24 lines

The related dmesg output at boot is:

Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:02.0:pcie01 failed with error 2
aer_init: AER service init fails - No ACPI _OSC support
aer: probe of 0000:00:03.0:pcie01 failed with error 1 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:04.0:pcie01 failed with error 2 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:05.0:pcie01 failed with error 2 Evaluate _OSC Set fails. Status = 0x0005 Evaluate _OSC Set fails. Status = 0x0005
aer_init: AER service init fails - Run ACPI _OSC fails
aer: probe of 0000:00:06.0:pcie01 failed with error 2
aer_init: AER service init fails - No ACPI _OSC support
aer: probe of 0000:00:07.0:pcie01 failed with error 1

Quoted 5 lines

Full dmesg, lspci, and ACPI DSDT are available here:
http://jim.sh/~jim/tmp/nmi/

-jim

---
~Randy
Phaedrus says that Quality is about caring.

author
#10 lore raw

Repost: NMI error and Intel S5000PSL Motherboards

This is a slightly edited repost of a note sent on Friday September 28, as we haven't heard back from anyone yet. (I know it was the weekend!) Sorry to post again but this issue caused great problems for us and I want to be sure we're choosing a decent solution.

Perhaps one of the people who so helpfully commented on this issue earlier last week can now give their opinion on the what should be concluded from our discovery that "CONFIG_PCIEAER=y" -- introduced in the 2.6.19 kernel and set as the default -- leads to NMI errors on the Intel S5000PSL motherboard.

I'm told Intel people were closely involved in the development of this PCIEAER feature -- so it seems even weirder that it causes problems for this Intel motherboard. But we have confirmed the problem with multiple Linux distributions.

We are hoping to get some insights into the real cause. Please see below where I outlined what seem to be the 3 possibilities.

Quoted 21 lines
Quoted 20 lines · [email protected] wrote:
Quoted 16 lines · On Wed, 26 Sep 2007 19:48:14 -0400 Jim Paris wrote:

Hello,

Quoted 6 lines

We have about 100 servers based on Intel S5000PSL-SATA motherboards. They have been running for anywhere between 1 and 10 months. For the past few months, after updating them all to the 2.6.20.15 kernel (because of a bug in the 2.6.18 kernel), we are seeing some strange NMI errors. For example:

Aug 29 09:02:10 master kernel: Uhhuh. NMI received for unknown reason 30.
Aug 29 09:02:10 master kernel: Do you have a strange power saving mode enabled?
Aug 29 09:02:10 master kernel: Dazed and confused, but trying to continue

I'm also working with Andrew and Samson. It seems that the cause of the problem is CONFIG_PCIEAER, which was introduced after 2.6.18 and defaults to y.

With CONFIG_PCIEAER=n, scanpci works fine with no errors. This is the workaround that they'll likely use for now.

Quoted 6 lines
Quoted 6 lines

Glad that you found it.

Quoted 3 lines

With CONFIG_PCIEAER=y, scanpci always triggers the NMI error. The option aerdriver.forceload=1 has no effect.

Although running "scanpci" provoked the NMI errors 100 percent on demand, the NMI errors would also occur randomly every few weeks on a given system without doing anything special. I don't want anybody to think we are just trying to prevent a problem from occurring because we like running "scanpci". "Scanpci" just turned out to be a reliable way to reproduce an otherwise random problem.

Quoted 8 lines
Quoted 8 lines

The 'forceload' option only forces the driver to load even when the ACPI hardware initialization routine fails.

It would be nice to be able to disable PCIEAER at boot time though. Shouldn't be difficult.

So, looking for some closure here, what do you think is the "root cause"? Is it:

1) a defect with Intel's S5000PSL motherboards that is not seen when running 2.6.18 and earlier kernels but that is exposed by this feature added in 2.6.19? In which case, shouldn't we work to get Intel to investigate?

2) a problem with the PCIEAER feature? And maybe "CONFIG_PCIEAER=y" should NOT be the default setting?

3) just a bad interaction between a good motherboard and a good Linux feature that don't play well together? (in which case isn't this a "feature" that anybody compiling a kernel to run on the Intel S5000PSL motherboard should know not to enable?/

And in general is it a bad idea to set "CONFIG_PCIEAER to "no"". Or is it something that we can really live without?

Andrew