Bug 35592 - AMD-Vi: Enabling IOMMU crashes with NULL pointer dereference
Summary: AMD-Vi: Enabling IOMMU crashes with NULL pointer dereference
Status: RESOLVED CODE_FIX
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: x86-64 (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Joerg Roedel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-22 00:13 UTC by Jan Losinski
Modified: 2011-06-10 12:41 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.39
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Dump of the bug-console-output (4.59 KB, text/plain)
2011-05-22 00:13 UTC, Jan Losinski
Details
Dump of lspci -vv (68.57 KB, text/plain)
2011-05-22 00:15 UTC, Jan Losinski
Details
Kernel Config (67.38 KB, text/plain)
2011-05-22 00:16 UTC, Jan Losinski
Details

Description Jan Losinski 2011-05-22 00:13:09 UTC
Created attachment 58962 [details]
Dump of the bug-console-output

Booting 2.6.39 with enabled IOMMU crashes with a "unable to handle kernel NULL pointer dereference" bug followed by a panic. The hardware is a Tyan Thunder Tyan S8230WGM4NR with a 	AMD SR5690 + SP5100 chipset and two AMD Operon 6128 cpus.

The bug can prevented by disabling the Option CHIPSET->RD890->IOMMU within the BIOS Settings. I've attached a lspci -vv dump, my kernel configuration and a dump of the bug, captured with a serial console.
Comment 1 Jan Losinski 2011-05-22 00:15:39 UTC
Created attachment 58972 [details]
Dump of lspci -vv
Comment 2 Jan Losinski 2011-05-22 00:16:12 UTC
Created attachment 58982 [details]
Kernel Config
Comment 3 Joerg Roedel 2011-05-27 08:14:23 UTC
I'll take a look at the machine directly next monday.
Comment 4 Joerg Roedel 2011-06-10 12:40:16 UTC
Fixed upstream by recent patch-set:

https://lkml.org/lkml/2011/6/10/196

Fixed for -stable are available too, commit-id:

26018874e3584f1658570d41d57d4c34f6a53aa0

(depends on 27c2127a15d340706c0aa84e311188a14468d841)
Comment 5 Joerg Roedel 2011-06-10 12:41:02 UTC
Fixes are available.

Note You need to log in before you can comment on or make changes to this bug.