-
Senior Member
registered user
how to avoid module-load on hd-install
I installed knoppix-3.4 to my harddrive, and compiled a new kernel (2.6.4).
It works well, but I wonder, where the modules are loaded.
I rarely need the parallel-port, but after booting the modules:
parport
parport-pc
are allways loaded.
I would prefer to prevent their loading, instead of writing a small script, which unloads them.
I know how to do the second.
I grepped in /etc/*, /etc/*/* and /etc/modutils/*/* for 'par' - and after filtering 'parameter' 'paragraph' 'partition' ... - there is no suspicious line left.
In /etc/modules.conf I commented the line:
# alias parport_lowlevel parport_pc
but it didn't help.
-
Senior Member
registered user
It probably was called from the CUPS server. Look in rc5.d for anything like S20CUPS or something along those lines. Remove them with
Code:
update-rc.d -f cups remove
Then check /etc/modules to make sure parport isn't listed there. If not, then you're basically done, all you need to do is reboot to see the effect of not loading the parport module.
HTH,
Durand
-
Senior Member
registered user
Thanks, Durand, but I mentioned my kernel, because since 2.5.53 /etc/modules.conf is obsolet.
I mentioned as well that I grepped (I launched the 'grep'-command) for 'par' in the whole /etc -path - well only 3 levels deep to be exact.
I didn't mention that I'm starting in runlevel 4, but that's not important, since all
rcX.d/[SH][NN]FILES are linked to
/etc/init.d/FILES
I looked for cups, but it's not mentioned in my initscripts. (And there is no cupsd running).
The only thing which is run is a stripped version of knoppix-autoconfig, which might be guilty.
I removed everything I will never use (language=spain, pcmcia, firewire, freemem-check, ...), to speed up the starttime of the computer from 60s to 30s (a 1.1 Ghz machine) for booting into the shell.
But perhaps the PCI-probing, which finds parport0, is loading the module?
I had a closer look to the scripts because of your reply, so it was helpful without giving the solution.
And yes, I investigated the /lib/modules/$KVER/module* - files too.
-
This is a big issue with me. I am capable of considerable manual configuration of my linux setup on a standard linux setup, and I hate having all the choices taken out of my hand by over automation. There should be away to switch the auto configuration off and choose which modules you want loaded manually on a permanent basis to tweak the install. Perhaps it should be switched back on manually before swapping hd to another box (and then switched off again). Autoconfiguration that reinstates the same mistakes every time I boot is a drag. Can some one find an easy way to switch it off and make manual configuration persistent.
Similar Threads
-
By thummer in forum Hardware & Booting
Replies: 0
Last Post: 04-15-2005, 04:17 PM
-
By tofu in forum MS Windows & New to Linux
Replies: 1
Last Post: 12-14-2004, 03:56 AM
-
By probono in forum Networking
Replies: 5
Last Post: 10-20-2003, 02:16 PM
-
By arkaine23 in forum Hardware & Booting
Replies: 1
Last Post: 10-13-2003, 11:41 PM
-
By catfish in forum Hardware & Booting
Replies: 5
Last Post: 07-10-2003, 01:45 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays
$349.99

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell PowerEdge R730XD Server 2x E5-2695 V4 = 36 Cores H730p 32GB RAM 4x trays
$649.99

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays
$259.99

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w
$174.95

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w
$359.99

Dell Poweredge T420 SFF 2x E5-2430 v2 2.5Ghz / 64gb / H710 / 8x Trays / 2x 495w
$394.99

Dell PowerEdge R640 8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU
$315.00

DELL R640 10SFF Server 2x Gold 6152 2.1GHz =44 Cores 64GB H730p 4xRJ45
$939.00

Dell PowerEdge R630 Rack-Mounted Server - Dual Intel Xeon, 32GB RAM
$219.99