Subject: Re: Wierd Mkfs behavior.
To: Steve Quint" , "port-mac68k <port-mac68k@NetBSD.ORG>
From: Bob Nestor <rnestor@metronet.com>
List: port-mac68k
Date: 06/04/1997 20:15:23
>I have been running the 1.2.1 distribution for about a month and everything
>seemed to work fine.  So I decided to install it onto a Quantum 210 that I
>previously had A/UX on.
>
>I tried to use Mkfs after I repartitioned the disk, and kept running into:
>
>	modesense page 4(0)
>	get_DeviceInfo:
>
>and the machine just locks up at this point, and the HD light stays lite.
>
>When I boot from the old disk, it always says "modesense return garbage.
>Using fictitious geometry" or something to that effect.  I'm guessing the
>problem is that Mkfs found a real disklabel to use and is failing to read
>it for some reason.

I suspect you're giving Mkfs credit for being a lot more intelligent than 
it really is here.  Mkfs doesn't read disklabels even if they existed, it 
just reads the SCSI Disk Partition Map if it exists on the disk.  You 
don't say what version of Mkfs you're using, but from the message is 
looks like an old one.  There is a new version 1.43 that was posted to 
ftp.netbsd.org earlier this week that you might try.  Also it's possible 
the disk in question was formatted as an MFS volume rather than an HFS 
one.  You might check for that or re-format the disk with a patched 
version of the Apple HD Utility.

-bob