LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2013, 08:14 AM   #1
Saptarshi4031
LQ Newbie
 
Registered: May 2010
Posts: 8

Rep: Reputation: 0
kernel crash after running a stable kernel from kernel.org


I have downloaded kernel version 3.9.4 mentioned as stable in kernel.org.

I have done the following steps :

a) untar
b) make menuconfig. ( In my first attempt, I tried to customize the config file. But later when the error was persistent,I did not alter any config and just saved the default config)
c) make
d) make modules
e) make modules_install install

Step e) throws a few errors

ERROR: modinfo: could not find module vzdquota
ERROR: modinfo: could not find module vzevent
ERROR: modinfo: could not find module vznetdev
ERROR: modinfo: could not find module vzmon
ERROR: modinfo: could not find module vzdev
ERROR: modinfo: could not find module power_meter
ERROR: modinfo: could not find module dcdbas

I have tried my best to find out where in the kernel source
tree these modules are. But manual search was not helpful neither
did google help.

1)What I could understand is that the kernel networking part may require the modules. But I donot know a way in which to fix the problem.

2)Secondly, the kernel crashed on booting.
I have tried both 3.8.8 as well as 3.9.4.

3) My final question is that is it mandatory to add the patches provided against the kernel before compiling the source and then trying to install. I did not do that thinking that the website mentioned the source as stable. That why i precluded the idea of applying patches.

I shall be more than grateful for ideas in this regards

Thanks
 
Old 06-05-2013, 08:39 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,445

Rep: Reputation: Disabled
The error messages indicate you're missing a number of modules (drivers). This is most likely due to them not being part of the default kernel configuration.

You can probably fix this by using your old config as a starting point. Boot your old kernel and see if the file /proc/config.gz exists. If it does, you can simply copy an unzipped version of that file to the /usr/src/linux-3.9.4 directory as .config. Assuming you untar'ed the kernel source in /usr/src, running the following command before step c) should do the trick:
Code:
zcat /proc/config.gz > /usr/src/linux-3.9.4/.config
The config file will be missing some options that exist in the newer kernel, but fortunately the Makefile targets "oldconfig" or "silentoldconfig" will take care of that. Use make oldconfig if you want to be prompted for the settings for all new options, otherwise make silentoldconfig (which is run automatically when you run make) should be sufficient.

Another issue is related to OpenVZ. Some of the errors refer to OpenVZ-specific modules, and last time I checked, OpenVZ required the application of kernel patches to work properly. This information may be out of date, so I suggest you check the OpenVZ home page for more information.

If you're not actually using OpenVZ containers (you will know if you do), you may ignore the OpenVZ-related error messages. Your system should still work.

Last edited by Ser Olmy; 06-05-2013 at 08:48 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Crash with Machine Check Exception after Kernel Update martin@work Linux - Kernel 6 01-28-2013 06:14 PM
[SOLVED] Netlink sockets in kernel and ethernet driver. Kernel crash. Squier Programming 2 05-08-2011 12:57 PM
[SOLVED] Kernel hang during boot process (Slack 13.1 stable w/ kernel 2.6.33.4-smp) lpallard Slackware 10 06-27-2010 01:53 PM
Stable 13 kernel vs Current kernel in Stable system linus72 Slackware 6 04-01-2010 07:45 AM
stable:2.6.32.7 from kernel.org is really stable? miros84 Linux - Software 2 02-02-2010 01:44 AM


All times are GMT -5. The time now is 04:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration