All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with Promise IDE controller under 2.4.1
@ 2001-01-31 16:02 Ole Aamot
  2001-01-31 16:35 ` Andre Hedrick
  0 siblings, 1 reply; 20+ messages in thread
From: Ole Aamot @ 2001-01-31 16:02 UTC (permalink / raw)
  To: Andre Hedrick, mlord; +Cc: linux-kernel

We experience trouble with the Promise (PDC20265) IDE controller
and seven 75GB IBM disks on a single CPU (Pentium-III) server.

Linux 2.4.1 fails to detect correct geometry for the four last
disks (identified as hde, hdf, hdg, hdh).

[root@nngds1 /root]# cat /proc/ide/hd[abcefgh]/geometry
physical     148945/16/63
logical      9345/255/63
physical     148945/16/63
logical      9345/255/63
physical     148945/16/63
logical      9345/255/63
physical     148945/16/63
logical      148945/16/63
physical     148945/16/63
logical      148945/16/63
physical     148945/16/63
logical      148945/16/63
physical     148945/16/63
logical      148945/16/63


Output from hdparm -i /dev/hd[abcefgh]:

/dev/hda:

 Model=IBM-DTLA-307075, FwRev=TXAOA50C, SerialNo=YSDYSFAL154
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=150136560
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5

/dev/hdb:

 Model=IBM-DTLA-307075, FwRev=TXAOA50C, SerialNo=YSDYSFAR909
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=150136560
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5

/dev/hdc:

 Model=IBM-DTLA-307075, FwRev=TXAOA50C, SerialNo=YSDYSFAS836
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=150136560
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5

/dev/hde:

 Model=IBM-DTLA-307075, FwRev=TXAOA50C, SerialNo=YSDYSFAL701
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=150136560
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5

/dev/hdf:

 Model=IBM-DTLA-307075, FwRev=TXAOA50C, SerialNo=YSDYSFAR606
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=150136560
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5

/dev/hdg:

 Model=IBM-DTLA-307075, FwRev=TXAOA50C, SerialNo=YSDYSFAL151
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=150136560
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5

/dev/hdh:

 Model=IBM-DTLA-307075, FwRev=TXAOA50C, SerialNo=YSDYSFAR624
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=150136560
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5


---

Two types of disks:
(geometry of the first is correctly detected, the second isn't)

[root@nngds1 /root]# hdparm /dev/hda

/dev/hda:
 multcount    =  0 (off)
 I/O support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 9345/255/63, sectors = 150136560, start = 0

[root@nngds1 /root]# hdparm /dev/hde

/dev/hde:
 multcount    =  0 (off)
 I/O support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 17873/16/63, sectors = 150136560, start = 0


The machine runs RedHat 7.0 with RHN upgrades if it means anything.

-- 
Ole Aamot                                      mailto:ole@linpro.no
LinPro AS                                      http://www.linpro.no
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: Problems with Promise IDE controller under 2.4.1
@ 2001-01-31 16:43 Andries.Brouwer
  2001-01-31 17:46 ` Andre Hedrick
  0 siblings, 1 reply; 20+ messages in thread
From: Andries.Brouwer @ 2001-01-31 16:43 UTC (permalink / raw)
  To: andre, mlord, ole; +Cc: linux-kernel

Ole Aamot writes:

	We experience trouble with the Promise (PDC20265) IDE controller
	and seven 75GB IBM disks on a single CPU (Pentium-III) server.

	Linux 2.4.1 fails to detect correct geometry for the four last
	disks (identified as hde, hdf, hdg, hdh).

But there is no indication of what the problems could be,
or what he thinks the geometry should be (and why).
I see nothing very wrong in the posted data.

Andries


[Don't forget: (i) geometry does not exist (ii) hdparm is just
some user program.]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: Problems with Promise IDE controller under 2.4.1
@ 2001-01-31 23:08 Andries.Brouwer
  0 siblings, 0 replies; 20+ messages in thread
From: Andries.Brouwer @ 2001-01-31 23:08 UTC (permalink / raw)
  To: andre, rupa-list+linux-kernel; +Cc: Andries.Brouwer, linux-kernel, mlord, ole

> In my case, I have two identical Maxtor drives, but they reported
> different geometry.  How could that be?

A FAQ.
Read "14.2 Nonproblem: Identical disks have different geometry?"
http://www.win.tue.nl/~aeb/linux/Large-Disk-14.html#ss14.2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: Problems with Promise IDE controller under 2.4.1
@ 2001-01-31 23:15 Andries.Brouwer
  0 siblings, 0 replies; 20+ messages in thread
From: Andries.Brouwer @ 2001-01-31 23:15 UTC (permalink / raw)
  To: mlord, rupa-list+linux-kernel; +Cc: Andries.Brouwer, andre, linux-kernel, ole

Mark Lord writes:

> Even better would be to add a stage in front of the fall-back,
> which queries the BIOS (from kernel startup code) for translation
> info on ALL drives.

It doesn't work.
I wrote the code and asked people to test it.
So many BIOS quirks.

(Numbering of drives depends on setup options, and on whether
there are SCSI disks mentioned in the BIOS setup,
there are off-by-one errors in several BIOSes,
several versions of Phoenix extensions are implemented etc.
It is really not worth trying to go this way. It fails.)

No, geometry does not exist, and also BIOS drivers have come
to the same conclusion.

Since nothing depends on it, there is no reason to want
any geometry in particular.

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2001-02-01 17:46 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-31 16:02 Problems with Promise IDE controller under 2.4.1 Ole Aamot
2001-01-31 16:35 ` Andre Hedrick
2001-01-31 16:57   ` Paul Flinders
2001-01-31 17:47     ` Andre Hedrick
2001-02-01 14:15       ` Matthias Andree
2001-02-01 15:03         ` Paul Flinders
2001-02-01 17:45         ` Andre Hedrick
  -- strict thread matches above, loose matches on Subject: below --
2001-01-31 16:43 Andries.Brouwer
2001-01-31 17:46 ` Andre Hedrick
2001-01-31 19:33   ` Rupa Schomaker
2001-01-31 20:03     ` Andre Hedrick
2001-02-01  6:05       ` Rupa Schomaker
2001-02-01  8:23         ` Andre Hedrick
2001-01-31 20:04     ` Mark Lord
2001-01-31 20:08       ` Andre Hedrick
2001-01-31 20:55         ` Dan Hollis
2001-01-31 21:10           ` Andre Hedrick
2001-02-01  9:44     ` Peter Samuelson
2001-01-31 23:08 Andries.Brouwer
2001-01-31 23:15 Andries.Brouwer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.