From owner-freebsd-current@FreeBSD.ORG Sun Apr 11 11:43:55 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 E92F516A4CE for ; Sun, 11 Apr 2004 11:43:55 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F68943D2D for ; Sun, 11 Apr 2004 11:43:55 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i3BIjbc8056643; Sun, 11 Apr 2004 12:45:38 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40799196.7080200@freebsd.org> Date: Sun, 11 Apr 2004 12:42:30 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dmitry Morozovsky References: <20040410134802.J60704@woozle.rinet.ru> <20040410144803.BBB2340826@fw.farid-hajji.net> <40780DB5.1080006@freebsd.org> <20040410233958.S72270@woozle.rinet.ru> <40798A50.6000105@freebsd.org> <20040411223354.B93412@woozle.rinet.ru> In-Reply-To: <20040411223354.B93412@woozle.rinet.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org 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:43:56 -0000 Dmitry Morozovsky wrote: > On Sun, 11 Apr 2004, Scott Long wrote: > > [snip] > > SL> > 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) Excellent, it's exactly the information that is needed. Thanks! Scott