Bug 34405

Summary: -CURRENT fatal trap during boot.
Product: Base System Reporter: jan <jan>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description jan 2002-01-29 11:40:01 UTC
FreeBSD-CURRENT seems to have minor issues booting on a machine previously placed in hibernation by windows 2000. When booting from an apm suspend command (apm -z, or zzz), this is not an issue.

sample from the dmesg:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0240dca
stack pointer           = 0x10:0xc05aeb04
frame pointer           = 0x10:0xc05aeb10
code segment            = base rx0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (swapper)

Fix: 

no idea. i'm still trying to get a decent trace and dump of the information. More to come, promise.
How-To-Repeat: So far, i've only seen this on a Toshiba Satellite Pro 4600:

First, boot in to windows 2000, place the machine in to hibernation mode.

then boot to FreeBSD, and watch the fun begin:

Copyright (c) 1992-2002 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.0-CURRENT #0: Sat Jan 26 10:01:44 GMT 2002
    root@pustulio.nttmcl.com:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc058c000.
Preloaded elf module "/boot/kernel/vesa.ko" at 0xc058c0a8.
Preloaded elf module "/boot/kernel/ipfw.ko" at 0xc058c154.
Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc058c200.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc058c2ac.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc058c358.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 797579379 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (797.58-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  = 267780096 (261504K bytes)
avail memory = 254480384 (248516K bytes)
Pentium Pro MTRR support enabled
VESA: v2.0, 16384k memory, flags:0x0, mode table:0xc05282a0 (1000040)
VESA: Trident CYBER 9910
Using $PIR table, 7 entries at 0xc00f01c0
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <TOSHIB 750     > on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xee08-0xee0b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <PCI bus> on acpi_pcib0
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)
pcib2: <PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
fxp0: <Intel Pro/100 Ethernet> at device 8.0 on pci2
fxp0: could not map device registers


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0240dca
stack pointer           = 0x10:0xc05aeb04
frame pointer           = 0x10:0xc05aeb10
code segment            = base rx0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (swapper)
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2002-01-31 14:45:33 UTC
State Changed
From-To: open->feedback

More detail on the panic has been promised. :-)
Comment 2 Giorgos Keramidas freebsd_committer freebsd_triage 2002-08-21 23:59:27 UTC
State Changed
From-To: feedback->closed

CURRENT has changed a lot since Jan 2002. 
No feedback since then :/