Re: panic: mdconfig on an iso file mounted on smbfs

From: Donn Miller <dmmiller_at_cvzoom.net>
Date: Wed, 11 Jun 2003 01:43:32 -0400
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
> _at__at_ -270,6 +270,8 _at__at_
>  			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.
Received on Tue Jun 10 2003 - 20:43:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:11 UTC