Re: PROBLEM: Illegal IDE probing

Eric Wieling (eric@fnords.org)
Fri, 29 Jan 1999 15:34:20 -0600


If I recall correctly I once found on the Samsung website that
there are firmware bugs in the WNR drives. I could be wrong
however.

--Eric

On Fri, Jan 29, 1999 at 10:20:32PM +0100, Willem van Mourik wrote:
> Hello Andries,
>
> dwguest@win.tue.nl wrote:
> ] From: Willem van Mourik <wvmourik@usa.net>
> ]
> ] I got some problems with a IDE controller since I have installed the
> ] 2.2.0pre4 kernel on a 2 your old Pentium 200 system.
> ]
> ] ...
> ]
> ] A second problem appeared when I looked very well what appeared on
> ] the screen, while booting the kernel. The 1,6Gb harddisk shows the
> ] illegal size 7680Mb instead of 1536Mb
> ]
> ] version 2.0.36:
> ]
> ] hda: SAMSUNG WNR-31601A (1600MB), 1536MB w/256kB Cache, CHS=780/64/63
> ]
> ] version 2.2.1 without any additional kernel parameters:
> ]
> ] hda: SAMSUNG WNR-31601A (1600MB), ATA DISK drive
> ] hda: SAMSUNG WNR-31601A (1600MB), 7680MB w/256kB Cache, CHS=3900/64/63
> ]
> ]Interesting. I can leave worrying about the detection to Andre.
> ]But I would like to understand this size change.
> ]Roughly speaking the size the kernel concludes to is found
> ]by asking the BIOS and asking the disk, and usually believing
> ]the disk.
> ]
> ]So, in your case, what does the disk say, i.e., what is the
> ]output of "hdparm -i /dev/hda" and "hdparm -I /dev/hda"
> ]on 2.0.36 and 2.2.1?
>
> Here the 'hdparm' outputs you have asked for:
>
> linux 2.0.36:
>
> hdparm -i /dev/hda
>
> /dev/hda:
>
> Model=SAMSUNG WNR-31601A (1600MB), FwRev=CZ102, SerialNo=
> Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
> RawCHS=3121/16/63, TrkSize=35217, SectSize=559, ECCbytes=4
> BuffType=3(DualPortCache), BuffSize=256kB, MaxMultSect=16, MultSect=off
> DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
> CurCHS=3121/16/63, CurSects=3145968, LBA=yes, LBAsects=3145968
> tDMA={min:120,rec:150}, DMA modes: *sword0 sword1 sword2 *mword0 mword1
> mword2
> IORDY=yes, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
>
> ---
> hdparm -I /dev/hda
>
> /dev/hda:
>
> Model=ASSMNU GNW-R1306A1( 6100BM ) , FwRev=ZC01 2 , SerialNo=
> Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
> RawCHS=3121/16/63, TrkSize=35217, SectSize=559, ECCbytes=4
> BuffType=3(DualPortCache), BuffSize=256kB, MaxMultSect=16, MultSect=?0?
> DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
> CurCHS=3121/16/63, CurSects=3145968, LBA=yes, LBAsects=15728688
> tDMA={min:120,rec:150}, DMA modes: *sword0 sword1 sword2 *mword0 mword1
> mword2
> IORDY=yes, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
>
> ===
> linux 2.2.1:
>
> hdparm -i /dev/hda
>
> /dev/hda:
>
> Model=SAMSUNG WNR-31601A (1600MB), FwRev=CZ102, SerialNo=
> Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
> RawCHS=15603/16/63, TrkSize=35217, SectSize=559, ECCbytes=4
> BuffType=3(DualPortCache), BuffSize=256kB, MaxMultSect=16, MultSect=off
> DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
> CurCHS=3900/64/63, CurSects=15728688, LBA=yes, LBAsects=15728688
> tDMA={min:120,rec:150}, DMA modes: *sword0 sword1 sword2 *mword0 mword1
> mword2
> IORDY=yes, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
>
> ---
> hdparm -I /dev/hda
>
> /dev/hda:
>
> Model=ASSMNU GNW-R1306A1( 6100BM ) , FwRev=ZC01 2 , SerialNo=
> Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
> RawCHS=3121/16/63, TrkSize=35217, SectSize=559, ECCbytes=4
> BuffType=3(DualPortCache), BuffSize=256kB, MaxMultSect=16, MultSect=?0?
> DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
> CurCHS=3121/16/63, CurSects=3145968, LBA=yes, LBAsects=15728688
> tDMA={min:120,rec:150}, DMA modes: *sword0 sword1 sword2 *mword0 mword1
> mword2
> IORDY=yes, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
>
> ===
>
> As you see, the two different kernel versions shows different 'hdparm'
> outputs.
>
> Bye,
>
> Willem
>
>
> ____________________________________________________________________
> Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/