From owner-freebsd-bugs Sun Nov 3 5:50: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E765537B401 for ; Sun, 3 Nov 2002 05:50:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F1D943E77 for ; Sun, 3 Nov 2002 05:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gA3Do1x3049561 for ; Sun, 3 Nov 2002 05:50:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gA3Do1Nq049560; Sun, 3 Nov 2002 05:50:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DB4C37B401 for ; Sun, 3 Nov 2002 05:46:55 -0800 (PST) Received: from chowder.dons.net.au (ppp287.sa.padsl.internode.on.net [150.101.244.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DC9F43E4A for ; Sun, 3 Nov 2002 05:46:49 -0800 (PST) (envelope-from darius@chowder.dons.net.au) Received: from chowder.dons.net.au (localhost [127.0.0.1]) by chowder.dons.net.au (8.12.6/8.12.5) with ESMTP id gA3Dkfv5000694 for ; Mon, 4 Nov 2002 00:16:41 +1030 (CST) (envelope-from darius@chowder.dons.net.au) Received: (from darius@localhost) by chowder.dons.net.au (8.12.6/8.12.5/Submit) id gA3DkfSe000693; Mon, 4 Nov 2002 00:16:41 +1030 (CST) Message-Id: <200211031346.gA3DkfSe000693@chowder.dons.net.au> Date: Mon, 4 Nov 2002 00:16:41 +1030 (CST) From: "Daniel O'Connor" Reply-To: "Daniel O'Connor" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/44853: Panic on resume Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44853 >Category: kern >Synopsis: Panic on resume >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 03 05:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Daniel O'Connor >Release: FreeBSD 4.7-PRERELEASE i386 >Organization: >Environment: System: FreeBSD chowder.dons.net.au 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #17: Fri Oct 25 17:39:31 CST 2002 darius@chowder.gsoft.com.au:/usr/src/sys/compile/CHOWDER i386 >Description: Panic'd on resume. I suspended it to disk earlier in the evening and then turned it back on. It paniced and I got a prompt, I tried 'cont' but it died, and then wrote the core out to disk. Backtrace -> (kgdb) bt #0 dumpsys () at ../../kern/kern_shutdown.c:487 #1 0xc0155427 in boot (howto=260) at ../../kern/kern_shutdown.c:316 #2 0xc0155865 in panic (fmt=0xc0287f0c "%s") at ../../kern/kern_shutdown.c:595 #3 0xc023cd03 in trap_fatal (frame=0xd0dad910, eva=0) at ../../i386/i386/trap.c:974 #4 0xc023c6e6 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 7260224, tf_esi = -971263768, tf_ebp = -790963884, tf_isp = -790963908, tf_ebx = -1057701888, tf_edx = 6867075, tf_ecx = 13832718, tf_eax = 921469408, tf_trapno = 1, tf_err = 0, tf_eip = -1071644568, tf_cs = 8, tf_eflags = 66134, tf_esp = -971263772, tf_ss = -790963856}) at ../../i386/i386/trap.c:636 #5 0xc0200068 in bufqdisksort (bufq=0xc0f434a4, bp=0xc61bb0e4) at ../../ufs/ufs/ufs_disksubr.c:92 #6 0xc01328b0 in adstrategy () #7 0xc015efe9 in diskstrategy (bp=0xc61bb0e4) at ../../kern/subr_disk.c:251 #8 0xc018cab6 in spec_strategy (ap=0xd0dad9b4) at ../../miscfs/specfs/spec_vnops.c:479 #9 0xc0205419 in ufs_strategy (ap=0xd0dad9f8) at vnode_if.h:944 #10 0xc0205ae9 in ufs_vnoperate (ap=0xd0dad9f8) at ../../ufs/ufs/ufs_vnops.c:2422 #11 0xc017b3c6 in bwrite (bp=0xc61bb0e4) at vnode_if.h:944 #12 0xc0180d16 in vop_stdbwrite (ap=0xd0dada34) at ../../kern/vfs_default.c:331 #13 0xc0180b71 in vop_defaultop (ap=0xd0dada34) at ../../kern/vfs_default.c:150 ---Type to continue, or q to quit--- #14 0xc0205ae9 in ufs_vnoperate (ap=0xd0dada34) at ../../ufs/ufs/ufs_vnops.c:2422 #15 0xc017b75e in bawrite (bp=0xc61bb0e4) at vnode_if.h:1193 #16 0xc01ff9ca in ffs_fsync (ap=0xd0dadaa0) at ../../ufs/ffs/ffs_vnops.c:198 #17 0xc01fe3e3 in ffs_sync (mp=0xc0f50000, waitfor=2, cred=0xc0a3b000, p=0xc02cdb00) at vnode_if.h:558 #18 0xc0185e3b in sync (p=0xc02cdb00, uap=0x0) at ../../kern/vfs_syscalls.c:576 #19 0xc01551c2 in boot (howto=256) at ../../kern/kern_shutdown.c:235 #20 0xc0155865 in panic (fmt=0xc0287f0c "%s") at ../../kern/kern_shutdown.c:595 #21 0xc023cd03 in trap_fatal (frame=0xd0dadb94, eva=0) at ../../i386/i386/trap.c:974 #22 0xc023c6e6 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 7260224, tf_esi = -971321204, tf_ebp = -790963240, tf_isp = -790963264, tf_ebx = -1057701888, tf_edx = 6867075, tf_ecx = 13832718, tf_eax = 921469408, tf_trapno = 1, tf_err = 0, tf_eip = -1071644568, tf_cs = 8, tf_eflags = 66134, tf_esp = -971321208, tf_ss = -790963212}) at ../../i386/i386/trap.c:636 #23 0xc0200068 in bufqdisksort (bufq=0xc0f434a4, bp=0xc61ad088) at ../../ufs/ufs/ufs_disksubr.c:92 #24 0xc01328b0 in adstrategy () #25 0xc015efe9 in diskstrategy (bp=0xc61ad088) at ../../kern/subr_disk.c:251 #26 0xc018cab6 in spec_strategy (ap=0xd0dadc54) at ../../miscfs/specfs/spec_vnops.c:479 ---Type to continue, or q to quit--- #27 0xc018cde1 in spec_getpages (ap=0xd0dadcb8) at vnode_if.h:944 #28 0xc01ff7c1 in ffs_getpages (ap=0xd0dadcec) at vnode_if.h:1110 #29 0xc0214612 in vnode_pager_getpages (object=0xd0b2e720, m=0xd0dadd40, count=1, reqpage=0) at vnode_if.h:1110 #30 0xc014cd20 in exec_map_first_page (imgp=0xd0dade18) at ../../vm/vm_pager.h:130 #31 0xc014c5fc in execve (p=0xd0c3c780, uap=0xd0dadf80) at ../../kern/kern_exec.c:184 #32 0xc023cfb9 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134998644, tf_esi = 0, tf_ebp = -1077937248, tf_isp = -790962220, tf_ebx = 134998668, tf_edx = 134998668, tf_ecx = 134998575, tf_eax = 59, tf_trapno = 12, tf_err = 2, tf_eip = 134698740, tf_cs = 31, tf_eflags = 663, tf_esp = -1077937292, tf_ss = 47}) at ../../i386/i386/trap.c:1175 #33 0xc0230205 in Xint0x80_syscall () #34 0x804c14c in ?? () #35 0x804bd22 in ?? () #36 0x804ac2c in ?? () #37 0x804a9e3 in ?? () #38 0x805259b in ?? () #39 0x8048135 in ?? () Note that line 92 is '} else {' - line 91 is 'bq = bufq->insert_point', but bq is NULL so I presume it didn't call that (bufq->insert_point is valid tooLine 100 would appear to be the culprit.. Note that line 92 is '} else {' - line 91 is 'bq = bufq->insert_point', but bq is NULL so I presume it didn't call that (bufq->insert_point is valid tooLine 100 would appear to be the culprit.. 9). Line 100 would appear to be the culprit..9i. Line 100 would appear to be the culprit.. */ 100 if (bp->b_pblkno < bufq->last_pblkno) { 101 102 bq = bufq->switch_point; 103 /* (kgdb) print bp->b_pblkno Cannot access memory at address 0x6ec8d8. (kgdb) print bp $7 = (struct buf *) 0x6ec840 (kgdb) print *bp Cannot access memory at address 0x6ec840. (kgdb) print bufq $5 = (struct buf_queue_head *) 0xc61bb0e8 (kgdb) print bufq->last_pblkno $6 = -802772820 >How-To-Repeat: Not sure :) >Fix: Even less idea. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message