LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-17-2010, 08:52 PM   #1
Phencyclidine
LQ Newbie
 
Registered: Mar 2010
Location: Toronto
Distribution: Ubuntu, Slackware and Debian
Posts: 4

Rep: Reputation: 0
module problem after new kernel


I recently compiled kernel 2.6.33.2 on a system running Ubuntu. I think I used xconfig to config the kernel options, but I basically didn't change anything from the default because there was nothing that appeared to need changing. I have only compiled a kernel once before (2.6.33.1, I think) on an xubuntu system and it worked fine. I have no problems getting grub to load the new kernel, but on this latest build (or whatever you call it), I run into two problems: my wireless doesn't work (wlan0 doesn't show up and I don't think the rndiswrapper module loads) and the nvidia driver doesn't load. While I can get the nvidia driver config gui to load, it won't save changes. Further, even if I ask grub to load one of the older kernels, my wireless still fails now and so does the nvidia driver.

I'm a bit confused just because the last 'custom' kernel compile I did was only a few days before (it was my test run) and it all worked fine, though - of course - I did it on a different computer so the hardware is different. As far as I can tell, I might be able to resolve the issue just by figuring out how to get the 'missing' (?) modules to load into(?) the kernel. I'm new to the kernel compiling thing so I'm not all that familiar with the terminology. What I'm wondering:

(1) How does the install media set up the kernel? Everything works great (of course, nvidia is not set up with install media, but it's trivial to load it) after using the ubuntu 9.10 install DVD, so is there a way I can use a script or something to configure kernel build options as set by the install media when I'm manually updating a kernel?

(2) I compiled 2.6.33.2 but even when I ask grub to load a previous kernel, it's clear that the new options are loaded with the old kernel, which makes me think that the kernel was built and loaded fine, but it's just a matter of loading the correct modules at boot time. Are there backup descriptions of my computer's boot process somewhere that I can revert to?

(3) I'm wondering if I might be able to just pop the missing modules into the initramdisk by making a new initram? I've had to do this for ext4 support in Slackware - though I don't seem to have the same command line tool that offers support for building an initrd with modules that I desire.

I kind of jumped into the process by finding a simple kernel guide for newbs and tested it out, so I have a feeling that some of the terminology I'm using may not be quite right or what I'm saying may not make perfect sense, so please forgive any errors but pointing out my mistakes is also appreciated. I'm not necessarily looking for a "quick fix" but my guess is that people must run into problems like this often enough that someone can suggest something.

Thanks for any help or suggestions.

PCP
 
Old 04-17-2010, 09:20 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,135

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
You might want to look at this to get an idea of why the Ubuntu/Debian tools are recommended. There is a link at the bottom to use a kernel.org package, but it's pretty old.

Personally I've never bothered using one of the "mega" distros to try my own kernels. Too much grief for minor gain.

Edit: Forgot.
We'll need to see that guide you used to comment on your problems using the previous (shipped) kernels.

Last edited by syg00; 04-17-2010 at 09:27 PM.
 
  


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
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 02:55 PM
2in1 problem thread. (nvidia kernel module vs X module, and strange workbug phenom) htedrom Linux - Software 15 10-04-2007 10:55 PM
kernel module problem tgo Programming 3 12-23-2006 04:13 PM
Kernel 2.6.13 and module problem jeffpr Fedora 3 10-07-2005 05:22 PM
problem in kernel module cranium2004 Programming 1 04-14-2005 03:10 AM

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

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