Displaying 5 results from an estimated 5 matches for "unpack_to_rootfs".
2003 Nov 02
5
booting initramfs
Hi all
I'm trying to boot with initramfs
I build my own root fs, and the kernel build links it, I have
double checked this
when the kernel boots unpack_to_rootfs() returns no error, so
it continues and ....
when It tries to mount the rootfs it tries to mount from
an IDE device (where the kernel was built from), and not from
the initramfs "image"
I think this is not documented and I did not found it by gooling
any comment will be greatly appre...
2003 Nov 14
1
initramfs gunzip problems.
...king if image is initramfs...it isn't (ungzip failed); looks like an initrd
The same .cpio archive works if I don't gzip it. I stuck a bunch of
debug statements into the gunzip function to see what was happening.
The core of the problem is in the init/initramfs.c, the populate_rootfs
and unpack_to_rootfs functions.
I see a 512byte image at &__initramfs_start being uncompressed. Then I
see my image during the dry-run inside the "if (initrd_start)" block,
which gets checked correctly with gunzip(). The problem is that the
same call to unpack_to_rootfs() finds another header, which is...
2006 Jul 11
0
klibc and what's the next step?
...Do you not put them in your
initramfs cpio? Why not?
The only reason I see to have /dev is /dev/console, and the only
reason for that is so that you can printk the warning that you
could not open it. We mkdir and rmdir /proc and /sys, and even
/old, so why is /root special?
I'd like to move unpack_to_rootfs to userspace. Why? Because
I'd like to have userspace be able to fetch cpios and unpack
them, and if I have that in the initramfs, then that means I
don't need a second copy in the kernel. I prototyped this
idea back at 2.4.18 or so. Unpack includes a private copy of
zlib, as does the i...
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi,
This is a set of updates for the firstfloor patch queue.
Quick rundown:
revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch
separate-module-percpu-space.patch
Update the module percpu accounting patch
fix-ff-allow-percpu-variables-to-be-page-aligned.patch
Make sure the percpu memory allocation is page-aligned
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi,
This is a set of updates for the firstfloor patch queue.
Quick rundown:
revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch
separate-module-percpu-space.patch
Update the module percpu accounting patch
fix-ff-allow-percpu-variables-to-be-page-aligned.patch
Make sure the percpu memory allocation is page-aligned