lkml.org 
[lkml]   [2003]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Initramfs
From
Date
On Wed, 2003-08-20 at 21:44, Garrett Kajmowicz wrote:

> Upon booting I get the following:
>
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8196 (order: 3, 32768 bytes)
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> ->(three characters, an 'o' with an I superimposed, a carat^, and a white
> smilyface)
> Kernel panic: populate_root: bogus mode: 0
>
> In idle task - not syncing

The initramfs cpio unpacker is quite cranky, and has some undocumented
limits. What does "cpio -itv" report on your cpio archive?

If your archive contains any symlinks, for example, the unpacker will
almost certainly blow up.

> How would you suggest I go about fixing this problem, or do you require more
> information?

If you actually want to fix the problem, you'll want to port
init/initramfs.c to userspace, hammer on it until it unpacks what you
want, then port the patches back to the kernel code and test them
there. Unless you're unbelievably patient, in which case do all the
hacking on the kernel code and reboot a lot.

> Also, is there a good detailed FAQ or a HOWTO document available
> online that I might be able to refer to?

No. initramfs is stuck in limbo at the moment, and early userspace is
unlikely to see any real work until 2.7. Feel free to ask questions,
but don't expect them to result in anything actually happening.

If you want to do real work in this area, the klibc mailing list is the
place to go: http://www.zytor.com/mailman/listinfo/klibc

<b

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.118 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site