From owner-freebsd-current@FreeBSD.ORG Sun Apr 11 11:39:35 2004 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 42DC116A4CE; Sun, 11 Apr 2004 11:39:35 -0700 (PDT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D30C43D45; Sun, 11 Apr 2004 11:39:34 -0700 (PDT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.11/8.12.10) with ESMTP id i3BIdSMG001148; Sun, 11 Apr 2004 22:39:28 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 11 Apr 2004 22:39:28 +0400 (MSD) From: Dmitry Morozovsky To: Scott Long In-Reply-To: <40798A50.6000105@freebsd.org> Message-ID: <20040411223354.B93412@woozle.rinet.ru> References: <20040410134802.J60704@woozle.rinet.ru> <20040410144803.BBB2340826@fw.farid-hajji.net> <20040410233958.S72270@woozle.rinet.ru> <40798A50.6000105@freebsd.org> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org cc: cpghost@cordula.ws Subject: Re: "sleeping without a mutex" panic with FixitCD from today's SNAP 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: Sun, 11 Apr 2004 18:39:35 -0000 On Sun, 11 Apr 2004, Scott Long wrote: [snip] SL> > SL> > > SL> > at line 144 in file /usr/src/sys/kern/kern_synch.c> SL> > SL> > SL> > SL> > The panic is 100% reproducible. SL> > SL> SL> > SL> Providing a backtrace from the debugger here is very important. Any SL> > SL> chance that you could do that? SL> > SL> > My chances are pretty low, as I have no -current systems runnning. I cat write SL> > ddb's traceback though if it's helpful (supposedly, I also can make serial SL> > console for that). SL> SL> DDB traceback is fine. Without some sort of traceback, it's impossible SL> to know what is triggering the message in msleep that you are seeing. Well, here it is (via serial console): RockRidge Extension panic: sleeping without a mutex at line 144 in file /usr/src/sys/kern/kern_synch.c cpuid = 0; Debugger("panic") Stopped at Debugger+0x46: xchgl %ebx,in_Debugger.0 db> tr Debugger(c07bf6c1) at Debugger+0x46 __panic(c07bfedf,90,c07bfeb7,653,c08aee6c) at __panic+0x13d msleep(c0875ae0,0,1a0,c07d3d27,0) at msleep+0xc2 random_read(c087b3dc,d7618c88,20000,c07fc6e0,74) at random_read+0x41 spec_read(d7618bec,d7618c38,c063b84d,d7618bec,d7618c88) at spec_read+0x12c spec_vnoperate(d7618bec) at spec_vnoperate+0x13 vn_read(c47d9330,d7618c88,c1d19600,0,c464b690) at vn_read+0x185 dofileread(c464b690,c47d9330,4,bfbfe4dc,74) at dofileread+0xb0 read(c464b690,d7618d14,3,1,296) at read+0x3b syscall(2f,2f,2f,855b000,3e) at syscall+0x217 Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (3, FreeBSD ELF32, read), eip = 0x82776ab, esp = 0xbfbfe49c, ebp = 0xbfbfe568 --- db> Combination to reproduce: - boot from fixit CD - select fixit, live CD - Enter to confirm mount Any other info we need? (again, it's -current snapshot from 20040410 made on 4.9p4) Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------