Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2001 22:31:32 -0700 (PDT)
From:      Chris BeHanna <behanna@zbzoom.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/30280: Fatal trap 12 in kldunload() on 4.4-RC
Message-ID:  <200109030531.f835VWQ73569@freefall.freebsd.org>

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

>Number:         30280
>Category:       kern
>Synopsis:       Fatal trap 12 in kldunload() on 4.4-RC
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 02 22:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Chris BeHanna
>Release:        4.4-RC
>Organization:
Pennasoft Corporation
>Environment:
FreeBSD topperwein.dyndns.org 4.4-RC FreeBSD 4.4-RC #0: Sun Sep  2 21:53:54 EDT 2001     behanna@topperwein.dyndns.org:/usr/obj.k6/usr/src/sys/TOPPERWEIN  i386
>Description:
Whenever I use the shutdown command, I get a fatal trap 12 in
kldunload().  This happens every time, unless I first do a
umount -f /usr, in which case the trap does not occur.

This started happening as soon as I upgraded the machine from a PII-350
on an Abit BX-6 motherboard to an Athlon Thunderbird on a Gigabyte GA-7DX
motherboard.  I am using Crucial PC2100 SDRAM on the board.

Here is the traceback from gdb -k /var/crash/kernel.7 /var/crash/vmcore.7:

----- begin traceback and stuff -----

Script started on Mon Sep  3 00:47:56 2001

behanna@topperwein> gdb -k /var/crash/kernel.7 /var/crash/vmcore.7
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...
IdlePTD 4829184
initial pcb at 390960
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4
fault code      = supervisor read, page not present
instruction pointer = 0x8:0xc018cc1b
stack pointer           = 0x10:0xce1dfebc
frame pointer           = 0x10:0xce1dfebc
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     = 688 (kldunload)
interrupt mask      = none


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x656e6d76
fault code      = supervisor read, page not present
instruction pointer = 0x8:0xc02d12b8
stack pointer           = 0x10:0xce1dfc90
frame pointer           = 0x10:0xce1dfc94
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     = 688 (kldunload)
interrupt mask      = none


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4
fault code      = supervisor read, page not present
instruction pointer = 0x8:0xc018cc1b
stack pointer           = 0x10:0xce1dfebc
frame pointer           = 0x10:0xce1dfebc
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     = 688 (kldunload)
interrupt mask      = none

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4
fault code      = supervisor read, page not present
instruction pointer = 0x8:0xc018cc1b
stack pointer           = 0x10:0xce1dfebc
frame pointer           = 0x10:0xce1dfebc
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     = 688 (kldunload)
interrupt mask      = none


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4
fault code      = supervisor read, page not present
instruction pointer = 0x8:0xc017da43
stack pointer           = 0x10:0xce1dfccc
frame pointer           = 0x10:0xce1dfccc
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     = 688 (kldunload)
interrupt mask      = none
    indx 0
    pgrp 0xc038eb88, pgid 0, sess 0xc038eb60, sesscnt 1, mem 0xc03a9b40
        pid 0 addr 0xc03a9b40 pgrp 0xc038eb88
        pid 5 addr 0xcc80f780 pgrp 0xc038eb88
        pid 4 addr 0xcc80f920 pgrp 0xc038eb88
        pid 3 addr 0xcc80fac0 pgrp 0xc038eb88
        pid 2 addr 0xcc80fc60 pgrp 0xc038eb88
    indx 1
    pgrp 0xc1a83060, pgid 1, sess 0xc1a92080, sesscnt 1, mem 0xcc80fe00
        pid 1 addr 0xcc80fe00 pgrp 0xc1a83060
        pid 668 addr 0xce1d85a0 pgrp 0xc1a83060
        pid 679 addr 0xcc80d560 pgrp 0xc1a83060
        pid 680 addr 0xcc80c6c0 pgrp 0xc1a83060
        pid 688 addr 0xcc80c380 pgrp 0xc1a83060
    indx 6
    pgrp 0xc1a83020, pgid 6, sess 0xc1b20cc0, sesscnt 1, mem 0xcc80ca00
        pid 515 addr 0xcc80ca00 pgrp 0xc1a83020
        pid 578 addr 0xcc80cba0 pgrp 0xc1a83020
    indx 19
    pgrp 0xc1c53b00, pgid 531, sess 0xc1c8c140, sesscnt 1, mem 0xcc80c520
        pid 531 addr 0xcc80c520 pgrp 0xc1c53b00
    indx 30
    pgrp 0xc1b4df60, pgid 30, sess 0xc1b20700, sesscnt 1, mem 0xcc80f2a0
        pid 30 addr 0xcc80f2a0 pgrp 0xc1b4df60
    indx 192
    pgrp 0xc1b4d780, pgid 192, sess 0xc1b20280, sesscnt 1, mem 0xcc80f100
        pid 192 addr 0xcc80f100 pgrp 0xc1b4d780
    indx 300
    pgrp 0xc1b4d6e0, pgid 300, sess 0xc1c2eec0, sesscnt 1, mem 0xcc80f440
        pid 300 addr 0xcc80f440 pgrp 0xc1b4d6e0
    indx 316        pid 300 addr 0xcc80f440 pgrp 0xc1b4d6e0
    indx 316
    pgrp 0xc1b4df40, pgid 316, sess 0xc1c2e680, sesscnt 1, mem 0xcc80edc0
        pid 316 addr 0xcc80edc0 pgrp 0xc1b4df40
    indx 324
    pgrp 0xc1b4d520, pgid 324, sess 0xc1c34f00, sesscnt 1, mem 0xcc80ec20
        pid 324 addr 0xcc80ec20 pgrp 0xc1b4d520
    indx 329
    pgrp 0xc1b4d4a0, pgid 329, sess 0xc1c36fc0, sesscnt 1, mem 0xcc80ea80
        pid 329 addr 0xcc80ea80 pgrp 0xc1b4d4a0
    indx 331
    pgrp 0xc1b4d440, pgid 331, sess 0xc1c34600, sesscnt 1, mem 0xcc80e8e0
        pid 331 addr 0xcc80e8e0 pgrp 0xc1b4d440
        pid 336 addr 0xcc80e260 pgrp 0xc1b4d440
        pid 335 addr 0xcc80e400 pgrp 0xc1b4d440
        pid 334 addr 0xcc80e5a0 pgrp 0xc1b4d440
        pid 333 addr 0xcc80e740 pgrp 0xc1b4d440
    indx 339
    pgrp 0xc1b4d2a0, pgid 339, sess 0xc1c34b80, sesscnt 1, mem 0xcc80e0c0
        pid 339 addr 0xcc80e0c0 pgrp 0xc1b4d2a0
    indx 356
    pgrp 0xc1b4d1c0, pgid 356, sess 0xc1c36bc0, sesscnt 1, mem 0xcc80df20
        pid 356 addr 0xcc80df20 pgrp 0xc1b4d1c0
    indx 358
    pgrp 0xc1b4d100, pgid 358, sess 0xc1c36380, sesscnt 1, mem 0xcc80dd80
        pid 358 addr 0xcc80dd80 pgrp 0xc1b4d100
    indx 362
    pgrp 0xc1b4d0c0, pgid 362, sess 0xc1c36100, sesscnt 1, mem 0xcc80dbe0
        pid 362 addr 0xcc80dbe0 pgrp 0xc1b4d0c0
    indx 366
    pgrp 0xc1b4d000, pgid 366, sess 0xc1c4e140, sesscnt 1, mem 0xcc80da40
        pid 366 addr 0xcc80da40 pgrp 0xc1b4d000
    indx 368
    pgrp 0xc1c53f80, pgid 368, sess 0xc1c54dc0, sesscnt 1, mem 0xcc80d8a0
        pid 368 addr 0xcc80d8a0 pgrp 0xc1c53f80
    indx 371
    pgrp 0xc1c53f40, pgid 371, sess 0xc1c54940, sesscnt 1, mem 0xcc80d700
        pid 371 addr 0xcc80d700 pgrp 0xc1c53f40
    indx 406
    pgrp 0xc1c53ec0, pgid 406, sess 0xc1c5b9c0, sesscnt 1, mem 0xcc80d220
        pid 406 addr 0xcc80d220 pgrp 0xc1c53ec0
    indx 424
    pgrp 0xc1c53d00, pgid 424, sess 0xc1c726c0, sesscnt 1, mem 0xcc80ef60
        pid 424 addr 0xcc80ef60 pgrp 0xc1c53d00
    indx 426
    pgrp 0xc1c53ca0, pgid 426, sess 0xc1c722c0, sesscnt 1, mem 0xcc80d080
        pid 426 addr 0xcc80d080 pgrp 0xc1c53ca0
    indx 430
    pgrp 0xc1c53c60, pgid 430, sess 0xc1c68100, sesscnt 1, mem 0xcc80cee0
        pid 430 addr 0xcc80cee0 pgrp 0xc1c53c60
    indx 432
    pgrp 0xc1c53dc0, pgid 432, sess 0xc1c7b680, sesscnt 1, mem 0xcc80cd40
        pid 432 addr 0xcc80cd40 pgrp 0xc1c53dc0
    indx 492
    pgrp 0xc1c53a80, pgid 492, sess 0xc1c8cb00, sesscnt 1, mem 0xcc80d3c0
        pid 492 addr 0xcc80d3c0 pgrp 0xc1c53a80
        pid 590 addr 0xce1d9440 pgrp 0xc1c53a80
        pid 560 addr         pid 590 addr 0xce1d9440 pgrp 0xc1c53a80
        pid 560 addr 0xce1d9c60 pgrp 0xc1c53a80
        pid 559 addr 0xce1d9e00 pgrp 0xc1c53a80
        pid 558 addr 0xcc80bea0 pgrp 0xc1c53a80
        pid 557 addr 0xcc80c1e0 pgrp 0xc1c53a80
        pid 556 addr 0xcc80c040 pgrp 0xc1c53a80
    indx 500
    pgrp 0xc1c53b60, pgid 500, sess 0xc1c7b100, sesscnt 1, mem 0xcc80c860
        pid 500 addr 0xcc80c860 pgrp 0xc1c53b60


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4eb18b3
fault code      = supervisor read, page not present
instruction pointer = 0x8:0xc026e0c4
stack pointer           = 0x10:0xce1dfccc
frame pointer           = 0x10:0xce1dfcf8
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     = 688 (kldunload)
interrupt mask      = none
tot = 9612 (active = 0, free = 9612 (reserved = 4212, slush = 5400))
01/09/02 23:12:48, A = 29, B = 42, C = 00


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x20
fault code      = supervisor read, page not present
instruction pointer = 0x8:0xc01b1169
stack pointer           = 0x10:0xce1dfcec
frame pointer           = 0x10:0xce1dfcf8
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     = 688 (kprocessor eflags    = interrupt enabled, resume, IOPL = 0
current process     = 688 (kldunload)
interrupt mask      = none


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4
fault code      = supervisor read, page not present
instruction pointer = 0x8:0xc017da43
stack pointer           = 0x10:0xce1dfccc
frame pointer           = 0x10:0xce1dfccc
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     = 688 (kldunload)
interrupt mask      = none


Fatal trap 12: page fault while in kernel mode


fault virtual address   = 0x4
fault code      = supervisor read, page not present
instruction pointer = 0x8:0xc018cc1b
stack pointer           = 0x10:0xce1dfebc
frame pointer           = 0x10:0xce1dfebc
code segment        = base 0x0, limit 0xfffff, type 0x1b
            = DPL 0, pres 1, def32 1, gran 1
processor eflags    = trace trap, interrupt enabled, resume, IOPL = 0
current process     = 688 (kldunload)
interrupt mask      = none
panic: from debugger
panic: from debugger
Uptime: 57m16s

dumping to dev #ad/1, offset 3670144
dump ata0: resetting devices .. done
255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
---
#0  0xc01891aa in dumpsys ()
(kgdb) where
#0  0xc01891aa in dumpsys ()
#1  0xc0188fcb in boot ()
#2  0xc01893b1 in panic ()
#3  0xc013cce9 in db_panic ()
#4  0xc013cc89 in db_command ()
#5  0xc013cd4e in db_command_loop ()
#6  0xc013ee6b in db_trap ()
#7  0xc02d11c6 in kdb_trap ()
#8  0xc02de328 in trap_fatal ()
#9  0xc02de001 in trap_pfault ()
#10 0xc02ddba7 in trap ()
#11 0xc018cc1b in sysctl_unregister_oid ()
#12 0xc018d09d in sysctl_unregister_set ()
#13 0xc0179733 in linker_file_unregister_sysctls ()
#14 0xc0179b56 in linker_file_unload ()
#15 0xc0179ba7 in linker_file_unload ()
#16 0xc017a0a9 in kldunload ()
#17 0xc02de605 in syscall2 ()
#18 0xc02d1f85 in Xint0x80_syscall ()
#19 0x8048135 in ?? ()
(kgdb) quit

Here is my dmesg:

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.4-RC #0: Sun Sep  2 21:53:54 EDT 2001
    behanna@topperwein.dyndns.org:/usr/obj.k6/usr/src/sys/TOPPERWEIN
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) Processor (1333.39-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
real memory  = 268369920 (262080K bytes)
config> di sn0
config> di lnc0
config> di le0
config> di ie0
config> di cs0
config> q
avail memory = 256528384 (250516K bytes)
Preloaded elf kernel "kernel" at 0xc047c000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc047c09c.
Preloaded elf module "splash_bmp.ko" at 0xc047c0ec.
Preloaded elf module "vesa.ko" at 0xc047c190.
Preloaded splash_image_data "/boot/daemon_freebsd-1.bmp" at 0xc047c22c.
VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc042e242 (1000022)
VESA: ATI RADEON
Pentium Pro MTRR support enabled
md0: Malloc disk
splash_bmp: No appropriate video mode found
module_register_init: MOD_LOAD (splash_bmp, c0426790, 0) error 19
Using $PIR table, 10 entries at 0xc00fddb0
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: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1022 device=700f)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 5144 graphics accelerator> at 5.0 irq 10
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xb400-0xb40f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xb800-0xb81f irq 11 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xbc00-0xbc1f irq 11 at device 7.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ichsmb0: <SMBus controller> at device 7.4 on pci0
device_probe_and_attach: ichsmb0 attach returned 6
dc0: <82c169 PNIC 10/100BaseTX> port 0xd000-0xd0ff mem 0xdb000000-0xdb0000ff irq 10 at device 12.0 on pci0
dc0: Ethernet address: 00:a0:cc:d4:0a:6d
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd400-0xd47f mem 0xdb002000-0xdb00207f irq 5 at device 13.0 on pci0
xl0: Ethernet address: 00:10:5a:00:a9:20
miibus1: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus1
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative CT5880-C> port 0xd800-0xd83f irq 11 at device 14.0 on pci0
ahc0: <Adaptec 3950B Ultra2 SCSI adapter> port 0xdc00-0xdcff mem 0xdb003000-0xdb003fff irq 11 at device 15.0 on pci0
aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs
ahc1: <Adaptec 3950B Ultra2 SCSI adapter> port 0xe000-0xe0ff mem 0xdb004000-0xdb004fff irq 11 at device 15.1 on pci0
aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/255 SCBs
orm0: <Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xcc7ff on isa0
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> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
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>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f flags 0x21 on isa0
ppc0: Generic chipset (NIBBLE-only) in NIBBLE mode
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <Hewlett-Packard OfficeJet Series 300.1.1.0> MLC,PCL,PML
lpt0: <Printer> on ppbus0
lpt0: Polled port
ppi0: <Parallel I/O> on ppbus0
unknown: <PNP0000> can't assign resources
unknown: <PNP0303> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0501> can't assign resources
sio1: <16550A-compatible COM port> at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
unknown: <PNP0400> can't assign resources
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 10 packets/entry by default
IPv6 packet filtering initialized, logging limited to 100 packets/entry
ad0: 42934MB <WDC WD450AA-00BAA0> [87233/16/63] at ata0-master UDMA66
acd0: DVD-ROM <HITACHI GD-2000> at ata1-master using PIO4
Waiting 10 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad0a
cd0 at ahc1 bus 0 target 6 lun 0
cd0: <HP CD-Writer+ 9200 1.0c> Removable CD-ROM SCSI-4 device
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
WARNING: / was not properly dismounted

Here is my kernel config:

machine     i386
#cpu            I386_CPU
#cpu            I486_CPU
#cpu            I586_CPU
cpu         I686_CPU
ident       TOPPERWEIN
maxusers    128

makeoptions DEBUG=-g        #Build kernel with gdb(1) debug symbols
options     DDB             #Enable kernel debugger (turn off for
                            #production kernels)
#options    DDB_UNATTENDED
#options    GDB_REMOTE_CHAT
options     KTRACE          #kernel tracing

#options    MATH_EMULATE        #Support for x87 emulation
options     INET            #InterNETworking
options     INET6           #IPv6 communications protocols
options     FFS         #Berkeley Fast Filesystem
options     FFS_ROOT        #FFS usable as root device [keep this!]
options     SOFTUPDATES     #Enable FFS soft updates support
options     MFS         #Memory Filesystem
options     MD_ROOT         #MD is a potential root device
options     NFS         #Network Filesystem
options     NFS_ROOT        #NFS usable as root device, NFS required
options     MSDOSFS         #MSDOS Filesystem
options     CD9660          #ISO 9660 Filesystem
options     CD9660_ROOT     #CD-ROM usable as root, CD9660 required
options     FDESC           #File descriptor filesystem
options     PROCFS          #Process filesystem
#options    NTFS            #NT filesystem
#options    KERNFS          #Kernel filesystem
#options    SMBFS           #SMB/CIFS
#options    UMAPFS          #uid mapping filesystem
options     COMPAT_43       #Compatible with BSD 4.3 [KEEP THIS!]
options     COMPAT_LINUX        #Run Linux binaries
options     SCSI_DELAY=10000    #Delay (in ms) before probing SCSI
options     UCONSOLE        #Allow users to grab the console
options     USERCONFIG      #boot -c editor
options     VISUAL_USERCONFIG   #visual boot -c editor
options     KTRACE          #ktrace(1) support
options     SYSVSHM         #SYSV-style shared memory
options     SYSVMSG         #SYSV-style message queues
options     SYSVSEM         #SYSV-style semaphores
options     P1003_1B        #Posix P1003_1B real-time extensions
options     _KPOSIX_PRIORITY_SCHEDULING
options     ICMP_BANDLIM        #Rate limit bad replies
options     KBD_INSTALL_CDEV    # install a CDEV entry in /dev
options     INCLUDE_CONFIG_FILE     # Include this file in kernel
options     PNPBIOS         # might toggle this off to see if it helps X
options     NMBCLUSTERS=4096    # Band-aid to get longer uptime

# On -STABLE, setting these two to your physical memory size was
# suggested for getting rid of "Fatal trap 12, page fault while in
# supervisor mode" crashes.
options     MAXDSIZ="(256*1024*1024)"
options     DFLDSIZ="(256*1024*1024)"

options     USER_LDT        # Allow i386 ldt for WINE

#options    UFS_DIRHASH     # experimental

#
# Network Security Options
#

#options    IPSEC           #IP security
#options    IPSEC_ESP       #IP security (crypto; define w/ IPSEC)

options     IPFIREWALL      #firewall
options     IPFIREWALL_VERBOSE  #print information about
                    # dropped packets
options     IPFIREWALL_FORWARD  #enable transparent proxy support
options     IPFIREWALL_VERBOSE_LIMIT=10 #limit verbosity
#options    IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default
options     IPV6FIREWALL        #firewall for IPv6
options     IPV6FIREWALL_VERBOSE
options     IPV6FIREWALL_VERBOSE_LIMIT=100
#options    IPV6FIREWALL_DEFAULT_TO_ACCEPT
options     IPDIVERT        #divert sockets
#options    IPFILTER        #ipfilter support
#options    IPFILTER_LOG        #ipfilter logging
options     IPSTEALTH       #support for stealth forwarding

#options    NETSMB
#options    NETSMBCRYPTO
#options    LIBMCHAIN
#options    LIBICONV

#options    DUMMYNET    # bandwidth limiter, see dummynet(4)
#options    BRIDGE      # bridge between NICs, see bridge(4)

#
# SMB bus
#
# System Management Bus support is provided by the 'smbus' device.
# Access to the SMBus device is via the 'smb' device (/dev/smb*),
# which is a child of the 'smbus' device.
#
# Supported devices:
# smb       standard io through /dev/smb*
#
# Supported SMB interfaces:
# iicsmb    I2C to SMB bridge with any iicbus interface
# bktr      brooktree848 I2C hardware interface
# intpm     Intel PIIX4 Power Management Unit
# alpm      Acer Aladdin-IV/V/Pro2 Power Management Unit
# ichsmb    Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
#
device      smbus       # Bus support, required for smb below.

device      intpm
device      alpm
device      ichsmb

device      smb

#
# I2C Bus
#
# Philips i2c bus support is provided by the `iicbus' device.
#
# Supported devices:
# ic    i2c network interface
# iic   i2c standard io
# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
#
# Supported interfaces:
# pcf   Philips PCF8584 ISA-bus controller
# bktr  brooktree848 I2C software interface
#
# Other:
# iicbb generic I2C bit-banging code (needed by lpbb, bktr)
#
device      iicbus      # Bus support, required for ic/iic/iicsmb below.
device      iicbb

device      ic
device      iic
device      iicsmb      # smb over i2c bridge

#
# Console options
#

options     SC_ALT_MOUSE_IMAGE  # simplified mouse cursor in text mode
options     SC_HISTORY_SIZE=200 # number of history buffer lines
options     SC_TWOBUTTON_MOUSE
options     VESA

# To make an SMP kernel, the next two are needed
#options    SMP         # Symmetric MultiProcessor Kernel
#options    APIC_IO         # Symmetric (APIC) I/O

device      isa
device      eisa
device      pci

# Floppy drives
device      fdc0    at isa? port IO_FD1 irq 6 drq 2
device      fd0 at fdc0 drive 0
device      fd1 at fdc0 drive 1

# ATA and ATAPI devices
device      ata0    at isa? port IO_WD1 irq 14
device      ata1    at isa? port IO_WD2 irq 15
device      ata
device      atadisk         # ATA disk drives
device      atapicd         # ATAPI CDROM drives
device      atapifd         # ATAPI floppy drives
device      atapist         # ATAPI tape drives
options     ATA_STATIC_ID       #Static device numbering
# Not supported in 4.3?
#options    ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices

# SCSI Controllers
#device     ahb     # EISA AHA1742 family
device      ahc     # AHA2940 and onboard AIC7xxx devices
#device     amd     # AMD 53C974 (Teckram DC-390(T))
#device     dpt     # DPT Smartcache - See LINT for options!
#device     isp     # Qlogic family
#device     ncr     # NCR/Symbios Logic
#device     sym     # NCR/Symbios Logic (newer chipsets)
#options        SYM_SETUP_LP_PROBE_MAP=0x40
                # Allow ncr to attach legacy NCR devices when 
                # both sym and ncr are configured

#device     adv0    at isa?
device      adw
device      bt0 at isa?
device      aha0    at isa?
device      aic0    at isa?

# SCSI peripherals
device      scbus       # SCSI bus (required)
device      da      # Direct Access (disks)
device      sa      # Sequential Access (tape etc)
device      cd      # CD
device      pass        # Passthrough device (direct SCSI access)

# RAID controllers
device      ida     # Compaq Smart RAID
device      amr     # AMI MegaRAID
device      mlx     # Mylex DAC960 family

# atkbdc0 controls both the keyboard and the PS/2 mouse
device      atkbdc0 at isa? port IO_KBD
device      atkbd0  at atkbdc? irq 1 flags 0x1
device      psm0    at atkbdc? irq 12

device      vga0    at isa?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device      sc0 at isa? flags 0x100

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device     vt0 at isa?
#options    XSERVER         # support for X server on a vt console
#options    FAT_CURSOR      # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options    PCVT_SCANSET=2      # IBM keyboards are non-std

# Floating point support - do not disable.
device      npx0    at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
#device     apm0    at nexus? disable flags 0x20 # Advanced Power Management
device      apm0

# PCCARD (PCMCIA) support
#device     card
#device     pcic0   at isa? irq 10 port 0x3e0 iomem 0xd0000
#device     pcic1   at isa? irq 11 port 0x3e2 iomem 0xd4000 disable

# Serial (COM) ports
device      sio0    at isa? port IO_COM1 flags 0x10 irq 4
#device     sio1    at isa? disable port IO_COM2 irq 3
#device     sio2    at isa? port IO_COM3 irq 3
#device     sio3    at isa? disable port IO_COM4 irq 9

# Parallel port
#device     ppc0    at isa? port? irq 3

# Force NIBBLE mode and disable use of an IRQ
device      ppc0    at isa? port? flags 0x21

device      ppbus   # Parallel port bus (required)
device      lpt     # Printer
#device     plip    # TCP/IP over parallel
device      ppi     # Parallel port interface device
#device     vpo     # Requires scbus and da


# PCI Ethernet NICs.
#device     de      # DEC/Intel DC21x4x (``Tulip'')
#device     txp     # 3Com 3cR990 ("Typhoon")
#device     fxp     # Intel EtherExpress PRO/100B (82557, 82558)
#device     tx      # SMC 9432TX (83c170 ``EPIC'')
#device     vx      # 3Com 3c590, 3c595 (``Vortex'')
#device     wx      # Intel Gigabit Ethernet Card (``Wiseman'')

# PCI Ethernet NICs that use the common MII bus controller code.
device      miibus      # MII bus support
device      dc      # DEC/Intel 21143 and various workalikes
#device     rl      # RealTek 8129/8139
#device     sf      # Adaptec AIC-6915 (``Starfire'')
#device     sis     # Silicon Integrated Systems SiS 900/SiS 7016
#device     ste     # Sundance ST201 (D-Link DFE-550TX)
#device     tl      # Texas Instruments ThunderLAN
#device     vr      # VIA Rhine, Rhine II
#device     wb      # Winbond W89C840F
device      xl      # 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.
# 'device ed' requires 'device miius'
#device     ed0 at isa? port 0x280 irq 10 iomem 0xd8000
#device     ex
#device     ep
#device     fe0 at isa? port 0x300
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attatement needed
# and resources will always be dynamically assigned by the pccard code.
#device     wi
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those paremeters here.
#device     an
# Xircom Ethernet
#device     xe
# The probe order of these is presently determined by i386/isa/isa_compat.c.
device      ie0 at isa? port 0x300 irq 10 iomem 0xd0000
device      le0 at isa? port 0x300 irq 5 iomem 0xd0000
device      lnc0    at isa? port 0x280 irq 10 drq 0
device      cs0 at isa? port 0x300
device      sn0 at isa? port 0x300 irq 10

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   loop        # Network loopback
pseudo-device   ether       # Ethernet support
pseudo-device   vlan    1   # VLAN support
pseudo-device   gzip        # Exec gzip'd a.outs
pseudo-device   sl  1   # Kernel SLIP
pseudo-device   ppp 1   # Kernel PPP
pseudo-device   tun 1   # Packet tunnel.
pseudo-device   pty 32  # Pseudo-ttys (telnet etc)
pseudo-device   md      # Memory "disks"
pseudo-device   gif 4   # IPv6 and IPv4 tunneling
pseudo-device   faith   1   # IPv6-to-IPv4 relaying (translation)
#options    PPP_BSDCOMP     #PPP BSD-compress support
#options    PPP_DEFLATE     #PPP zlib/deflate/gzip support
#options    PPP_FILTER      #enable bpf filtering (needs bpf)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf     #Berkeley packet filter

# USB support
device      uhci        # UHCI PCI->USB interface
device      ohci        # OHCI PCI->USB interface
device      usb     # USB Bus (required)
device      ugen        # Generic
device      uhid        # "Human Interface Devices"
#device     ukbd        # Keyboard
device      ulpt        # Printer
device      umass       # Disks/Mass storage - Requires scbus and da
#device     ums     # Mouse
# USB Ethernet, requires mii
#device     aue     # ADMtek USB ethernet
#device     cue     # CATC USB ethernet
#device     kue     # Kawasaki LSI USB ethernet

# Sound
device      pcm
device      sbc0    at isa? port 0x220 irq 7 drq 1 flags 0x15


>How-To-Repeat:
I'm not sure that the problem is repeatable except on an identical
configuration.  I can give an account to a kernel developer who wishes
to examine things, but I can't let him/her do live experiments on the
system (it is my firewall and router).  I will try patches and report
on their effect.
>Fix:

>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?200109030531.f835VWQ73569>