public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Long-standing problem with the PDC20262 driver
@ 2001-11-13 15:55 Malcolm Mallardi
       [not found] ` <200111141724.fAEHO5102013@adsl-209-76-109-63.dsl.snfc21.pacbell.net>
  0 siblings, 1 reply; 2+ messages in thread
From: Malcolm Mallardi @ 2001-11-13 15:55 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 3360 bytes --]

Heyla folks.  I've been plagued by a problem with the Promise IDE 
Controller driver since before 2.4.x, and I'm still being plagued by it 

(It's been a problem with every 2.4.x release I've tried, which is all of 
them since 2.4.1)

Basically, on my machine, the kernel will freeze on bootup if I have the 
PDC 202xx driver enabled at all, but will run normally if I just use the 
generic IDE drivers with DMA support.

Here's my bootup messages when I get the problem, starting with where it 
first detects my motherboard's IDE controller.

PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide1: BM-DMA at 0x1488-0x148f, BIOS settings: hdc: DMA, hdd: DMA
PDC20262: IDE controller on PCI bus 00 dev 78
PCI: Found IRQ 5 for device 00:0f.0
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 0x1400-0x1407, BIOS settings: hde: pio, hdf: pio
    ide3: BM-DMA at 0x1408-0x140f, BIOS settings: hdg: DMA, hdh: pio
hdc: HITACHI DVD-ROM GD-5000, ATAPI CD/DVD-ROM drive
hdd: _NEC NR-7700A, ATAPI CD/DVD-ROM drive
hde: QUANTUM FIREBALLP KX27.3, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0x14a8-0x14af,0x149e on irq 5

At this point it stops and hangs.

without the PDC202xx driver enabled in the kernel, things look a little 
more like this; almost identical, but missing the (U)DMA Burst Bit line.

PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide1: BM-DMA at 0x1488-0x148f, BIOS settings: hdc:DMA, hdd:DMA
PDC20262: IDE controller on PCI bus 00 dev 78
PCI: Found IRQ 5 for device 00:0f.0
PDC20262: chipset revision 1
PDC20262: not 100% native mode: will probe irqs later
    ide2: BM-DMA at 0x1400-0x1407, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0x1408-0x140f, BIOS settings: hdg:DMA, hdh:pio
hdc: HITACHI DVD-ROM GD-5000, ATAPI CD/DVD-ROM drive
hdd: _NEC NR-7700A, ATAPI CD/DVD-ROM drive
hde: QUANTUM FIREBALLP KX27.3, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0x14a8-0x14af,0x149e on irq 5
hde: 53550304 sectors (27418 MB) w/418KiB Cache, CHS=53125/16/63
Partition check:
 hde: [PTBL] [3333/255/63] hde1 hde2 hde3

... And continues with normal startup.

I seem to recall when I once looked at the promise driver that there was 
what appeared to be some form of exclusion list which included several 
models of Quantum FireballP harddrives, but mine was not on the list.

I suspected then (I think that was sometime around 2.4.9) that if I added 
the drive to that list that it would work, but I never tried it, due to 
the fact that I don't know C, and was afraid of breaking it more. :)

I looked in the pdc202xx.c driver today and noticed that the list has 
disappeared, but noticed that there were still references to it in the 
code, I'm assuming that it was moved to a header somewhere.

I may be barking up to completely wrong tree... Any ideas?

--
Malcolm D. Mallardi - Dark Freak At Large
"Captain, we are receiving two-hundred eighty-five THOUSAND hails."
AOL: Nuark  UIN: 11084092 Y!: Magamo Jabber: Nuark@jabber.com
http://ranka.2y.net/~magamo/index.htm

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* [PATCH] pdc202xx.c, adds another quirk drive to the list
       [not found] ` <200111141724.fAEHO5102013@adsl-209-76-109-63.dsl.snfc21.pacbell.net>
@ 2001-11-14 18:32   ` Malcolm Mallardi
  0 siblings, 0 replies; 2+ messages in thread
From: Malcolm Mallardi @ 2001-11-14 18:32 UTC (permalink / raw)
  To: Wayne Whitney; +Cc: torvalds, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]

On Wed, Nov 14, 2001 at 09:24:05AM -0800, Wayne Whitney wrote:
> In mailing-lists.linux-kernel, you wrote:
> 
> > I seem to recall when I once looked at the promise driver that there
> > was what appeared to be some form of exclusion list which included
> > several models of Quantum FireballP harddrives, but mine was not on
> > the list.
> >  
> > I suspected then (I think that was sometime around 2.4.9) that if I
> > added the drive to that list that it would work, but I never tried it,
> > due to the fact that I don't know C, and was afraid of breaking it
> > more. :)
> 
> OK, I'll help you try this, it is really dead easy:
> 
> In the kernel tree of your choice, go the directory drivers/ide.
> 
> Load pdc202xx.c in the editor of your choice.
> 
> 
> Recompile your kernel, try it out, and let us know if it works now.
> If it does, submit a patch.  See Documentation/SubmittingPatches, and
> ask me if that is not clear.
> 
> 

First off, I'd like to thank you, Wayne.  You've been a big help.
Attached is a patch that adds the Quantum FireballP KX27.3 harddrive to
the quirk_drives list in the Promise 202xx driver (pdc202xx.c) patches
is based off 2.4.15-pre1

Thanks folks, things work wonderfully now.

--
Malcolm D. Mallardi - Dark Freak At Large
"Captain, we are receiving two-hundred eighty-five THOUSAND hails."
AOL: Nuark  UIN: 11084092 Y!: Magamo Jabber: Nuark@jabber.com
http://ranka.2y.net/~magamo/index.htm

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 289 bytes --]

--- drivers/ide/pdc202xx.c.orig	Fri Nov  9 09:55:38 2001
+++ drivers/ide/pdc202xx.c	Wed Nov 14 12:52:05 2001
@@ -230,6 +230,7 @@
 	"QUANTUM FIREBALLP KA6.4",
 	"QUANTUM FIREBALLP LM20.4",
 	"QUANTUM FIREBALLP KX20.5",
+	"QUANTUM FIREBALLP KX27.3",
 	"QUANTUM FIREBALLP LM20.5",
 	NULL
 };

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

end of thread, other threads:[~2001-11-14 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-13 15:55 Long-standing problem with the PDC20262 driver Malcolm Mallardi
     [not found] ` <200111141724.fAEHO5102013@adsl-209-76-109-63.dsl.snfc21.pacbell.net>
2001-11-14 18:32   ` [PATCH] pdc202xx.c, adds another quirk drive to the list Malcolm Mallardi

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