LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-18-2004, 05:16 PM   #1
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
Kernel 2.6.3 and Lilo problems!!!


Hi I installed kernel 2.6.2 on my Mepis linux install. However I cannot boot it. I get to about 10 seconds in then I get a message about it loading the ram disk, then another one about the device map, then it just craps out and gives up.

I noticed that when I ran lilo I always seemed to get this message:

Code:
Warning: COMPACT may conflict with LBA32 on some systems
/dev/mapper/control: open failed: No such device
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Is device-mapper driver missing from kernel?
Incompatible libdevmapper 1.00.07-ioctl (2003-11-21)(compat) and kernel driver
Added linux26 *
Added linux24
Added failsafe
Added memtest
Added WinXP
Does anybody know what this means or how to fix it?

Also Mepis linux is a debian based distro (a mixture of unstable and experimental packages) - and in debian kernel compiles are slightly differentfrom what I'm used to.

If I compile a kernel downloaded directly from debian mirrors it will automatically build and install an initrd. but this is only possible with source downloaded from an official Debian mirror.

So I was wondering if I downloaded the source from kernel.org - how exactly would I go about creating my own initrd? Can I do this, or is it not possible because of the way Debian does things...

Any input would be appreciated.

GJ
 
Old 02-18-2004, 05:22 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I usually download the source directly from kernel.org, apply the patches I want and then let make-kpkg work its magic. It doesn't crap out with any error on me, and I built 2.6.3 today on my wannabe-server (actually it's an old laptop ) running Debian Sarge/Testing.

I normally do not use an initrd image but a regular kernel image. For me an initrd is not needed so I just define the new kernel image in /etc/lilo.conf (if needed - the symlink magic works pretty well with dpkg and kernel images), rerun lilo and reboot.

Btw, do you have device mapper enabled in "RAID and LVM" part of the kernel configuration?


Håkan

Last edited by hw-tph; 02-18-2004 at 05:24 PM.
 
Old 02-18-2004, 06:13 PM   #3
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Erm... Possibly... I will look at that.... But how do I create an initrd anyway, just for reference?

Also with kpg I read that the correct instruction was

Code:
imake-kpkg --revision=2:hostname.1.0 kernel_image
The bit that confuses me is the hostname, what is that and what should it be?

GJ

Last edited by raid517; 02-18-2004 at 06:21 PM.
 
Old 02-19-2004, 07:20 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
What I do, and it may be correct or not correct, is simply editing the Makefile and changing the first few lines to my liking:
Code:
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 2
EXTRAVERSION = -gentoo-baron2
NAME=Håkan Wikström
This is from my Gentoo laptop but I do the same on all my computers - I change the EXTRAVERSION to -distribution-hostnameNumber. This is the second 2.6.2 build on the host baron, which uses Gentoo. This is my own naming scheme, so I can in an instant see if I run a distribution-supplied kernel or one of my own - uname -r returns "2.6.2-gentoo-baron2" in this case.

Honestly speaking - the reason I do it this way is that I have had enough of problems with make-kpkg.


Håkan
 
  


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
Problems with updating LILO for a kernel recompile.. SocialEngineer Slackware 10 03-08-2005 06:05 PM
Grub/lilo problems finding gentoo kernel under vmware _M0rb Linux - Software 1 02-06-2005 08:53 AM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
HELP! severe booting/kernel problems!! lilo sucks!! darksmiley Linux - General 17 07-03-2004 10:27 AM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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