LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-16-2005, 07:49 PM   #1
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Prevent lp and parport module from loading


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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent kernel options from loading slowly Linux - Software 3 10-07-2004 10:54 PM
Is there any way to temporarily prevent a script from loading in certain runlevel? davidas Debian 5 04-12-2004 09:12 AM
How to prevent loading the default driver(b44) simon780 Slackware 3 03-30-2004 08:54 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration