LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-08-2003, 07:20 PM   #1
jcksrobbins
Member
 
Registered: Oct 2002
Location: Idaho
Posts: 55

Rep: Reputation: 15
Error during "make install" on kernel-2.6 test11


Due to a recent surgery I have a lot of time on my hands so I thought I would try to compile a kernel for the first time on Mandrake 9.2. I copied the instructions in the sticky thread over at the Slackware forum and everything went fine until I did make install and I get the following:

Code:
[root@J2 linux-2.6.0-test11]# make install
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /home/jeff/linux-2.6.0-test11/arch/i386/boot/install.sh 2.6.0-test11 arch/i386/boot/bzImage System.map ""
There is no /lib/modules/2.6.0-test11, skipping creation of initrd
There was an error when generating initrd try to do a :
/sbin/mkinitrd /boot/initrd-2.6.0-test11.img 2.6.0-test11
and see the errors
Any chance someone could decipher this and point me in the right direction?
 
Old 12-08-2003, 08:01 PM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
There is no /lib/modules/2.6.0-test11

You need to run make modules_install
 
Old 12-08-2003, 09:50 PM   #3
jcksrobbins
Member
 
Registered: Oct 2002
Location: Idaho
Posts: 55

Original Poster
Rep: Reputation: 15
OK, I've done make modules install but I seem to have run into another issue:

Code:
Kernel: arch/i386/boot/bzImage is ready
sh /home/jeff/linux-2.6.0-test11/arch/i386/boot/install.sh 2.6.0-test11 arch/i386/boot/bzImage System.map ""
look like there was a problem, the default vmlinuz version is not the same
of the initrd
which mean you have a mdk kernel and not a mdk initrd you may go in trouble
I have checked and I do have a initrd for the new kernel in the /boot directory. Or do I need to change the default in lilo to the new kernel?
 
Old 12-09-2003, 02:22 PM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Go to /boot and do this:
mkinitrd initrd-2.6.0-test11.img 2.6.0-test11

Then edit /etc/lilo.conf and make sure the image=vmlinuz-2.6.0-test11 section also has a line like this:
initrd=/boot/initrd-2.6.0-test11.img

Save lilo.conf and run lilo again.
 
Old 12-09-2003, 03:51 PM   #5
jcksrobbins
Member
 
Registered: Oct 2002
Location: Idaho
Posts: 55

Original Poster
Rep: Reputation: 15
Hey thanks! That did it. I am up and running on my new kernel today.

I could have sworn there was initrd for the new kernel last night. Of course, I am on some heavy duty pain medication right now... so who knows.

HMMMM....Maybe its not such a good idea to compile your first kernel when you are doped-up on pain pills!
 
Old 12-11-2003, 07:42 PM   #6
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Quote:
Maybe its not such a good idea to compile your first kernel when you are doped-up on pain pills!
hehe, sometimes I think it might help.
 
  


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 compilation:throwing error related with sound during "make bzImage" b0nd Linux - Newbie 1 08-19-2005 09:16 AM
Kernel make bzImage error "undefined reference" w/ Prism2.5 USB driver under 2.6 joachimvb Mandriva 1 09-24-2004 07:43 PM
Error "make: *** No rule to make target `install'. Stop." help Ohmn Mandriva 8 07-02-2004 07:02 PM
Compiling the kernel: error with "make mrproper" dominik81 Linux - Newbie 1 06-10-2004 02:06 PM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM

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

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