LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-08-2004, 09:46 PM   #1
lazlow69
Member
 
Registered: Jan 2003
Location: Central New Jersey
Distribution: Knoppix to play, Slack current, OpenBSD stables
Posts: 111

Rep: Reputation: 15
Question 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!
 
Old 05-09-2004, 12:32 AM   #2
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Rep: Reputation: 30
I believe it's /etc/rc.d/rc.modules
 
Old 05-09-2004, 03:33 AM   #3
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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?).
 
Old 05-09-2004, 05:07 AM   #4
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
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...*
 
Old 05-09-2004, 12:04 PM   #5
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
"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
 
Old 05-09-2004, 03:29 PM   #6
lazlow69
Member
 
Registered: Jan 2003
Location: Central New Jersey
Distribution: Knoppix to play, Slack current, OpenBSD stables
Posts: 111

Original Poster
Rep: Reputation: 15
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!
 
Old 05-09-2004, 07:52 PM   #7
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
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
 
  


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
How can I make usbcore etc. boot? d2h78q9rf Linux - Hardware 1 02-26-2005 01:04 PM
Determining USB modules (ohci vs. uhci) JediGuy_bob Linux - Hardware 3 01-06-2005 12:25 PM
disable modules from loading on boot spyderusa11 Fedora 1 05-23-2004 05:58 PM
HOWTO - disable modules at boot lazlow69 Debian 4 01-21-2004 05:04 PM
usbcore, usb-uhci shawnsdl Linux - Newbie 5 05-05-2003 01:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:38 AM.

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