I am installing and fine tuning Debian on my HP/Compaq NC6230 laptop. While trying to to some kernel debugging, my kern.log filled up with messages that the fifo for the parallel port was full.
That was not really relevant since the NC6230 doesn't have a printer port. But it was annoying to have all those messages in kern.log. Apparently the NC6230 does have the hardware which is being recognized as a parallel port. Since there is no parallel port at the back of the computer, the bits cannot get out thru this pins
The modules which I wanted to prevent from loading are:
parport_pc
lp
parport
Googling for "prevent module from loading" referred to about every single file in /etc, including /etc/hotplug/blacklist, /etc/modules or /etc/discover.conf but to no avail.
One solution which works is to put these lines in
/etc/modprobe.d/arch-aliases
Code:
alias parport remove #not _really_ needed
alias lp remove #really needed
alias parport_pc remove #not _really_ needed
and to comment out this line:
Code:
#alias parport_lowlevel parport_pc
Do not forget to run update-modules after this change
Now parport and lp do not load, and no error messages are generated.
jlinkels
Kernel 2.6.12
Debian Sarge