2002-08-23 13:16:03

by barrie_spence

[permalink] [raw]
Subject: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33

I'm running 2.4.19 with a Promise TX2 Ultra133, but even though the card BIOS reports
UDMA mode 5/6 on the drives, they are reported as UDMA33 by the kernel.

Trying hdparm -X69 after boot gives the message "Speed warnings UDMA 3/4/5 is not functional."

The IBM drive is only ATA100, but the Maxtor (just fitted) is definitely ATA133.

Any ideas?

Unfortunately, I'm running with XFS, so I'm a bit restricted in what kernel versions I can run.

Thanks,
Barrie

Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20269: IDE controller on PCI bus 00 dev 70
PDC20269: chipset revision 2
PDC20269: not 100% native mode: will probe irqs later
PDC20269: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER
Mode.
ide2: BM-DMA at 0x1000-0x1007, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0x1008-0x100f, BIOS settings: hdg:pio, hdh:pio
PIIX4: IDE controller on PCI bus 00 dev 91
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x10a0-0x10a7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x10a8-0x10af, BIOS settings: hdc:pio, hdd:pio
hda: IBM-DTTA-371440, ATA DISK drive
hde: IC35L080AVVA07-0, ATA DISK drive
hdg: MAXTOR 6L080J4, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide2 at 0x10c0-0x10c7,0x10b6 on irq 18
ide3 at 0x10b8-0x10bf,0x10b2 on irq 18
hda: 28229040 sectors (14453 MB) w/462KiB Cache, CHS=28005/16/63, UDMA(33)
hde: 160836480 sectors (82348 MB) w/1863KiB Cache, CHS=159560/16/63,
UDMA(33)
hdg: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=155114/16/63,
UDMA(33)
hda: hda1
hde: hde1
hdg: unknown partition table
:
:
ide3: Speed warnings UDMA 3/4/5 is not functional.
ide2: Speed warnings UDMA 3/4/5 is not functional.

# hdparm -i /dev/hde

/dev/hde:

Model=IC35L080AVVA07-0, FwRev=VA4OA50K, SerialNo=VNC400A4G8VSSA
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52
BuffType=DualPortCache, BuffSize=1863kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=160836480
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
AdvancedPM=yes: disabled (255)
Drive Supports : ATA/ATAPI-5 T13 1321D revision 1 : ATA-2 ATA-3 ATA-4 ATA-5

# hdparm -i /dev/hdg

/dev/hdg:

Model=MAXTOR 6L080J4, FwRev=A93.0500, SerialNo=664212156696
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=DualPortCache, BuffSize=1819kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=156355584
IORDY=on/off, tPIO={min:120,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 udma6
AdvancedPM=no
Drive Supports : ATA/ATAPI-5 T13 1321D revision 1 : ATA-1 ATA-2 ATA-3 ATA-4
ATA-5


2002-08-23 14:36:16

by Tomas Szepe

[permalink] [raw]
Subject: Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33

> Trying hdparm -X69 after boot gives the message "Speed warnings UDMA 3/4/5 is not functional."

Known issue.
Boot/load the ide core mod with ideX=ata66, repeat for all your promise hosts.

2002-08-23 15:18:33

by Alan

[permalink] [raw]
Subject: Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33

On Fri, 2002-08-23 at 15:40, Tomas Szepe wrote:
> > Trying hdparm -X69 after boot gives the message "Speed warnings UDMA 3/4/5 is not functional."
>
> Known issue.
> Boot/load the ide core mod with ideX=ata66, repeat for all your promise hosts.
Providing you have 80pin cables

2002-08-24 09:09:57

by MånsRullgård

[permalink] [raw]
Subject: Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33

[email protected] writes:

> I'm running 2.4.19 with a Promise TX2 Ultra133, but even though the
> card BIOS reports UDMA mode 5/6 on the drives, they are reported as
> UDMA33 by the kernel.
>
> Trying hdparm -X69 after boot gives the message "Speed warnings UDMA
> 3/4/5 is not functional."

I was waiting for this. As I have pointed out several times before,
there needs to be added a line

hwif->udma_four = 1;

at the appropriate place in pdc202xx.c. I don't know where it should
be, so I can't write a patch.

--
M?ns Rullg?rd
[email protected]

2002-08-24 09:48:21

by Tomas Szepe

[permalink] [raw]
Subject: Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33

> > I'm running 2.4.19 with a Promise TX2 Ultra133, but even though the
> > card BIOS reports UDMA mode 5/6 on the drives, they are reported as
> > UDMA33 by the kernel.
> >
> > Trying hdparm -X69 after boot gives the message "Speed warnings UDMA
> > 3/4/5 is not functional."
>
> I was waiting for this. As I have pointed out several times before,
> there needs to be added a line
>
> hwif->udma_four = 1;
>
> at the appropriate place in pdc202xx.c. I don't know where it should
> be, so I can't write a patch.

Andre Hedrick pretty much ignored both of my posts on the issue.

Anyway, how does ide_init_pdc202xx() look to you (line 1141 in 2.4.20-pre4)?
There's this "switch (hwif->pci_dev->device)" which would seem to me to be the
proper place.

T.

2002-08-24 20:24:53

by Andre Hedrick

[permalink] [raw]
Subject: Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33


Not ignore just overloaded with trying to keep up w/ Alan.

On Sat, 24 Aug 2002, Tomas Szepe wrote:

> > > I'm running 2.4.19 with a Promise TX2 Ultra133, but even though the
> > > card BIOS reports UDMA mode 5/6 on the drives, they are reported as
> > > UDMA33 by the kernel.
> > >
> > > Trying hdparm -X69 after boot gives the message "Speed warnings UDMA
> > > 3/4/5 is not functional."
> >
> > I was waiting for this. As I have pointed out several times before,
> > there needs to be added a line
> >
> > hwif->udma_four = 1;
> >
> > at the appropriate place in pdc202xx.c. I don't know where it should
> > be, so I can't write a patch.
>
> Andre Hedrick pretty much ignored both of my posts on the issue.
>
> Anyway, how does ide_init_pdc202xx() look to you (line 1141 in 2.4.20-pre4)?
> There's this "switch (hwif->pci_dev->device)" which would seem to me to be the
> proper place.
>
> T.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

Andre Hedrick
LAD Storage Consulting Group

2002-08-26 09:56:18

by barrie_spence

[permalink] [raw]
Subject: RE: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33

I've already tried "ideX=ata66" with no effect and they are definitely 80 pin cables (I thought the driver would complain if they weren't).

Barrie

-----Original Message-----
From: Andre Hedrick [mailto:[email protected]]
Sent: 24 August 2002 21:23
To: Tomas Szepe
Cc: M?ns Rullg?rd; [email protected];
[email protected]; Alan Cox
Subject: Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33



Not ignore just overloaded with trying to keep up w/ Alan.

On Sat, 24 Aug 2002, Tomas Szepe wrote:

> > > I'm running 2.4.19 with a Promise TX2 Ultra133, but even though the
> > > card BIOS reports UDMA mode 5/6 on the drives, they are reported as
> > > UDMA33 by the kernel.
> > >
> > > Trying hdparm -X69 after boot gives the message "Speed warnings UDMA
> > > 3/4/5 is not functional."
> >
> > I was waiting for this. As I have pointed out several times before,
> > there needs to be added a line
> >
> > hwif->udma_four = 1;
> >
> > at the appropriate place in pdc202xx.c. I don't know where it should
> > be, so I can't write a patch.
>
> Andre Hedrick pretty much ignored both of my posts on the issue.
>
> Anyway, how does ide_init_pdc202xx() look to you (line 1141 in 2.4.20-pre4)?
> There's this "switch (hwif->pci_dev->device)" which would seem to me to be the
> proper place.
>
> T.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

Andre Hedrick
LAD Storage Consulting Group

2002-08-26 10:05:57

by Tomas Szepe

[permalink] [raw]
Subject: Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33

> I've already tried "ideX=ata66" with no effect and they are definitely 80
> pin cables (I thought the driver would complain if they weren't).

I have the exact same problem and loading the IDE core mod like this:

modprobe ide-mod options="ide2=ata66 ide3=ata66"

solves it.

->
Aug 12 05:58:58 beth kernel: PDC20268: IDE controller on PCI bus 00 dev 30
Aug 12 05:58:58 beth kernel: PDC20268: chipset revision 2
Aug 12 05:58:58 beth kernel: PDC20268: not 100%% native mode: will probe irqs later
Aug 12 05:58:58 beth kernel: PDC20268: ATA-66/100 forced bit set (WARNING)!!
Aug 12 05:58:58 beth kernel: ide2: BM-DMA at 0xf8b0-0xf8b7, BIOS settings: hde:pio, hdf:pio
Aug 12 05:58:58 beth kernel: PDC20268: ATA-66/100 forced bit set (WARNING)!!
Aug 12 05:58:58 beth kernel: ide3: BM-DMA at 0xf8b8-0xf8bf, BIOS settings: hdg:pio, hdh:pio
Aug 12 05:58:58 beth kernel: hde: WDC WD205BA, ATA DISK drive
Aug 12 05:58:58 beth kernel: hdg: IBM-DJNA-351520, ATA DISK drive
Aug 12 05:58:58 beth kernel: ide2 at 0xf898-0xf89f,0xf8aa on irq 9
Aug 12 05:58:58 beth kernel: ide3 at 0xf8a0-0xf8a7,0xf8ae on irq 9
Aug 12 05:58:58 beth kernel: hde: host protected area => 1
Aug 12 05:58:58 beth kernel: hde: 40088160 sectors (20525 MB) w/2048KiB Cache, CHS=39770/16/63, UDMA(66)
Aug 12 05:58:58 beth kernel: hdg: host protected area => 1
Aug 12 05:58:58 beth kernel: hdg: 30033360 sectors (15377 MB) w/430KiB Cache, CHS=29795/16/63, UDMA(33)

Are you getting the ATA66 bit forced warnings?

T.

2002-08-26 10:28:58

by barrie_spence

[permalink] [raw]
Subject: RE: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33

I was trying an append with LILO - I didn't realise that IDE was built as a module (I normally run SCSI :)). I've added "options ide-mod ide2=ata66 ide3=ata66" to /etc/modules.conf, but that doesn't give me the forced messages and doesn't allow me to force it with hdparm.

Barrie

-----Original Message-----
From: Tomas Szepe [mailto:[email protected]]
Sent: 26 August 2002 11:10
To: [email protected]
Cc: [email protected]; [email protected];
[email protected]; [email protected]
Subject: Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33


> I've already tried "ideX=ata66" with no effect and they are definitely 80
> pin cables (I thought the driver would complain if they weren't).

I have the exact same problem and loading the IDE core mod like this:

modprobe ide-mod options="ide2=ata66 ide3=ata66"

solves it.

->
Aug 12 05:58:58 beth kernel: PDC20268: IDE controller on PCI bus 00 dev 30
Aug 12 05:58:58 beth kernel: PDC20268: chipset revision 2
Aug 12 05:58:58 beth kernel: PDC20268: not 100%% native mode: will probe irqs later
Aug 12 05:58:58 beth kernel: PDC20268: ATA-66/100 forced bit set (WARNING)!!
Aug 12 05:58:58 beth kernel: ide2: BM-DMA at 0xf8b0-0xf8b7, BIOS settings: hde:pio, hdf:pio
Aug 12 05:58:58 beth kernel: PDC20268: ATA-66/100 forced bit set (WARNING)!!
Aug 12 05:58:58 beth kernel: ide3: BM-DMA at 0xf8b8-0xf8bf, BIOS settings: hdg:pio, hdh:pio
Aug 12 05:58:58 beth kernel: hde: WDC WD205BA, ATA DISK drive
Aug 12 05:58:58 beth kernel: hdg: IBM-DJNA-351520, ATA DISK drive
Aug 12 05:58:58 beth kernel: ide2 at 0xf898-0xf89f,0xf8aa on irq 9
Aug 12 05:58:58 beth kernel: ide3 at 0xf8a0-0xf8a7,0xf8ae on irq 9
Aug 12 05:58:58 beth kernel: hde: host protected area => 1
Aug 12 05:58:58 beth kernel: hde: 40088160 sectors (20525 MB) w/2048KiB Cache, CHS=39770/16/63, UDMA(66)
Aug 12 05:58:58 beth kernel: hdg: host protected area => 1
Aug 12 05:58:58 beth kernel: hdg: 30033360 sectors (15377 MB) w/430KiB Cache, CHS=29795/16/63, UDMA(33)

Are you getting the ATA66 bit forced warnings?

T.

2002-08-26 10:45:47

by Tomas Szepe

[permalink] [raw]
Subject: Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33

> I was trying an append with LILO - I didn't realise that IDE was built as
> a module (I normally run SCSI :)). I've added "options ide-mod ide2=ata66
> ide3=ata66" to /etc/modules.conf, but that doesn't give me the forced
> messages and doesn't allow me to force it with hdparm.

I'm not sure about this but IIRC the entry in /etc/modules.conf has to be
options ide-mod options="ide2=ata66 ide3=ata66". So long as you don't get
the override warnings, nothing's changed.

If you're not booting off any IDE device you can try loading
the ide-mod by hand using the command that I've verified works.

T.