Project

General

Profile

Actions

Bug #2467

closed

Intel 945GME agp Fatal trap 12 with ACPI disabled

Added by davshao almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
12/04/2012
Due date:
% Done:

100%

Estimated time:

Description

ACPI disabled on a Lenovo Ideapad netbook:

MPTABLE: 0:31 INTB routed to irq 19
vgapci0.pci0.pcib0.legacy0.nexus0.root0
vgapci0: <VGA-compatible display> [tentative] port 0x1800-0x1807 mem 0xf0600000-0xf063ffff,0xd0000000-0xdfffffff,0xf0500000-0xf057ffff irq 16 at device 2.0 on pci0
agp0.vgapci0.pci0.pcib0.legacy0.nexus0.root0
agp0: <Intel 945GME SVGA controller> [tentative] on vgapci0
vgapci0: Reserved 0x10000000 bytes for rid 0x18 type 3 at 0xd0000000

Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic.id = 00000000
fault virtual address = 0x78
fault code = supervisor write, page not present
instruction pointer = 0x8:0xc052b97e
stack pointer = 0x10:0xc0ef5984
frame pointer = 0x10:0xc0ef59a8
code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0 (swapper)
current thread = pri 12
<- SMP: XXX
kernel: type 12 trap, code=2

CPU0 stopping CPUs: 0x00000002
stopped
Stopped at agp_generic_attach+0x13f: movl %esi,0x78(%eax)


Files

Actions #1

Updated by davshao almost 12 years ago

The same problem occurs on an actual Intel IronLake machine, an Asus UL20FT laptop. It therefore does not appear to be related to ACPI being disabled or enabled; instead, it appears to be a problem with machines using Intel AGP at least.

There is a similar error message, here are some snippets:

pci1: <ACPI PCI bus> on pcib1
vgapci10: <VGA-compatible display> port 0xe080-0xe087 mem 0xe0000000-0xefffffff,0xf0000000-0xf03fffff irq 16 at device 2.0 on pci0
agp0: <Intel Ironlake (M) SVGA controller> on vgapci0

Fatal trap 12: page fault while in kernel mode
...
CPU0 stopping CPUs: 0x0000000e
stopped
Stopped at 2+0x12b: movq %r12,0x98(%rax)

Actions #2

Updated by ftigeot almost 12 years ago

Could you test the attached patch ? It should fix this panic issue.

Actions #3

Updated by swildner almost 12 years ago

David, you wrote:

vgapci10: <VGA-compatible display> port 0xe080-0xe087 mem 0xe0000000-0xefffffff,0xf0000000-0xf03fffff irq 16 at device 2.0 on pci0

Is that '10' a typo? If not, can we see this box' whole dmesg, please? :)

Actions #4

Updated by eric.j.christeson almost 12 years ago

Francois, your patch works for me with a:
agp0: <Intel 82865G (865G GMCH) SVGA controller> on vgapci0

Actions #5

Updated by davshao almost 12 years ago

Patch restored ability to boot and previous functionality on both the Lenovo Ideapad and the Asus UL20FT. Please commit, thanks!

Actions #6

Updated by ftigeot almost 12 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

Fix commited. Thanks for testing!

Actions

Also available in: Atom PDF