
26th December 2006, 02:18
|
|
Junior Member
|
|
Join Date: Dec 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

26th December 2006, 04:25
|
|
Junior Member
|
|
Join Date: Nov 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

26th December 2006, 13:00
|
|
Junior Member
|
|
Join Date: Dec 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yep, I have that.. Still no luck..
|

26th December 2006, 18:19
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
I suggest you have a look here: http://www.howtoforge.com/kernel_compilation_debian
What's the output of and ? What's in /boot/grub/menu.lst?
|

26th December 2006, 23:36
|
|
Junior Member
|
|
Join Date: Dec 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 ?
|

27th December 2006, 17:07
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 04:49.
|
Recent comments
20 hours 17 min ago
1 day 1 hour ago
1 day 1 hour ago
1 day 1 hour ago
1 day 2 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 9 hours ago