Subject: Re: NetBSD 1.2 panics after adding 2nd disk
To: Matthias Scheler <tron@lyssa.owl.de>
From: Frank van der Linden <frank@fwi.uva.nl>
List: port-i386
Date: 12/05/1996 14:11:34
Quoting Matthias Scheler,

> today I added a second IDE harddisk (Maxtor 7213A) to a NetBSD-i386 1.2
> system. I created a disklabel, called "newfs" and added "/dev/wd1d" to
> "/etc/fstab". Upto this point everything worked fine.

> But at the next reboot the kernel crashed with this message after 
> "fsck" accessed the root filesystem:

> Stopped at:      _readdisklabel+0xb5:   divl 0x38(%ecx),%eax

It would seem that the d_secpercyl field in your disklabel was set to 0,
which in its turn means that the number of heads and sectors weren't detected
right. What kind of info for wd1 was printed at startup?

- Frank