From owner-freebsd-current Wed Oct 28 17:25:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA03206 for freebsd-current-outgoing; Wed, 28 Oct 1998 17:25:33 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from badlans.lanminds.com (badlans.lanminds.com [208.25.91.253]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA03177 for ; Wed, 28 Oct 1998 17:25:29 -0800 (PST) (envelope-from rrs@badlans.lanminds.com) Received: (from rrs@localhost) by badlans.lanminds.com (8.8.6/8.8.6) id RAA13997; Wed, 28 Oct 1998 17:26:51 -0800 (PST) Date: Wed, 28 Oct 1998 17:26:51 -0800 (PST) From: Robert Schulhof Message-Id: <199810290126.RAA13997@badlans.lanminds.com> To: mike@smith.net.au Cc: freebsd-current@FreeBSD.ORG Subject: Re: MFS_ROOT and picobsd Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Mike, You're right. The problem is in the check on the block device. I was stupid and just decided to modify bdevvp in kern/vfs_ops.c as follows: - if (dev == NODEV || major(dev) >= nblkdev || - bdevsw[major(dev)] == NULL) { *vpp = NULLVP; return (ENXIO); } + if (dev == NODEV ) { *vpp = NULLVP; return (ENXIO); } This solved my problem with MFS_ROOT mount panics, but I don't know the kernel code well and this is just a bandaid. Thanks! Rob Robert Schulhof UNIX System Administrator LanMinds Internet. (LMI Net) rrs@lmi.net http://www.lmi.net (510) 843-6389 VOX (510) 843-6390 FAX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message