2000-11-13 23:58:50

by Mike A. Harris

[permalink] [raw]
Subject: UDMA66/100 errors...

Kernel == 2.2.17 + ReiserFS + IDE patches

I'm getting the following error when I try and enable UDMA on my
new IBM Deskstar UDMA100 drive:


/dev/hdb:

Model=IBM-DTLA-307030, FwRev=TX4OA50C, SerialNo=YKDYKGF1437
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=16
CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=60036480
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


1 root@asdf:/stuff# hdparm -c1m16k1d1X67 /dev/hdb

/dev/hdb:
setting 32-bit I/O support flag to 1
setting multcount to 16
setting using_dma to 1 (on)
setting keep_settings to 1 (on)
setting xfermode to 67 (UltraDMA mode3)
ide0: Speed warnings UDMA 3/4/5 is not functional.
HDIO_DRIVE_CMD(setxfermode) failed: Bad address
multcount = 16 (on)
I/O support = 1 (32-bit)
using_dma = 1 (on)
keepsettings = 1 (on)

1 root@asdf:/stuff# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3] (rev 04)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Apollo PRO] (rev 23)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10)
00:07.3 Host bridge: VIA Technologies, Inc.: Unknown device 3050 (rev 30)
00:11.0 Multimedia video controller: 3Dfx Interactive, Inc. Voodoo (rev 02)
00:12.0 VGA compatible controller: Cirrus Logic GD 5446
00:13.0 Ethernet controller: Winbond Electronics Corp W89C940


I'm using a standard 40pin cable measured at just less than 18 inches.
/dev/hda1 is a Quantum Fireball EL 7.6G. The setup works at UDMA66
aparently no problem, however if I try to enable UDMA mode 3/4/5 I get
the above error. Must I use the 80 conductor cable? Is it safe to use
the 80 pin cable and have both drives plugged into it? Here is the
stats on the Quantum:

/dev/hda:

Model=QUANTUM FIREBALL EL7.6A, FwRev=A08.1100, SerialNo=347816714615
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=15907/15/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=DualPortCache, BuffSize=418kB, MaxMultSect=16, MultSect=16
CurCHS=15907/15/63, CurSects=1597178085, LBA=yes, LBAsects=15032115
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 *udma2







----------------------------------------------------------------------
Mike A. Harris - Linux advocate - Open source advocate
This message is copyright 2000, all rights reserved.
Views expressed are my own, not necessarily shared by my employer.
----------------------------------------------------------------------

#[Mike A. Harris bash tip #1 - separate history files per virtual console]
# Put the following at the bottom of your ~/.bash_profile
[ ! -d ~/.bash_histdir ] && mkdir ~/.bash_histdir
tty |grep "^/dev/tty[0-9]" >& /dev/null && \
export HISTFILE=~/.bash_histdir/.$(tty | sed -e 's/.*\///')


2000-11-14 01:42:34

by Dave Jones

[permalink] [raw]
Subject: Re: UDMA66/100 errors...


Mike Harris wrote..

>I'm getting the following error when I try and enable UDMA on my
>new IBM Deskstar UDMA100 drive:
>...
> DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5

Ok, the drive supports UDMA5 (ATA100)

> setting xfermode to 67 (UltraDMA mode3)
>ide0: Speed warnings UDMA 3/4/5 is not functional.

Why can this be?

>00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10)

This chipset only does up to UDMA2.

regards,

Davej.

--
| Dave Jones <[email protected]> http://www.suse.de/~davej
| SuSE Labs

2000-11-14 01:43:25

by Dave Jones

[permalink] [raw]
Subject: Re: UDMA66/100 errors...

Mike Harris wrote...

> I'm getting the following error when I try and enable UDMA on my
> new IBM Deskstar UDMA100 drive:
> ...
> DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5

Ok, drive supports UDMA Mode 5 (ATA100)

> 00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10)

This chipset only supports up to UDMA2.

regards,

davej.

--
| Dave Jones <[email protected]> http://www.suse.de/~davej
| SuSE Labs

2000-11-14 07:11:32

by Mike A. Harris

[permalink] [raw]
Subject: Re: UDMA66/100 errors...

On Tue, 14 Nov 2000 [email protected] wrote:

>Date: Tue, 14 Nov 2000 01:08:51 +0000 (GMT)
>From: [email protected]
>To: Linux Kernel Mailing List <[email protected]>
>Cc: [email protected]
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>Subject: Re: UDMA66/100 errors...
>
>
>Mike Harris wrote..
>
>>I'm getting the following error when I try and enable UDMA on my
>>new IBM Deskstar UDMA100 drive:
>>...
>> DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5
>
>Ok, the drive supports UDMA5 (ATA100)

Yep..

>> setting xfermode to 67 (UltraDMA mode3)
>>ide0: Speed warnings UDMA 3/4/5 is not functional.
>
>Why can this be?

I have Quantum UDMA/33 on Master and IBM UDMA/66 on Slave? Just
an idea..

>>00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10)
>
>This chipset only does up to UDMA2.

This motherboard states that it does ATA/66. I suspect that it
is the Linux IDE driver biting me this time.. ;o(

Time to upgrade kernels..

----------------------------------------------------------------------
Mike A. Harris - Linux advocate - Open source advocate
This message is copyright 2000, all rights reserved.
Views expressed are my own, not necessarily shared by my employer.
----------------------------------------------------------------------

[Favorite quotes of Linus Torvalds - Sept 6, 2000]
I'm a bastard. I have absolutely no clue why people can ever think
otherwise. Yet they do. People think I'm a nice guy, and the fact is that
I'm a scheming, conniving bastard who doesn't care for any hurt feelings
or lost hours of work if it just results in what I consider to be a better
system. And I'm not just saying that. I'm really not a very nice person.
I can say "I don't care" with a straight face, and really mean it.
-- Linus Torvalds on linux-kernel mailing list

2000-11-14 16:04:28

by Dave Jones

[permalink] [raw]
Subject: Re: UDMA66/100 errors...

On Tue, 14 Nov 2000, Mike A. Harris wrote:

> >>00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10)
> >This chipset only does up to UDMA2.
> This motherboard states that it does ATA/66. I suspect that it
> is the Linux IDE driver biting me this time.. ;o(

What model motherboard is this ?

regards,

davej.

--
| Dave Jones <[email protected]> http://www.suse.de/~davej
| SuSE Labs

2000-11-14 17:44:27

by Arjan van de Ven

[permalink] [raw]
Subject: Re: UDMA66/100 errors...

In article <[email protected]> you wrote:

[message 1]
>
>I'm using a standard 40pin cable measured at just less than 18 inches.

[message 2]
> This motherboard states that it does ATA/66. I suspect that it
> is the Linux IDE driver biting me this time.. ;o(

> Time to upgrade kernels..

Noooooo!
Time to get the proper 80 ribbon cable that is required for ATA/66 and
ATA/100!!!!!

Greetings,
Arjan van de Ven

2000-11-14 17:50:30

by Mike A. Harris

[permalink] [raw]
Subject: Re: UDMA66/100 errors...

On Tue, 14 Nov 2000 [email protected] wrote:

>Date: Tue, 14 Nov 2000 11:07:14 +0000 (GMT)
>From: [email protected]
>To: Mike A. Harris <[email protected]>
>Cc: Linux Kernel mailing list <[email protected]>
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>Subject: Re: UDMA66/100 errors...
>
>On Tue, 14 Nov 2000, Mike A. Harris wrote:
>
>> >>00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10)
>> >This chipset only does up to UDMA2.
>> This motherboard states that it does ATA/66. I suspect that it
>> is the Linux IDE driver biting me this time.. ;o(
>
>What model motherboard is this ?

DFI K6BV3+/66



----------------------------------------------------------------------
Mike A. Harris - Linux advocate - Open source advocate
This message is copyright 2000, all rights reserved.
Views expressed are my own, not necessarily shared by my employer.
----------------------------------------------------------------------

"If it isn't source, it isn't software." -- NASA

2000-11-14 17:52:00

by Mike A. Harris

[permalink] [raw]
Subject: Re: UDMA66/100 errors...

On Tue, 14 Nov 2000, Arjan van de Ven wrote:

>Date: Tue, 14 Nov 2000 18:13:53 +0100 (CET)
>From: Arjan van de Ven <[email protected]>
>To: Mike A. Harris <[email protected]>
>Cc: [email protected]
>Subject: Re: UDMA66/100 errors...
>
>In article <[email protected]> you wrote:
>
>[message 1]
>>
>>I'm using a standard 40pin cable measured at just less than 18 inches.
>
>[message 2]
>> This motherboard states that it does ATA/66. I suspect that it
>> is the Linux IDE driver biting me this time.. ;o(
>
>> Time to upgrade kernels..
>
>Noooooo!
>Time to get the proper 80 ribbon cable that is required for ATA/66 and
>ATA/100!!!!!

It came with the 80 cable and I'm using it now with the exact
same results. My BIOS says UDMA/82 for the one drive and UDMA/66
for the other.

Same speed result though.


----------------------------------------------------------------------
Mike A. Harris - Linux advocate - Open source advocate
This message is copyright 2000, all rights reserved.
Views expressed are my own, not necessarily shared by my employer.
----------------------------------------------------------------------

[Favorite quotes of Linus Torvalds - Sept 6, 2000]
I'm a bastard. I have absolutely no clue why people can ever think
otherwise. Yet they do. People think I'm a nice guy, and the fact is that
I'm a scheming, conniving bastard who doesn't care for any hurt feelings
or lost hours of work if it just results in what I consider to be a better
system. And I'm not just saying that. I'm really not a very nice person.
I can say "I don't care" with a straight face, and really mean it.
-- Linus Torvalds on linux-kernel mailing list

2000-11-14 19:18:56

by Andre Hedrick

[permalink] [raw]
Subject: Re: UDMA66/100 errors...


Because he has not set the ignore valid bits and the 66 ribbon is not
detected.

Cheers,

On Tue, 14 Nov 2000 [email protected] wrote:

>
> Mike Harris wrote..
>
> >I'm getting the following error when I try and enable UDMA on my
> >new IBM Deskstar UDMA100 drive:
> >...
> > DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5
>
> Ok, the drive supports UDMA5 (ATA100)
>
> > setting xfermode to 67 (UltraDMA mode3)
> >ide0: Speed warnings UDMA 3/4/5 is not functional.
>
> Why can this be?
>
> >00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10)
>
> This chipset only does up to UDMA2.
>
> regards,
>
> Davej.
>
> --
> | Dave Jones <[email protected]> http://www.suse.de/~davej
> | SuSE Labs
>
> -
> 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/
>

Andre Hedrick
CTO Timpanogas Research Group
EVP Linux Development, TRG
Linux ATA Development

2000-11-14 21:18:28

by Mike A. Harris

[permalink] [raw]
Subject: Re: UDMA66/100 errors...

On Tue, 14 Nov 2000, Andre Hedrick wrote:

>Date: Tue, 14 Nov 2000 10:48:22 -0800 (PST)
>From: Andre Hedrick <[email protected]>
>To: [email protected]
>Cc: Linux Kernel Mailing List <[email protected]>,
> [email protected]
>Content-Type: text/plain; charset=us-ascii
>Subject: Re: UDMA66/100 errors...
>
>
>Because he has not set the ignore valid bits and the 66 ribbon is not
>detected.

Ok, how do I do that? I've got kernel 2.2.17 with the latest
2.2.17 IDE patch applied.

Without the 80 pin cable, my BIOS says "80 pin cable not
detected" or something like that. When I use the 80 cable, the
message goes away so I know my BIOS is at least noticing the
cable.


----------------------------------------------------------------------
Mike A. Harris - Linux advocate - Open source advocate
This message is copyright 2000, all rights reserved.
Views expressed are my own, not necessarily shared by my employer.
----------------------------------------------------------------------

Windows 95(n) - 32-bit extensions and graphical shell for a 16-bit patch
to an 8-bit operating system originally coded for a 4-bit microprocessor,
written by a 2-bit company that can't stand 1 bit of competition.