Subject: Re: Weird problem probing 5gb wd0 drive...
To: Ted Lemon <mellon@hoffman.vix.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-arm32
Date: 02/03/1999 11:23:35
On Feb 3, Ted Lemon wrote
> 
> I'm seeing this when I boot:
> 
> wd0 at wdc0 channel 0 drive 0: <ÈIÔAÃHÉ_ÄK²2·A­5°                      >
> wd0: drive supports 16-sector pio transfers, lba addressing
> wd0: -1043786MB, 43148 cyl, 32783 head, 32831 sec, 512 bytes/sect x -2137674548 sectors
> 
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> 
> Has anybody else seen anything like this?  Any clues to offer before I
> dive into the device driver?   I've included the complete boot log
> below.
> 

I've never seen this, but let's do a bit of binary arithmetic:
-2137674548 = 0x8095accc
43148 = 0xa88c
32783 = 0x800f
32831 = 0x803f

Data transfers on the IDE bus are 16bit wide. Lets put the higter bit to 0.
this gives:
0x00952ccc = 9776332
0x288c = 10380
0xf = 15
0x3f = 63

Which would make a drive of
10380 cyl, 15 head, 63 sec, 512 bytes/sect x 9776332 sectors
These are more sensible values.
My guess this that the higter bit of your IDE bus is always '1'. This also
explain the mangled ident string.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--