LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-03-2006, 04:29 PM   #1
deardron
Member
 
Registered: Dec 2003
Location: Russia/Iceland
Distribution: Ubuntu 6, NetBSD 3.1, Cygwin
Posts: 39

Rep: Reputation: 15
Probing hardware tool for kernel config


Is there a universal tool for probing hardware and determing which features can be safely removed from the .config file used in kernel building? Today I removed a lot of features that seemed to me unused using the menu xconfig command, but the new kernel didn't boot. So I've found myself choosing between 2 evils - there's dozens and hundreds drivers I wouldn't need (telephony, amateur radio, video cards I don't have etc etc etc) but I don't know exactly about many of these features whether they're relevant for my hardware or not, whether I should them remove. The standard device probing program on my Ubuntu 6 doesn't help much. So at the moment I'm compiling a new kernel with all this load of stuff set by default, but it sucks a bit that I'm forced to using drivers I might not need at all. Doesn't anyone know any kind of a tool that could resolve this problem?
 
Old 10-03-2006, 04:48 PM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,022

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
If these extra drivers are compiled as kernel modules, as most (just about all) of them are usually by default, then there's really no problem. The only downside is a little extra disk space storing them and a little longer compile time when you redo your kernel. Your system will not run slower, or use more memory, because of a few unused modules laying around. You will use a bit more disk space to store them, but it's usually insignificant in the grand scheme of things. You can get rid of the things you OBVIOUSLY won't be needing when you compile the kernel, but if it's not 100% obvious then I'd say just let it compile (as a module). Your CPU needs to work up a good sweat every now and then anyway! (To keep the thermal paste conducting well )
 
Old 10-03-2006, 04:57 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
No tool I know of. The Docs within the kernel source explain what many of the modules that can be built will work with. Easiest way if unsure then make as module. Like haertig says it will take up more space but will not impact on performance because if not needed then it is not loaded.

Brian1
 
Old 10-03-2006, 05:12 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,790
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
It won't configure your kernel for you, but lshw is a good tool for finding out what you've got lurking under the hood. The GUI version (gtk-lshw) organizes things nicely.
 
Old 10-04-2006, 05:12 AM   #5
deardron
Member
 
Registered: Dec 2003
Location: Russia/Iceland
Distribution: Ubuntu 6, NetBSD 3.1, Cygwin
Posts: 39

Original Poster
Rep: Reputation: 15
Thank you Hangdog42!!! This is tool is practically what I needed!!!
Yes, you are right, guys, about compiling things as modules, but you always want your system to be perfect and kernel being compiled some ten minutes shorter...
 
Old 02-13-2007, 11:01 PM   #6
RadioFanatic
LQ Newbie
 
Registered: Feb 2007
Posts: 8

Rep: Reputation: 0
Stick with your drivers like the amateur radio, you don't know when you'll be needing them.

______________________
Amateur Radio Catalogs - Download Radio Catalogs and Radio Brochures for Free
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Probing PCI hardware TravisOSF Suse/Novell 1 04-16-2006 09:58 AM
Query- Hardware probing hazzyb Linux - Hardware 1 09-20-2005 11:45 AM
Probing for new hardware zillah Linux - Hardware 2 02-20-2005 07:35 AM
Core 1 locks at probing for new hardware Bobby_Fedora Fedora - Installation 1 05-31-2004 09:49 AM
universal hardware probing tool dukeinlondon Linux - General 1 12-25-2003 07:53 PM


All times are GMT -5. The time now is 09:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration