From owner-freebsd-current@FreeBSD.ORG Mon May 26 10:04:24 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0426A37B404 for ; Mon, 26 May 2003 10:04:24 -0700 (PDT) Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0698443FAF for ; Mon, 26 May 2003 10:04:22 -0700 (PDT) (envelope-from l.ertl@univie.ac.at) Received: from localhost.localdomain (adslle.cc.univie.ac.at [131.130.102.11]) by mailbox.univie.ac.at (8.12.2/8.12.2) with ESMTP id h4QH3Swg153388 for ; Mon, 26 May 2003 19:04:13 +0200 Date: Mon, 26 May 2003 19:03:28 +0200 (CEST) From: Lukas Ertl To: current@freebsd.org Message-ID: <20030526185822.V676@leelou.in.tern> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-DCC-ZID-Univie-Metrics: mx1 4251; Body=0 Fuz1=0 Fuz2=0 Subject: vinum related panic in 5.1-BETA2 (long backtrace) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 17:04:24 -0000 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@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 ar= e welcome to change it and/or distribute copies of it under certain condition= s. 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=09=3D 0x14 fault code=09=09=3D supervisor write, page not present instruction pointer=09=3D 0x8:0xc0200959 stack pointer=09 =3D 0x10:0xcdc62a70 frame pointer=09 =3D 0x10:0xcdc62aa4 code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b =09=09=09=3D DPL 0, pres 1, def32 1, gran 1 processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0 current process=09=09=3D 42 (syncer) trap number=09=09=3D 12 panic: page fault syncing disks, buffers remaining... Fatal trap 12: page fault while in kernel mode fault virtual address=09=3D 0x14 fault code=09=09=3D supervisor write, page not present instruction pointer=09=3D 0x8:0xc0200959 stack pointer=09 =3D 0x10:0xcdc626bc frame pointer=09 =3D 0x10:0xcdc626f0 code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b =09=09=09=3D DPL 0, pres 1, def32 1, gran 1 processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0 current process=09=09=3D 42 (syncer) trap number=09=09=3D 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] [CT= RL-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 t= o 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/module= s/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/module= s/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/module= s/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/module= s/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=09=09dumping++; (kgdb) bt full #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:238 No locals. #1 0xc0238eef in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3= 70 No locals. #2 0xc0239234 in panic () at /usr/src/sys/kern/kern_shutdown.c:543 =09td =3D (struct thread *) 0xc25fa4c0 =09bootopt =3D 260 =09buf =3D "page fault", '\0' #3 0xc0388e20 in trap_fatal (frame=3D0xcdc6267c, eva=3D0) at /usr/src/sys/i386/i386/trap.c:834 =09code =3D 16 =09type =3D 12 =09ss =3D 16 =09esp =3D 0 =09softseg =3D {ssd_base =3D 0, ssd_limit =3D 1048575, ssd_type =3D 27, ssd_dpl =3D 0, ssd_p =3D 1, ssd_xx =3D 13, ssd_xx1 =3D 2, ssd_def32 =3D 1= , ssd_gran =3D 1} #4 0xc0388b33 in trap_pfault (frame=3D0xcdc6267c, usermode=3D0, eva=3D20) at /usr/src/sys/i386/i386/trap.c:748 =09va =3D 0 =09vm =3D (struct vmspace *) 0x0 =09map =3D (struct vm_map *) 0xc0436460 =09rv =3D 1 =09ftype =3D 1 '\001' =09td =3D (struct thread *) 0xc25fa4c0 =09p =3D (struct proc *) 0xc25f9b40 #5 0xc0388718 in trap (frame=3D {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D -1033603520, tf= _esi =3D -1008564188, tf_ebp =3D -842651920, tf_isp =3D -842651992, tf_ebx = =3D 0, tf_edx =3D 0, tf_ecx =3D 0, tf_eax =3D 350638592, tf_trapno =3D 12, = tf_err =3D 2, tf_eip =3D -1071642279, tf_cs =3D 8, tf_eflags =3D 66070, tf_= esp =3D -1008564188, tf_ss =3D 377376}) at /usr/src/sys/i386/i386/trap.c:433 =09td =3D (struct thread *) 0xc25fa4c0 =09p =3D (struct proc *) 0xc25f9b40 =09sticks =3D 257 ---Type to continue, or q to quit--- =09i =3D 0 =09ucode =3D 0 =09type =3D 12 =09code =3D 2 =09eva =3D 20 #6 0xc03799c8 in calltrap () at {standard input}:96 No locals. #7 0xc050d1a8 in launch_requests (rq=3D0xc3615400, reviveok=3D0) at /usr/src/sys/dev/vinum/vinumrequest.c:448 =09rqg =3D (struct rqgroup *) 0xc3e28824 =09rqno =3D 0 =09rqe =3D (struct rqelement *) 0xc2647640 =09drive =3D (struct drive *) 0x0 =09rcount =3D 1 #8 0xc050cd62 in vinumstart (bp=3D0xc77a6d00, reviveok=3D0) at /usr/src/sys/dev/vinum/vinumrequest.c:296 =09plexno =3D 0 =09vol =3D (struct volume *) 0xc27078c0 =09rq =3D (struct request *) 0xc3615400 =09status =3D REQUEST_OK #9 0xc050cab3 in vinumstrategy (biop=3D0xc77a6d00) at /usr/src/sys/dev/vinum/vinumrequest.c:159 =09bp =3D (struct buf *) 0xc77a6d00 =09volno =3D 0 =09vol =3D (struct volume *) 0x0 #10 0xc01fe282 in spec_xstrategy (vp=3D0xc273ec8c, bp=3D0xc77a6d00) at /usr/src/sys/fs/specfs/spec_vnops.c:513 =09mp =3D (struct mount *) 0x0 =09error =3D 0 =09dsw =3D (struct cdevsw *) 0x0 =09td =3D (struct thread *) 0xc77a6d00 #11 0xc01fe2fb in spec_specstrategy (ap=3D0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:550 No locals. #12 0xc01fd418 in spec_vnoperate (ap=3D0x0) ---Type to continue, or q to quit--- at /usr/src/sys/fs/specfs/spec_vnops.c:123 No locals. #13 0xc027cbe7 in bwrite (bp=3D0xc77a6d00) at vnode_if.h:1114 =09oldflags =3D 537002660 =09newbp =3D (struct buf *) 0xc273ec8c #14 0xc027e445 in vfs_bio_awrite (bp=3D0xc77a6d00) at /usr/src/sys/kern/vfs_bio.c:1711 =09i =3D -1033919296 =09j =3D 0 =09lblkno =3D 377376 =09vp =3D (struct vnode *) 0xc273ec8c =09ncl =3D 16384 =09nwritten =3D 16384 =09size =3D -1071094022 =09maxcl =3D -842651548 #15 0xc028616d in vop_stdfsync (ap=3D0xcdc628e8) at /usr/src/sys/kern/vfs_default.c:759 =09vp =3D (struct vnode *) 0xc273ec8c =09bp =3D (struct buf *) 0xc77a6d00 =09nbp =3D (struct buf *) 0x0 =09error =3D 0 =09maxretry =3D 100 #16 0xc01fdf00 in spec_fsync (ap=3D0xcdc628e8) at /usr/src/sys/fs/specfs/spec_vnops.c:418 No locals. #17 0xc01fd418 in spec_vnoperate (ap=3D0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:123 No locals. #18 0xc032eb21 in ffs_sync (mp=3D0xc2713400, waitfor=3D2, cred=3D0xc0eb5e80= , td=3D0xc0436260) at vnode_if.h:612 =09nvp =3D (struct vnode *) 0x0 =09vp =3D (struct vnode *) 0xcdc628e8 =09devvp =3D (struct vnode *) 0xc273ec8c =09ip =3D (struct inode *) 0x0 =09ump =3D (struct ufsmount *) 0xc2718900 ---Type to continue, or q to quit--- =09fs =3D (struct fs *) 0xc2725000 =09error =3D -1069325728 =09count =3D 0 =09wait =3D 0 =09lockreq =3D 18 =09allerror =3D 0 #19 0xc0293386 in sync (td=3D0xc0436260, uap=3D0x0) at /usr/src/sys/kern/vfs_syscalls.c:137 =09mp =3D (struct mount *) 0xc2713400 =09nmp =3D (struct mount *) 0x0 =09asyncflag =3D 0 #20 0xc0238a25 in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:2= 79 =09bp =3D (struct buf *) 0xc0ec7080 =09iter =3D 4 =09nbusy =3D 0 =09pbusy =3D 5 =09subiter =3D 0 #21 0xc0239234 in panic () at /usr/src/sys/kern/kern_shutdown.c:543 =09td =3D (struct thread *) 0xc25fa4c0 =09bootopt =3D 256 =09buf =3D "page fault", '\0' #22 0xc0388e20 in trap_fatal (frame=3D0xcdc62a30, eva=3D0) at /usr/src/sys/i386/i386/trap.c:834 =09code =3D 16 =09type =3D 12 =09ss =3D 16 =09esp =3D 0 =09softseg =3D {ssd_base =3D 0, ssd_limit =3D 1048575, ssd_type =3D 27, ssd_dpl =3D 0, ssd_p =3D 1, ssd_xx =3D 13, ssd_xx1 =3D 2, ssd_def32 =3D 1= , ssd_gran =3D 1} #23 0xc0388b33 in trap_pfault (frame=3D0xcdc62a30, usermode=3D0, eva=3D20) at /usr/src/sys/i386/i386/trap.c:748 =09va =3D 0 =09vm =3D (struct vmspace *) 0x0 =09map =3D (struct vm_map *) 0xc0436460 ---Type to continue, or q to quit--- =09rv =3D 1 =09ftype =3D 1 '\001' =09td =3D (struct thread *) 0xc25fa4c0 =09p =3D (struct proc *) 0xc25f9b40 #24 0xc0388718 in trap (frame=3D {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D -1033603520, tf= _esi =3D -1008562140, tf_ebp =3D -842650972, tf_isp =3D -842651044, tf_ebx = =3D 0, tf_edx =3D 4, tf_ecx =3D 0, tf_eax =3D -966585856, tf_trapno =3D 12,= tf_err =3D 2, tf_eip =3D -1071642279, tf_cs =3D 8, tf_eflags =3D 68246, tf= _esp =3D -1008562140, tf_ss =3D 128}) at /usr/src/sys/i386/i386/trap.c:433 =09td =3D (struct thread *) 0xc25fa4c0 =09p =3D (struct proc *) 0xc25f9b40 =09sticks =3D 0 =09i =3D 0 =09ucode =3D 0 =09type =3D 12 =09code =3D 2 =09eva =3D 20 #25 0xc03799c8 in calltrap () at {standard input}:96 No locals. #26 0xc050d1a8 in launch_requests (rq=3D0xc3615680, reviveok=3D0) at /usr/src/sys/dev/vinum/vinumrequest.c:448 =09rqg =3D (struct rqgroup *) 0xc3e29024 =09rqno =3D 0 =09rqe =3D (struct rqelement *) 0xc2647640 =09drive =3D (struct drive *) 0x0 =09rcount =3D 1 #27 0xc050cd62 in vinumstart (bp=3D0xc7782d38, reviveok=3D0) at /usr/src/sys/dev/vinum/vinumrequest.c:296 =09plexno =3D 0 =09vol =3D (struct volume *) 0xc2707d40 =09rq =3D (struct request *) 0xc3615680 =09status =3D REQUEST_OK #28 0xc050cab3 in vinumstrategy (biop=3D0xc7782d38) at /usr/src/sys/dev/vinum/vinumrequest.c:159 ---Type to continue, or q to quit--- =09bp =3D (struct buf *) 0xc7782d38 =09volno =3D 0 =09vol =3D (struct volume *) 0x0 #29 0xc01fe282 in spec_xstrategy (vp=3D0xc2751c8c, bp=3D0xc7782d38) at /usr/src/sys/fs/specfs/spec_vnops.c:513 =09mp =3D (struct mount *) 0x0 =09error =3D 0 =09dsw =3D (struct cdevsw *) 0x0 =09td =3D (struct thread *) 0xc7782d38 #30 0xc01fe2fb in spec_specstrategy (ap=3D0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:550 No locals. #31 0xc01fd418 in spec_vnoperate (ap=3D0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:123 No locals. #32 0xc027cbe7 in bwrite (bp=3D0xc7782d38) at vnode_if.h:1114 =09oldflags =3D 536870948 =09newbp =3D (struct buf *) 0xc7782d38 #33 0xc027d28c in bawrite (bp=3D0x0) at /usr/src/sys/kern/vfs_bio.c:1155 No locals. #34 0xc032f427 in ffs_sbupdate (mp=3D0xc2718b00, waitfor=3D3) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1519 =09fs =3D (struct fs *) 0xc2774800 =09bp =3D (struct buf *) 0xc7782d38 =09blks =3D 2 =09space =3D (void *) 0xc26f4000 =09i =3D 8 =09size =3D 4096 =09error =3D 0 =09allerror =3D 0 #35 0xc032ebdd in ffs_sync (mp=3D0xc26f6800, waitfor=3D3, cred=3D0xc0eb5e80= , td=3D0xc25fa4c0) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1208 =09nvp =3D (struct vnode *) 0x0 =09vp =3D (struct vnode *) 0x0 =09devvp =3D (struct vnode *) 0xc2751c8c ---Type to continue, or q to quit--- =09ip =3D (struct inode *) 0x0 =09ump =3D (struct ufsmount *) 0xc2718b00 =09fs =3D (struct fs *) 0xc2774800 =09error =3D 0 =09count =3D 0 =09wait =3D 0 =09lockreq =3D 18 =09allerror =3D 0 #36 0xc0292b8d in sync_fsync (ap=3D0xcdc62cdc) at /usr/src/sys/kern/vfs_subr.c:3526 =09syncvp =3D (struct vnode *) 0x0 =09mp =3D (struct mount *) 0xc26f6800 =09td =3D (struct thread *) 0xc25fa4c0 =09error =3D -842650404 =09asyncflag =3D 0 #37 0xc028ef3d in sched_sync () at vnode_if.h:612 =09slp =3D (struct synclist *) 0xcdc62cdc =09vp =3D (struct vnode *) 0x0 =09mp =3D (struct mount *) 0x0 =09starttime =3D 1053967546 =09td =3D (struct thread *) 0xc25fa4c0 #38 0xc022352f in fork_exit (callout=3D0xc028ed70 , arg=3D0x0, frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:768 =09td =3D (struct thread *) 0x0 =09p =3D (struct proc *) 0xc25f9b40 (kgdb) (kgdb) quit [root@leelou crash]# uname -a FreeBSD leelou 5.1-BETA FreeBSD 5.1-BETA #1: Thu May 22 16:03:50 CEST 2003 = le@leelou:/usr/obj/usr/src/sys/LEELOU i386 [root@leelou crash]# dmesg Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 =09The Regents of the University of California. All rights reserved. FreeBSD 5.1-BETA #1: Thu May 22 16:03:50 CEST 2003 le@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 =3D "AuthenticAMD" Id =3D 0x631 Stepping =3D 1 Features=3D0x183f9ff AMD Features=3D0xc0440000 real memory =3D 268369920 (255 MB) avail memory =3D 254087168 (242 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: 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: on acpi0 acpi_button0: on acpi0 pcib0: port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40f= f,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xd0000000-0xd3f= fffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd000-0xd00f at device 7.1 o= n pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd400-0xd41f irq 10 at device 7.2 = on pci0 usb0: 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: port 0xd800-0xd81f irq 10 at device 7.3 = on pci0 usb1: 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: port 0xdc00-0xdcff mem 0xdb000000-0xdb0000= ff irq 10 at device 8.0 on pci0 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mo= de rl0: Ethernet address: 00:30:4f:14:d1:cd miibus0: on rl0 rlphy0: 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: port 0xe400-0xe43f irq 11 at device 13.0 on pci0 ahc0: port 0xe800-0xe8ff mem 0xdb001000-= 0xdb001fff irq 11 at device 15.0 on pci0 aic7860: Ultra Single Channel A, SCSI Id=3D7, 3/253 SCBs fdc0: port 0x3f7,0x= 3f0-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: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 orm0: