Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 1998 14:38:12 -0600 (CST)
From:      James Nuckolls <jamesn@airmail.net>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/5766: kernel panic(s) in 2.2-STABLE
Message-ID:  <199802162038.OAA01613@jnuckolls.iadfw.net>

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

>Number:         5766
>Category:       kern
>Synopsis:       kernel panic(s) in 2.2-STABLE
>Confidential:   yes
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 16 13:00:04 PST 1998
>Last-Modified:
>Originator:     James Nuckolls
>Organization:
NA
>Release:        FreeBSD 2.2.5-STABLE
>Environment:

The kernel sources are approximately relative to kernel compile time
+/- 1hr.

@(#)FreeBSD 2.2.5-STABLE #0: Mon Feb 16 10:23:36 CST 1998
    jamesn@jnuckolls.iadfw.net:/usr/src/sys/compile/JNUCKOLLS

kernel: Copyright (c) 1992-1998 FreeBSD Inc.
kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
kernel: 	The Regents of the University of California.  All rights reserved.
kernel: 
kernel: FreeBSD 2.2.5-STABLE #0: Mon Feb 16 10:23:36 CST 1998
kernel:     jamesn@jnuckolls.iadfw.net:/usr/src/sys/compile/JNUCKOLLS
kernel: CPU: Pentium (75.17-MHz 586-class CPU)
kernel:   Origin = "GenuineIntel"  Id = 0x526  Stepping=6
kernel:   Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
kernel: real memory  = 33554432 (32768K bytes)
kernel: avail memory = 30490624 (29776K bytes)
kernel: Probing for devices on PCI bus 0:
kernel: chip0 <Intel 82437FX PCI cache memory controller> rev 2 on pci0:0
kernel: chip1 <Intel 82371FB PCI-ISA bridge> rev 2 on pci0:7:0
kernel: chip2 <Intel 82371FB IDE interface> rev 2 on pci0:7:1
kernel: vx0 <3COM 3C590 Etherlink III PCI> rev 0 int a irq 10 on pci0:18
kernel: utp[*utp*] address 00:a0:24:59:9d:90
kernel: Warning! Defective early revision adapter!
kernel: vga0 <VGA-compatible display device> rev 0 int a irq 12 on pci0:19
kernel: ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:20
kernel: ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs
kernel: (ahc0:0:0): "SEAGATE ST32550N 0012" type 0 fixed SCSI 2
kernel: sd0(ahc0:0:0): Direct-Access 2047MB (4194058 512 byte sectors)
kernel: Probing for PnP devices:
kernel: No Plug-n-Play devices were found
kernel: Probing for devices on the ISA bus:
kernel: sc0 at 0x60-0x6f irq 1 on motherboard
kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
kernel: sio0: type 16550A
kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
kernel: sio1: type 16550A
kernel: lpt0 at 0x378-0x37f irq 7 on isa
kernel: lpt0: Interrupt-driven port
kernel: lp0: TCP/IP capable interface
kernel: pcm0 at 0x220 irq 5 drq 1 flags 0x15 on isa
kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
kernel: fdc0: FIFO enabled, 8 bytes threshold
kernel: fd0: 1.44MB 3.5in
kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
kernel: wdc0: unit 0 (atapi): <FX410A/J05>, removable, intr, iordis
kernel: wcd0: 689Kb/sec, 128Kb cache, audio play, 255 volume levels, ejectable tray
kernel: wcd0: no disc inside, unlocked
kernel: npx0 flags 0x1 on motherboard
kernel: npx0: INT 16 interface
kernel: changing root device to sd0a
kernel: Intel Pentium F00F detected, installing workaround
kernel: WARNING: / was not properly dismounted.

>Description:

Kernel panic.  Seems to be related to the vm system, though the
trace goes off into the wfd driver (note that there are no devices
that this driver would be used for attached to this system -- I
just never took out the device out of the kernel config).

Here's the kgdb trace:

(kgdb) where
#0  boot (howto=256) at ../../kern/kern_shutdown.c:266
#1  0xf01142d2 in panic (fmt=0xf01b6aaf "page fault")
    at ../../kern/kern_shutdown.c:390
#2  0xf01b7656 in trap_fatal (frame=0xefbffccc) at ../../i386/i386/trap.c:766
#3  0xf01b7144 in trap_pfault (frame=0xefbffccc, usermode=0)
    at ../../i386/i386/trap.c:677
#4  0xf01b6de7 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 0, 
      tf_esi = -259886080, tf_ebp = -272630508, tf_isp = -272630540, 
      tf_ebx = 2, tf_edx = -259886080, tf_ecx = -267151228, tf_eax = 0, 
      tf_trapno = 12, tf_err = 0, tf_eip = -266473296, tf_cs = 8, 
      tf_eflags = 66054, tf_esp = 2, tf_ss = -259886080})
    at ../../i386/i386/trap.c:324
#5  0xf01df0b0 in wfdstrategy (bp=0xf0827400) at ../../i386/isa/wfd.c:432
#6  0xf013989e in spec_strategy (ap=0xefbffde8)
    at ../../miscfs/specfs/spec_vnops.c:511
#7  0xf01a1318 in swap_pager_putpages (object=0xf084e000, m=0xefbffec4, 
    count=2, sync=0, rtvals=0xefbffe54) at vnode_if.h:1116
#8  0xf019ed92 in default_pager_putpages (object=0xf084e000, m=0xefbffec4, 
    c=2, sync=0, rtvals=0xefbffe54) at ../../vm/default_pager.c:135
#9  0xf01ab75e in vm_pager_put_pages (object=0xf084e000, m=0xefbffec4, 
    count=2, sync=0, rtvals=0xefbffe54) at ../../vm/vm_pager.c:199
#10 0xf01aa5e2 in vm_pageout_flush (mc=0xefbffec4, count=2, sync=0)
    at ../../vm/vm_pageout.c:345
#11 0xf01aa585 in vm_pageout_clean (m=0xf027e580, sync=0)
    at ../../vm/vm_pageout.c:328
#12 0xf01aadfc in vm_pageout_scan () at ../../vm/vm_pageout.c:729
#13 0xf01ab3f0 in vm_pageout () at ../../vm/vm_pageout.c:1013
#14 0xf010a1fa in kproc_start (udata=0xf01f1500) at ../../kern/init_main.c:244
#15 0xf010a198 in main (framep=0xefbfffb8) at ../../kern/init_main.c:194

I do still have a crash dump for anyone who wants to take a look.
While I was able to reproduce the problem at will, I only got one
crash dump with the kernel compiled -g.

[later...] Removing the wfd device line from the kernel config
seems to cure the problem.  Before I was lucky to get an up time
neat 10 minutes, not uptime is ~4 hours.  I'm not entirely sure
what the kernel was doing even attempting to use the wfd device
driver, though.

>How-To-Repeat:

Compile a kernel with source as of 16 Feb ~09:30CST.  Do something
that apparently involves the vm and the wfd driver.

>Fix:

Beats me...


>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?199802162038.OAA01613>