cannot load my new kernel


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users cannot load my new kernel
# 1  
Old 03-01-2012
cannot load my new kernel

Let's open a discussion here:

I am tryin to install a Real Time kernel on my Ubuntu 11.04 Server machine with size 4GB. Before this, I am tryin to install a minimal kernel required in my Ubuntu 11.4 Desktop, but you know, the boot loader cannot load my new kernel. I have also tried the instruction on my Red Hat (CentOS 6) machine and ... again the same problem. boot loader stucks in loading my kernel, (i recall it was saying error with image number)

Here were the instructions:

1. tar xzf linux-2.6.31.6.tar
2. gunzip patch-2.6.31.6-rt19
3. cd linux-2.6.31.6 && patch p1 < ../patch-.6.31.6-rt19
4. make menuconfig (as I need a minimal kernel, I create .config using cat >> .config first)
5. make
6. make modules
7. make modules_install
8. make install (though this give the below output n finishes, but a window prompts n says that fglrx-8.840 cannot be installed or upgraded)

Code:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found linux image: /boot/vmlinuz-2.6.31.6-rt192.6.31.6-rt19
Found initrd image: /boot/initrd.img-2.6.31.6-rt192.6.31.6-rt19
Found linux image: /boot/vmlinuz-2.6.31.6-rt192.6.31.6-rt19.old
Found initrd image: /boot/initrd.img-2.6.31.6-rt192.6.31.6-rt19
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done

9. I use update-initramfs and five the module folder in /lib/modules as the parameter:
Code:
sudo update-initramfs -c -k 2.6.31.6-rt19

10.
Code:
update-grub

You know, I have also tried compiling this kernel using other methods like:

Code:
cd linux-2.6.31.6 && patch p1 < ../patch-.6.31.6-rt19
make 
make modules
make modules_install
cp arch/x86/boot/bzImage /boot/vmlinuz-version &&
cp Systems.map /boot/Systems.map-version

then running initramfs and giving the /lib/modules/2.6.... as the parameter. Finally updating grub.

but again it cannot load my kernel. Could anyone help me please to compile my new kernel.

Quote:
I would also thank if you mention how I can transfer my compiled kernel in my laptop to the 4GB machine. I think if I copy the compiled bzImage on my laptop there. But don't know about the compiled modules and... I'd thank if you mention everything precisely.
when I choose recovery mode in the boot loader it gives the following notification and it gets stuck till i reboot:
Quote:
loading linux 2.6.31.6-rt19 ...
loading initial ramdisk ...

I also added the nomodeset at the end of linux line but nothing happened.
(stucks)
Regards

Last edited by dr_mabuse; 03-01-2012 at 02:16 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

How to Load a CICS IPC Kernel Extension in a versioned "rootvg" WPAR ?

Anyone running CICS TX in a WPAR ? In my attempts to run CICS TX 5.1.0.1 in a WPAR..... CICS fails to start due to unable to load a CICS IPC Kernel Extension. The Kernel Extension is 64 bit (so not a 32 vs 64 bit issue). Base system/LPAR is Power8 and AIX 7.1 TL3 SP5. WPAR is versioned... (4 Replies)
Discussion started by: The Doctor
4 Replies

2. Linux

Unload kernel module at boot time (Debian Wheezy 7.2, 3.2.0-4-686-pae kernel)

Hi everyone, I am trying to prevent the ehci_hcd kernel module to load at boot time. Here's what I've tried so far: 1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here): 2) Blacklisted the module by adding the following string to 3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies

3. UNIX for Dummies Questions & Answers

VPS has load 200, httpd load no activity, netstat nothing

Hello, on my hostserver i see one VPS of mine got load of 200.00 and netstat nothing (not a single blank line on netstat command) after some time, netstat started showing connections, but i see no excessive IP connections. tail -f /var/log/httpd/access_log shows no activity /var/log/messages ;... (1 Reply)
Discussion started by: postcd
1 Replies

4. Solaris

Which file is read by kernel to set its default system kernel parameters values?

Hi gurus Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies

5. SuSE

max number of slabs per kernel module (kernel 2.6.17, suse)

Hi All, Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff. Cheers, Brendan (4 Replies)
Discussion started by: Brendan Kennedy
4 Replies

6. Shell Programming and Scripting

Need help in wrting Load Script for a Load-Resume type of load.

hi all need your help. I am wrting a script that will load data into the table. then on another load will append the data into the existing table. Regards Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies

7. UNIX for Advanced & Expert Users

Sun: High kernel usage & very high load averages

Hi, I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at? Thanks, Lorraine last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies

8. Linux

load dynamic and shared library in kernel

hi how can i load dynamic or shared library in linux kernel modules . mtaghiloo@yahoo.com (0 Replies)
Discussion started by: mtaghiloo
0 Replies

9. SuSE

How do I load kernel modules so BestCrypt will work

I'm using SuSE 9.2 Pro and trying to use a program call BestCrypt. I get it installed and type bctool and it says "Kernel modules not loaded". If you need to know anymore about it you can find it at http://www.jetico.com/linux/bcrypt-help/index.htm linux:/home/chris/Desktop/Xtheater-0.9.2 #... (6 Replies)
Discussion started by: CTroxtell21
6 Replies
Login or Register to Ask a Question