Re: parport_pc freezes my ultra 5 with 2.6 kernels
Per Sigmond <[email protected]> Sat, 15 Jan 2005 17:51:56 +0100
| Newsgroups | gmane.linux.aurora.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 13 January 2005 21:44, Per Sigmond wrote: > Anyone had this problem? The module parport_pc seems to match my parallell > port hardware. On 2.4 kernels the parallell port works fine with this > module. On all 2.6 kernels the port and printer is detected correctly, but > as soon as I send any data to the printer the machine freezes. Any ideas? After some hours of fiddling I found a solution myself, although a dirty one. The trick was to prevent the driver (parport_pc) from using interrupts (and dma). The dirty part was the way I told the module: I couldn't get it to accept parameters via modprobe.conf, so I just inserted the line irq = PARPORT_IRQ_NONE; in the driver code at the beginning of function 'parport_pc_probe_port()' (near line 2167). I obviosly had to recompile the kernel as well. Btw, the kernel is the 2.6.8-1.571sp1 that comes with Aurora build-1.92. Anyway, now it works just fine (in polling mode). Don't know if it was the irq handling or the dma handling that was freezing up my machine, but maybe someone else would know? Regards, Per. -- Per Sigmond Gjert Sorensensvei 5 4879 Grimstad Norway +47-90721913 [email protected] http://www.sigmond.no/per _______________________________________________ Aurora-sparc-devel mailing list [email protected] http://lists.auroralinux.org/mailman/listinfo/aurora-sparc-devel Aurora FAQ: http://www.ecs.soton.ac.uk/~mas01r/aurorafaq.html