Subject: Re: vn drives incompatible with 1.4.x ?
To: Chuck McManis <cmcmanis@mcmanis.com>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-vax
Date: 04/03/2000 18:53:58
> evax# vnconfig /dev/vnd0c boot.fs
> vnconfig: /dev/vnd0c: VNDIOCSET: Invalid argument

Looking over the code for returns of EINVAL, I note that you didn't
specify a geometry.  This causes the vnd driver (sys/dev/vnd.c) to use
a standard fictitious geometry, and the code says

                        /*
                         * Size must be at least 2048 DEV_BSIZE blocks
                         * (1M) in order to use this geometry.
                         */
                        if (vnd->sc_size < (32 * 64)) {
                                vndunlock(vnd);
                                return (EINVAL);
                        }

Is boot.fs at least a megabyte?  The output from "file" implies the
filesystem is smaller than that ("number of blocks 2000"), so boot.fs
itself likely is too.

I know I ran into that problem once.

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B