Fatal trap 12: page fault while in kernel mode

omniuwo omniuwo at localhosted.net
Mon Aug 11 15:14:35 PDT 2008


I recently made world and kernel, without umass support to get my Huawei E220 working (this might not be where the problem lies), and load ubsa and umass as modules in that order during boot.
I booted my laptop, Compaq Armada M300, with the usb modem connected. Dmesg found the device as a CD, as before, so i kldunloaded umass.ko and disconected and conected the modem. Somewhere around here i got the fatal trap:

Fatal trap 12: page fault while in kernel mode
fault virtual adres	= 0x38
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc019956b
stack pointer		= 0x10:0xca6e9d90
frame pointer		= 0x10:0xca6e9dcc
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		= Idle
current thread		= pri 44 (CRIT)

kernel: type 12 trap, code=0
Stopped at	atapi_action+0x604:	movl	0x38(%eax),%edx
db>


I'll attatch the dmesg output as dmseg.out.


/omniuwo
t -g tty -m 2555   write /usr/bin
Waiting (max 60 seconds) for system thread vnlru to stop...stopped
Waiting (max 60 seconds) for system thread bufdaemon_hw to stop...stopped
Waiting (max 60 seconds) for system thread bufdaemon to stop...stopped
Waiting (max 60 seconds) for system thread syncer to stop...stopped

syncing disks... 
done
Uptime: 8m7s
Shutting down ACPI
Rebooting...
Copyright (c) 2003-2008 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly 2.1.0-DEVELOPMENT #0: Tue Jan  8 01:05:30 CET 1980
    root@:/usr/obj/usr/src/sys/PLATT2
TSC clock: 597786780 Hz, i8254 clock: 1193187 Hz
CPU: Intel Pentium III (597.79-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 335478784 (327616K bytes)
avail memory = 314220544 (306856K bytes)
Preloaded elf kernel "/kernel" at 0xc0666000.
Preloaded elf module "/modules/umass.ko" at 0xc06661c0.
Preloaded elf module "/modules/ubsa.ko" at 0xc0666268.
Preloaded elf module "/modules/ucom.ko" at 0xc0666310.
Preloaded elf module "/modules/acpi.ko" at 0xc06663b8.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
ACPI: RSDP @ 0x0xf9970/0x0014 (v  0 COMPAQ)
ACPI: RSDT @ 0x0x13ff4800/0x0028 (v  1 COMPAQ RSDTBL   0x00000001 CPQ  0x00000001)
ACPI: FACP @ 0x0x13ff4828/0x0074 (v  1 COMPAQ CPQB131  0x20000808 CPQ  0x00000001)
ACPI: DSDT @ 0x0x13ff48a0/0x7CE6 (v  1 COMPAQ ARMADAM3 0x00010000 MSFT 0x0100000C)
ACPI: FACS @ 0x0x13fffe80/0x0040
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using MMX optimized bcopy/copyin/copyout
acpi0: <COMPAQ RSDTBL> on motherboard
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device.  You can't run both
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0
cpu0: <ACPI CPU (2 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
isab0: <ACPI Generic ISA bridge> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x100-0x107,0x3e8-0x3ef irq 3 drq 5 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77a,0x378-0x37f irq 7 drq 3 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
legacypci0 on motherboard
pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on legacypci0
pci0: <PCI bus> on pcib0
cbb0: <TI1211 PCI-CardBus Bridge> mem 0x7fffe000-0x7fffefff irq 11 at device 4.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci0: <ATI model 4c49 graphics accelerator> at 5.0 irq 11
isab1: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab1
atapci0: <Intel PIIX4 UDMA33 controller> port 0x3820-0x382f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ad0: 38154MB <FUJITSU MHT2040AH 006C> at ata0-master UDMA33
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x3800-0x381f irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
pci0: <Intel 82371AB Power management controller> at 7.3
pci0: <ESS Technology Maestro 2E Audio controller> at 8.0 irq 11
fxp0: <Intel 82559ER Pro/100 Ethernet> port 0x2000-0x203f mem 0x41100000-0x4111ffff,0x41180000-0x41180fff irq 11 at device 9.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: MAC address: 00:d0:59:14:80:2e
pci0: <unknown card> (vendor=0x11c1, dev=0x0445) at 9.1 irq 11
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd17ff on isa0
pmtimer0 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio3: can't drain, serial port might not exist, disabling
ppc1: cannot reserve I/O port range
Mounting root from ufs:/dev/ad0s1a
umass0: <HUAWEI Technologies HUAWEI Mobile, class 0/0, rev 1.10/0.00, addr 2> on uhub0
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0: <HUAWEI Mass Storage 2.31> Removable CD-ROM SCSI-2 device 
cd0: 1.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
(cd0:umass-sim0:0:0:0): lost device
(cd0:umass-sim0:0:0:0): removing device entry
camq: devq send_queue still in use
camq: devq alloc_queue still in use
camq: devq send_queue still in use
camq: devq alloc_queue still in use
camq: devq send_queue still in use
camq: devq alloc_queue still in use
camq: devq send_queue still in use
camq: devq alloc_queue still in use
camq: devq send_queue still in use
camq: devq alloc_queue still in use
umass0: detached
atausb0: <HUAWEI Technologies HUAWEI Mobile, class 0/0, rev 1.10/0.00, addr 2> on uhub0
atausb0: using SCSI over Bulk-Only
ata2: <USB lun 0> on atausb0
acd0: DEVICE_RESET unsupported
acd0: CDROM <Mass Storage/2.31> at ata2-master USB1


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x38
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc019956b
stack pointer	        = 0x10:0xca6e9d90
frame pointer	        = 0x10:0xca6e9dcc
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		= Idle
current thread          = pri 44 (CRIT)

panic: from debugger


Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer	= 0x8:0xc040034c
stack pointer	        = 0x10:0xca6e9b9c
frame pointer	        = 0x10:0xca6e9ba4
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, IOPL = 0
current process		= Idle
current thread          = pri 44 (CRIT)

panic: from debugger
Uptime: 18m21s
Shutting down ACPI
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.
Rebooting...
Copyright (c) 2003-2008 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly 2.1.0-DEVELOPMENT #0: Tue Jan  8 01:05:30 CET 1980
    root@:/usr/obj/usr/src/sys/PLATT2
TSC clock: 597809272 Hz, i8254 clock: 1193232 Hz
CPU: Intel Pentium III (597.79-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 335478784 (327616K bytes)
avail memory = 314220544 (306856K bytes)
Preloaded elf kernel "/kernel" at 0xc0666000.
Preloaded elf module "/modules/umass.ko" at 0xc06661c0.
Preloaded elf module "/modules/ubsa.ko" at 0xc0666268.
Preloaded elf module "/modules/ucom.ko" at 0xc0666310.
Preloaded elf module "/modules/acpi.ko" at 0xc06663b8.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
ACPI: RSDP @ 0x0xf9970/0x0014 (v  0 COMPAQ)
ACPI: RSDT @ 0x0x13ff4800/0x0028 (v  1 COMPAQ RSDTBL   0x00000001 CPQ  0x00000001)
ACPI: FACP @ 0x0x13ff4828/0x0074 (v  1 COMPAQ CPQB131  0x20000808 CPQ  0x00000001)
ACPI: DSDT @ 0x0x13ff48a0/0x7CE6 (v  1 COMPAQ ARMADAM3 0x00010000 MSFT 0x0100000C)
ACPI: FACS @ 0x0x13fffe80/0x0040
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using MMX optimized bcopy/copyin/copyout
acpi0: <COMPAQ RSDTBL> on motherboard
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device.  You can't run both
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0
cpu0: <ACPI CPU (2 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
isab0: <ACPI Generic ISA bridge> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x100-0x107,0x3e8-0x3ef irq 3 drq 5 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77a,0x378-0x37f irq 7 drq 3 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
legacypci0 on motherboard
pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on legacypci0
pci0: <PCI bus> on pcib0
cbb0: <TI1211 PCI-CardBus Bridge> mem 0x7fffe000-0x7fffefff irq 11 at device 4.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci0: <ATI model 4c49 graphics accelerator> at 5.0 irq 11
isab1: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab1
atapci0: <Intel PIIX4 UDMA33 controller> port 0x3820-0x382f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ad0: 38154MB <FUJITSU MHT2040AH 006C> at ata0-master UDMA33
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x3800-0x381f irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
pci0: <Intel 82371AB Power management controller> at 7.3
pci0: <ESS Technology Maestro 2E Audio controller> at 8.0 irq 11
fxp0: <Intel 82559ER Pro/100 Ethernet> port 0x2000-0x203f mem 0x41100000-0x4111ffff,0x41180000-0x41180fff irq 11 at device 9.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: MAC address: 00:d0:59:14:80:2e
pci0: <unknown card> (vendor=0x11c1, dev=0x0445) at 9.1 irq 11
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd17ff on isa0
pmtimer0 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio3: can't drain, serial port might not exist, disabling
ppc1: cannot reserve I/O port range
Mounting root from ufs:/dev/ad0s1a
WARNING:  was not properly dismounted
umass0: <HUAWEI Technologies HUAWEI Mobile, class 0/0, rev 1.10/0.00, addr 2> on uhub0
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0: <HUAWEI Mass Storage 2.31> Removable CD-ROM SCSI-2 device 
cd0: 1.000MB/s transfers
cd0: cd present [65536 x 512 byte records]




More information about the Bugs mailing list