current snapshot kernel panics

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

current snapshot kernel panics

Ulrich Kahl
Hi,

I have updated to the most current 5.1-beta snapshot, but the system
panics always, sometimes at different points (different keyboard, kernel
options).
The last working kernel seems to be from cvs checkout with date
13.10.2011 (before the pci_machdep.c change I presume)
The ramdisk works flawless so far, changing the apic setting in the
bios doesn't help, disabling apm, too.
If you need more information, please let me know.

        Ulrich


The dmesg:

>> OpenBSD/i386 BOOT 3.17
boot>
booting hd0a:/bsd: 8222492+1088904 [61+368896+354537]=0x99206c
entry point at 0x200120

[ using 723912 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2012 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.1-beta (GENERIC) #134: Fri Jan 13 11:38:11 MST 2012
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) III CPU family 1400MHz ("GenuineIntel" 686-class) 1.41 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
real mem  = 536317952 (511MB)
avail mem = 517459968 (493MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/20/02, BIOS32 rev. 0 @ 0xf0c30, SMBIOS rev. 2.3 @ 0xf2b40 (44 entries)
bios0: vendor Award Software, Inc. version "ASUS TUSL2-C ACPI BIOS Revision 1014 Beta 001" date 09/20/2002
bios0: ASUSTeK Computer INC. TUSL2-C
apm0 at bios0: Power Management spec V1.2
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x1472
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf13a0/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xd000 0xd0000/0x4000! 0xd4000/0x1800 0xd8000/0x2800
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82815 Host" rev 0x02
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf8000000, size 0x2400000
ppb0 at pci0 dev 1 function 0 "Intel 82815 AGP" rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon 9800 Pro" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: irq 11
drm0 at radeondrm0
"ATI Radeon 9800 Pro Sec" rev 0x00 at pci1 dev 0 function 1 not configured
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x05
pci2 at ppb1 bus 2
fxp0 at pci2 dev 10 function 0 "Intel 8255x" rev 0x0c, i82550: irq 9, address 00:02:b3:87:50:ef
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
pciide0 at pci2 dev 13 function 0 "Promise PDC20269" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using irq 9 for native-PCI interrupt
wd0 at pciide0 channel 1 drive 0: <SAMSUNG HD501LJ>
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6
ohci0 at pci2 dev 14 function 0 "NEC USB" rev 0x43: irq 5, version 1.0
ohci1 at pci2 dev 14 function 1 "NEC USB" rev 0x43: irq 9, version 1.0
ehci0 at pci2 dev 14 function 2 "NEC USB" rev 0x04: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
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
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x05: 24-bit timer at 3579545Hz
pciide1 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x05: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd1 at pciide1 channel 0 drive 0: <ST320014A>
wd1: 16-sector PIO, LBA, 19092MB, 39102336 sectors
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide1 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <_NEC, DVD_RW ND-4551A, 1-09> ATAPI 5/cdrom removable
cd0(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x05: irq 9
ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x05: irq 10
iic0 at ichiic0
lm1 at iic0 addr 0x2d: AS99127F
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x05: irq 9
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb3 at uhci0: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci1: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
uhidev0 at uhub3 port 1 configuration 1 interface 0 "Fujitsu Siemens Computers SmartCard Keyboard USB 2A" rev 2.00/b1.04 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub3 port 1 configuration 1 interface 2 "Fujitsu Siemens Computers SmartCard Keyboard USB 2A" rev 2.00/b1.04 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
ugen0 at uhub3 port 1 configuration 1 "Fujitsu Siemens Computers SmartCard Keyboard USB 2A" rev 2.00/b1.04 addr 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd1a (2bfe395ca21d2cab.a) swap on wd1b dump on wd1b
uvm_fault(0xd5d28000, 0x10000, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      uvm_pagecmp+0x19:       movl    0x24(%eax),%ecx
ddb> trace
uvm_pagecmp(d1432ab0,10000,d1432ab0,d0a01720,2000) at uvm_pagecmp+0x19
uvm_objtree_RB_INSERT(d0a01724,d1432ab0,0,2,d1432ab0) at uvm_objtree_RB_INSERT+
0x30
uvm_pagealloc_pg(d1432ab0,d0a01720,b30b000,0,0) at uvm_pagealloc_pg+0x5e
uvm_km_kmemalloc_pla(d0a01760,d0a01720,2000,0,8) at uvm_km_kmemalloc_pla+0x1c3
fork1(d5d2c000,14,1,0,0) at fork1+0x164
sys_fork(d5d2c000,db2eef64,db2eef84,d057485a,d5d2c000) at sys_fork+0x66
syscall() at syscall+0x26a
--- syscall (number 0) ---
0x2:
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
    14      0      0      0  3    0x100200  aiodoned      aiodoned
    13      0      0      0  3    0x100200  syncer        update
    12      0      0      0  3    0x100200  cleaner       cleaner
    11      0      0      0  3    0x100200  reaper        reaper
    10      0      0      0  3    0x100200  pgdaemon      pagedaemon
     9      0      0      0  3    0x100200  bored         crypto
     8      0      0      0  3    0x100200  pftm          pfpurge
     7      0      0      0  3    0x100200  usbtsk        usbtask
     6      0      0      0  3    0x100200  usbatsk       usbatsk
     5      0      0      0  3    0x100200  apmev         apm0
     4      0      0      0  3    0x100200  bored         syswq
     3      0      0      0  3  0x40100200                idle0
     2      0      0      0  3    0x100200  kmalloc       kmthread
*    1      0      1      0  7           0                init
     0     -1      0      0  3       0x200  scheduler     swapper
ddb>

With a ps/2 keyboard
[...]
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb3 at uhci0: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci1: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd1a (2bfe395ca21d2cab.a) swap on wd1b dump on wd1b
panic: rw_enter: vmmaplk locking against myself
Stopped at      Debugger+0x4:   popl    %ebp
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
Debugger(d08d50d8,db30ba44,d08b2598,db30ba44,d155fe00) at Debugger+0x4
panic(d08b2598,d08cbe1c,0,db30ba7c,d02346a4) at panic+0x5d
rw_enter(d5d280b8,1,0,9,ffffffc8) at rw_enter+0x211
rw_enter_read(d5d280b8,d155d000,0,0,6982) at rw_enter_read+0x21
uvmfault_lookup(db30bbe4,0,50,db30bb1c,db30bafc) at uvmfault_lookup+0x98
uvm_fault(d5d280b4,10000,0,3,1fd52763) at uvm_fault+0x59
trap() at trap+0x321
--- trap (number -794518016) ---
Bad frame pointer: 0xd0a49de0
0x2:
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
*23997      1  23997      0  7           0                sh
    14      0      0      0  3    0x100200  aiodoned      aiodoned
    13      0      0      0  3    0x100200  syncer        update
    12      0      0      0  3    0x100200  cleaner       cleaner
    11      0      0      0  3    0x100200  reaper        reaper
    10      0      0      0  3    0x100200  pgdaemon      pagedaemon
     9      0      0      0  3    0x100200  bored         crypto
     8      0      0      0  2    0x100600                pfpurge
     7      0      0      0  3    0x100200  usbtsk        usbtask
     6      0      0      0  3    0x100200  usbatsk       usbatsk
     5      0      0      0  3    0x100200  apmev         apm0
     4      0      0      0  3    0x100200  bored         syswq
     3      0      0      0  3  0x40100200                idle0
     2      0      0      0  3    0x100200  kmalloc       kmthread
     1      0      1      0  3        0x80  wait          init
     0     -1      0      0  3       0x200  scheduler     swapper
ddb>



The dmesg of the old kernel:

>> OpenBSD/i386 BOOT 3.17
boot> set image bsd.20111013
boot>
booting hd0a:bsd.20111013: 8201500+1088968 [61+368208+353792]=0x98c910
entry point at 0x200120

[ using 722476 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.0-current (GENERIC) #0: Thu Jan 12 16:30:09 CET 2012
    [hidden email]:/system/source/system_tmp/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) III CPU family 1400MHz ("GenuineIntel" 686-class) 1.41 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
real mem  = 536317952 (511MB)
avail mem = 517484544 (493MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/20/02, BIOS32 rev. 0 @ 0xf0c30, SMBIOS rev. 2.3 @ 0xf2b40 (44 entries)
bios0: vendor Award Software, Inc. version "ASUS TUSL2-C ACPI BIOS Revision 1014 Beta 001" date 09/20/2002
bios0: ASUSTeK Computer INC. TUSL2-C
apm0 at bios0: Power Management spec V1.2
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x1472
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf13a0/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xd000 0xd0000/0x1800 0xd4000/0x2800
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82815 Host" rev 0x02
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf8000000, size 0x2400000
ppb0 at pci0 dev 1 function 0 "Intel 82815 AGP" rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon 9800 Pro" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: irq 11
drm0 at radeondrm0
"ATI Radeon 9800 Pro Sec" rev 0x00 at pci1 dev 0 function 1 not configured
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x05
pci2 at ppb1 bus 2
fxp0 at pci2 dev 10 function 0 "Intel 8255x" rev 0x0c, i82550: irq 9, address 00:02:b3:87:50:ef
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
pciide0 at pci2 dev 13 function 0 "Promise PDC20269" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using irq 9 for native-PCI interrupt
wd0 at pciide0 channel 1 drive 0: <SAMSUNG HD501LJ>
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6
ohci0 at pci2 dev 14 function 0 "NEC USB" rev 0x43: irq 5, version 1.0
ohci1 at pci2 dev 14 function 1 "NEC USB" rev 0x43: irq 9, version 1.0
ehci0 at pci2 dev 14 function 2 "NEC USB" rev 0x04: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
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
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x05: 24-bit timer at 3579545Hz
pciide1 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x05: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd1 at pciide1 channel 0 drive 0: <ST320014A>
wd1: 16-sector PIO, LBA, 19092MB, 39102336 sectors
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide1 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <_NEC, DVD_RW ND-4551A, 1-09> ATAPI 5/cdrom removable
cd0(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x05: irq 9
ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x05: irq 10
iic0 at ichiic0
lm1 at iic0 addr 0x2d: AS99127F
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x05: irq 9
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb3 at uhci0: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci1: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd1a (2bfe395ca21d2cab.a) swap on wd1b dump on wd1b
Automatic boot in progress: starting file system checks.
/dev/rwd1a: file system is clean; not checking
/dev/rwd1f: file system is clean; not checking
/dev/rwd1e: file system is clean; not checking
/dev/rwd1d: file system is clean; not checking
setting tty flags
kbd: unsupported encoding de.swapctrlcaps on /dev/wskbd0
keyboard.encoding -> de
pf enabled
kern.nosuidcoredump: 1 -> 2
machdep.allowaperture: 0 -> 2
machdep.kbdreset: 0 -> 1
machdep.userldt: 0 -> 1
kern.emul.linux: 0 -> 1
kern.shminfo.shmall: 8192 -> 32768
kern.seminfo.semmni: 10 -> 256
kern.seminfo.semmns: 60 -> 2048
kern.usermount: 0 -> 1
kern.bufcachepercent: 20 -> 10
starting network
starting early daemons: syslogd pflogd.
starting RPC daemons:.
savecore: no core dump
checking quotas: done.
clearing /tmp
starting pre-securelevel daemons:.
setting kernel security level: kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd sendmail(failed) inetd sndiod.
fw_update: No devices found which need firmware files to be downloaded.
starting local daemons: cron.
Sun Jan 15 14:10:41 CET 2012