Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-21-2004, 02:40 AM
|
#1
|
Member
Registered: Jan 2003
Location: Central New Jersey
Distribution: Knoppix to play, Slack current, OpenBSD stables
Posts: 111
Rep:
|
HOWTO - disable modules at boot
For the life of me, I can't seem to figure out how to trim down the modules that load at boot time on my debian sarge machine...
/sbin/lsmod produces:
Module Size Used by Not tainted
pcmcia_core 35360 0
rtc 6120 0 (autoclean)
via82cxxx_audio 17756 0 (unused)
ac97_codec 11444 0 [via82cxxx_audio]
uart401 6244 0 [via82cxxx_audio]
sound 50568 0 [via82cxxx_audio uart401]
soundcore 3268 4 [via82cxxx_audio sound]
via-rhine 11056 1
mii 1984 0 [via-rhine]
crc32 2848 0 [via-rhine]
usb-uhci 19696 0 (unused)
usbcore 52908 0 [usb-uhci]
parport_pc 19400 1 (autoclean)
lp 5952 0 (autoclean)
parport 21800 1 (autoclean) [parport_pc lp]
ide-cd 27968 0
cdrom 25088 0 [ide-cd]
ide-disk 12512 5 (autoclean)
ext3 53220 3 (autoclean)
jbd 34852 3 (autoclean) [ext3]
ide-detect 288 0 (autoclean) (unused)
via82cxxx 9448 1 (autoclean)
ide-core 94332 5 (autoclean) [ide-cd ide-disk ide-detect via82cxxx]
unix 13260 8 (autoclean)
and I don't need any via82cxxx_audio, usb or ide-cd support. I'd love to comment out whatever conf files or wherever this control could be had.
Any suggestions as to how to trim out the fat for my server box here?
Thanks!
|
|
|
01-21-2004, 07:26 AM
|
#2
|
Member
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569
Rep:
|
Well, kernel modules hardly make it any fatter, but you just need to remove them from /etc/modules.
|
|
|
01-21-2004, 09:34 AM
|
#3
|
Member
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826
Rep:
|
recompile your kernel and you can eliminate a lot more than just the modules your seeing probably!
Jersey RULZ!
|
|
|
01-21-2004, 01:33 PM
|
#4
|
Member
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174
Rep:
|
If you don't like the universal configuration tool (vi) you might use modconf, which lets you select all modules.
|
|
|
01-21-2004, 05:04 PM
|
#5
|
Member
Registered: Jan 2003
Location: Central New Jersey
Distribution: Knoppix to play, Slack current, OpenBSD stables
Posts: 111
Original Poster
Rep:
|
Thanks for the advice so far, but I'm still having some troubles...
my /etc/modules contains only "ide-cd" and "ide-detect"... this isn't where the problem is coming from.
I went into /etc/default and nano'd pcmcia so it doesn't start... that's a help. The 'fat' is still there, though...
I'm in the process of building a nice-n-trim kernel for this box now, but that's introduced its own set of problems... I used 'aptitude' to pull down 2.4.23 kernel sources and kernel-package. 'make menuconfig' 'd the deal to get a nice trim kernel, used make-kpgk buildpackage and installed it, but lilo.conf is complaining about /proc/partitions not matching /dev directory structure...
This is for another thread, I know, but just so you folks don't think I'm sitting with my thumbs up my you-know-how waiting for an easy answer!
I'm sure it will all come out fine in the end, just a little frustratin'!
|
|
|
All times are GMT -5. The time now is 01:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|