Subject: Re: i386/1.6RC1 panic during newfs_msdos
To: NetBSD Users <netbsd-users@netbsd.org>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: netbsd-users
Date: 08/23/2002 18:21:14
On Thu, Aug 22, 2002 at 12:18:15PM +0300, Jukka Marin wrote:
> I was trying to
> 
> newfs_msdos -F 16 wd1e
> 
> and
> 
> fatal integer divide fault in supervisor mode
> trap type 8 code 0 eip c02cc76c cs 8 eflags 10246 cr2 e38d7301 cpl 0
> panic: trap

I can reproduce this with simply mount(8)ing the CF card.  On my laptop,
the card is reported as

Aug 23 17:09:26 lintu /netbsd: wd1 at wdc2 channel 0 drive 0: <CF 128MB>
Aug 23 17:09:26 lintu /netbsd: wd1: drive supports 1-sector PIO transfers,
LBA addressing
Aug 23 17:09:26 lintu /netbsd: wd1: 122 MB, 978 cyl, 8 head, 32 sec, 512
bytes/sect x 250368 sectors

but on my desktop system, something goes wrong:

wd1 at wdc2 channel 0 drive 0: <28MB>
wd1: drive supports 1-sector PIO transfers, chs addressing
wd1: 0, 978 cyl, 0 head, 53760 sec, 512 bytes/sect x 0 sectors

I guess it's the "0 sectors" part that kills the kernel.

Not funny.. :-I

  -jm