Re: a strange problem with modules 2/4... debian kernel 2.6.7-1-386

From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 08/30/04


Date: 30 Aug 2004 17:01:01 GMT

On Mon, 30 Aug 2004 18:29:11 +0200, RRB staggered into the Black Sun and
said:
[problems with /dev/lp0]
> Again thanks, now i have found something, kernel starting up loads
> wrong module parport, mounting manually right module parport_pc the
> printer works, so i have to understand how to fix permanently and, in
> case, how it could happen.

parport is the module for generic parallel port support. It must be
loaded before you use any parallel port. parport_pc is the module for
x86-style parallel ports. It must be loaded before you use a parallel
port on an x86 machine.

For Debian and Gentoo, put "parport_pc" and "lp" into
/etc/modules.autoload.d/kernel-2.N , for other distros, try putting the
line

alias parport_lowlevel parport_pc

into /etc/modules.conf . You will have to load lp before printing
anything, but this should be taken care of by a line like this in
modules.conf :

alias char-major-6 lp

HTH,

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /    mail: TRAP + SPAN don't belong
http://www.brainbench.com     /                Hire me! 
-----------------------------/ http://crow202.dyndns.org/~mhgraham/resume