Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


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

Rep: Reputation: 15
problems booting compiled 2.6.11 kernel


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
  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:
  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:
  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:
  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)
"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, 08:25 AM   #2
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, 10:15 AM   #3
Registered: Mar 2005
Posts: 48

Rep: Reputation: 15
AMD cpu's are recognising as 586 not 686...
Old 05-11-2005, 10:48 AM   #4
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, 12:04 PM   #5
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

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

Rep: Reputation: 54
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, 01:01 PM   #7
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,248

Rep: Reputation: 79
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, 08:16 PM   #8
LQ Newbie
Registered: May 2005
Posts: 3

Rep: Reputation: 0
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


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 01:57 PM
Compiled kernel 2.6.12 - Some problems RayQ Slackware 47 07-11-2005 10:39 PM
problems with compiled kernel masood_gandhi Linux - Newbie 4 12-30-2004 01:04 PM
Compiled Custom Kernel booting problem _flaab_ Mandriva 3 11-13-2003 07:34 AM
Compiled Kernel>little problems Akshito Linux - Software 0 08-18-2003 03:20 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration