public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: ATA 100
@ 2001-04-19  6:01 Nicholas Petreley
  0 siblings, 0 replies; 5+ messages in thread
From: Nicholas Petreley @ 2001-04-19  6:01 UTC (permalink / raw)
  To: ignaciomonge, linux-kernel

I have the same motherboard, and it works fine for me.  Note the 
80w cable detection.  Perhaps you've got a bad cable?

-Nick

----------VIA BusMastering IDE Configuration----------------
Driver Version:                     3.23
South Bridge:                       VIA vt82c686b
Revision:                           ISA 0x40 IDE 0x6
Highest DMA rate:                   UDMA100
BM-DMA base:                        0xd800
PCI clock:                          33MHz
Master Read  Cycle IRDY:            0ws
Master Write Cycle IRDY:            0ws
BM IDE Status Register Read Retry:  yes
Max DRDY Pulse Width:               No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush:          yes                 yes
End Sector FIFO flush:         no                  no
Prefetch Buffer:              yes                  no
Post Write Buffer:            yes                  no
Enabled:                      yes                 yes
Simplex only:                  no                  no
Cable Type:                   80w                 80w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:       UDMA      UDMA      UDMA       PIO
Address Setup:       30ns      30ns      30ns     120ns
Cmd Active:          90ns      90ns      90ns      90ns
Cmd Recovery:        30ns      30ns      30ns      30ns
Data Active:         90ns      90ns      90ns     330ns
Data Recovery:       30ns      30ns      30ns     270ns
Cycle Time:          20ns      20ns      60ns     600ns
Transfer Rate:  100.0MB/s 100.0MB/s  33.3MB/s   3.3MB/s


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

* Re: ATA 100
@ 2001-04-19  6:24 Nicholas Petreley
  0 siblings, 0 replies; 5+ messages in thread
From: Nicholas Petreley @ 2001-04-19  6:24 UTC (permalink / raw)
  To: ignaciomonge, linux-kernel

Duh, mea stupida.  I misread your message.  You're trying to get 
the Promise IDE working at 100, no?  My Asus A7V133 has the 686b 
which does ATA100 without having to rely on the Promise chipset, 
and that seems to work fine. But if it helps to know, I've got an 
A7V with the 686a and I use the PDC20265 for my ATA100 drive. It 
boots with a message that says it's doing UDMA(100):

hde: 80041248 sectors (40981 MB) w/2048KiB Cache, 
CHS=79406/16/63, UDMA(100)

But /proc/ide/pdc202xx says:

                    PDC20265 Chipset.
--------------- drive0 ---------
DMA Mode:       UDMA 4

Shouldn't that be UDMA 5?

-Nick


I have the same motherboard, and it works fine for me.  Note the
80w cable detection.  Perhaps you've got a bad cable?

-Nick

----------VIA BusMastering IDE Configuration----------------
Driver Version:                     3.23
South Bridge:                       VIA vt82c686b
Revision:                           ISA 0x40 IDE 0x6
Highest DMA rate:                   UDMA100
BM-DMA base:                        0xd800
PCI clock:                          33MHz
Master Read  Cycle IRDY:            0ws
Master Write Cycle IRDY:            0ws
BM IDE Status Register Read Retry:  yes
Max DRDY Pulse Width:               No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush:          yes                 yes
End Sector FIFO flush:         no                  no
Prefetch Buffer:              yes                  no
Post Write Buffer:            yes                  no
Enabled:                      yes                 yes
Simplex only:                  no                  no
Cable Type:                   80w                 80w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:       UDMA      UDMA      UDMA       PIO
Address Setup:       30ns      30ns      30ns     120ns
Cmd Active:          90ns      90ns      90ns      90ns
Cmd Recovery:        30ns      30ns      30ns      30ns
Data Active:         90ns      90ns      90ns     330ns
Data Recovery:       30ns      30ns      30ns     270ns
Cycle Time:          20ns      20ns      60ns     600ns
Transfer Rate:  100.0MB/s 100.0MB/s  33.3MB/s   3.3MB/s



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

* Re: ATA 100
@ 2001-04-19 14:46 David Balazic
  2001-04-19 16:15 ` Vojtech Pavlik
  0 siblings, 1 reply; 5+ messages in thread
From: David Balazic @ 2001-04-19 14:46 UTC (permalink / raw)
  To: vojtech, linux-kernel@vger.kernel.org

Vojtech Pavlik (vojtech@suse.cz) wrote :

> On Wed, Apr 18, 2001 at 10:21:53PM -0400, Manuel Ignacio Monge Garcia wrote: 
> 
> > El Mié 18 Abr 2001 15:16, escribiste: 
> > > I don't know about other possible problems with the kernel, but you must 
> > > use an 80 wire IDE cable for UDMA66/100 to work. 
> > > 
> > > > -----------------------Primary IDE-------Secondary IDE------ 
> > > > Cable Type: 40w 40w 
> > 
> > 
> > Strange thing. With previous version of kernel (2.4.1 I think), I 
> > haven't got this problem. May be a bios detection problem? 
> > 
> > Extract from /usr/src/linux/drivers/ide/via82cxxx..c: 
> > 
> > * 
> > * PIO 0-5, MWDMA 0-2, SWDMA 0-2 and UDMA 0-5 
> > * 
> > * (this includes UDMA33, 66 and 100) modes. UDMA66 and higher modes are 
> > * autoenabled only in case the BIOS has detected a 80 wire cable. To ignore 
> > * the BIOS data and assume the cable is present, use 'ide0=ata66' or 
> > * 'ide1=ata66' on the kernel command line. 
> > * 
> > 
> > I've tried with ide0=ata100, but this options doesn't work. 
> 
> Try ide0=ata66 instead. The option should have been named ide0=80wire, 
> but, well, "ata66" was chosen as the name, because that was it at the 
> time. 

Any chance of auto detecting this ?
I just hate when linux is relaying on the BIOS ...

BTW , why are there 666 CONFIG_.*IDE.*DMA.* switches ?

-- 
David Balazic
--------------
"Be excellent to each other." - Bill & Ted
- - - - - - - - - - - - - - - - - - - - - -

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

* Re: ATA 100
@ 2001-04-19 14:50 David Balazic
  0 siblings, 0 replies; 5+ messages in thread
From: David Balazic @ 2001-04-19 14:50 UTC (permalink / raw)
  To: ignaciomonge, linux-kernel@vger.kernel.org

Manuel Ignacio Monge Garcia (ignaciomonge@navegalia.com) wrote :

> Hi. I have a ASUS A7V133 Motherboard with AMD ThinderBird 1 Ghz, and 
> PDC20265/VIA. I've tried all the possible combinations on "IDE, ATA and ATAPI 
> Block devices". I've read the "Unofficial Asus A7V and Linux ATA100 
> "Quasi-Mini-Howto" on http://www.geocities.com/ender7007/. But I still can't 
> use de IDE UDMA100 controler. I see some messages with this options on 
> earlier version of the ac-kernel, so I guess what I need to do the right 
> thing. My current kernel is 2.4.3-ac9. 
> Some settings: 

According to your dmesg output , hde is working in UDMA/100.
Since hde is the only device on your ATA/100 ( the PDC20265 )
controller , I don't see any problem.

Are the transfer rates not good ?
Whet is the output of hdparm -ti /dev/hde ?


-- 
David Balazic
--------------
"Be excellent to each other." - Bill & Ted
- - - - - - - - - - - - - - - - - - - - - -

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

* Re: ATA 100
  2001-04-19 14:46 ATA 100 David Balazic
@ 2001-04-19 16:15 ` Vojtech Pavlik
  0 siblings, 0 replies; 5+ messages in thread
From: Vojtech Pavlik @ 2001-04-19 16:15 UTC (permalink / raw)
  To: David Balazic; +Cc: linux-kernel@vger.kernel.org

On Thu, Apr 19, 2001 at 04:46:03PM +0200, David Balazic wrote:

> Vojtech Pavlik (vojtech@suse.cz) wrote :
> 
> > On Wed, Apr 18, 2001 at 10:21:53PM -0400, Manuel Ignacio Monge Garcia wrote: 
> > 
> > > El Mié 18 Abr 2001 15:16, escribiste: 
> > > > I don't know about other possible problems with the kernel, but you must 
> > > > use an 80 wire IDE cable for UDMA66/100 to work. 
> > > > 
> > > > > -----------------------Primary IDE-------Secondary IDE------ 
> > > > > Cable Type: 40w 40w 
> > > 
> > > 
> > > Strange thing. With previous version of kernel (2.4.1 I think), I 
> > > haven't got this problem. May be a bios detection problem? 
> > > 
> > > Extract from /usr/src/linux/drivers/ide/via82cxxx..c: 
> > > 
> > > * 
> > > * PIO 0-5, MWDMA 0-2, SWDMA 0-2 and UDMA 0-5 
> > > * 
> > > * (this includes UDMA33, 66 and 100) modes. UDMA66 and higher modes are 
> > > * autoenabled only in case the BIOS has detected a 80 wire cable. To ignore 
> > > * the BIOS data and assume the cable is present, use 'ide0=ata66' or 
> > > * 'ide1=ata66' on the kernel command line. 
> > > * 
> > > 
> > > I've tried with ide0=ata100, but this options doesn't work. 
> > 
> > Try ide0=ata66 instead. The option should have been named ide0=80wire, 
> > but, well, "ata66" was chosen as the name, because that was it at the 
> > time. 
> 
> Any chance of auto detecting this ?

None. It's different on each (pre-686b) VIA motherboard.

> I just hate when linux is relaying on the BIOS ...

We don't have any other chance here. Actually we'll have to rely on the
BIOS for even more in the next release of the driver to make it work on
all boards out there.

> BTW , why are there 666 CONFIG_.*IDE.*DMA.* switches ?

Ask Andre. :)

-- 
Vojtech Pavlik
SuSE Labs

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

end of thread, other threads:[~2001-04-19 16:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-19 14:46 ATA 100 David Balazic
2001-04-19 16:15 ` Vojtech Pavlik
  -- strict thread matches above, loose matches on Subject: below --
2001-04-19 14:50 David Balazic
2001-04-19  6:24 Nicholas Petreley
2001-04-19  6:01 Nicholas Petreley

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