vinum related panic in 5.1-BETA2 (long backtrace)

From: Lukas Ertl <l.ertl_at_univie.ac.at>
Date: Mon, 26 May 2003 19:03:28 +0200 (CEST)
Hi,

I got this panic while running a cvs checkout of a part of the FreeBSD
source tree. Debug kernel and coredump is available if you need more info.

Script started on Mon May 26 18:59:34 2003
[root_at_leelou crash]# gdb -k kernel.debug vmcore.0
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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-undermydesk-freebsd"...
panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x14
fault code		= supervisor write, page not present
instruction pointer	= 0x8:0xc0200959
stack pointer	        = 0x10:0xcdc62a70
frame pointer	        = 0x10:0xcdc62aa4
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		= 42 (syncer)
trap number		= 12
panic: page fault

syncing disks, buffers remaining...

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x14
fault code		= supervisor write, page not present
instruction pointer	= 0x8:0xc0200959
stack pointer	        = 0x10:0xcdc626bc
frame pointer	        = 0x10:0xcdc626f0
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		= 42 (syncer)
trap number		= 12
panic: page fault
Uptime: 10h17m59s
Dumping 255 MB
ata1: resetting devices ..
done
 16 32 48 64 80 96[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort]  112 128 144 160 176[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort]  192 208 224 240
---
Reading symbols from /usr/obj/usr/src/sys/LEELOU/modules/usr/src/sys/modules/vinum/vinum.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/LEELOU/modules/usr/src/sys/modules/vinum/vinum.ko.debug
Reading symbols from /usr/obj/usr/src/sys/LEELOU/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/LEELOU/modules/usr/src/sys/modules/acpi/acpi.ko.debug
Reading symbols from /usr/obj/usr/src/sys/LEELOU/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/LEELOU/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug
Reading symbols from /boot/kernel/daemon_saver.ko...done.
Loaded symbols for /boot/kernel/daemon_saver.ko
Reading symbols from /usr/obj/usr/src/sys/LEELOU/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/LEELOU/modules/usr/src/sys/modules/linux/linux.ko.debug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
238		dumping++;
(kgdb) bt full
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
No locals.
#1  0xc0238eef in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:370
No locals.
#2  0xc0239234 in panic () at /usr/src/sys/kern/kern_shutdown.c:543
	td = (struct thread *) 0xc25fa4c0
	bootopt = 260
	buf = "page fault", '\0' <repeats 245 times>
#3  0xc0388e20 in trap_fatal (frame=0xcdc6267c, eva=0)
    at /usr/src/sys/i386/i386/trap.c:834
	code = 16
	type = 12
	ss = 16
	esp = 0
	softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27,
  ssd_dpl = 0, ssd_p = 1, ssd_xx = 13, ssd_xx1 = 2, ssd_def32 = 1,
  ssd_gran = 1}
#4  0xc0388b33 in trap_pfault (frame=0xcdc6267c, usermode=0, eva=20)
    at /usr/src/sys/i386/i386/trap.c:748
	va = 0
	vm = (struct vmspace *) 0x0
	map = (struct vm_map *) 0xc0436460
	rv = 1
	ftype = 1 '\001'
	td = (struct thread *) 0xc25fa4c0
	p = (struct proc *) 0xc25f9b40
#5  0xc0388718 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1033603520, tf_esi = -1008564188, tf_ebp = -842651920, tf_isp = -842651992, tf_ebx = 0, tf_edx = 0, tf_ecx = 0, tf_eax = 350638592, tf_trapno = 12, tf_err = 2, tf_eip = -1071642279, tf_cs = 8, tf_eflags = 66070, tf_esp = -1008564188, tf_ss = 377376})
    at /usr/src/sys/i386/i386/trap.c:433
	td = (struct thread *) 0xc25fa4c0
	p = (struct proc *) 0xc25f9b40
	sticks = 257
---Type <return> to continue, or q <return> to quit---
	i = 0
	ucode = 0
	type = 12
	code = 2
	eva = 20
#6  0xc03799c8 in calltrap () at {standard input}:96
No locals.
#7  0xc050d1a8 in launch_requests (rq=0xc3615400, reviveok=0)
    at /usr/src/sys/dev/vinum/vinumrequest.c:448
	rqg = (struct rqgroup *) 0xc3e28824
	rqno = 0
	rqe = (struct rqelement *) 0xc2647640
	drive = (struct drive *) 0x0
	rcount = 1
#8  0xc050cd62 in vinumstart (bp=0xc77a6d00, reviveok=0)
    at /usr/src/sys/dev/vinum/vinumrequest.c:296
	plexno = 0
	vol = (struct volume *) 0xc27078c0
	rq = (struct request *) 0xc3615400
	status = REQUEST_OK
#9  0xc050cab3 in vinumstrategy (biop=0xc77a6d00)
    at /usr/src/sys/dev/vinum/vinumrequest.c:159
	bp = (struct buf *) 0xc77a6d00
	volno = 0
	vol = (struct volume *) 0x0
#10 0xc01fe282 in spec_xstrategy (vp=0xc273ec8c, bp=0xc77a6d00)
    at /usr/src/sys/fs/specfs/spec_vnops.c:513
	mp = (struct mount *) 0x0
	error = 0
	dsw = (struct cdevsw *) 0x0
	td = (struct thread *) 0xc77a6d00
#11 0xc01fe2fb in spec_specstrategy (ap=0x0)
    at /usr/src/sys/fs/specfs/spec_vnops.c:550
No locals.
#12 0xc01fd418 in spec_vnoperate (ap=0x0)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/sys/fs/specfs/spec_vnops.c:123
No locals.
#13 0xc027cbe7 in bwrite (bp=0xc77a6d00) at vnode_if.h:1114
	oldflags = 537002660
	newbp = (struct buf *) 0xc273ec8c
#14 0xc027e445 in vfs_bio_awrite (bp=0xc77a6d00)
    at /usr/src/sys/kern/vfs_bio.c:1711
	i = -1033919296
	j = 0
	lblkno = 377376
	vp = (struct vnode *) 0xc273ec8c
	ncl = 16384
	nwritten = 16384
	size = -1071094022
	maxcl = -842651548
#15 0xc028616d in vop_stdfsync (ap=0xcdc628e8)
    at /usr/src/sys/kern/vfs_default.c:759
	vp = (struct vnode *) 0xc273ec8c
	bp = (struct buf *) 0xc77a6d00
	nbp = (struct buf *) 0x0
	error = 0
	maxretry = 100
#16 0xc01fdf00 in spec_fsync (ap=0xcdc628e8)
    at /usr/src/sys/fs/specfs/spec_vnops.c:418
No locals.
#17 0xc01fd418 in spec_vnoperate (ap=0x0)
    at /usr/src/sys/fs/specfs/spec_vnops.c:123
No locals.
#18 0xc032eb21 in ffs_sync (mp=0xc2713400, waitfor=2, cred=0xc0eb5e80,
    td=0xc0436260) at vnode_if.h:612
	nvp = (struct vnode *) 0x0
	vp = (struct vnode *) 0xcdc628e8
	devvp = (struct vnode *) 0xc273ec8c
	ip = (struct inode *) 0x0
	ump = (struct ufsmount *) 0xc2718900
---Type <return> to continue, or q <return> to quit---
	fs = (struct fs *) 0xc2725000
	error = -1069325728
	count = 0
	wait = 0
	lockreq = 18
	allerror = 0
#19 0xc0293386 in sync (td=0xc0436260, uap=0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:137
	mp = (struct mount *) 0xc2713400
	nmp = (struct mount *) 0x0
	asyncflag = 0
#20 0xc0238a25 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:279
	bp = (struct buf *) 0xc0ec7080
	iter = 4
	nbusy = 0
	pbusy = 5
	subiter = 0
#21 0xc0239234 in panic () at /usr/src/sys/kern/kern_shutdown.c:543
	td = (struct thread *) 0xc25fa4c0
	bootopt = 256
	buf = "page fault", '\0' <repeats 245 times>
#22 0xc0388e20 in trap_fatal (frame=0xcdc62a30, eva=0)
    at /usr/src/sys/i386/i386/trap.c:834
	code = 16
	type = 12
	ss = 16
	esp = 0
	softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27,
  ssd_dpl = 0, ssd_p = 1, ssd_xx = 13, ssd_xx1 = 2, ssd_def32 = 1,
  ssd_gran = 1}
#23 0xc0388b33 in trap_pfault (frame=0xcdc62a30, usermode=0, eva=20)
    at /usr/src/sys/i386/i386/trap.c:748
	va = 0
	vm = (struct vmspace *) 0x0
	map = (struct vm_map *) 0xc0436460
---Type <return> to continue, or q <return> to quit---
	rv = 1
	ftype = 1 '\001'
	td = (struct thread *) 0xc25fa4c0
	p = (struct proc *) 0xc25f9b40
#24 0xc0388718 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1033603520, tf_esi = -1008562140, tf_ebp = -842650972, tf_isp = -842651044, tf_ebx = 0, tf_edx = 4, tf_ecx = 0, tf_eax = -966585856, tf_trapno = 12, tf_err = 2, tf_eip = -1071642279, tf_cs = 8, tf_eflags = 68246, tf_esp = -1008562140, tf_ss = 128})
    at /usr/src/sys/i386/i386/trap.c:433
	td = (struct thread *) 0xc25fa4c0
	p = (struct proc *) 0xc25f9b40
	sticks = 0
	i = 0
	ucode = 0
	type = 12
	code = 2
	eva = 20
#25 0xc03799c8 in calltrap () at {standard input}:96
No locals.
#26 0xc050d1a8 in launch_requests (rq=0xc3615680, reviveok=0)
    at /usr/src/sys/dev/vinum/vinumrequest.c:448
	rqg = (struct rqgroup *) 0xc3e29024
	rqno = 0
	rqe = (struct rqelement *) 0xc2647640
	drive = (struct drive *) 0x0
	rcount = 1
#27 0xc050cd62 in vinumstart (bp=0xc7782d38, reviveok=0)
    at /usr/src/sys/dev/vinum/vinumrequest.c:296
	plexno = 0
	vol = (struct volume *) 0xc2707d40
	rq = (struct request *) 0xc3615680
	status = REQUEST_OK
#28 0xc050cab3 in vinumstrategy (biop=0xc7782d38)
    at /usr/src/sys/dev/vinum/vinumrequest.c:159
---Type <return> to continue, or q <return> to quit---
	bp = (struct buf *) 0xc7782d38
	volno = 0
	vol = (struct volume *) 0x0
#29 0xc01fe282 in spec_xstrategy (vp=0xc2751c8c, bp=0xc7782d38)
    at /usr/src/sys/fs/specfs/spec_vnops.c:513
	mp = (struct mount *) 0x0
	error = 0
	dsw = (struct cdevsw *) 0x0
	td = (struct thread *) 0xc7782d38
#30 0xc01fe2fb in spec_specstrategy (ap=0x0)
    at /usr/src/sys/fs/specfs/spec_vnops.c:550
No locals.
#31 0xc01fd418 in spec_vnoperate (ap=0x0)
    at /usr/src/sys/fs/specfs/spec_vnops.c:123
No locals.
#32 0xc027cbe7 in bwrite (bp=0xc7782d38) at vnode_if.h:1114
	oldflags = 536870948
	newbp = (struct buf *) 0xc7782d38
#33 0xc027d28c in bawrite (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:1155
No locals.
#34 0xc032f427 in ffs_sbupdate (mp=0xc2718b00, waitfor=3)
    at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1519
	fs = (struct fs *) 0xc2774800
	bp = (struct buf *) 0xc7782d38
	blks = 2
	space = (void *) 0xc26f4000
	i = 8
	size = 4096
	error = 0
	allerror = 0
#35 0xc032ebdd in ffs_sync (mp=0xc26f6800, waitfor=3, cred=0xc0eb5e80,
    td=0xc25fa4c0) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1208
	nvp = (struct vnode *) 0x0
	vp = (struct vnode *) 0x0
	devvp = (struct vnode *) 0xc2751c8c
---Type <return> to continue, or q <return> to quit---
	ip = (struct inode *) 0x0
	ump = (struct ufsmount *) 0xc2718b00
	fs = (struct fs *) 0xc2774800
	error = 0
	count = 0
	wait = 0
	lockreq = 18
	allerror = 0
#36 0xc0292b8d in sync_fsync (ap=0xcdc62cdc)
    at /usr/src/sys/kern/vfs_subr.c:3526
	syncvp = (struct vnode *) 0x0
	mp = (struct mount *) 0xc26f6800
	td = (struct thread *) 0xc25fa4c0
	error = -842650404
	asyncflag = 0
#37 0xc028ef3d in sched_sync () at vnode_if.h:612
	slp = (struct synclist *) 0xcdc62cdc
	vp = (struct vnode *) 0x0
	mp = (struct mount *) 0x0
	starttime = 1053967546
	td = (struct thread *) 0xc25fa4c0
#38 0xc022352f in fork_exit (callout=0xc028ed70 <sched_sync>, arg=0x0,
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:768
	td = (struct thread *) 0x0
	p = (struct proc *) 0xc25f9b40
(kgdb)
(kgdb) quit
[root_at_leelou crash]# uname -a
FreeBSD leelou 5.1-BETA FreeBSD 5.1-BETA #1: Thu May 22 16:03:50 CEST 2003     le_at_leelou:/usr/obj/usr/src/sys/LEELOU  i386
[root_at_leelou crash]# dmesg
Copyright (c) 1992-2003 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 5.1-BETA #1: Thu May 22 16:03:50 CEST 2003
    le_at_leelou:/usr/obj/usr/src/sys/LEELOU
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0611000.
Preloaded elf module "/boot/kernel/vinum.ko" at 0xc06111f4.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06112a0.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 700030136 Hz
CPU: AMD Duron(tm) Processor (700.03-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x631  Stepping = 1
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  = 268369920 (255 MB)
avail memory = 254087168 (242 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VT8371 AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fddd0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xd0000000-0xd3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686A UDMA66 controller> port 0xd000-0xd00f 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 0xd400-0xd41f irq 10 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 0xd800-0xd81f irq 10 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
rl0: <RealTek 8139 10/100BaseTX> port 0xdc00-0xdcff mem 0xdb000000-0xdb0000ff irq 10 at device 8.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
rl0: Ethernet address: 00:30:4f:14:d1:cd
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vx0: <3COM 3C595 Etherlink III PCI> port 0xe000-0xe01f irq 9 at device 9.0 on pci0
utp/tx[*utp*] address 00:a0:24:9d:20:b7
pcm0: <AudioPCI ES1370> port 0xe400-0xe43f irq 11 at device 13.0 on pci0
ahc0: <Adaptec 2940A Ultra SCSI adapter> port 0xe800-0xe8ff mem 0xdb001000-0xdb001fff irq 11 at device 15.0 on pci0
aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
orm0: <Option ROMs> at iomem 0xc8000-0xc87ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad0: 76319MB <ST380021A> [155061/16/63] at ata0-master UDMA66
ad2: 76319MB <ST380021A> [155061/16/63] at ata1-master UDMA66
Waiting 5 seconds for SCSI devices to settle
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <PLEXTOR CD-R   PX-R412C 1.07> Removable CD-ROM SCSI-2 device
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/vinum/root
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /usr/local was not properly dismounted
WARNING: /usr/local/squid was not properly dismounted
WARNING: /var was not properly dismounted
WARNING: /stuff/mp3 was not properly dismounted
WARNING: /hugo was not properly dismounted
/hugo: mount pending error: blocks 8 files 2
/hugo: superblock summary recomputed
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled
cd1 at ahc0 bus 0 target 5 lun 0
cd1: <PLEXTOR CD-ROM PX-40TS 1.04> Removable CD-ROM SCSI-2 device
cd1: 20.000MB/s transfers (20.000MHz, offset 15)
cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed
Connection attempt to TCP 127.0.0.1:16001 from 127.0.0.1:49162 flags:0x02
[root_at_leelou crash]# exit

Script done on Mon May 26 19:00:17 2003

regards,
le

-- 
Lukas Ertl                             eMail: l.ertl_at_univie.ac.at
UNIX-Systemadministrator               Tel.:  (+43 1) 4277-14073
Zentraler Informatikdienst (ZID)       Fax.:  (+43 1) 4277-9140
der Universität Wien                   http://mailbox.univie.ac.at/~le/
Received on Mon May 26 2003 - 08:04:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC