Subject: Re: System did not come up ... LC II/420M HD/10Meg RAM/no NIC/no FPU
To: Jeremy Snyder <snyder@en.com>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 09/29/1999 20:23:40
Jeremy Snyder wrote:
> Well I was able to get everything installed on the partitions and
> thought I was there when it came the first-boot trial.  And it didn't
> (boot).
> 
> Here is the info, hopefully a easy/already known fix:
> 
> Stated Problem:
> 	The system starts to boot, gets out of MacOS and starts the NetBSD side
> of things.  Continues for a while (messages scroll) and then stops and
> doesn't finish.  It seems to be at the point of swapping control over
> and fails.
> 
> Information Related and Useful (hopefully).....
> 
> Boot sequence leading up to and the problem: (using kern_sbc.tgz)
> .....
> sd0 at scsibus0 targ 4 lun 0: <QUANTUM, TRB420S, 0404> scsi2 0/direct
> fixed
> sd0 404MB, 3653 cyl, 2 head, 113 sec, 512 bytes/sec x 828323 sectors
> .....
> fpu0 at mainbus0 (emulator)
> boot device: sd0
> root on sd0a dumps on sd0b
> PRAM:  0x37f2684f, macos_boottime: 0x37f26837.
> root file system type: ext2fs
> bad directory entry: directory entry across blocks
> offset=0, inode=687861313, reclen=43016, name_len=1792
> panic: ext2fs_dirbad entry
> Stopped in swapper at _Debugger+0x6:  unlk    a6
> db>
> <<<< STUCK HERE >>>>
> 

what version of Mkfs did you use?  you need the latest version (it was
released only a couple of days ago).  re-running the new Mkfs and
reinstalling should solve this problem.  basically, you've installed linux
on this disk before, and our old Mkfs didn't clobber the ext2fs directory
entries in the partition, so the kernel thinks you have an ext2fs
filesystemm when you really have an ffs filesystem...

i hope this helps.

later.

colin