From owner-freebsd-current Tue Jan 15 17: 4:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from router.hackerheaven.org (qn-213-73-194-22.quicknet.nl [213.73.194.22]) by hub.freebsd.org (Postfix) with ESMTP id BB10037B400; Tue, 15 Jan 2002 17:04:41 -0800 (PST) Received: by router.hackerheaven.org (Postfix, from userid 1000) id 8D02C1C14; Wed, 16 Jan 2002 02:04:15 +0100 (CET) Date: Wed, 16 Jan 2002 02:04:15 +0100 From: Emiel Kollof To: John Baldwin Cc: freebsd-current@freebsd.org Subject: Re: Netatalk broken in current? Lock order reversal? Message-ID: <20020116010414.GA425@laptop.hackerheaven.org> References: <20020115235323.GA37379@laptop.hackerheaven.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i X-Mailer: Mutt 1.3.23i (2001-10-09) X-Editor: Vim http://www.vim.org/ X-Info: http://www.hackerheaven.org/ X-Info2: http://www.cmdline.org/ X-Info3: http://www.coolvibe.org/ 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 * John Baldwin (jhb@FreeBSD.org) wrote: > > > lock order reversal 1st 0xc185e934 filedesc structure @ > > /usr/src/sys/kern/kern_descrip.c:925 > > 2nd 0xc0419b00 Giant @ /usr/src/sys/kern/kern_descrip.c:959 > > This one is due to not releasing the filedesc lock when grabbing Giant to free > oldofile in fdalloc(). Is that going to cause data loss? I also saw messages like these: /var: lost blocks 62 files 8 > > The panics moan about a kernel trap and some mutex stuff involving > > Giant. It only happens when I start Samba. > > Having the actual panic messages would be very helpful here. It crashed very reproducable with this panic (hand copied): exclusive (sleep mutex) Giant (0xc0462c00) locked @ /usr/src/sys/i386/i386/trap.c:1102 panic: system call pwrite returning with mutex(s) held Debugger("panic") panic: kernel trap doesn't have ucred Cheers, Emiel -- So far as I can remember, there is not one word in the Gospels in praise of intelligence. -- Bertrand Russell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message