Fatal trap 1: privileged instruction fault while in kernel mode

From: James Kamlyn <jameskamlyn_at_gmail.com>
Date: Fri, 29 Apr 2005 17:23:27 +0100
Hi,

Dies on boot just after reaching the login prompt, running 5.4-STABLE
as of yesterday.
Motherboard is a Abit VH6, dmesg included below.


kernel trap 1 with interrupts disabled


Fatal trap 1: privileged instruction fault while in kernel mode
instruction pointer     = 0x8:0xc07a9a87
stack pointer           = 0x10:0xdc6d8b0c
frame pointer           = 0x10:0xdc6d8b94
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 11 (idle)
[thread pid 11 tid 100003 ]
Stopped at      __qdivrem+0x2f7:        subl    %esi,%edx
db> wh
Tracing pid 11 tid 100003 td 0xc1dff480
__qdivrem(0,80000000,369e99,0,0) at __qdivrem+0x2f7
__udivdi3(0,80000000,369e99,0) at __udivdi3+0x16
tc_windup(dc6d8c34,c05eb1dc,dc6d8c88,dc6d8c88,c1dfcc80) at tc_windup+0x255
tc_ticktock(dc6d8c88) at tc_ticktock+0x25
hardclock(dc6d8c88) at hardclock+0x18
clkintr(dc6d8c88) at clkintr+0x87
intr_execute_handlers(c08a53a0,dc6d8c88,0,c1f11700,c1f11718) at
intr_execute_handlers+0x71
atpic_handle_intr(0) at atpic_handle_intr+0x7e
Xatpic_intr0() at Xatpic_intr0+0x20
--- interrupt, eip = 0xc0a26635, esp = 0xdc6d8ccc, ebp = 0xdc6d8ccc ---
acpi_cpu_c1(c08c5b00,0,c0803f53,0,c1dfec5c) at acpi_cpu_c1+0x5
acpi_cpu_idle(dc6d8cfc,c05fafa1,dc6d8d24,c05fae12,0) at acpi_cpu_idle+0xcf
cpu_idle(dc6d8d24,c05fae12,0,dc6d8d38,c08c5b00) at cpu_idle+0x1f
idle_proc(0,dc6d8d38,c08c5b00,0,c0803e63) at idle_proc+0x11
fork_exit(c05faf90,0,dc6d8d38) at fork_exit+0x66
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xdc6d8d6c, ebp = 0 ---
db>


KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.4-STABLE #0: Thu Apr 28 16:53:32 UTC 2005
    root_at_ignite:/usr/obj/usr/src/sys/DEBUG
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (935.46-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 805240832 (767 MB)
avail memory = 778235904 (742 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port
0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on
acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem
0xd0000000-0xd3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686A UDMA66 controller> port
0xe000-0xe00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on
pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
fxp0: <Intel 82558 Pro/100 Ethernet> port 0xec00-0xec1f mem
0xda000000-0xda0fffff,0xda100000-0xda100fff irq 11 at device 15.0 on
pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: [removed]
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <ISA Option ROMs> at iomem 0xc8000-0xc87ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 935463590 Hz quality 800
Timecounters tick every 10.000 msec
witness_get: witness exhausted
ad0: 114473MB <ST3120026A/3.06> [232581/16/63] at ata0-master UDMA66
acd0: CDROM <CD-540E/1.0A> at ata1-master PIO4
Received on Fri Apr 29 2005 - 14:23:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:33 UTC