From owner-freebsd-current@FreeBSD.ORG Tue Jun 10 22:43:42 2003 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 979E537B401 for ; Tue, 10 Jun 2003 22:43:42 -0700 (PDT) Received: from mail-1.zoominternet.net (mail-1.zoominternet.net [63.67.120.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 13ECD43FE0 for ; Tue, 10 Jun 2003 22:43:39 -0700 (PDT) (envelope-from dmmiller@cvzoom.net) Received: (qmail 11961 invoked from network); 11 Jun 2003 05:43:35 -0000 Received: from acs-24-239-219-252.zoominternet.net (HELO cvzoom.net) ([24.239.219.252]) (envelope-sender ) by mail-1.zoominternet.net (qmail-ldap-1.03) with SMTP for ; 11 Jun 2003 05:43:35 -0000 Message-ID: <3EE6C184.2010708@cvzoom.net> Date: Wed, 11 Jun 2003 01:43:32 -0400 From: Donn Miller User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.2) Gecko/20030214 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim Robbins References: <3EE43394.6090802@cvzoom.net> <20030609203355.A51153@dilbert.robbins.dropbear.id.au> <3EE49AE2.6010701@cvzoom.net> <20030610210810.A90413@dilbert.robbins.dropbear.id.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@FreeBSD.ORG Subject: Re: panic: mdconfig on an iso file mounted on smbfs 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: Wed, 11 Jun 2003 05:43:42 -0000 Tim Robbins wrote: > On Mon, Jun 09, 2003 at 10:34:10AM -0400, Donn Miller wrote: > > >>Thanks, that worked. But I'm seeing the same thing as you. i.e., panic >>if I reboot without running mdconfig -d first. Here is the backtrace of >>the ensuing panic: >> >>http://users.zoominternet.net/~dmmiller/freebsd/panic-2 > > > Here's a patch that should fix the panic. Let me know whether it does, > and also whether it causes any new problems (I'm not very confident in > the patch's correctness). > > --- sys/fs/smbfs/smbfs_subr.c.orig Tue Jun 10 21:09:50 2003 > +++ sys/fs/smbfs/smbfs_subr.c Tue Jun 10 21:06:23 2003 > @@ -270,6 +270,8 @@ > return ENAMETOOLONG; > } > *npp++ = np; > + if ((np->n_flag & NREFPARENT) == 0) > + break; > np = VTOSMB(np->n_parent); > } > /* if (i == 0) Nope, I didn't have any problems once I applied this patch. Thanks.