Subject: Re: can't auto boot with /var on external partion
To: Guy Santiglia <fredfl2@soback.kornet21.net>
From: Paul Goyette <paul@whooppee.com>
List: port-mac68k
Date: 02/08/1999 04:07:41
It sounds like you're hitting the known "system hangs with multiple
disks" problem that has been plaguing the NetBSD/Mac68k kernel since
about last September or October. Several people are desparately trying
to find this bug, but so far have been unsuccessful.
In the interim, you can try building your own customized kernel. The
bug seems to be triggered by a combination of the actual system
configuration and the kernel configuration. Some systems crash or hang
with a GENERIC kernel, yet on other systems the GENERIC kernel works but
a customized (smaller) kernel crashes or hangs.
On Mon, 8 Feb 1999, Guy Santiglia wrote:
>
> This is my same old problem of the /var partion that won't
> let me auto boot into multi-user.
>
> This is how I bring the system up now.
>
> 1. boot single user
> 2. fsck / partition
> 3. exit single user
>
> Then it comes up in multi user mode.
>
> Then I unmount /var partition and fsck it.
> I do this because if I try to do anything ( fsck, mount ) with that
> partition
> in single user mode, the system hangs.
>
> If I try to boot single user automatically. The system hangs
> after it checks my root and user partion.
>
> The last message that I see when I try to auto boot is:
>
> /dev/rsd1a Marking file system clean.
>
>
> Some one recommended putting " set -x " at the top of my /etc/rc
> file. I tried that; It didn't seem to help.. The system hung
> at the same point.
>
> Here is some info below about my file system.
> disklabels and related error messages, /etc/fstab, etc.
>
> I hope some one can find some obvious problem that I am missing here.
>
>
> Thanks for any advice in advance.
>
> Guy
>
> This is the disklabel for my internal drive which has the /var
> partition on it:
>
> # /dev/rsd0c:
> type: SCSI
> disk: SCSI disk
> label: fictitious
> flags:
> bytes/sector: 512
> sectors/track: 96
> tracks/cylinder: 2
> sectors/cylinder: 192
> cylinders: 2740
> total sectors: 528808
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0 # milliseconds
> track-to-track seek: 0 # milliseconds
> drivedata: 0
>
> 7 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 32 144 unknown # (Cyl. 0*- 0*)
> b: 268630 260176 HFS # (Cyl. 1355*- 2754*)
> c: 528808 0 unused 0 0 # (Cyl. 0 - 2754*)
> d: 2 528806 unknown # (Cyl. 2754*- 2754*)
> g: 260000 176 4.2BSD 0 0 0 # (Cyl. 0*- 1355*)
> disklabel: boot block size 0
> disklabel: super block size 0
>
> This is the disklabe for my esternal drive which has the root/user partion
> and swap space on it.
>
>
> # /dev/rsd1c:
> type: SCSI
> disk: SCSI disk
> label: fictitious
> flags:
> bytes/sector: 512
> sectors/track: 177
> tracks/cylinder: 4
> sectors/cylinder: 708
> cylinders: 5909
> total sectors: 4194288
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0 # milliseconds
> track-to-track seek: 0 # milliseconds
> drivedata: 0
>
> 6 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 2048000 176 4.2BSD 0 0 0 # (Cyl. 0*- 2892*)
> b: 122880 2048176 swap # (Cyl. 2892*- 3066*)
> c: 4194288 0 unused 0 0 # (Cyl. 0 - 5924*)
> d: 32 144 unknown # (Cyl. 0*- 0*)
> e: 1111522 3082766 HFS # (Cyl. 4354*- 5924*)
> f: 911710 2171056 HFS # (Cyl. 3066*- 4354*)
> disklabel: boot block size 0
> disklabel: super block size 0
>
> This is the result of the df command when the system is up and running.
>
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> /dev/sd1a 991501 615600 276750 69% /
> kernfs 1 1 0 100% /kern
> procfs 4 4 0 100% /proc
> /dev/sd0g 124542 643 117671 1% /var
>
> /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
> ____________________________________________________________
> Guy Santiglia Quadra 610, NetBSD 1.3.2
> South Korea
> ____________________________________________________________
>
>
-----------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Network Engineer | BCD7 5301 9513 58A6 0DBC | paul@whooppee.com |
| and kernel hacker | 91EB ADB1 A280 3B79 9221 | paul.goyette@ascend.com |
-----------------------------------------------------------------------------