mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* RE: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33
@ 2002-08-26 10:00 barrie_spence
  2002-08-26 10:09 ` Tomas Szepe
  0 siblings, 1 reply; 10+ messages in thread
From: barrie_spence @ 2002-08-26 10:00 UTC (permalink / raw)
  To: andre, szepe; +Cc: mru, barrie_spence, linux-kernel, alan

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:andre@linux-ide.org]
Sent: 24 August 2002 21:23
To: Tomas Szepe
Cc: M?ns Rullg?rd; barrie_spence@agilent.com;
linux-kernel@vger.kernel.org; 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 majordomo@vger.kernel.org
> 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

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

* Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33
  2002-08-26 10:00 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33 barrie_spence
@ 2002-08-26 10:09 ` Tomas Szepe
  0 siblings, 0 replies; 10+ messages in thread
From: Tomas Szepe @ 2002-08-26 10:09 UTC (permalink / raw)
  To: barrie_spence; +Cc: andre, mru, linux-kernel, alan

> 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.

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

* Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33
  2002-08-26 10:33 barrie_spence
@ 2002-08-26 10:49 ` Tomas Szepe
  0 siblings, 0 replies; 10+ messages in thread
From: Tomas Szepe @ 2002-08-26 10:49 UTC (permalink / raw)
  To: barrie_spence; +Cc: andre, mru, linux-kernel, alan

> 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.

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

* RE: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33
@ 2002-08-26 10:33 barrie_spence
  2002-08-26 10:49 ` Tomas Szepe
  0 siblings, 1 reply; 10+ messages in thread
From: barrie_spence @ 2002-08-26 10:33 UTC (permalink / raw)
  To: szepe, barrie_spence; +Cc: andre, mru, linux-kernel, alan

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:szepe@pinerecords.com]
Sent: 26 August 2002 11:10
To: barrie_spence@agilent.com
Cc: andre@linux-ide.org; mru@users.sourceforge.net;
linux-kernel@vger.kernel.org; alan@lxorguk.ukuu.org.uk
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.

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

* Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33
  2002-08-24  9:48   ` Tomas Szepe
@ 2002-08-24 20:22     ` Andre Hedrick
  0 siblings, 0 replies; 10+ messages in thread
From: Andre Hedrick @ 2002-08-24 20:22 UTC (permalink / raw)
  To: Tomas Szepe; +Cc: M?ns Rullg?rd, barrie_spence, linux-kernel, Alan Cox


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 majordomo@vger.kernel.org
> 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


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

* Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33
  2002-08-24  9:14 ` Måns Rullgård
@ 2002-08-24  9:48   ` Tomas Szepe
  2002-08-24 20:22     ` Andre Hedrick
  0 siblings, 1 reply; 10+ messages in thread
From: Tomas Szepe @ 2002-08-24  9:48 UTC (permalink / raw)
  To: M?ns Rullg?rd; +Cc: barrie_spence, linux-kernel, Alan Cox

> > 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.

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

* Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33
  2002-08-23 13:20 barrie_spence
  2002-08-23 14:40 ` Tomas Szepe
@ 2002-08-24  9:14 ` Måns Rullgård
  2002-08-24  9:48   ` Tomas Szepe
  1 sibling, 1 reply; 10+ messages in thread
From: Måns Rullgård @ 2002-08-24  9:14 UTC (permalink / raw)
  To: barrie_spence; +Cc: linux-kernel

barrie_spence@agilent.com 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
mru@users.sf.net

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

* Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33
  2002-08-23 14:40 ` Tomas Szepe
@ 2002-08-23 15:24   ` Alan Cox
  0 siblings, 0 replies; 10+ messages in thread
From: Alan Cox @ 2002-08-23 15:24 UTC (permalink / raw)
  To: Tomas Szepe; +Cc: barrie_spence, linux-kernel

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


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

* Re: 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33
  2002-08-23 13:20 barrie_spence
@ 2002-08-23 14:40 ` Tomas Szepe
  2002-08-23 15:24   ` Alan Cox
  2002-08-24  9:14 ` Måns Rullgård
  1 sibling, 1 reply; 10+ messages in thread
From: Tomas Szepe @ 2002-08-23 14:40 UTC (permalink / raw)
  To: barrie_spence; +Cc: linux-kernel

> 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.

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

* 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33
@ 2002-08-23 13:20 barrie_spence
  2002-08-23 14:40 ` Tomas Szepe
  2002-08-24  9:14 ` Måns Rullgård
  0 siblings, 2 replies; 10+ messages in thread
From: barrie_spence @ 2002-08-23 13:20 UTC (permalink / raw)
  To: linux-kernel

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


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

end of thread, other threads:[~2002-08-26 10:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-26 10:00 2.4.19 - Promise TX2 Ultra133 (pdc20269) sticks at UDMA33 barrie_spence
2002-08-26 10:09 ` Tomas Szepe
  -- strict thread matches above, loose matches on Subject: below --
2002-08-26 10:33 barrie_spence
2002-08-26 10:49 ` Tomas Szepe
2002-08-23 13:20 barrie_spence
2002-08-23 14:40 ` Tomas Szepe
2002-08-23 15:24   ` Alan Cox
2002-08-24  9:14 ` Måns Rullgård
2002-08-24  9:48   ` Tomas Szepe
2002-08-24 20:22     ` Andre Hedrick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®