All times are UTC-06:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun May 28, 2006 11:52 am 
Offline

Joined: Thu Feb 24, 2005 8:14 am
Posts: 35
Hi togehter.

I have an initramfs problem with the 2.6.16-linux-kernel. I created a cpio-archive with /dev/console and a static init and put this file into the kernel-option for the initramfs. It looks like the make process is putting the automatically compressed file into the kernel-image. But when I now boot it, I always got a kernel panic:
Code:
VFS :cannot open root device "<NULL>" or unknown-block (8,2)
please append a correct "root="boot option
kernel panic :VFS unable to mount root fs on unknown-block (8,2)
Any idea where I should look for an mistake? This would be my first non-x86-initramfs, so it's likely I'm making some stupid error.


Top
   
 Post subject:
PostPosted: Sun May 28, 2006 6:58 pm 
Offline

Joined: Thu Feb 24, 2005 8:14 am
Posts: 35
I was messing around for some time until I gave up. I now created the exactly same setup (using the same cpio-file) using a 2.6.15 kernel. Now I can read my "hello world" (I know, not very useful this init, but that was only to test ;-) ).

So, there are more problems than just a few renaming-problems with 2.6.16. Just in case anybody else gets this problem.

Of course it would still be nice if someone could give me a hint howto get this to work with 2.6.16. Thanks


Top
   
 Post subject:
PostPosted: Mon May 29, 2006 1:27 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Hi!
Did you already try to use an initrd instead of the
initramfs?
I use the initramfs in linux/usr/initramfs_data.cpio.gz only for fb-splash & the initrd (in 2.6.16-kernels in linux/arch/powerpc/boot/ramdisk.image.gz) for ramdisk-boot stuff).
Sorry if I completely missunderstood you! ;)


Top
   
 Post subject:
PostPosted: Mon May 29, 2006 7:00 am 
Offline

Joined: Thu Feb 24, 2005 8:14 am
Posts: 35
Quote:
Did you already try to use an initrd instead of the initramfs?
I didn't - or to be precise, an initrd is my current way to do it with the older kernels. But since initrds are deprecated and initramfs really has some nice improvements, I wanted to try it out since I had to update my kernel nonetheless (hal & co want >=2.6.15). I'm updating to 2.6.15 for now - new enough for updating, old enough for initramfs to work ;-)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group