uvm_fault crash on fresh 4.2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: OpenBSD-Misc <misc@...>
Date: Monday, November 12, 2007 - 8:25 pm

I just installed an old compaq desktop that I intend to use as a
webserver. I haven't installed anything on it yet, it's using vanilla
4.2-RELEASE.
Twice now, I've booted it and left it running, intending to ssh in and
work on it, except I've found that I couldn't because it's crashed on
me. It has literally nothing running except the standard daemons
(ntpd, sshd, httpd...) when this (faithfully transcribed) happens:
uvm_fault(0xd687875c, 0xcfc70000, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at pmap_enter+0xaf: movl 0(%edx,%eax,4),%eax
ddb> trace
pmap_enter(d69c7a2c, 1c022000, 2353000,5,20,1c027000,da433ea4,0) at
pmap_enter+0xaf
uvm_fault(d687875c,1c023000,0,1,da3efea0) at uvm_fault+0xd0c
trap() at trap+0x269
--- trap (number 6) --
0x1c023261:
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
1311 17544 648 0 2 0 sh
*22991 17544 648 0 7 0 sh
17544 14843 648 0 3 0x80 pause sh
14843 27930 648 0 3 0x4080 piperd sh
22189 648 648 0 3 0x4080 piperd mail
15690 648 648 0 3 0x4080 piperd tee
27930 648 648 0 3 0x4080 pause sh
648 11321 648 0 3 0x4080 pause sh
11321 4468 4468 0 3 0x80 piperd cron
6321 1 6321 0 3 0x4082 ttyin getty
16590 1 16590 0 3 0x4082 ttyin getty
28581 1 28581 0 3 0x4082 ttyin getty
29125 1 29125 0 3 0x4082 ttyin getty
13313 1 13313 0 3 0x4082 ttyin getty
4468 1 4468 0 3 0x80 select cron
30525 1 30525 0 3 0x80 select sshd
14729 5611 5611 67 3 0x180 netcon httpd
11199 5611 5611 67 3 0x180 netcon httpd
20250 5611 5611 67 3 0x180 netcon httpd
7697 5611 5611 67 3 0x180 netcon httpd
1843 5611 5611 67 3 0x180 netcon httpd
24949 1 24949 0 3 0x40180 select sendmail
8752 1 8752 0 3 0x180 select inetd
5611 1 5611 67 3 0x180 select httpd
20884 29121 29121 83 3 0x180 poll ntpd
29121 1 29121 0 3 0x80 poll ntpd
13148 1 12414 73 2 0x180 syslogd
12414 1 12414 0 3 0x88 netio syslogd
3628 1 3628 77 3 0x180 poll dhclient
14719 1 24228 0 3 0x82 poll dhclient
16 0 0 0 3 0x100200 crypto_wait crypto
15 0 0 0 3 0x100200 aiodoned aiodoned
14 0 0 0 3 0x100200 syncer update
13 0 0 0 3 0x100200 cleaner cleaner
12 0 0 0 3 0x100200 reaper reaper
11 0 0 0 3 0x100200 pgdaemon
pagedaemon
10 0 0 0 3 0x100200 pftm pfpurge
9 0 0 0 3 0x100200 usbevt usb4
8 0 0 0 3 0x100200 usbevt usb3
7 0 0 0 3 0x100200 usbevt usb2
6 0 0 0 3 0x100200 usbevt usb1
5 0 0 0 3 0x100200 usbtsl usbtask
4 0 0 0 3 0x100200 usbevt usb0
3 0 0 0 3 0x100200 bored syswq
2 0 0 0 3 0x100200 kmalloc kmthread
1 0 1 0 3 0x4080 wait init
0 -1 0 0 3 0x80200 scheduler swapper

So what's the deal? Is this a bug? Is it flakey hardware? I mixed and
matched the RAM a bit, could that be it? Could the RAM be slightly
unseated?

I found this, which has the same issue:
http://archive.netbsd.se/?ml=openbsd-newbies&a=2005-08&m=1127711

dmesg:
OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Duron(tm) Processor ("AuthenticAMD" 686-class, 64KB L2 cache) 902 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem = 528052224 (503MB)
avail mem = 502943744 (479MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/03/01, BIOS32 rev. 0 @
0xfa100, SMBIOS rev. 2.3 @ 0xf0000 (19 entries)
bios0: vendor Compaq version "786K3" date 05/03/2001
bios0: Compaq Presario 5100CA 470013-866
pcibios0 at bios0: rev 2.1 @ 0xfa040/0x1000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfa040/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:20:0 ("VIA VT82C686 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x10000 0xe9000/0x3000! 0xec000/0x4000!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8363 Host" rev 0x81
ppb0 at pci0 dev 1 function 0 "VIA VT8363 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "S3 ProSavage KM133" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
dc0 at pci0 dev 3 function 0 "ADMtek AN983" rev 0x11: irq 3, address
00:04:5a:60:f5:5b
acphy0 at dc0 phy 1: AC_UNKNOWN 10/100 PHY, rev. 0
ohci0 at pci0 dev 4 function 0 "NEC USB" rev 0x41: irq 10, version 1.0
ohci1 at pci0 dev 4 function 1 "NEC USB" rev 0x41: irq 11, version 1.0
ehci0 at pci0 dev 4 function 2 "NEC USB" rev 0x02: irq 3
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: NEC EHCI root hub, rev 2.00/1.00, addr 1
pcib0 at pci0 dev 20 function 0 "VIA VT82C686 ISA" rev 0x22
pciide0 at pci0 dev 20 function 1 "VIA VT82C571 IDE" rev 0x10: ATA66,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0:
wd0: 8-sector PIO, LBA, 38172MB, 78177792 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 20 function 2 "VIA VT83C572 USB" rev 0x10: irq 11
uhci1 at pci0 dev 20 function 3 "VIA VT83C572 USB" rev 0x10: irq 11
viaenv0 at pci0 dev 20 function 4 "VIA VT82C686 SMBus" rev 0x30: HWM
disabled: 32-bit timer at 3579545Hz
auvia0 at pci0 dev 20 function 5 "VIA VT82C686 AC97" rev 0x20: irq 10
ac97: codec id 0x41445348 (Analog Devices AD1881A)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auvia0
usb1 at ohci0: USB revision 1.0
uhub1 at usb1: NEC OHCI root hub, rev 1.00/1.00, addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2: NEC OHCI root hub, rev 1.00/1.00, addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0:
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb3 at uhci0: USB revision 1.0
uhub3 at usb3: VIA UHCI root hub, rev 1.00/1.00, addr 1
usb4 at uhci1: USB revision 1.0
uhub4 at usb4: VIA UHCI root hub, rev 1.00/1.00, addr 1
biomask ff6d netmask ff6d ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
uvm_fault crash on fresh 4.2, Nick Guenther, (Mon Nov 12, 8:25 pm)
Re: uvm_fault crash on fresh 4.2, Jeff Quast, (Tue Nov 13, 12:06 am)
Re: uvm_fault crash on fresh 4.2, Chris Cappuccio, (Tue Nov 13, 6:58 pm)