Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th December 2006, 02:18
cassel cassel is offline
Junior Member
 
Join Date: Dec 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compiling and rebooting kernel (debian etch)

Hey guys,
I tried to compile kernel following this instruction http://www.debianuniverse.com/readonline/chapter/21 and everything went fine with compiling, installing, but, as you can guess, I got problem trying to boot into new kernel... I got message: "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)". And it's kind a strange, cause I compiled kernel with my working .config file, didn't touch any point, just loaded, and compiled... So can anybody help me with this? Kernel 2.6.19, the reason, why I'm trying to recompile kernel is my wireless card, it's problematic for me to get it working..
Thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 26th December 2006, 04:25
jack.ma jack.ma is offline
Junior Member
 
Join Date: Nov 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you have a package similar as initrd.img in the directory where the new kernel is sitting after compiling? If not, try to produce it. You can have a look at "How to compile the kernel-the ubuntu way". I think it will give you some clues.

Well, I also got the message:"Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)" while booting my new kernel. You see I want to custom my little linux that has a minimal kernel, a minimal busybox embedded in the rootfs. I call my linux as magicbox.I hope the magicbox can work on a piece o f floppy disk or usb disk. I made the rootfs with busybox as ramdisk image. My kernel boots well with the old initrd.img.So I think there maybe something wrong with my ramdisk image or I have lost something that initializes the hardware before installing the ramdisk image. I want to attach my ramdisk image here, but don't know how.

Any suggestion or informtion is greately appreciated

-jack

Last edited by jack.ma; 26th December 2006 at 05:00.
Reply With Quote
  #3  
Old 26th December 2006, 13:00
cassel cassel is offline
Junior Member
 
Join Date: Dec 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yep, I have that.. Still no luck..
Reply With Quote
  #4  
Old 26th December 2006, 18:19
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

I suggest you have a look here: http://www.howtoforge.com/kernel_compilation_debian

What's the output of
Code:
ls -la /boot
and
Code:
df -h
? What's in /boot/grub/menu.lst?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 26th December 2006, 23:36
cassel cassel is offline
Junior Member
 
Join Date: Dec 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Falko, I did everything according your instructions and it worked but what about ipw3945 (intel pro wireless) module? is it possible to compile into kernel? cause I don't find it in vanilla kernel. Maybe there is some patches.. just I don't know how to operate with patches And one more question, can I apply existing kernel configuration to newer kernel, lets say from 2.6.8-3 to 2.6.9-1 ?
Reply With Quote
  #6  
Old 27th December 2006, 17:07
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by cassel
Thanks Falko, I did everything according your instructions and it worked but what about ipw3945 (intel pro wireless) module? is it possible to compile into kernel? cause I don't find it in vanilla kernel. Maybe there is some patches.. just I don't know how to operate with patches
If there are patches for it, then you can compile it into the kernel. The tutorial shows how to patch the kernel sources.

Quote:
Originally Posted by cassel
And one more question, can I apply existing kernel configuration to newer kernel, lets say from 2.6.8-3 to 2.6.9-1 ?
Yes, that should work.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.