From nobody@FreeBSD.ORG Sun May 16 13:23:48 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 6BF4414C24; Sun, 16 May 1999 13:23:48 -0700 (PDT)
Message-Id: <19990516202348.6BF4414C24@hub.freebsd.org>
Date: Sun, 16 May 1999 13:23:48 -0700 (PDT)
From: dwhite@resnet.uoregon.edu
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: MFS panics on mount in checkalias()
X-Send-Pr-Version: www-1.0

>Number:         11737
>Category:       kern
>Synopsis:       MFS panics on mount in checkalias()
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 16 13:30:01 PDT 1999
>Closed-Date:    Wed Jun 23 16:19:18 PDT 1999
>Last-Modified:  Wed Jun 23 16:20:11 PDT 1999
>Originator:     Doug White
>Release:        4.0-CURRENT
>Organization:
Pacific Crest Networks
>Environment:
Current sup'd as of 12:30AM May 16 1999 PDT
>Description:
System panics with at Trap 12 when attempting to mount a MFS filesystem.  A DDB trace at the time of the panic is inside of checkalias().
>How-To-Repeat:
Run mount -t mfs /dev/da0s1b /tmp on any -current system.
>Fix:
Luoqi Chen suggested changing NUMCDEV in src/sys/kern/kern_conf.c to 255. v1.39 of kern_conf.c has NUMCDEV at 256. Tested here and works fine.

Apparently MFS uses CDEV 255 for it's own twisted purposes.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: msmith 
State-Changed-When: Wed Jun 23 16:19:18 PDT 1999 
State-Changed-Why:  
This was fixed in rev 1.198 of vfs_subr.c and 1.63 of mfs_vfsops.c 
>Unformatted:
