Re: Fatal trap 12 during boot

From: Bruce M. Simpson <bms_at_FreeBSD.org>
Date: Wed, 14 Feb 2007 14:55:05 +0000
Joel Dahl wrote:
> Fresh kernel+world always panics with "Fatal trap 12: page fault while
> in kernel mode" during boot, right after ata.  Kernel from Feb 3 works
> without any problems.  Kernel is plain GENERIC.
>
> Panic message:   http://people.freebsd.org/~joel/panics/002/panic001.jpg
> Backtrace part1: http://people.freebsd.org/~joel/panics/002/panic002.jpg
> Backtrace part2: http://people.freebsd.org/~joel/panics/002/panic003.jpg
>
>   
+1. I am getting this panic since cvs update about an hour ago and 
rebuild. This is not a GENERIC kernel. I have no SATA ATAPI devices, 
only the root disk for this system is attached via SATA-I.

%%%
atapci0: <JMicron JMB363 SATA300 controller> port 
0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f 
mem 0xfe5fe000-0xfe5fffff irq 19 at device 0.0 on pci3
atapci0: AHCI Version 01.00 controller with 2 ports detected
ata2: <ATA channel 0> on atapci0

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x8
fault code              = supervisor read data, page not present
instruction pointer     = 0x8:0xffffffff802c5151
stack pointer           = 0x10:0xffffffff806fc5b0
frame pointer           = 0x10:0xffffffff806fc640
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (swapper)
[thread pid 0 tid 0 ]
Stopped at      rman_get_bustag+0x1:    movq    0x8(%rdi),%rax
db> bt
Tracing pid 0 tid 0 td 0xffffffff805f8660
rman_get_bustag() at rman_get_bustag+0x1
ata_sata_connect() at ata_sata_connect+0x1bf
ata_ahci_reset() at ata_ahci_reset+0x114
ata_attach() at ata_attach+0x135
device_attach() at device_attach+0x292
bus_generic_attach() at bus_generic_attach+0x18
ata_pci_attach() at ata_pci_attach+0x18c
device_attach() at device_attach+0x292
bus_generic_attach() at bus_generic_attach+0x18
acpi_pci_attach() at acpi_pci_attach+0xf1
device_attach() at device_attach+0x292
bus_generic_attach() at bus_generic_attach+0x18
acpi_pcib_attach() at acpi_pcib_attach+0xf0
acpi_pcib_pci_attach() at acpi_pcib_pci_attach+0x97
device_attach() at device_attach+0x292
bus_generic_attach() at bus_generic_attach+0x18
acpi_pci_attach() at acpi_pci_attach+0xf1
device_attach() at device_attach+0x292
bus_generic_attach() at bus_generic_attach+0x18
acpi_pcib_attach() at acpi_pcib_attach+0xf0
acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0xdb
device_attach() at device_attach+0x292
bus_generic_attach() at bus_generic_attach+0x18
acpi_attach() at acpi_attach+0x929
device_attach() at device_attach+0x292
bus_generic_attach() at bus_generic_attach+0x18
nexus_attach() at nexus_attach+0x19
device_attach() at device_attach+0x292
root_bus_configure() at root_bus_configure+0x1e
configure() at configure+0xa
mi_startup() at mi_startup+0xd3
btext() at btext+0x2c
%%%

Regards,
BMS
Received on Wed Feb 14 2007 - 13:55:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC