Subject: Re: port-i386/353: new boot blocks don't tell why they fail
To: Charles M. Hannum <mycroft@gnu.ai.mit.edu>
From: John Brezak <brezak@apollo.hp.com>
List: netbsd-bugs
Date: 07/26/1994 10:53:36
>
> Unsatisfied with my previous conclusion, I looked at this again, and came
> up with the following patch.
>
> ===================================================================
> RCS file: /b/source/CVS/src/sys/arch/i386/boot/sys.c,v
> retrieving revision 1.10
> diff -c -2 -r1.10 sys.c
> *** 1.10 1994/07/21 19:05:31
> --- sys.c 1994/07/21 20:24:41
> ***************
> *** 205,208 ****
> --- 205,217 ----
> devread();
>
> + /*
> + * Deal with old file system format. This is borrowed from
> + * ffs_oldfscompat() in ufs/ffs/ffs_vfsops.c.
> + */
> + if (fs->fs_inodefmt < FS_44INODEFMT) { /* XXX */
> + fs->fs_qbmask = ~fs->fs_bmask; /* XXX */
> + fs->fs_qfmask = ~fs->fs_fmask; /* XXX */
> + } /* XXX */
> +
> /***********************************************\
> * Find the actual FILE on the mounted device *
>
I gave this a try last night on a floppy to try and boot from my sd0a
partition that is not yet converted. It didn't boot the kernel; I got alot of
these errors:
Error:
C:806871
H:43
S:14
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John Brezak UUCP: uunet!apollo.hp!brezak
Hewlett Packard/Apollo Internet: brezak@ch.hp.com
300 Apollo Drive Phone: (508) 436-4915
Chelmsford, Massachusetts Fax: (508) 436-5122
------------------------------------------------------------------------------