LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 01-25-2009, 05:34 AM   #1
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 301

Rep: Reputation: 32
Compiling new kernel. What about new modules?


Hi guys and gals,

I'm trying to compile a kernel 2.6.28 that will be configured specifically for my eeepc 1000ha. There isn't much you can do to a laptop, so I see no reason to have all those extra modules for hardware that I don't need. Also 2.6.28 has some good drivers for the wireless card and graphics that I want to try out.

My questions are 1) how do I install the required modules for my hardware? 2) how do I know the exact name of the modules for my hardware?

Extra Info: Debian 5.0 and I've already configured the kernel... just need to compile and install. I will be using the "Debian Way" to compile the kernel using make-kpkg and installing the .deb file.
 
Old 01-25-2009, 05:41 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,567
Blog Entries: 1

Rep: Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026
Quote:
1) how do I install the required modules for my hardware?
When you get to the step:
Quote:
make menuconfig
navigate through the menu to get to the drivers. You'll get a list of device names to choose from. Make sure the hardware you have is selected.
 
Old 01-25-2009, 05:52 AM   #3
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 301

Original Poster
Rep: Reputation: 32
OK. That's the simple part. Now I haven't been successful in the past with kernels... so I'm being gun-shy and cautious.

So basically I compile and install and everything is taken care of? I reboot in the new kernel and all the modules I "need" will be installed and everything?
 
Old 01-25-2009, 06:17 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,567
Blog Entries: 1

Rep: Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026
Quote:
Originally Posted by checkmate3001 View Post
So basically I compile and install and everything is taken care of? I reboot in the new kernel and all the modules I "need" will be installed and everything?
The idea is that when you boot into your new kernel it will scan your hardware and enable the necessary modules. If you have a working kernel and just want to add some additional functionality, load the .config file of the working kernel to menuconfig and base your selection on it.

Is there any specific piece of hardware that you have problems with?
 
Old 01-25-2009, 04:31 PM   #5
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 301

Original Poster
Rep: Reputation: 32
kernel 2.6.28 eeepc 1000ha hardware

The two pieces of hardware that I'm hoping to add functionality for are the atheros5007 wireless pci card (I may have the name slightly incorrect - I'm basing it on memory). Windows gets the card correct, linux guesses incorrectly. It works in linux, but I'm hoping to add some functionality - maybe it will help clear up some very minor issues I'm having.

Also I want to add functionality for the Intel 945GM graphics chipset. Hopefully this will allow me to use a virtual resolution with Xorg. Ubuntu allowed me to have a virtual resolution, in debian it does not. I found a firmware fix somewhere but it was rather confusing and complicated. It has something to do with the firmware on the card being programed to only allow certain resolutions and you have to trade on set of resolutions (ie: 600x480) for a larger resolution. It was strange. I believe right now it is using the Intel 915 drivers. Again, it works... but I want to tinker.

I just finished compiling and installing... I am going to give it a go...
 
  


Reply

Tags
compile, kernel, makekpkg, modules


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
/lib/modules/2.4.33.3/kernel/sound folder is missing after compiling kernel Paulo Ges Slackware - Installation 2 04-15-2007 08:42 PM
Compiling kernel modules andrugene Linux - Kernel 21 07-11-2006 12:17 AM
Compiling kernel modules NNP Programming 4 12-18-2005 02:08 PM
compiling kernel modules axr0284 Programming 2 11-26-2005 03:08 PM
need some help in Compiling Kernel modules bharat83 Suse/Novell 1 01-07-2005 07:21 AM


All times are GMT -5. The time now is 01:25 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