Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 1996 13:14:50 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        peter@spinner.DIALix.COM (Peter Wemm)
Cc:        current@FreeBSD.ORG
Subject:   Re: DEVFS broken by last devsw_add_generic()/bdevvp() changes
Message-ID:  <199607312014.NAA02705@phaeton.artisoft.com>
In-Reply-To: <199607281624.AAA01851@spinner.DIALix.COM> from "Peter Wemm" at Jul 29, 96 00:24:05 am

next in thread | previous in thread | raw e-mail | index | archive | help
> It seems the last set of changes to the devsw creation routines and the
> subsequent bdevvp() change has broken ffs_mount when trying to mount the
> root filesystem on at least scsi disks.
> 
> The "new" bdevvp() is returning 0, and ffs_mount is not checking it before
> passing it onto ffs_mountfs.
> 
> This might be because of the slice code not knowing whether or not it's
> using the compatabilty slices or not, or simply because nothing has accessed
> the slices in the first place to cause the slice code to create the
> initial nodes in devfs.

If an I/O is out of range on a wd, the wd strategy returns an error.
If an I/O is out of range on an sd or od, the strategy does not error
(there is a "goto done;" without an error being set).


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607312014.NAA02705>