From owner-freebsd-stable Mon Dec 3 15:24:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from kirk.sector14.net (66-61-170-163.mtc2.cox.rr.com [66.61.170.163]) by hub.freebsd.org (Postfix) with ESMTP id 2CB7F37B416 for ; Mon, 3 Dec 2001 15:24:18 -0800 (PST) Received: (from dgl@localhost) by kirk.sector14.net (8.11.6/8.11.6) id fB3NOG600798 for freebsd-stable@freebsd.org; Mon, 3 Dec 2001 18:24:16 -0500 (EST) (envelope-from dgl) Date: Mon, 3 Dec 2001 18:24:16 -0500 From: Doug Lee To: freebsd-stable@freebsd.org Subject: Idle panic in softdep code Message-ID: <20011203182416.A528@kirk.sector14.net> Mail-Followup-To: Doug Lee , freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5i Organization: Bartimaeus Group Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I accidentally typed "ex *" in my home directory, which contained 343 files and 76 directories. I realized my error as the first file name appeared, and I typed ctrl-c. I was connected via ssh from afar, and my session stalled. When I got home to the box, I found it had panicked. The following script was generated from the resulting kernel and vmcore files. They point to softupdate code. As `uname' indicates, this is a pretty new code base I'm running. Providing a data point in case anyone else has seen such a thing as this recently. Further info available if needed. uname -a: FreeBSD kirk.sector14.net 4.4-STABLE FreeBSD 4.4-STABLE #1: Fri Nov 23 11:4= 6:35 EST 2001 dgl@kirk.sector14.net:/usr/obj/usr/src/sys/CUSTOM i386 df (note I was in /usr when I typed `ex *'): Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 59519 47376 7382 87% / /dev/ad0s1f 297663 3 273847 0% /shares/oldtmp /dev/ad0s1g 8796971 7766142 327072 96% /usr /dev/ad0s1e 297663 162379 111471 59% /var procfs 4 4 0 100% /proc kernfs 1 1 0 100% /kern mfs:31 146831 3 135082 0% /tmp mfs:33 146831 59 135026 0% /var/run Script started on Mon Dec 3 18:13:43 2001 Kirk 4# gdb -k kernel.7 vmcore.7 GNU gdb 4.18 Copyright 1998 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 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-unknown-freebsd"... (no debugging symbols found)... IdlePTD 5443584 initial pcb at 452be0 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x81b4f3a0 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc0208603 stack pointer =3D 0x10:0xc03fc5a0 frame pointer =3D 0x10:0xc03fc5a8 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D Idle interrupt mask =3D=20 trap number =3D 12 panic: page fault syncing disks...=20 Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x30 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc02e2ad8 stack pointer =3D 0x10:0xc03fc3cc frame pointer =3D 0x10:0xc03fc3d4 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D Idle interrupt mask =3D bio=20 trap number =3D 12 panic: page fault Uptime: 10d4h37m18s dumping to dev #ad/0x20001, offset 155648 dump ata0: resetting devices .. ata0: mask=3D01 ostat0=3D50 ostat2=3D00 ata0-slave: ATAPI probe a=3D00 b=3D00 ata0-master: ATAPI probe a=3D00 b=3D00 ata0: mask=3D01 status0=3D50 status1=3D50 ata0-master: ATA probe a=3D01 b=3Da5 ata0: devices=3D01 ata0-master: success setting PIO4 on generic chip done 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 = 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 = 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1=20 --- #0 0xc01bd39e in dumpsys () (kgdb) bt #0 0xc01bd39e in dumpsys () #1 0xc01bd1b8 in boot () #2 0xc01bd5ad in panic () #3 0xc0376f10 in trap_fatal () #4 0xc0376bad in trap_pfault () #5 0xc037671f in trap () #6 0xc02e2ad8 in acquire_lock () #7 0xc02e71b2 in softdep_fsync_mountdev () #8 0xc02eb667 in ffs_fsync () #9 0xc02ea2b4 in ffs_sync () #10 0xc01eeb9f in sync () #11 0xc01bcf6a in boot () #12 0xc01bd5ad in panic () #13 0xc0376f10 in trap_fatal () #14 0xc0376bad in trap_pfault () #15 0xc037671f in trap () #16 0xc0208603 in rn_search_m () #17 0xc02088b5 in rn_match () #18 0xc02164e4 in in_matroute () #19 0xc0209cb3 in rtalloc1 () #20 0xc0213143 in arplookup () #21 0xc0212c76 in in_arpinput () #22 0xc0212aee in arpintr () (kgdb) q Kirk 4# ^=08exit Script done on Mon Dec 3 18:14:11 2001 --=20 Doug Lee dgl@visi.com http://www.visi.com/~dgl Bartimaeus Group doug@bartsite.com http://www.bartsite.com "Liberty comes in boxes: ballot, jury, and ammo." -Anonymous To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message