* Fast IDE disks in Alpha systems
@ 2002-12-03 10:09 Måns Rullgård
2002-12-03 10:51 ` Alexander Fong
2002-12-03 21:09 ` Nick Ntarmos
0 siblings, 2 replies; 8+ messages in thread
From: Måns Rullgård @ 2002-12-03 10:09 UTC (permalink / raw)
I'm having some trouble with fast IDE disks in my Alpha machines.
They work fine, except they won't go above UDMA3/ATA33. If I set the
mode to UDMA4, I get a few CRC errors and the driver moves back to
UDMA3. This happens using a Promise pdc20268/ultra100 tx2 controller
with a Seagate and a Western Digital disk. I even tried a special
shielded cable, but it didn't help much. The same thing happens in a
Miata and a 164SX. Does anyone else have any experience with IDE in
Alphas? Is it simply too much noise in the system?
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Fast IDE disks in Alpha systems
2002-12-03 10:09 Fast IDE disks in Alpha systems Måns Rullgård
@ 2002-12-03 10:51 ` Alexander Fong
2002-12-03 15:45 ` Måns Rullgård
2002-12-03 21:09 ` Nick Ntarmos
1 sibling, 1 reply; 8+ messages in thread
From: Alexander Fong @ 2002-12-03 10:51 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1240 bytes --]
On 3 Dec 2002, [iso-8859-1] Måns Rullgård wrote:
> I'm having some trouble with fast IDE disks in my Alpha machines.
> They work fine, except they won't go above UDMA3/ATA33. If I set the
> mode to UDMA4, I get a few CRC errors and the driver moves back to
> UDMA3. This happens using a Promise pdc20268/ultra100 tx2 controller
> with a Seagate and a Western Digital disk. I even tried a special
> shielded cable, but it didn't help much. The same thing happens in a
> Miata and a 164SX. Does anyone else have any experience with IDE in
> Alphas? Is it simply too much noise in the system?
I presume this is under Linux. I was hearing that the driver for the
Promise cards aren't too great with 2.2.x...
http://lhd.datapower.com/db/dispproduct.php3?DISP?253
http://leuksman.com/linux/Ultra-DMA-5.html
The documents are a bit old, though...
--
**********************************************************************
Alexander Fong ap_fong (put @ here, .. = .) alcor..concordia..ca
----------------------------------------------------------------------
Letterman of Borg - "Ok, Top 10 reasons why resistance is futile:"
**********************************************************************
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Fast IDE disks in Alpha systems
2002-12-03 10:51 ` Alexander Fong
@ 2002-12-03 15:45 ` Måns Rullgård
0 siblings, 0 replies; 8+ messages in thread
From: Måns Rullgård @ 2002-12-03 15:45 UTC (permalink / raw)
Alexander Fong <ap_fong@takeoff.alcor.ffosihtekat.concordia.caboom> writes:
> > I'm having some trouble with fast IDE disks in my Alpha machines.
> > They work fine, except they won't go above UDMA3/ATA33. If I set the
> > mode to UDMA4, I get a few CRC errors and the driver moves back to
> > UDMA3. This happens using a Promise pdc20268/ultra100 tx2 controller
> > with a Seagate and a Western Digital disk. I even tried a special
> > shielded cable, but it didn't help much. The same thing happens in a
> > Miata and a 164SX. Does anyone else have any experience with IDE in
> > Alphas? Is it simply too much noise in the system?
>
> I presume this is under Linux. I was hearing that the driver for the
> Promise cards aren't too great with 2.2.x...
Yes, it's Linux. I'm using kernel 2.4.19, so the problem is not with
the driver. My suspicion is that the Alpha generates too much noise
with for some reason. Maybe the wide memory bus is doing something
bad.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Fast IDE disks in Alpha systems
2002-12-03 10:09 Fast IDE disks in Alpha systems Måns Rullgård
2002-12-03 10:51 ` Alexander Fong
@ 2002-12-03 21:09 ` Nick Ntarmos
2002-12-04 10:26 ` Måns Rullgård
1 sibling, 1 reply; 8+ messages in thread
From: Nick Ntarmos @ 2002-12-03 21:09 UTC (permalink / raw)
On Tue, 03 Dec 2002 12:09:25 +0200, M�ns Rullg�rd wrote:
> I'm having some trouble with fast IDE disks in my Alpha machines. They
> work fine, except they won't go above UDMA3/ATA33. If I set the mode to
> UDMA4, I get a few CRC errors and the driver moves back to UDMA3. This
> happens using a Promise pdc20268/ultra100 tx2 controller with a Seagate
> and a Western Digital disk. I even tried a special shielded cable, but
> it didn't help much. The same thing happens in a Miata and a 164SX.
> Does anyone else have any experience with IDE in Alphas? Is it simply
> too much noise in the system?
I have a Seagate and a WD hooked up on a Promise Ultra 66 in my 164SX.
Both disks operate at udma4 24/7 without any problem. This configuration
has been in use for the last 2-3 years. I used to get CRC errors (even
kernel oopses) when I had a CD-Rom connected to this controller -- Promise
controllers are known to have problems with cd-roms.
The controller and drives are autotuned to udma4 during boot-up. Tweaking
the controller after that may be very dangerous in the case of Promise
cards; simply trying to set it to a different speed may even lock-up your
computer. The issue with these controllers is that, since they are set to
a specific DMA mode, they can't go back to a lower setting without a
hardware reset. How do you "set the mode to UDMA4"? Are you sure that the
method you follow doesn't try to first reset the controller to, say, PIO4
and then to set it to the desired speed? This is for example what the
linux kernel does...
Bye,
Nick.
--
Nick "Noth" Ntarmos | <ntarmos at ceid dot upatras dot gr>
NetCINS Lab. @ C.E.I.D. | [http://students.ceid.upatras.gr/~ntarmos/]
U. of Patras - Greece | ( 38.2594N, 21.7428E ) - ( 1024D / CF95160A )
"To err is human. To forgive, beyond the scope of the Operating System."
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Fast IDE disks in Alpha systems
2002-12-03 21:09 ` Nick Ntarmos
@ 2002-12-04 10:26 ` Måns Rullgård
2002-12-04 18:24 ` Nick Ntarmos
0 siblings, 1 reply; 8+ messages in thread
From: Måns Rullgård @ 2002-12-04 10:26 UTC (permalink / raw)
Nick Ntarmos <ntarmos@ceid.upatras.gr> writes:
> > I'm having some trouble with fast IDE disks in my Alpha machines. They
> > work fine, except they won't go above UDMA3/ATA33. If I set the mode to
> > UDMA4, I get a few CRC errors and the driver moves back to UDMA3. This
> > happens using a Promise pdc20268/ultra100 tx2 controller with a Seagate
> > and a Western Digital disk. I even tried a special shielded cable, but
> > it didn't help much. The same thing happens in a Miata and a 164SX.
> > Does anyone else have any experience with IDE in Alphas? Is it simply
> > too much noise in the system?
>
> I have a Seagate and a WD hooked up on a Promise Ultra 66 in my 164SX.
> Both disks operate at udma4 24/7 without any problem. This configuration
> has been in use for the last 2-3 years. I used to get CRC errors (even
> kernel oopses) when I had a CD-Rom connected to this controller -- Promise
> controllers are known to have problems with cd-roms.
The cdrom is connected to the onboard ide, so that's not the problem.
> The controller and drives are autotuned to udma4 during boot-up. Tweaking
> the controller after that may be very dangerous in the case of Promise
> cards; simply trying to set it to a different speed may even lock-up your
> computer. The issue with these controllers is that, since they are set to
> a specific DMA mode, they can't go back to a lower setting without a
> hardware reset. How do you "set the mode to UDMA4"? Are you sure that the
> method you follow doesn't try to first reset the controller to, say, PIO4
> and then to set it to the desired speed? This is for example what the
> linux kernel does...
At boot the driver tries UDMA5 and gets some errors, so it tries
UDMA4, get errors there too, and settles for UDMA3. I tried changing
it with "hdparm -X68" etc. It works fine for changing between UMDA3
and lower modes.
What kind of cables do you use? What speed is your cpu running at?
What other hardware do you have in the box?
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Fast IDE disks in Alpha systems
2002-12-04 10:26 ` Måns Rullgård
@ 2002-12-04 18:24 ` Nick Ntarmos
2002-12-05 7:32 ` Måns Rullgård
0 siblings, 1 reply; 8+ messages in thread
From: Nick Ntarmos @ 2002-12-04 18:24 UTC (permalink / raw)
On Wed, 04 Dec 2002 12:26:59 +0200, M�ns Rullg�rd wrote:
> At boot the driver tries UDMA5 and gets some errors, so it tries UDMA4,
> get errors there too, and settles for UDMA3. I tried changing it with
> "hdparm -X68" etc. It works fine for changing between UMDA3 and lower
> modes.
That's really weird. If the kernel autotunes the controller to UDMA3,
maybe that's as good as it gets. I guess you have the PDC***_BURST and
PDC***_FORCE options set in your kernel config, right? Are both of your
disks capable of U66 or better? Are they on the same cable? What pci slot
is your controller in? If it's in one of the 64-bit ones, try moving it to
a 32-bit slot. I may be wrong, but I thing I remember some strange things
happening when my U66 was in one of those 64-bit PCIs. Do you have any
idebus=*** instruction in your bootline?
> What kind of cables do you use? What speed is your cpu running at? What
> other hardware do you have in the box?
Look... I live in Greece. Maybe this doesn't say much to you, but it says
a lot to those who know. I use the standard no-name, no-anything 80-pin
cables you can find in any computer shop. My computer is an 164SX @
533MHz, bought back in 1998 in a very adventurous manner... Big story. You
really touched a nerve there... :(
Other hardware in the computer:
o A SoundBlaster/128 (ENS1371), bought recently. I initially had a SB64
(ENS1370).
o A Matrox Mystique 220 w/ 4Mb.
o The Promise U66 controller.
o A Voodoo-II card.
o An ISA 3Com EtherLink III (10Base-T) NIC. o An ISA 33.6 modem (don't
remember the exact make).
The machine has 3 hard disks:
o A WD205AA (20 Gb), connected as primary master to the U66. o A
ST320420A (20 Gb), connected as secondary master to the U66. o A ST3660A
(600 Mb), in one of the on-bard ide's.
There are also an Asus 40x CD-ROM and an HP 4x-4x-24x CD-RW drive,
hooked-up to the on-board ide's.
I've been searching for extra-terrestrial intelligence :) for the last two
years, so my PC is up 24/7, getting rebooted only when I recompile my
kernel. I've had no problem whatsoever with my hard disks ever since I
first assembled the computer.
You said something about also having tested your controller in an SX,
right? Perhaps I could send you somehow my kernel+modules... Just in case
it's a kernel config or compiler/libs problem.
Bye,
Nick.
--
Nick "Noth" Ntarmos | <ntarmos at ceid dot upatras dot gr>
NetCINS Lab. @ C.E.I.D. | [http://students.ceid.upatras.gr/~ntarmos/]
U. of Patras - Greece | ( 38.2594N, 21.7428E ) - ( 1024D / CF95160A )
"To err is human. To forgive, beyond the scope of the Operating System."
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Fast IDE disks in Alpha systems
2002-12-04 18:24 ` Nick Ntarmos
@ 2002-12-05 7:32 ` Måns Rullgård
2002-12-05 12:34 ` Nick Ntarmos
0 siblings, 1 reply; 8+ messages in thread
From: Måns Rullgård @ 2002-12-05 7:32 UTC (permalink / raw)
Nick Ntarmos <ntarmos@ceid.upatras.gr> writes:
> > At boot the driver tries UDMA5 and gets some errors, so it tries UDMA4,
> > get errors there too, and settles for UDMA3. I tried changing it with
> > "hdparm -X68" etc. It works fine for changing between UMDA3 and lower
> > modes.
>
> That's really weird. If the kernel autotunes the controller to UDMA3,
> maybe that's as good as it gets. I guess you have the PDC***_BURST and
> PDC***_FORCE options set in your kernel config, right?
Those have no effect with the 20268 and newer chips.
> Are both of your disks capable of U66 or better?
Yes. Both are ATA100 capable.
> Are they on the same cable?
No. I tried that too, but it didn't work at all.
> What pci slot is your controller in? If it's in one of the 64-bit
> ones, try moving it to a 32-bit slot. I may be wrong, but I thing I
> remember some strange things happening when my U66 was in one of
> those 64-bit PCIs.
I've tried several slots. It works best in the 64-bit ones, probably
because top slots are closer to the memory. The problems with the
64-bit slots are only on the Miata, AFAIK, and right now the thing is
in an SX164.
> Do you have any idebus=*** instruction in your bootline?
No.
> > What kind of cables do you use? What speed is your cpu running at? What
> > other hardware do you have in the box?
>
> Look... I live in Greece. Maybe this doesn't say much to you, but it says
> a lot to those who know. I use the standard no-name, no-anything 80-pin
> cables you can find in any computer shop. My computer is an 164SX @
> 533MHz, bought back in 1998 in a very adventurous manner... Big story. You
> really touched a nerve there... :(
>
> Other hardware in the computer:
> o A SoundBlaster/128 (ENS1371), bought recently. I initially had a SB64
> (ENS1370).
> o A Matrox Mystique 220 w/ 4Mb.
> o The Promise U66 controller.
> o A Voodoo-II card.
> o An ISA 3Com EtherLink III (10Base-T) NIC. o An ISA 33.6 modem (don't
> remember the exact make).
That seems like a fair amount of hardware. I was thinking maybe some
of my other cards was creating too much noise, though I have tried
removing some of the cards.
> The machine has 3 hard disks:
> o A WD205AA (20 Gb), connected as primary master to the U66. o A
> ST320420A (20 Gb), connected as secondary master to the U66.
> o A ST3660A (600 Mb), in one of the on-bard ide's.
That one is only for booting, right?
> There are also an Asus 40x CD-ROM and an HP 4x-4x-24x CD-RW drive,
> hooked-up to the on-board ide's.
>
> I've been searching for extra-terrestrial intelligence :) for the last two
> years,
I've been searching for terrestrial intelligence for some time. I
haven't had much luck, so maybe I should try looking elsewhere...
> so my PC is up 24/7, getting rebooted only when I recompile my
> kernel. I've had no problem whatsoever with my hard disks ever since I
> first assembled the computer.
I don't have any real problems, it's just the disks don't run at full
speed. I guess I'll have to be happy with 32 MB/s.
> You said something about also having tested your controller in an SX,
> right? Perhaps I could send you somehow my kernel+modules... Just in case
> it's a kernel config or compiler/libs problem.
I don't think that is the problem. I've used lots of different
kernels and compilers. But you could of course tell me your kernel
and compiler versions. At the moment I use kernel 2.4.19 and gcc
3.1.1.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Fast IDE disks in Alpha systems
2002-12-05 7:32 ` Måns Rullgård
@ 2002-12-05 12:34 ` Nick Ntarmos
0 siblings, 0 replies; 8+ messages in thread
From: Nick Ntarmos @ 2002-12-05 12:34 UTC (permalink / raw)
On Thu, 05 Dec 2002 09:32:30 +0200, M�ns Rullg�rd wrote:
>> o A ST3660A (600 Mb), in one of the on-bard ide's.
> That one is only for booting, right?
Currently yes. I had initially bought it for that exact reason. For the
last 2 years I used to boot off from one of my 20G disks, with a self-made
milo. However, now I moved back to AlphaBios+milo on my way to SRM, so the
Promise-driven disks are a non-choice.
> I've been searching for terrestrial intelligence for some time. I
> haven't had much luck, so maybe I should try looking elsewhere...
:)
> I don't think that is the problem. I've used lots of different kernels
> and compilers. But you could of course tell me your kernel and compiler
> versions. At the moment I use kernel 2.4.19 and gcc 3.1.1.
Ok. The kernel is a heavily patched 2.4.19 (super-page, page-coloring,
grsecurity, ip-personality, ...). The compiler is debian-woody's standard
gcc-2.95.4, with glibc 2.2.5-11.2.
Bye,
Nick.
--
Nick "Noth" Ntarmos | <ntarmos at ceid dot upatras dot gr>
NetCINS Lab. @ C.E.I.D. | [http://students.ceid.upatras.gr/~ntarmos/]
U. of Patras - Greece | ( 38.2594N, 21.7428E ) - ( 1024D / CF95160A )
"To err is human. To forgive, beyond the scope of the Operating System."
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2002-12-05 12:34 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-03 10:09 Fast IDE disks in Alpha systems Måns Rullgård
2002-12-03 10:51 ` Alexander Fong
2002-12-03 15:45 ` Måns Rullgård
2002-12-03 21:09 ` Nick Ntarmos
2002-12-04 10:26 ` Måns Rullgård
2002-12-04 18:24 ` Nick Ntarmos
2002-12-05 7:32 ` Måns Rullgård
2002-12-05 12:34 ` Nick Ntarmos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox