Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2001 10:32:47 +0100 (CET)
From:      Ernst de Haan <ernst@jollem.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/24596: sysinstall crash: Page fault while in kernel mode
Message-ID:  <200102240932.f1O9Wlx00477@heinz.jollem.com>

next in thread | raw e-mail | index | archive | help

>Number:         24596
>Category:       kern
>Synopsis:       sysinstall crash: Page fault while in kernel mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 24 01:40:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ernst de Haan
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Jollem Information Technology
>Environment:

	dmesg says:

Copyright (c) 1992-2001 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 4.2-STABLE #6: Fri Feb 23 23:22:28 CET 2001
    root@heinz.jollem.com:/usr/src/sys/compile/HEINZ
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 268369920 (262080K bytes)
avail memory = 258162688 (252112K bytes)
Preloaded elf kernel "kernel" at 0xc0320000.
Pentium Pro MTRR support enabled
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd000-0xd01f irq 10 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
uhub0: 2 ports with 2 removable, self powered
ukbd0: Logitech USB Receiver, rev 1.10/10.b7, addr 2, iclass 3/1
kbd1 at ukbd0
uhid0: Logitech USB Receiver, rev 1.10/10.b7, addr 2, iclass 3/0
ums0: Logitech USB Receiver, rev 1.10/9.10, addr 3, iclass 3/1
ums0: 5 buttons and Z dir.
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xd400-0xd4ff mem 0xef000000-0xef000fff irq 12 at device 16.0 on pci0
aic7890/91: Wide Channel A, SCSI Id=7, 32/255 SCBs
rl0: <RealTek 8139 10/100BaseTX> port 0xd800-0xd8ff mem 0xef001000-0xef0010ff irq 5 at device 18.0 on pci0
rl0: Ethernet address: 00:50:bf:10:ff:9f
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative EMU10K1> port 0xdc00-0xdc1f irq 10 at device 20.0 on pci0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
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>
ppc0: <Parallel port> at port 0x378-0x37f irq 7 drq 3 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: configured irq 12 not in bitmap of probed irqs 0
sio0 at port 0x2e8-0x2ef irq 12 flags 0x10 on isa0
sio0: type 8250
ad0: 8207MB <ST38641A> [16676/16/63] at ata0-master UDMA33
Waiting 10 seconds for SCSI devices to settle
da1 at ahc0 bus 0 target 2 lun 0
da1: <QUANTUM ATLAS_V__9_WLS 0230> Fixed Direct Access SCSI-3 device 
da1: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 8755MB (17930694 512 byte sectors: 255H 63S/T 1116C)
da2 at ahc0 bus 0 target 3 lun 0
da2: <QUANTUM ATLAS_V__9_WLS 0230> Fixed Direct Access SCSI-3 device 
da2: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da2: 8755MB (17930694 512 byte sectors: 255H 63S/T 1116C)
Mounting root from ufs:/dev/da2s1a
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <TEAC CD-R56S 1.0F> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: cd present [345852 x 2048 byte records]
da0 at ahc0 bus 0 target 1 lun 0
da0: <IBM DNES-309170W SAH0> Fixed Direct Access SCSI-3 device 
da0: 80.000MB/s transfers (40.000MHz, offset 30, 16bit), Tagged Queueing Enabled
da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)

>Description:

	When I run /stand/sysinstall I get a kernel panic. I wrote down the
	error message (had to buy a pen for that ;) ). Here is comes:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x24
fault code              = superior read, page not present
instruction pointer     = 0x8:0xc0202f70
stack pointer           = 0x10:0xccec1c8c
frame pointer           = 0x10:0xccec1c98
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 199 (sysinstall)
interrupt mask          = none
trap number             = 12
panic: page fault

	This happens almost immediately when I run /stand/sysinstall, during
	the first phase, where it says something like "Detecting devices (this
	may take a while)". I started getting this problem after I enabled USB
	in my kernel and attached a USB keyboard and mouse (Logitech Cordless
	Desktop Pro).

	I just modified my kernel to save crash dumps to the swap, and these
	should be moved to /var/crash at startup. If you like I can generate
	such a crash dump?

>How-To-Repeat:

	If I restart the system, login as root and execute /stand/sysinstall,
	I get the very same crash.

>Fix:

	I really don't know any, I guess removing USB from my kernel config
	would help. But then again, it *may* be something else.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102240932.f1O9Wlx00477>