Subject: Re: -current
To: port-mac68k@netbsd.org, Guy Santiglia <fredfl2@soback.kornet21.net>
From: Frederick Bruckman <fb@enteract.com>
List: port-mac68k
Date: 02/02/1999 19:27:18
On Wed, 3 Feb 1999, Guy Santiglia wrote:

> I'm still having trouble with that new /var partition on the other disk.
> It is installed ok, I think.  I used the installer in the mac OS to edit
> the fstab, because I wasn't sure what I was doing in there.  Here's fstab
> 
> /dev/sd1a       /       ffs     rw 1 1
> /dev/sd1b       none    swap    sw 0 0
> /dev/sd0g       /var    ffs     rw 1 2
> kern            /kern   kernfs  rw 0 0
> proc            /proc   procfs  rw 0 0
> 
> The problem is, it won't auto boot into multi-user mode.  It will only 
> boot single user and then when I "exit" single user it starts up in
> multi-user just fine.  Any ideas why it isn't doing the auto boot?
> 
> When I try to boot multi-user, it hangs after checking file system
> /dev/sd1a which is my main root and user partition.

The rc script calls "fsck -p", whereas on a manual boot you would
typically just run "fsck" (manually). There used to be a bug in fsck
that caused "fsck -p" to hang on mac68k, but I thought that was fixed
by now.  fsck has been known to choke and die on a really damaged file
system, but I haven't seen that for a long time, either. Next time,
before exiting the single-user shell, could you try doing an `fsck -f',
or `fsck -f /var'? That will at least rule out the /var file system.