![]() |
disable 'usbcore' and 'uhci' modules on boot...
I want to have my slack 9.1 2.4.26 machine as simple and clean as possible. I used swaret up upgrade my kernel (www.swaret.org - a fantastic website!), and upon reboot noticed my 'lsmod' readout had agpgart usbcore and uhci loaded, and I want them not in there...
Would this be something through hotplug? Would I have to disable these modules somewhere in /etc/rc.d/* ? Help! |
I believe it's /etc/rc.d/rc.modules
|
They're quite useful. The agpgart module is for graphics (what card do you have?) and usbcore/uhci are for usb devices (do you have any?).
|
If you got the program modconf in there, use that to remove the modules that you don't want..Or insert the ones that you need.. It's a nice ncurses frontend for modprobe.
adz is right :) you got to have an old pc to skip agpart module, IOW a pc without agp. I'd recompile the kernel and remove what i don't want/need. But that's me. *comples a new kernel once a wek or so...* |
"If you got the program modconf in there, use that to remove the modules that you don't want..Or insert the ones that you need.. It's a nice ncurses frontend for modprobe."
It should be "pkgtool" if the memory helps me |
Thanks for the speedy replies...
I understand the reservation to disable agp and usb, but the machine I'm dealing with is solely for server purposes. USB and AGP functionality just eat more ram and open holes. I chmodded /etc/rc.d/rc.hotplug to 644 which disabled the automatic probe of a pile of modules, and simple uncommented the line with my appropriate NIC in /etc/rc.d/rc.modules and now I'm clean as a whistle! Thanks again! |
urka58
Well modconf comes with modtools.. Wch i needed to compile the 2.6.* kernel... Since i'm a debian user i can't say if there's some specials for Slack or Redhat :) I haven't used slackware since version 3.0 :) |
All times are GMT -5. The time now is 12:13 AM. |