5.2.1-p8 -> -CURRENT: Fatal trap 12

From: Jon Noack <noackjr_at_alumni.rice.edu>
Date: Thu, 27 May 2004 20:36:06 -0500
I'm trying to update a machine from 5.2.1-p8 to -CURRENT.  I did a 
buildworld, buildkernel, installkernel, and was trying to reboot into 
single-user mode when the I got the following and was dropped to ddb:

**********************************************************************
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x4b0000
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0x4b0000
stack pointer           = 0x10:0xd7d04c9c
frame pointer           = 0x10:0xd7d04cc8
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         = 5 (taskqueue)
kernel: type 12 trap, code=0
Stopped at      0x4b0000:

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x4b0000
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc064cdd0
stack pointer           = 0x10:0xd7d04aa0
frame pointer           = 0x10:0xd7d04aa4
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 5 (taskqueue)
        kernel: type 12 trap, code=0
**********************************************************************

I was unable to get a dump (partition too small) even though I have 
plenty of space:

$ grep --after-context=3 Debug /etc/rc.conf
# Debug stuff
dumpdev="/dev/ar0s1b"
dumpdir="/usr/crash"
savecore_flags="-z"
$ swapinfo
Device          1K-blocks     Used    Avail Capacity
/dev/ar0s1b       1048576        0  1048576     0%
$ df /usr
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ar0s1f 187431614 81256760 91180326    47%    /usr

Attached are the boot and ddb log and a dmesg from (working) 5.2.1-p6.

Please let me know what else I need to provide.

Jon Noack

OK boot -s
/boot/kernel/acpi.ko text=0x47998 data=0x19e4+0x11b0 syms=[0x4+0x6800+0x4+0x8a09]
Copyright (c) 1992-2004 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.2-CURRENT #2: Thu May 27 19:30:30 CDT 2004
    root_at_optimator.noacks.org:/usr/obj/usr/src/sys/OPTIMATOR
Preloaded elf kernel "/boot/kernel/kernel" at 0xc07ef000.
Preloaded acpi_dsdt "/boot/DSDT.aml" at 0xc07ef250.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07ef294.
ACPI APIC Table: <VIA694 >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (931.81-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536805376 (511 MB)
avail memory = 519872512 (495 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ACPI: DSDT was overridden.
    ACPI-0374: *** Info: Table [DSDT] replaced by host OS
ioapic0 <Version 1.1> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
random: <entropy source, Software, Yarrow>
npx0: [FAST]
stray irq13
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
acpi0: [GIANT-LOCKED]
pcibios: BIOS version 2.10
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" 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
cpu1: <ACPI CPU (3 Cx states)> on acpi0
acpi_button0: <Power 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
pcib1: slot 0 INTA is routed to irq 16
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 82C686B UDMA100 controller> port 0xc000-0xc00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <bridge, PCI-unknown> at device 7.4 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 0xcc00-0xcc3f mem 0xd9000000-0xd901ffff,0xd9020000-0xd903ffff irq 17 at device 11.0 on pci0
em0: [GIANT-LOCKED]
em0: Ethernet address: 00:07:e9:0d:67:2c
em0:  Speed:N/A  Duplex:N/A
dc0: <ADMtek AN985 10/100BaseTX> port 0xd000-0xd0ff mem 0xd9040000-0xd90403ff irq 19 at device 12.0 on pci0
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 00:20:78:1d:41:f9
dc0: [GIANT-LOCKED]
atapci1: <HighPoint HPT370 UDMA100 controller> port 0xe400-0xe4ff,0xe000-0xe003,0xdc00-0xdc07,0xd800-0xd803,0xd400-0xd407 irq 18 at device 14.0 on pci0
ata2: at 0xd400 on atapci1
ata3: at 0xdc00 on atapci1
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A, console
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
orm0: <Option ROMs> at iomem 0xd4000-0xd4fff,0xc0000-0xcffff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging unlimited
acd0: FAILURE - unknown CMD (0x03) status=51<READY,DSC,ERROR> error=b4<ICRC,MEDIA_CHANGED,NID_NOT_FOUND,ABORTED> LBA=18


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x4b0000
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0x4b0000
stack pointer           = 0x10:0xd7d04c9c
frame pointer           = 0x10:0xd7d04cc8
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         = 5 (taskqueue)
kernel: type 12 trap, code=0
Stopped at      0x4b0000:

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x4b0000
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc064cdd0
stack pointer           = 0x10:0xd7d04aa0
frame pointer           = 0x10:0xd7d04aa4
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 5 (taskqueue)
       kernel: type 12 trap, code=0
db> ps
  pid   proc     uarea   uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
   44 c4028000 d7ce9000    0     0     0 0000204 [IWAIT] swi0: tty:sio
    8 c40281b8 d7cea000    0     0     0 0000204 [SLPQ actask 0xc07de50c][SLP] acpi_task2
    7 c4028370 d7ceb000    0     0     0 0000204 [SLPQ actask 0xc07de50c][SLP] acpi_task1
    6 c4028528 d7cec000    0     0     0 0000204 [SLPQ actask 0xc07de50c][SLP] acpi_task0
   43 c40286e0 d7d0e000    0     0     0 0000204 [IWAIT] swi5:+
    5 c4028898 d7d0f000    0     0     0 0000204 [CPU 0] taskqueue
   42 c4028a50 d7d10000    0     0     0 0000204 [IWAIT] swi6:+
   41 c4028c08 d7d11000    0     0     0 0000204 [IWAIT] swi7: acpitaskq
   40 c4028dc0 d7d12000    0     0     0 0000204 [IWAIT] swi7: task queue
   39 c402e000 d7d13000    0     0     0 0000204 [SLPQ - 0xc06db2c0][SLP] yarrow
    4 c3fc8528 d7cb9000    0     0     0 0000204 [SLPQ - 0xc06ddff0][SLP] g_down
    3 c3fc86e0 d7cba000    0     0     0 0000204 [SLPQ - 0xc06ddfec][SLP] g_up
    2 c3fc8898 d7cbb000    0     0     0 0000204 [SLPQ - 0xc06ddfe4][SLP] g_event
   38 c3fc8a50 d7cbc000    0     0     0 0000204 [IWAIT] swi1: net
   37 c3fc8c08 d7cbd000    0     0     0 0000204 [IWAIT] swi4: vm
   36 c3fc8dc0 d7cdf000    0     0     0 000020c [RUNQ] swi8: tty:sio clock
   35 c3fd8000 d7ce0000    0     0     0 0000204 [IWAIT] irq0: clk
   34 c3fd81b8 d7ce1000    0     0     0 0000204 [IWAIT] irq23:
   33 c3fd8370 d7ce2000    0     0     0 0000204 [IWAIT] irq22:
   32 c3fd8528 d7ce3000    0     0     0 0000204 [IWAIT] irq21:
   31 c3fd86e0 d7ce4000    0     0     0 0000204 [IWAIT] irq20:
   30 c3fd8898 d7ce5000    0     0     0 0000204 [IWAIT] irq19: dc0
   29 c15681b8 d6aba000    0     0     0 0000204 [IWAIT] irq18: atapci1
   28 c1568370 d6abb000    0     0     0 0000204 [IWAIT] irq17: em0
   27 c1568528 d6abc000    0     0     0 0000204 [IWAIT] irq16:
   26 c15686e0 d6ade000    0     0     0 0000204 [IWAIT] irq15: ata1
   25 c1568898 d6adf000    0     0     0 0000204 [IWAIT] irq14: ata0
   24 c1568a50 d6ae0000    0     0     0 0000204 [IWAIT] irq13:
   23 c1568c08 d6ae1000    0     0     0 0000204 [IWAIT] irq12:
   22 c1568dc0 d6ae2000    0     0     0 0000204 [IWAIT] irq11:
   21 c3fc8000 d7cb6000    0     0     0 0000204 [IWAIT] irq10:
   20 c3fc81b8 d7cb7000    0     0     0 0000204 [IWAIT] irq9: acpi0
   19 c3fc8370 d7cb8000    0     0     0 0000204 [IWAIT] irq8: rtc
   18 c155f000 d6a6e000    0     0     0 0000204 [IWAIT] irq7:
   17 c155f1b8 d6ab1000    0     0     0 0000204 [IWAIT] irq6: fdc0
   16 c155f370 d6ab2000    0     0     0 0000204 [IWAIT] irq5:
   15 c155f528 d6ab3000    0     0     0 0000204 [IWAIT] irq4: sio0
   14 c155f6e0 d6ab4000    0     0     0 0000204 [IWAIT] irq3: sio1
   13 c155f898 d6ab5000    0     0     0 0000204 [IWAIT] irq1:
   12 c155fa50 d6ab6000    0     0     0 000020c [Can run] idle: cpu0
   11 c155fc08 d6ab7000    0     0     0 000020c [Can run] idle: cpu1
    1 c155fdc0 d6ab8000    0     0     0 0000200 [INACTIVE] swapper
   10 c1568000 d6ab9000    0     0     0 0000204 [SLPQ ktrace 0xc06e1858][SLP] ktrace
    0 c06de0e0 c081f000    0     0     0 0000200 [SLPQ ATA request done 0xc4183d14][SLP] swapper
db> call doadump
Dumping 511 MB

Dump failed. Partition too small.
0x23
db> reset

Copyright (c) 1992-2004 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.2.1-RELEASE-p6 #31: Wed May  5 23:03:55 CDT 2004
    root_at_optimator.noacks.org:/usr/obj/usr/src/sys/OPTIMATOR
Preloaded elf kernel "/boot/kernel/kernel" at 0xc07bf000.
Preloaded acpi_dsdt "/boot/DSDT.aml" at 0xc07bf250.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07bf294.
ACPI APIC Table: <VIA694 >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (931.80-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536805376 (511 MB)
avail memory = 515960832 (492 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
ACPI: DSDT was overridden.
    ACPI-0375: *** Info: Table [DSDT] replaced by host OS
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00fdbc0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power 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
pcib1: slot 0 INTA is routed to irq 16
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 82C686B UDMA100 controller> port 0xc000-0xc00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <bridge, PCI-unknown> at device 7.4 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.19> port 0xcc00-0xcc3f mem 0xd9000000-0xd901ffff,0xd9020000-0xd903ffff irq 17 at device 11.0 on pci0
em0: [MPSAFE]
em0:  Speed:N/A  Duplex:N/A
dc0: <ADMtek AN985 10/100BaseTX> port 0xd000-0xd0ff mem 0xd9040000-0xd90403ff irq 19 at device 12.0 on pci0
dc0: Ethernet address: 00:20:78:1d:41:f9
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci1: <HighPoint HPT370 UDMA100 controller> port 0xe400-0xe4ff,0xe000-0xe003,0xdc00-0xdc07,0xd800-0xd803,0xd400-0xd407 irq 18 at device 14.0 on pci0
atapci1: [MPSAFE]
ata2: at 0xd400 on atapci1
ata2: [MPSAFE]
ata3: at 0xdc00 on atapci1
ata3: [MPSAFE]
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
orm0: <Option ROMs> at iomem 0xd4000-0xd4fff,0xc0000-0xcffff on isa0
pmtimer0 on isa0
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
Timecounters tick every 1.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging unlimited
acd0: FAILURE - MODE_SENSE_BIG status=51<READY,DSC,ERROR> sensekey=ABORTED COMMAND error=4<ABORTED>
acd0: FAILURE - MODE_SENSE_BIG status=51<READY,DSC,ERROR> sensekey=ABORTED COMMAND error=4<ABORTED>
acd0: FAILURE - MODE_SENSE_BIG status=51<READY,DSC,ERROR> sensekey=ABORTED COMMAND error=4<ABORTED>
acd0: DVDROM <CREATIVEDVD-ROM DVD2240E 03/18/98> at ata0-master WDMA2
acd0: FAILURE - REQUEST_SENSE status=51<READY,DSC,ERROR> sensekey=ABORTED COMMAND error=4<ABORTED>
acd0: FAILURE - REQUEST_SENSE status=51<READY,DSC,ERROR> sensekey=ABORTED COMMAND error=4<ABORTED>
GEOM: create disk ad4 dp=0xc44a8860
ad4: 190782MB <HDS722525VLAT80> [387621/16/63] at ata2-master UDMA100
acd0: FAILURE - REQUEST_SENSE status=51<READY,DSC,ERROR> sensekey=ABORTED COMMAND error=4<ABORTED>
acd0: FAILURE - REQUEST_SENSE status=51<READY,DSC,ERROR> sensekey=ABORTED COMMAND error=4<ABORTED>
GEOM: create disk ad6 dp=0xc4413c60
ad6: 190782MB <HDS722525VLAT80> [387621/16/63] at ata3-master UDMA100
GEOM: create disk ar0 dp=0xc44f71e0
ar0: 190782MB <ATA RAID1 array> [24321/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ar0s1a
em0: Link is up 1000 Mbps Full Duplex
Received on Thu May 27 2004 - 16:36:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:55 UTC