From owner-freebsd-current Sun Jul 1 6:58:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id A2B2737B403 for ; Sun, 1 Jul 2001 06:58:17 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id PAA16033; Sun, 1 Jul 2001 15:58:16 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: current@freebsd.org Subject: blockable sleep lock panic (and dumps still don't work) From: Dag-Erling Smorgrav Date: 01 Jul 2001 15:58:15 +0200 Message-ID: Lines: 87 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "microuptime() went backwards" warning caused a "blockable sleep lock" panic on a June 25 kernel: panic: blockable sleep lock (sx) allproc @ ../../kern/kern_proc.c:146 Debugger("panic") Stopped at Debugger+0x44: pushl %ebx db> trace Debugger(c02c7cfb) at Debugger+0x44 panic(c02cb140,c02c8500,c02c71a3,c02c7283,92) at panic+0x70 witness_lock(c038ad60,0,c02c7283,92) at witness_lock+0x22e _sx_slock(c038ad60,c02c7283,92,c2ad1604,c2ad1620) at _sx_slock+0x128 pfind(1ca,c2ad1600,c2ad1620,dc3aeda8,c01d94a7) at pfind+0x1c selwakeup(c2ad1604,c2ad1620,6d,dc3aeeb4,dc3aedb8) at selwakeup+0x35 ptcwakeup(c2ad1620,1,dc3aedc4,c01d68ac,c2ad1620) at ptcwakeup+0x23 ptsstart(c2ad1620,dc3aede0,c01d7fa5,c2ad1620,6d) at ptsstart+0x26 ttstart(c2ad1620,6d,c2ad1620,7,c2ad1620) at ttstart+0x18 tputchar(6d,c2ad1620) at tputchar+0x35 putchar(6d,dc3aeeb4) at putchar+0x4f kvprintf(c02c7701,c01c3624,dc3aeeb4,a,dc3aeecc) at kvprintf+0x8e printf(c02c7700,6949e,93dc1,6949e,d696a092) at printf+0x44 calcru(dc3abc80,dc3adb74,dc3adb7c,0) at calcru+0x12b getrusage(dc3abc80,dc3aef80,8332e78,84c4000,8505) at getrusage+0x112 syscall(2f,2f,2f,8505,84c4000) at syscall+0x8d5 syscall_with_err_pushed() at syscall_with_err_pushed+0x1b --- syscall (117, FreeBSD ELF, getrusage), eip = 0x8247269, esp = 0x8517720, ebp = 0x8517730 --- db> x/s 0xx02c7700 Bad character in number db> x/s 0xc02c7700 pgrpdump_cmd+0x358: microuptime() went backwards (%ld.%06ld -> %ld.%06ld)\012 db> panic panic: from debugger Uptime: 4d23h47m42s dumping to dev ad1b, offset 7340064 dump ata1: resetting devices .. ad1: invalidating queued requests panic: mutex sched lock recursed at ../../kern/kern_synch.c:826 Uptime: 4d23h47m42s kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc fault code = supervisor read, page not present instruction pointer = 0x8:0xc01c7933 stack pointer = 0x10:0xdc3ae904 frame pointer = 0x10:0xdc3ae910 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 68314 (cvsup) kernel: type 12 trap, code=0 Stopped at Debugger+0x44: pushl %ebx db> trace Debugger(c02c7cfb) at Debugger+0x44 panic(c02cb140,c02c8500,c02c71a3,c02c7283,92) at panic+0x70 witness_lock(c038ad60,0,c02c7283,92) at witness_lock+0x22e _sx_slock(c038ad60,c02c7283,92,c2ad1604,c2ad1620) at _sx_slock+0x128 pfind(1ca,c2ad1600,c2ad1620,dc3aeda8,c01d94a7) at pfind+0x1c selwakeup(c2ad1604,c2ad1620,6d,dc3aeeb4,dc3aedb8) at selwakeup+0x35 ptcwakeup(c2ad1620,1,dc3aedc4,c01d68ac,c2ad1620) at ptcwakeup+0x23 ptsstart(c2ad1620,dc3aede0,c01d7fa5,c2ad1620,6d) at ptsstart+0x26 ttstart(c2ad1620,6d,c2ad1620,7,c2ad1620) at ttstart+0x18 tputchar(6d,c2ad1620) at tputchar+0x35 putchar(6d,dc3aeeb4) at putchar+0x4f kvprintf(c02c7701,c01c3624,dc3aeeb4,a,dc3aeecc) at kvprintf+0x8e printf(c02c7700,6949e,93dc1,6949e,d696a092) at printf+0x44 calcru(dc3abc80,dc3adb74,dc3adb7c,0) at calcru+0x12b getrusage(dc3abc80,dc3aef80,8332e78,84c4000,8505) at getrusage+0x112 syscall(2f,2f,2f,8505,84c4000) at syscall+0x8d5 syscall_with_err_pushed() at syscall_with_err_pushed+0x1b --- syscall (117, FreeBSD ELF, getrusage), eip = 0x8247269, esp = 0x8517720, ebp = 0x8517730 --- db> reboot No such command db> call boot syncing disks... 34 34 panic: runq_add: proc 0xdc3abc80 (cvsup) not SRUN Uptime: 4d23h49m41s panic: lockmgr: locking against myself Uptime: 4d23h49m41s panic: lockmgr: locking against myself Uptime: 4d23h49m41s panic: lockmgr: locking against myself [ad nauseam] DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message