Subject: port-i386/353: new boot blocks don't tell why they fail
To: None <gnats-admin>
From: None <jtkohl@MIT.EDU>
List: netbsd-bugs
Date: 07/20/1994 21:35:06
>Number: 353
>Category: port-i386
>Synopsis: new boot blocks don't tell why they fail
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 20 21:35:03 1994
>Originator: John T Kohl
>Organization:
" MIT SIPB"
>Release: 1.0-ALPHA
>Environment:
System: NetBSD lola-granola 1.0-ALPHA NetBSD 1.0-ALPHA (LOLA) #35: Wed Jul 20 23:36:29 EDT 1994 jtkohl@lola-granola:/usr/src/sys/arch/i386/compile/LOLA i386
>Description:
The new bootblocks only deal with new root filesystems; they
don't deal with old root filesystems.
>How-To-Repeat:
Put new bootblocks on a file system with 4.2/4.3 format inodes.
You can't boot.
>Fix:
This will at least tell the user they're screwed.
*** 1.1 1994/07/21 04:05:45
--- sys/arch/i386/boot/sys.c 1994/07/21 04:18:45
***************
*** 84,89 ****
--- 84,93 ----
int block, off, loc, ino = ROOTINO;
struct dirent *dp;
+ if (fs->fs_inodefmt < FS_44INODEFMT) {
+ printf("can't handle inodefmt %d\n", fs->fs_inodefmt);
+ return 1;
+ }
loop:
iodest = iobuf;
cnt = fs->fs_bsize;
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------