From: Ingo Molnar on
Today's -tip crashes during bootup (x86 allyesconfig, 64-bit), due to this
commit from yesterday's upstream -git tree:

commit a328e95b82c1b8483ae5ab2f809140664d7f6c92
Author: Dave Hansen <dave(a)sr71.net>
Date: Thu Oct 1 15:43:32 2009 -0700

leds: LED driver for Intel NAS SS4200 series (v5)

The crash serial log is attached below. I suspect this driver was not booted
on hardware that does not have that LED interface?

Thanks,

Ingo

[ 75.143912] initcall regulator_led_init+0x0/0x12 returned 0 after 5448 usecs
[ 75.151208] calling nas_gpio_init+0x0/0x153 @ 1
[ 75.155860] BUG: unable to handle kernel paging request at 00000000001de7d0
[ 75.159841] IP: [<ffffffff81683c55>] strstr+0x20/0x5f
[ 75.159841] PGD 0
[ 75.159841] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[ 75.159841] last sysfs file:
[ 75.159841] CPU 0
[ 75.159841] Pid: 1, comm: swapper Not tainted 2.6.33-rc1-tip-00188-g19a3ebc-dirty #535 A8N-E/System Product Name
[ 75.159841] RIP: 0010:[<ffffffff81683c55>] [<ffffffff81683c55>] strstr+0x20/0x5f
[ 75.159841] RSP: 0000:ffff88003e085e10 EFLAGS: 00010202
[ 75.159841] RAX: 00000000001de7d0 RBX: ffffffff8449e568 RCX: 00000000001de7d0
[ 75.159841] RDX: 0000000000000020 RSI: ffffffff8449e579 RDI: 00000000001de7d0
[ 75.159841] RBP: ffff88003e085e10 R08: ffffffff8553005a R09: 0000000000000005
[ 75.159841] R10: 0000000000000020 R11: 0000000000000074 R12: 0000000000000000
[ 75.159841] R13: ffffffff8449e5b8 R14: 0000000000000000 R15: 0000000000000000
[ 75.159841] FS: 0000000000000000(0000) GS:ffff880006800000(0000) knlGS:0000000000000000
[ 75.159841] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 75.159841] CR2: 00000000001de7d0 CR3: 0000000003cc4000 CR4: 00000000000006f0
[ 75.159841] DR0: ffffffff850a732c DR1: 0000000000000000 DR2: 0000000000000000
[ 75.159841] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
[ 75.159841] Process swapper (pid: 1, threadinfo ffff88003e084000, task ffff88003e088000)
[ 75.159841] Stack:
[ 75.159841] ffff88003e085e40 ffffffff825f0dfb 0000000000000000 ffffffff8449e568
[ 75.159841] <0> 0000000000000000 000000117fa3493a ffff88003e085e60 ffffffff825f0e6a
[ 75.159841] <0> ffffffff843f9ec8 0000000000000000 ffff88003e085e90 ffffffff843f9edf
[ 75.159841] Call Trace:
[ 75.159841] [<ffffffff825f0dfb>] dmi_matches+0x6f/0x8d
[ 75.159841] [<ffffffff825f0e6a>] dmi_check_system+0x1c/0x4a
[ 75.159841] [<ffffffff843f9ec8>] ? nas_gpio_init+0x0/0x153
[ 75.159841] [<ffffffff843f9edf>] nas_gpio_init+0x17/0x153
[ 75.159841] [<ffffffff843f9ec8>] ? nas_gpio_init+0x0/0x153
[ 75.159841] [<ffffffff8100207d>] do_one_initcall+0x72/0x1a6
[ 75.159841] [<ffffffff8438374f>] do_basic_setup+0x54/0x66
[ 75.159841] [<ffffffff8438380e>] kernel_init+0xad/0xf3
[ 75.159841] [<ffffffff82ba7788>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 75.159841] [<ffffffff81039cc4>] kernel_thread_helper+0x4/0x10
[ 75.159841] [<ffffffff82ba8710>] ? restore_args+0x0/0x30
[ 75.159841] [<ffffffff84383761>] ? kernel_init+0x0/0xf3
[ 75.159841] [<ffffffff81039cc0>] ? kernel_thread_helper+0x0/0x10
[ 75.159841] Code: c0 48 ff ca 48 85 d2 75 ee c9 c3 55 48 89 f2 48 89 e5 eb 03 48 ff c2 80 3a 00 75 f8 29 f2 48 89 f8 74 45 48 89 f9 eb 03 48 ff c1 <80> 39 00 75 f8 48 89 f8 4c 63 d2 eb 26 4d 89 d1 49 89 c0 48 89
[ 75.159841] RIP [<ffffffff81683c55>] strstr+0x20/0x5f
[ 75.159841] RSP <ffff88003e085e10>
[ 75.159841] CR2: 00000000001de7d0
[ 75.413931] ---[ end trace f895c45d96add991 ]---
[ 75.418559] Kernel panic - not syncing: Fatal exception
[ 75.423796] Pid: 1, comm: swapper Tainted: G D 2.6.33-rc1-tip-00188-g19a3ebc-dirty #535
[ 75.432536] Call Trace:
[ 75.434985] [<ffffffff82ba5365>] panic+0x7a/0x150
[ 75.439795] [<ffffffff82ba8417>] ? _raw_spin_unlock_irqrestore+0x55/0x72
[ 75.446601] [<ffffffff82ba96c3>] oops_end+0xd8/0xe8
[ 75.451612] [<ffffffff8106af9f>] no_context+0x144/0x150
[ 75.456944] [<ffffffff8106b14b>] __bad_area_nosemaphore+0x1a0/0x1c3
[ 75.463307] [<ffffffff82bab49a>] ? do_page_fault+0x101/0x304
[ 75.469106] [<ffffffff8106b181>] bad_area_nosemaphore+0x13/0x15
[ 75.475127] [<ffffffff82bab532>] do_page_fault+0x199/0x304
[ 75.480714] [<ffffffff82ba89b5>] page_fault+0x25/0x30
[ 75.485897] [<ffffffff81683c55>] ? strstr+0x20/0x5f
[ 75.490878] [<ffffffff825f0dfb>] dmi_matches+0x6f/0x8d
[ 75.496125] [<ffffffff825f0e6a>] dmi_check_system+0x1c/0x4a
[ 75.501821] [<ffffffff843f9ec8>] ? nas_gpio_init+0x0/0x153
[ 75.507404] [<ffffffff843f9edf>] nas_gpio_init+0x17/0x153
[ 75.512913] [<ffffffff843f9ec8>] ? nas_gpio_init+0x0/0x153
[ 75.518522] [<ffffffff8100207d>] do_one_initcall+0x72/0x1a6
[ 75.524193] [<ffffffff8438374f>] do_basic_setup+0x54/0x66
[ 75.529694] [<ffffffff8438380e>] kernel_init+0xad/0xf3
[ 75.534963] [<ffffffff82ba7788>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 75.541428] [<ffffffff81039cc4>] kernel_thread_helper+0x4/0x10
[ 75.547358] [<ffffffff82ba8710>] ? restore_args+0x0/0x30
[ 75.552804] [<ffffffff84383761>] ? kernel_init+0x0/0xf3
[ 75.558131] [<ffffffff81039cc0>] ? kernel_thread_helper+0x0/0x10
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Dave Hansen on
On Fri, 2009-12-18 at 17:45 +0100, Ingo Molnar wrote:
> Today's -tip crashes during bootup (x86 allyesconfig, 64-bit), due to this
> commit from yesterday's upstream -git tree:
>
> commit a328e95b82c1b8483ae5ab2f809140664d7f6c92
> Author: Dave Hansen <dave(a)sr71.net>
> Date: Thu Oct 1 15:43:32 2009 -0700
>
> leds: LED driver for Intel NAS SS4200 series (v5)
>
> The crash serial log is attached below. I suspect this driver was not booted
> on hardware that does not have that LED interface?

I just double-checked it again on a couple of my systems and it seems to
deny loading the module correctly.

What kind of hardware is this? Could you send me 'dmidecode' output?

I'm wondering if your hardware matched the "Intel" string somehow and
the dmi code didn't bother to check anything else. I'll also go try and
run on a few more pieces of hardware and see if I can get it to trigger.

-- Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Ingo Molnar on

* Dave Hansen <dave(a)sr71.net> wrote:

> On Fri, 2009-12-18 at 17:45 +0100, Ingo Molnar wrote:
> > Today's -tip crashes during bootup (x86 allyesconfig, 64-bit), due to this
> > commit from yesterday's upstream -git tree:
> >
> > commit a328e95b82c1b8483ae5ab2f809140664d7f6c92
> > Author: Dave Hansen <dave(a)sr71.net>
> > Date: Thu Oct 1 15:43:32 2009 -0700
> >
> > leds: LED driver for Intel NAS SS4200 series (v5)
> >
> > The crash serial log is attached below. I suspect this driver was not
> > booted on hardware that does not have that LED interface?
>
> I just double-checked it again on a couple of my systems and it seems to
> deny loading the module correctly.
>
> What kind of hardware is this? Could you send me 'dmidecode' output?
>
> I'm wondering if your hardware matched the "Intel" string somehow and the
> dmi code didn't bother to check anything else. I'll also go try and run on
> a few more pieces of hardware and see if I can get it to trigger.

It's an Athlon64 whitebox PC - a pretty old one - and nothing special.

Also note the crash signature - it crashes in the DMI code. Note, this is a
built-in-driver (not a modular driver) bootup. dmidecode is below.

Ingo

-------------------------------->
# dmidecode 2.7
SMBIOS 2.3 present.
72 structures occupying 2055 bytes.
Table at 0x000F0000.

Handle 0x0000, DMI type 0, 20 bytes.
BIOS Information
Vendor: Phoenix Technologies, LTD
Version: ASUS A8N-E ACPI BIOS Revision 1008
Release Date: 08/22/2005
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 512 kB
Characteristics:
PCI is supported
PNP is supported
APM is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/360 KB floppy services are supported (int 13h)
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 KB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
LS-120 boot is supported
ATAPI Zip drive boot is supported
BIOS boot specification is supported

Handle 0x0001, DMI type 1, 25 bytes.
System Information
Manufacturer: System manufacturer
Product Name: System Product Name
Version: System Version
Serial Number: System Serial Number
UUID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Wake-up Type: Power Switch

Handle 0x0002, DMI type 2, 8 bytes.
Base Board Information
Manufacturer: ASUSTeK Computer INC.
Product Name: A8N-E
Version: 2.XX
Serial Number: 123456789000

Handle 0x0003, DMI type 3, 17 bytes.
Chassis Information
Manufacturer: Chassis Manufacture
Type: Desktop
Lock: Not Present
Version: Chassis Version
Serial Number: EVAL
Asset Tag: 123456789000
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000001

Handle 0x0004, DMI type 4, 35 bytes.
Processor Information
Socket Designation: Socket 939
Type: Central Processor
Family: Athlon 64
Manufacturer: AMD
ID: 32 0F 02 00 FF FB 8B 17
Signature: Extended Family 0, Model 3, Stepping 2
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
HTT (Hyper-threading technology)
Version: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Voltage: 1.3 V
External Clock: 200 MHz
Max Speed: 3700 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: <OUT OF SPEC>
L1 Cache Handle: 0x000A
L2 Cache Handle: 0x000B
L3 Cache Handle: Not Provided
Serial Number:
Asset Tag:
Part Number:

Handle 0x0005, DMI type 5, 24 bytes.
Memory Controller Information
Error Detecting Method: 64-bit ECC
Error Correcting Capabilities:
None
Supported Interleave: One-way Interleave
Current Interleave: One-way Interleave
Maximum Memory Module Size: 1024 MB
Maximum Total Memory Size: 4096 MB
Supported Speeds:
70 ns
60 ns
50 ns
Supported Memory Types:
Standard
SDRAM
Memory Module Voltage: 2.9 V
Associated Memory Slots: 4
0x0006
0x0007
0x0008
0x0009
Enabled Error Correcting Capabilities: None

Handle 0x0006, DMI type 6, 12 bytes.
Memory Module Information
Socket Designation: A0
Bank Connections: 0 1
Current Speed: Unknown
Type: DIMM
Installed Size: 512 MB (Double-bank Connection)
Enabled Size: 512 MB (Double-bank Connection)
Error Status: OK

Handle 0x0007, DMI type 6, 12 bytes.
Memory Module Information
Socket Designation: A1
Bank Connections: None
Current Speed: Unknown
Type: DIMM
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK

Handle 0x0008, DMI type 6, 12 bytes.
Memory Module Information
Socket Designation: A2
Bank Connections: 4 5
Current Speed: 50 ns
Type: DIMM
Installed Size: 512 MB (Double-bank Connection)
Enabled Size: 512 MB (Double-bank Connection)
Error Status: OK

Handle 0x0009, DMI type 6, 12 bytes.
Memory Module Information
Socket Designation: A3
Bank Connections: None
Current Speed: 50 ns
Type: DIMM
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK

Handle 0x000A, DMI type 7, 19 bytes.
Cache Information
Socket Designation: L1 Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 128 KB
Maximum Size: 128 KB
Supported SRAM Types:
Synchronous
Installed SRAM Type: Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 4-way Set-associative

Handle 0x000B, DMI type 7, 19 bytes.
Cache Information
Socket Designation: L2 Cache
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 512 KB
Maximum Size: 512 KB
Supported SRAM Types:
Synchronous
Installed SRAM Type: Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: 4-way Set-associative

Handle 0x000C, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: PRIMARY IDE
Internal Connector Type: On Board IDE
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other

Handle 0x000D, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: SECONDARY IDE
Internal Connector Type: On Board IDE
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other

Handle 0x000E, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: FDD
Internal Connector Type: On Board Floppy
External Reference Designator: Not Specified
External Connector Type: None
Port Type: 8251 FIFO Compatible

Handle 0x000F, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: COM1
Internal Connector Type: 9 Pin Dual Inline (pin 10 cut)
External Reference Designator:
External Connector Type: DB-9 male
Port Type: Serial Port 16450 Compatible

Handle 0x0010, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: LPT1
Internal Connector Type: DB-25 female
External Reference Designator:
External Connector Type: DB-25 female
Port Type: Parallel Port ECP/EPP

Handle 0x0011, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: PS/2 Keyboard
Internal Connector Type: PS/2
External Reference Designator:
External Connector Type: PS/2
Port Type: Keyboard Port

Handle 0x0012, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: PS/2 Mouse
Internal Connector Type: PS/2
External Reference Designator:
External Connector Type: PS/2
Port Type: Mouse Port

Handle 0x0013, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: USB1
External Connector Type: Other
Port Type: USB

Handle 0x0014, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: USB2
External Connector Type: Other
Port Type: USB

Handle 0x0015, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: USB3
External Connector Type: Other
Port Type: USB

Handle 0x0016, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: USB4
External Connector Type: Other
Port Type: USB

Handle 0x0017, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: USB5
External Connector Type: Other
Port Type: USB

Handle 0x0018, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: USB6
External Connector Type: Other
Port Type: USB

Handle 0x0019, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: USB7
External Connector Type: Other
Port Type: USB

Handle 0x001A, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: USB8
External Connector Type: Other
Port Type: USB

Handle 0x001B, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: USB9
External Connector Type: Other
Port Type: USB

Handle 0x001C, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: USB10
External Connector Type: Other
Port Type: USB

Handle 0x001D, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: Line In
External Connector Type: None
Port Type: Audio Port

Handle 0x001E, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Line Out
Internal Connector Type: None
External Reference Designator: Line Out
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port

Handle 0x001F, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Mic In
Internal Connector Type: None
External Reference Designator: Mic In
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port

Handle 0x0020, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Back Surround L/R
Internal Connector Type: None
External Reference Designator: Back Surround L/R
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port

Handle 0x0021, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Side Surround L/R
Internal Connector Type: None
External Reference Designator: Side Surround L/R
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port

Handle 0x0022, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Center/LFE
Internal Connector Type: None
External Reference Designator: Center/LFE
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port

Handle 0x0023, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: CD In
Internal Connector Type: On Board Sound Input From CD-ROM
External Reference Designator: CD In
External Connector Type: None
Port Type: Audio Port

Handle 0x0024, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Aux In
Internal Connector Type: On Board Sound Input From CD-ROM
External Reference Designator: Aux In
External Connector Type: None
Port Type: Audio Port

Handle 0x0025, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: SPDIF Out
Internal Connector Type: None
External Reference Designator: Audio SPDIF Out
External Connector Type: None
Port Type: Audio Port

Handle 0x0026, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Front Panel
Internal Connector Type: Other
External Reference Designator: Front Panel
External Connector Type: None
Port Type: Audio Port

Handle 0x0027, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: ETHERNET
External Connector Type: RJ-45
Port Type: Network Port

Handle 0x0028, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: Joystick
External Connector Type: DB-15 female
Port Type: Joystick Port

Handle 0x0029, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: SATA1
Internal Connector Type: On Board IDE
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other

Handle 0x002A, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: SATA2
Internal Connector Type: On Board IDE
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other

Handle 0x002B, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: SATA3
Internal Connector Type: On Board IDE
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other

Handle 0x002C, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: SATA4
Internal Connector Type: On Board IDE
External Reference Designator: Not Specified
External Connector Type: None
Port Type: Other

Handle 0x002D, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: MIDI
External Connector Type: DB-15 female
Port Type: MIDI Port

Handle 0x002E, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: Not Specified
Internal Connector Type: None
External Reference Designator: CHASSIS
External Connector Type: None
Port Type: Other

Handle 0x002F, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: CPU_FAN1
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: None
Port Type: None

Handle 0x0030, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: CHIPSET_FAN1
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: None
Port Type: None

Handle 0x0031, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: PWR_FAN1
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: None
Port Type: None

Handle 0x0032, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: CHA_FAN1
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: None
Port Type: None

Handle 0x0033, DMI type 8, 9 bytes.
Port Connector Information
Internal Reference Designator: CHA_FAN2
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: None
Port Type: None

Handle 0x0034, DMI type 9, 13 bytes.
System Slot Information
Designation: PCI1
Type: 32-bit PCI
Current Usage: Available
Length: Short
ID: 1
Characteristics:
5.0 V is provided
PME signal is supported

Handle 0x0035, DMI type 9, 13 bytes.
System Slot Information
Designation: PCI2
Type: 32-bit PCI
Current Usage: In Use
Length: Short
ID: 2
Characteristics:
5.0 V is provided
PME signal is supported

Handle 0x0036, DMI type 9, 13 bytes.
System Slot Information
Designation: PCI3
Type: 32-bit PCI
Current Usage: Available
Length: Short
ID: 3
Characteristics:
5.0 V is provided
PME signal is supported

Handle 0x0037, DMI type 9, 13 bytes.
System Slot Information
Designation: PCIEX16_1
Type: x16 PCI Express
Current Usage: In Use
Length: Short
Characteristics:
5.0 V is provided
PME signal is supported

Handle 0x0038, DMI type 9, 13 bytes.
System Slot Information
Designation: PCIEX4_1
Type: x4 PCI Express
Current Usage: Available
Length: Short
Characteristics:
5.0 V is provided
PME signal is supported

Handle 0x0039, DMI type 9, 13 bytes.
System Slot Information
Designation: PCIEX1_1
Type: x1 PCI Express
Current Usage: Available
Length: Short
Characteristics:
5.0 V is provided
PME signal is supported

Handle 0x003A, DMI type 9, 13 bytes.
System Slot Information
Designation: PCIEX1_2
Type: x1 PCI Express
Current Usage: Available
Length: Short
Characteristics:
5.0 V is provided
PME signal is supported

Handle 0x003B, DMI type 13, 22 bytes.
BIOS Language Information
Installable Languages: 3
n|US|iso8859-1
n|US|iso8859-1
r|CA|iso8859-1
Currently Installed Language: n|US|iso8859-1

Handle 0x003C, DMI type 16, 15 bytes.
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 4 GB
Error Information Handle: Not Provided
Number Of Devices: 4

Handle 0x003D, DMI type 17, 27 bytes.
Memory Device
Array Handle: 0x003C
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 512 MB
Form Factor: DIMM
Set: None
Locator: A0
Bank Locator: Bank0/1
Type: Unknown
Type Detail: None
Speed: 400 MHz (2.5 ns)
Manufacturer: None
Serial Number: None
Asset Tag: None
Part Number: None

Handle 0x003E, DMI type 17, 27 bytes.
Memory Device
Array Handle: 0x003C
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: A1
Bank Locator: Bank2/3
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: None
Serial Number: None
Asset Tag: None
Part Number: None

Handle 0x003F, DMI type 17, 27 bytes.
Memory Device
Array Handle: 0x003C
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 512 MB
Form Factor: DIMM
Set: None
Locator: A2
Bank Locator: Bank4/5
Type: Unknown
Type Detail: None
Speed: 400 MHz (2.5 ns)
Manufacturer: None
Serial Number: None
Asset Tag: None
Part Number: None

Handle 0x0040, DMI type 17, 27 bytes.
Memory Device
Array Handle: 0x003C
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: A3
Bank Locator: Bank6/7
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: None
Serial Number: None
Asset Tag: None
Part Number: None

Handle 0x0041, DMI type 19, 15 bytes.
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0003FFFFFFF
Range Size: 1 GB
Physical Array Handle: 0x003C
Partition Width: 0

Handle 0x0042, DMI type 20, 19 bytes.
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0001FFFFFFF
Range Size: 512 MB
Physical Device Handle: 0x003D
Memory Array Mapped Address Handle: 0x0041
Partition Row Position: 1

Handle 0x0043, DMI type 20, 19 bytes.
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000000003FF
Range Size: 1 kB
Physical Device Handle: 0x003E
Memory Array Mapped Address Handle: 0x0041
Partition Row Position: 1

Handle 0x0044, DMI type 20, 19 bytes.
Memory Device Mapped Address
Starting Address: 0x00020000000
Ending Address: 0x0003FFFFFFF
Range Size: 512 MB
Physical Device Handle: 0x003F
Memory Array Mapped Address Handle: 0x0041
Partition Row Position: 1

Handle 0x0045, DMI type 20, 19 bytes.
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000000003FF
Range Size: 1 kB
Physical Device Handle: 0x0040
Memory Array Mapped Address Handle: 0x0041
Partition Row Position: 1

Handle 0x0046, DMI type 32, 11 bytes.
System Boot Information
Status: No errors detected

Handle 0x0047, DMI type 127, 4 bytes.
End Of Table

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Dave Hansen on
On Fri, 2009-12-18 at 18:06 +0100, Ingo Molnar wrote:
> * Dave Hansen <dave(a)sr71.net> wrote:
> I just double-checked it again on a couple of my systems and it seems to
> > deny loading the module correctly.
> >
> > What kind of hardware is this? Could you send me 'dmidecode' output?
> >
> > I'm wondering if your hardware matched the "Intel" string somehow and the
> > dmi code didn't bother to check anything else. I'll also go try and run on
> > a few more pieces of hardware and see if I can get it to trigger.
>
> It's an Athlon64 whitebox PC - a pretty old one - and nothing special.
>
> Also note the crash signature - it crashes in the DMI code. Note, this is a
> built-in-driver (not a modular driver) bootup.

I figured as much since you said it was a real bootup problem. I've
been testing the same way.

I've tried a few other pieces of hardware that I have sitting around and
can't seem to recreate this. I've also double-checked the code to look
for any obvious bugs. No luck on either front. You didn't see any
other dmesg output from these, did you?

pr_info("skipping hardware autodetection\n");
pr_info("Please send 'dmidecode' output to dave(a)sr71.net\n");


-- Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Linus Torvalds on


On Fri, 18 Dec 2009, Ingo Molnar wrote:
> [ 75.151208] calling nas_gpio_init+0x0/0x153 @ 1
> [ 75.155860] BUG: unable to handle kernel paging request at 00000000001de7d0
> [ 75.159841] IP: [<ffffffff81683c55>] strstr+0x20/0x5f

Ok, the disassembly is

b: 55 push %rbp
c: 48 89 f2 mov %rsi,%rdx
f: 48 89 e5 mov %rsp,%rbp
12: eb 03 jmp 0x17
14: 48 ff c2 inc %rdx
17: 80 3a 00 cmpb $0x0,(%rdx)
1a: 75 f8 jne 0x14
1c: 29 f2 sub %esi,%edx
1e: 48 89 f8 mov %rdi,%rax
21: 74 45 je 0x68
23: 48 89 f9 mov %rdi,%rcx
26: eb 03 jmp 0x2b
28: 48 ff c1 inc %rcx
2b:* 80 39 00 cmpb $0x0,(%rcx) <-- trapping instruction
2e: 75 f8 jne 0x28
30: 48 89 f8 mov %rdi,%rax
33: 4c 63 d2 movslq %edx,%r10
36: eb 26 jmp 0x5e

so if I read that code right, that's a 'strlen()' on %rdi, which is the
first argument to strstr().

So it would be that

l1 = strlen(s1);

thing, and 's1' is bad.

Which in turn means:

> [ 75.159841] Call Trace:
> [ 75.159841] [<ffffffff825f0dfb>] dmi_matches+0x6f/0x8d

that since the call is

strstr(dmi_ident[s], dmi->matches[i].substr)

that it is the "dmi_ident[]" array itself that is broken.

The DMI code doesn't seem to be very careful about checking the array
accesses against DMI_STRING_MAX. So I wonder if this is actually a DMI
bug, not a driver bug - and that the driver just is able to trigger that
bug somehow where others have not.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/