Re: modprobe parport_pc freezes machine in 2.2.16

From: Tim Waugh (twaugh@redhat.com)
Date: Fri Jun 16 2000 - 04:49:24 EST


On Fri, Jun 16, 2000 at 01:24:04AM +0200, Peter Bornemann wrote:

> 0x378: CTR: wrote 0x0c, read 0x0b

[I wonder why that's happening. It looks like the control register on
your onboard port is misbehaving..]

> parport1: PC-style at 0x9000 [PCSPP,EPP]

Aha. Does it say on the box that the card can do ECP? If not,
that'll be why things are going wrong.

> The line "0x378: possible IRQ conflict!" is a little funny. Parport0 has
> got IRQ 7 all for himself.

Some ECP chipsets seem to report this for no good reason. I see the
same on a machine here.

> The problem shows also in 2.2.17-pre1 and was certainly not present
> in 2.2.15. I cannot say for sure, wether it happenden already in the
> pre-16 series. I have used them for only very short time (holidays)
> and don't really know, wether I printed with any of them.

Support for this card was added in 2.2.16.

> I have now compiled 2.2.17-pre2 with parport and everything in the
> kernel, and this works now for me.

By luck, I guess. I think it will go wrong with modules.

Here is a patch for 2.2.17-pre2. Please try it out and let me know
what the results are.

Thanks,
Tim.
*/

--- linux-2.2.17-pre2/drivers/misc/parport_pc.c Mon Jun 12 12:12:56 2000
+++ linux/drivers/misc/parport_pc.c Fri Jun 16 10:48:50 2000
@@ -907,7 +907,7 @@
                 { PCI_VENDOR_ID_TIMEDIA, PCI_DEVICE_ID_TIMEDIA_1889, 1,
                   { { 2, -1 }, } },
                 { PCI_VENDOR_ID_TIMEDIA, PCI_DEVICE_ID_TIMEDIA_4008A, 1,
- { { 0, 1 }, } },
+ { { 0, -1 }, } },
                 { 0, }
         };
 



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:11 EST