Skip to contentSkip to conversation

Problems with Promise IDE controller under 2.4.1

DISCUSSION Ole Aamot 5 participants 7 messages Jan 31, 2001 – Feb 1, 2001

lore
Share & tools
lore

Ole Aamot

author
#0 lore raw

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.

Signature · 6 lines
Ole Aamot                                      mailto:[email protected]
LinPro AS                                      http://www.linpro.no
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw

There is not problem, the BIOS in the addon cards/promise do not translation for you like the mainboard does.
If you are worried pass the geometry by hand

hd{e,f,g,h}=9345,255,63

Cheers,

Quoted 132 lines · Ole Aamot

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)
Quoted 9 lines

geometry = 17873/16/63, sectors = 150136560, start = 0

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

Signature · 2 lines
Ole Aamot                                      mailto:[email protected]
LinPro AS                                      http://www.linpro.no

Andre Hedrick
Linux ATA Development

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw

Talking of the Promise are there any plans to support re-enabling of the 2nd channel for boards which have an on-board FastTrak?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
Quoted 2 lines · Paul Flinders

Talking of the Promise are there any plans to support re-enabling of the 2nd channel for boards which have an on-board FastTrak?

FastTrak == Ultra - Fake-RAID

Cheers,

Andre Hedrick
Linux ATA Development

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw
In reply to Paul Flinders
Quoted 6 lines · Andre Hedrick
Quoted 2 lines · Paul Flinders

Talking of the Promise are there any plans to support re-enabling of the 2nd channel for boards which have an on-board FastTrak?

FastTrak == Ultra - Fake-RAID

But Fake-RAID is CHEAP to get two additional UDMA-5 capable channels :-) Just jumper for normal ATA/100 mode.

Signature · 5 lines
Matthias Andree
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#6 lore raw
In reply to Paul Flinders
Quoted 11 lines · Matthias Andree
Quoted 6 lines · Andre Hedrick
Quoted 2 lines · Paul Flinders

Talking of the Promise are there any plans to support re-enabling of the 2nd channel for boards which have an on-board FastTrak?

FastTrak == Ultra - Fake-RAID

But Fake-RAID is CHEAP to get two additional UDMA-5 capable channels :-) Just jumper for normal ATA/100 mode.

The MSI 6321 motherboard *doesn't* *have* an option to run the chipset in "normal" ATA/100 mode, that's the problem.

Andre didn't really answer my question so, to re-phrase - can the 20265 on these boards be set up as a "normal" 2-port ATA/100 controller in software. The BIOS only enables one port - the second port's "enable bit" is showing that it is disabled. There is _no_ BIOS option to run it in non-RAID mode and no jumpers on the board to do so either.

If it can, then I'll happily write the code myself and maintain a local patch if needs be but I need to know what bits to poke out of what port and in what order. If it can't be done at least I'll _know_ that it can't be done.

I've already tried the MSI support mail address and been met with stunning silence.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#5 lore raw
In reply to Matthias Andree
Quoted 11 lines · Matthias Andree
Quoted 6 lines · Andre Hedrick
Quoted 2 lines · Paul Flinders

Talking of the Promise are there any plans to support re-enabling of the 2nd channel for boards which have an on-board FastTrak?

FastTrak == Ultra - Fake-RAID

But Fake-RAID is CHEAP to get two additional UDMA-5 capable channels :-) Just jumper for normal ATA/100 mode.

Please create a documnet not and send it to me ;-)

Andre Hedrick
Linux ATA Development

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/