* Promise Ultra66 DMA problems.
@ 2001-01-05 22:08 Adrian Chung
2001-01-05 22:42 ` Andre Hedrick
2001-01-06 5:05 ` Adrian Chung
0 siblings, 2 replies; 4+ messages in thread
From: Adrian Chung @ 2001-01-05 22:08 UTC (permalink / raw)
To: linux-kernel
I've been searching and watching lists for a while trying to figure
out whether this problem had been solved or not, and haven't found
anything suitable...
I'm experiencing two problems with a Promise UDMA66 controller
(PDC20262) on hardware I'll list below. The first problem is that
on bootup I get:
Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 21
PIIX4: chipset revision 1
PIIX4: not 100%% native mode: will probe irqs later
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio
PDC20262: IDE controller on PCI bus 00 dev 60
PDC20262: chipset revision 1
PDC20262: not 100%% native mode: will probe irqs later
PDC20262: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI
Mode.
ide2: BM-DMA at 0x9800-0x9807, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0x9808-0x980f, BIOS settings: hdg:pio, hdh:pio
hdc: NEC CD-ROM DRIVE:282, ATAPI CDROM drive
hde: Maxtor 91024U3, ATA DISK drive
hdf: Maxtor 94098U8, ATA DISK drive
hdg: QUANTUM FIREBALLP LM15, ATA DISK drive
hdh: QUANTUM FIREBALLP LM30, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xb000-0xb007,0xa802 on irq 11
ide3 at 0xa400-0xa407,0xa002 on irq 11
Then a hang. Mentioned a while back, this patch fixes the problem,
and allows the machine to boot properly.
--- /usr/src/linux-2.2.18-idepatch/drivers/block/ide-features.c Mon
Jan 1 18:03:42 2001
+++ ide-features.c Mon Jan 1 18:30:37 2001
@@ -297,8 +297,10 @@
SELECT_DRIVE(HWIF(drive), drive);
SELECT_MASK(HWIF(drive), drive, 0);
udelay(1);
+ /*
if (IDE_CONTROL_REG)
OUT_BYTE(drive->ctl | 2, IDE_CONTROL_REG);
+ */
OUT_BYTE(speed, IDE_NSECTOR_REG);
OUT_BYTE(SETFEATURES_XFER, IDE_FEATURE_REG);
OUT_BYTE(WIN_SETFEATURES, IDE_COMMAND_REG);
I then found that I randomly get "Timeout waiting for DMA" messages
prior to a complete system hang.
I tried forcing all of the drives into UDMA mode 2 (hdparm -X66) and
this seemed to make the problem a bit better, but I still experience
system hangs. I can't seem to make the problem happen, it only
happens randomly. The past two times, an rsync has made the system crash.
I'm using kernel 2.2.18 (tried 2.4 final briefly today to see if it
would boot, it hung on bootup as well), with the latest
ide.2.2.18.1221.patch from Andre's directory.
The system in question is:
Celeron 533 - 384 MB RAM - Asus P2B-F
4 IDE Drives listed above:
hde: Maxtor 91024U3, ATA DISK drive
hdf: Maxtor 94098U8, ATA DISK drive
hdg: QUANTUM FIREBALLP LM15, ATA DISK drive
hdh: QUANTUM FIREBALLP LM30, ATA DISK drive
1 IDE CDROM:
hdc: NEC CD-ROM DRIVE:282, ATAPI CDROM drive
Promise Ultra66 Controller, BIOS 2.0b18
2 D-Link DFE-538 (RTL8139) adapters
Any help, or any way I could help would be appreciated. Eager to try
and get this resolved, as I've seen it crop up a number of times, and
it's also a pain to have to physically hit the reset button as the
machine is off-site.
--
Adrian
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Promise Ultra66 DMA problems.
2001-01-05 22:08 Promise Ultra66 DMA problems Adrian Chung
@ 2001-01-05 22:42 ` Andre Hedrick
2001-01-06 5:05 ` Adrian Chung
1 sibling, 0 replies; 4+ messages in thread
From: Andre Hedrick @ 2001-01-05 22:42 UTC (permalink / raw)
To: Adrian Chung; +Cc: linux-kernel
hdg: QUANTUM FIREBALLP LM15, ATA DISK drive
hdh: QUANTUM FIREBALLP LM30, ATA DISK drive
Well add these to the quirk list in the pdc202xx.c
There are known issues with several versions of the FIRMWARE of the
"QUANTUM FIREBALLP LM***" series.
Cheers,
On Fri, 5 Jan 2001, Adrian Chung wrote:
> I've been searching and watching lists for a while trying to figure
> out whether this problem had been solved or not, and haven't found
> anything suitable...
>
> I'm experiencing two problems with a Promise UDMA66 controller
> (PDC20262) on hardware I'll list below. The first problem is that
> on bootup I get:
>
> Uniform Multi-Platform E-IDE driver Revision: 6.30
> ide: Assuming 33MHz system bus speed for PIO modes; override with
> idebus=xx
> PIIX4: IDE controller on PCI bus 00 dev 21
> PIIX4: chipset revision 1
> PIIX4: not 100%% native mode: will probe irqs later
> ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:pio, hdb:pio
> ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio
> PDC20262: IDE controller on PCI bus 00 dev 60
> PDC20262: chipset revision 1
> PDC20262: not 100%% native mode: will probe irqs later
> PDC20262: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI
> Mode.
> ide2: BM-DMA at 0x9800-0x9807, BIOS settings: hde:pio, hdf:pio
> ide3: BM-DMA at 0x9808-0x980f, BIOS settings: hdg:pio, hdh:pio
> hdc: NEC CD-ROM DRIVE:282, ATAPI CDROM drive
> hde: Maxtor 91024U3, ATA DISK drive
> hdf: Maxtor 94098U8, ATA DISK drive
> hdg: QUANTUM FIREBALLP LM15, ATA DISK drive
> hdh: QUANTUM FIREBALLP LM30, ATA DISK drive
> ide1 at 0x170-0x177,0x376 on irq 15
> ide2 at 0xb000-0xb007,0xa802 on irq 11
> ide3 at 0xa400-0xa407,0xa002 on irq 11
>
> Then a hang. Mentioned a while back, this patch fixes the problem,
> and allows the machine to boot properly.
>
> --- /usr/src/linux-2.2.18-idepatch/drivers/block/ide-features.c Mon
> Jan 1 18:03:42 2001
> +++ ide-features.c Mon Jan 1 18:30:37 2001
> @@ -297,8 +297,10 @@
> SELECT_DRIVE(HWIF(drive), drive);
> SELECT_MASK(HWIF(drive), drive, 0);
> udelay(1);
> + /*
> if (IDE_CONTROL_REG)
> OUT_BYTE(drive->ctl | 2, IDE_CONTROL_REG);
> + */
> OUT_BYTE(speed, IDE_NSECTOR_REG);
> OUT_BYTE(SETFEATURES_XFER, IDE_FEATURE_REG);
> OUT_BYTE(WIN_SETFEATURES, IDE_COMMAND_REG);
>
> I then found that I randomly get "Timeout waiting for DMA" messages
> prior to a complete system hang.
>
> I tried forcing all of the drives into UDMA mode 2 (hdparm -X66) and
> this seemed to make the problem a bit better, but I still experience
> system hangs. I can't seem to make the problem happen, it only
> happens randomly. The past two times, an rsync has made the system crash.
>
> I'm using kernel 2.2.18 (tried 2.4 final briefly today to see if it
> would boot, it hung on bootup as well), with the latest
> ide.2.2.18.1221.patch from Andre's directory.
>
> The system in question is:
>
> Celeron 533 - 384 MB RAM - Asus P2B-F
> 4 IDE Drives listed above:
> hde: Maxtor 91024U3, ATA DISK drive
> hdf: Maxtor 94098U8, ATA DISK drive
> hdg: QUANTUM FIREBALLP LM15, ATA DISK drive
> hdh: QUANTUM FIREBALLP LM30, ATA DISK drive
> 1 IDE CDROM:
> hdc: NEC CD-ROM DRIVE:282, ATAPI CDROM drive
> Promise Ultra66 Controller, BIOS 2.0b18
> 2 D-Link DFE-538 (RTL8139) adapters
>
> Any help, or any way I could help would be appreciated. Eager to try
> and get this resolved, as I've seen it crop up a number of times, and
> it's also a pain to have to physically hit the reset button as the
> machine is off-site.
>
> --
> Adrian
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
>
Andre Hedrick
Linux ATA Development
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Promise Ultra66 DMA problems.
2001-01-05 22:08 Promise Ultra66 DMA problems Adrian Chung
2001-01-05 22:42 ` Andre Hedrick
@ 2001-01-06 5:05 ` Adrian Chung
2001-01-06 15:39 ` Rick Haines
1 sibling, 1 reply; 4+ messages in thread
From: Adrian Chung @ 2001-01-06 5:05 UTC (permalink / raw)
To: linux-kernel; +Cc: Andre Hedrick
On Fri, Jan 05, 2001 at 05:08:38PM -0500, Adrian Chung wrote:
> hde: Maxtor 91024U3, ATA DISK drive
> hdf: Maxtor 94098U8, ATA DISK drive
> hdg: QUANTUM FIREBALLP LM15, ATA DISK drive
> hdh: QUANTUM FIREBALLP LM30, ATA DISK drive
I initially added only the two quantum drives to the pdc_quirk_list,
and that had no effect, the machine still hung on boot up at the same
place. After this, I added the other two Maxtor's as well, and with
all four drives in the pdc_quirk_list, the system booted up fine.
Should I narrow this down further? Will it be detrimental in any way
to have all four drives listed in the quirks table if they needn't be?
cat /proc/ide/pdc:
PDC20262 Chipset.
---------------------------- General Status ---------------------------------
Burst Mode : enabled
Host Mode : Normal
Bus Clocking : 33 PCI Internal
IO pad select : 4 mA
Status Polling Period : 0
Interrupt Check Status Polling Delay : 0
------------ Primary Channel ---------------- Secondary Channel -------------
enabled enabled
66 Clocking enabled enabled
Mode PCI Mode PCI
FIFO Empty FIFO Empty
------------ drive0 --------- drive1 -------- drive0 ---------- drive1 ------
DMA enabled: yes yes yes yes
DMA Mode: UDMA 4 UDMA 4 UDMA 4 UDMA 4
PIO Mode: PIO 4 PIO 4 PIO 4 PIO 4
and hdparm yields about 25Mbit/s.
I'm trying to get the runtime system to hang like it did before as
well... I'm running "dd if=/dev/hdX of=/dev/null &" on all four
drives simultaneously, and about 3 times per drive to hit the
controller and disk I/O system really hard. So far, it's all been
fine. Hopefully that means that the problems gone away. :)
Thanks for the help!
--
Adrian
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Promise Ultra66 DMA problems.
2001-01-06 5:05 ` Adrian Chung
@ 2001-01-06 15:39 ` Rick Haines
0 siblings, 0 replies; 4+ messages in thread
From: Rick Haines @ 2001-01-06 15:39 UTC (permalink / raw)
To: Adrian Chung; +Cc: linux-kernel, Andre Hedrick
On Sat, Jan 06, 2001 at 12:05:07AM -0500, Adrian Chung wrote:
> On Fri, Jan 05, 2001 at 05:08:38PM -0500, Adrian Chung wrote:
> > hde: Maxtor 91024U3, ATA DISK drive
> > hdf: Maxtor 94098U8, ATA DISK drive
> > hdg: QUANTUM FIREBALLP LM15, ATA DISK drive
> > hdh: QUANTUM FIREBALLP LM30, ATA DISK drive
>
> I initially added only the two quantum drives to the pdc_quirk_list,
> and that had no effect, the machine still hung on boot up at the same
> place. After this, I added the other two Maxtor's as well, and with
> all four drives in the pdc_quirk_list, the system booted up fine.
>
> Should I narrow this down further? Will it be detrimental in any way
> to have all four drives listed in the quirks table if they needn't be?
I have
hde: Maxtor 54098U8, ATA DISK drive
on my promise controller. Works fine but I don't stress it too much.
I also don't boot off it.
cat /proc/ide/pdc:
PDC20262 Chipset.
------------------------------- General Status ---------------------------------
Burst Mode : enabled
Host Mode : Normal
Bus Clocking : 33 PCI Internal
IO pad select : 4 mA
Status Polling Period : 1
Interrupt Check Status Polling Delay : 9
--------------- Primary Channel ---------------- Secondary Channel -------------
enabled enabled
66 Clocking enabled disabled
Mode PCI Mode PCI
FIFO Empty FIFO Empty
--------------- drive0 --------- drive1 -------- drive0 ---------- drive1 ------
DMA enabled: yes yes yes yes
DMA Mode: UDMA 4 NOTSET NOTSET NOTSET
PIO Mode: PIO 4 NOTSET NOTSET NOTSET
--
Rick (rick@kuroyi.net)
http://www.kuroyi.net
I think the slogan of the fansubbers puts
it best: "Cheaper than crack, and lots more fun."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-01-06 15:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-05 22:08 Promise Ultra66 DMA problems Adrian Chung
2001-01-05 22:42 ` Andre Hedrick
2001-01-06 5:05 ` Adrian Chung
2001-01-06 15:39 ` Rick Haines
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®