LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   disable 'usbcore' and 'uhci' modules on boot... (https://www.linuxquestions.org/questions/slackware-14/disable-usbcore-and-uhci-modules-on-boot-179470/)

lazlow69 05-08-2004 10:46 PM

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!

snocked 05-09-2004 01:32 AM

I believe it's /etc/rc.d/rc.modules

adz 05-09-2004 04:33 AM

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?).

Kroppus 05-09-2004 06:07 AM

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...*

urka58 05-09-2004 01:04 PM

"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

lazlow69 05-09-2004 04:29 PM

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!

Kroppus 05-09-2004 08:52 PM

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.