LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 05-10-2005, 04:03 PM   #1
monkeyman2000
Member
 
Registered: Oct 2003
Posts: 68

Rep: Reputation: 15
problems booting compiled 2.6.11 kernel


Hi,

I need to compile a new kernel, slightly patched to make my wifi card work right. I currently have a 2.4.26 kernel running. My system is debian unstable, installed originally as knoppix.

I apt-get'ed the latest kernel source and kernel-image, to use that config file
Code:
  apt-get install kernel-source-2.6.11
  apt-get install kernel-image-2.6.11-1-686
  cd /usr/src/
  tar -jxf kernel-source-2.6.11.tar.bz2
  cp /boot/config-2.6.11-1-686 .config
I applied my patch:
Code:
  patch -p1 < /home/joek/orinoco-2.6.11-rfmon-dragorn-1.diff
[it says it applies OK]
I edited the Makefile to set the extraversion, then compiled:
Code:
  make oldconfig
  make xconfig
  make-kpkg clean
  time make-kpkg --initrd --revision=2:laptop.1 kernel_image
    [this took about 2 hours, and successfully created a .deb package]
I installed the newly created .deb:
Code:
  dpkg -i /usr/src/kernel-image-2.6.11200505071_laptop.1_i386.deb
I changed lilo to add the new kernel to the menu, then rebooted. So far everything seems to have worked fine.

HOWEVER, when I try to boot the new kernel, it says (approximately)
Code:
"loading linux kernel...........................................
 ............... checking bios"
This is basically the same thing it says when booting the 2.4 kernel that works. At this point, the screen is supposed to clear, then (normally, with the working kernel) I see a picture of a linux penguin(I think it is in frame buffer mode?) then more text in color indicating the continuing boot process.

But for the newly compiled kernel, the screen just goes blank and nothing more occurs. I need to reboot (using the old kernel from the lilo menu for it too work).

Can anyone help me? Is there something I need to modify in the .config file before compiling? Is there something else I am missing?

Thank you for any help. I have the output of the compilation process saved if that would help, but it is very long.
 
Old 05-11-2005, 07:25 AM   #2
fricike
LQ Newbie
 
Registered: May 2005
Location: Hungary
Posts: 11

Rep: Reputation: 0
In your lilo.conf everything (image, initrd) mathces the files in the /boot/ directory?
I had a similar problem once a long time ago, when i accidentally installed a ....-i386 kernel on the AMD K6/III based notebook instead of ....-k6 kernel.
 
Old 05-11-2005, 09:15 AM   #3
sadun
Member
 
Registered: Mar 2005
Posts: 48

Rep: Reputation: 15
AMD cpu's are recognising as 586 not 686...
 
Old 05-11-2005, 09:48 AM   #4
lingeek
LQ Newbie
 
Registered: Feb 2005
Location: USA
Distribution: Debain
Posts: 29

Rep: Reputation: 15
check whether you have initrd-2.6.11 file in your /boot directory.
 
Old 05-11-2005, 11:04 AM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
also check if you didn't forget some options scsi , ide, file systems.
 
Old 05-11-2005, 11:42 AM   #6
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
Also check if you have module-init-tools installed and the following line in fstab:
none /sys sysfs defaults 0 0
 
Old 05-11-2005, 12:01 PM   #7
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
The framebuffer has a lot of problems with the 2.6 kernels. Very often, the screen will go blank, but the kernel is still booting. You just can't see the boot messages. Try editing /boot/grub/menu.lst Look for "vga=" in the entry for the 2.6.11 kernel. Delete it, or try setting "vga=normal", then see if it will boot properly.
 
Old 05-28-2005, 07:16 PM   #8
pasqualeiv
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
Quote:
Originally posted by m_yates
Look for "vga=" in the entry for the 2.6.11 kernel. Delete it, or try setting "vga=normal", then see if it will boot properly.
This worked for me: in /etc/lilo.conf
vga = normal
/sbin/lilo
 
  


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
Cross compiled kernel-2.6.13 for x86-64 arch stops booting under Slackware-10.1 Basel Slackware 4 09-09-2005 12:57 PM
Compiled kernel 2.6.12 - Some problems RayQ Slackware 47 07-11-2005 09:39 PM
problems with compiled kernel masood_gandhi Linux - Newbie 4 12-30-2004 12:04 PM
Compiled Custom Kernel booting problem _flaab_ Mandriva 3 11-13-2003 06:34 AM
Compiled Kernel>little problems Akshito Linux - Software 0 08-18-2003 02:20 AM


All times are GMT -5. The time now is 09:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration