Subject: kern/5129: UVM crash
To: None <>
From: Lennart Augustsson <>
List: netbsd-bugs
Date: 03/07/1998 17:10:57
>Number:         5129
>Category:       kern
>Synopsis:       UVM crash
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar  7 08:20:00 1998
>Originator:     Lennart Augustsson
Chalmers University
>Release:        NetBSD-current 980306
System: NetBSD 1.3E NetBSD 1.3E (DOGBERT) #2: Thu Mar 5 16:46:04 CET 1998 i386


I got a crash that seems to be UVM related.
The system was doing a lot of file operations at the
time of the crash; I was doing mkmf in /usr/X11/lib/Servers
and an fsck of a Linux partition.  I don't think the latter
had anything to do with it, because just a little earlier I had
a similar crash with just mkmf running.  So it seems pretty
repeatable, but I don't feel like trying it again :-)

Here is what DDB said (I have the arguments written down as
well, if they would be helpful):

panic: pmap_change_wiring: invalid (unmapped) va

pmap_change_wiring + 0x87
uvm_fault_unwire + 0x4e
uvm_vsunlock + 0x2a
physio + 0x24c
wdread + 0x1f
spec_read + 0xbd

Here's the dmesg output on my machine:
NetBSD 1.3E (OPUS) #0: Fri Mar  6 18:51:08 MET 1998
cpu0: family 6 model 3 step 4
cpu0: Intel Pentium II (686-class)
real mem  = 133824512
avail mem = 123031552
using 1659 buffers containing 6795264 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443LX PCI AGP Controller (PAC) (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443LX AGP Device (PAC) (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o enabled, memory enabled
Matrox product 0x051f (VGA display) at pci1 dev 0 function 0 not configured
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x01)
Intel 82371AB IDE controller (PIIX4) (IDE mass storage, interface 0x80, revision 0x01) at pci0 dev 7 function 1 not configured
Intel 82371AB USB Host Controller (PIIX4) (USB serial bus, revision 0x01) at pci0 dev 7 function 2 not configured
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x01) at pci0 dev 7 function 3 not configured
ne0 at pci0 dev 14 function 0: Realtek 8029 Ethernet
ne0: Ethernet address 52:54:00:da:8b:ae
ne0: interrupting at irq 9
ep0 at pci0 dev 15 function 0: 3Com 3C905 Ethernet
ep0: MAC address 00:60:08:4c:14:ee
ep0: 8KB word-wide FIFO, 3:5 Rx:Tx split, mii default mii, autoselect
ep0: interrupting at irq 10
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: <IBM-DHEA-36480>
wd0: 6150MB, 12496 cyl, 16 head, 63 sec, 512 bytes/sec
wd0: using 16-sector 16-bit pio transfers, lba addressing
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus1 at wdc1
cd0 at atapibus1 drive 0: <TOSHIBA CD-ROM XM-6202B, b\\221\\311\\373\\000\\000\\345\\365\\305\\325, 1108> type 5 cdrom removable
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1
vt0: generic, 80 col, color, 8 scr, mf2-kbd, [R3.32]
pms0 at vt0 irq 12
vt0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
isapnp0: No current device for tag, card 1
sb0 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5
sb0: Creative AWE64 PnP Audio: dsp v4.16
audio0 at sb0
joy0 at isapnp0 port 0x200/8
joy0: Creative AWE64 PnP Game
joy0: joystick not connected
isapnp0: <Creative AWE64 PnP, CTL0022, , WaveTable> port 0x620/4 not configured
apm0 at mainbus0: Power Management spec V1.1
apm0: A/C state: on
apm0: battery charge state: no battery
biomask c040 netmask c640 ttymask d6c2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs

	It seems fairly repeatable on my machine.
	I have no clue.  Chuck, this one's for you.