Displaying 20 results from an estimated 21 matches for "prepare_namespace".
2005 Mar 29
3
Query regarding initramfs
Hi
1. Is it possible to load an initrd from initramfs ?
How would you do this if the initramfs is being loaded dynamically in
the kernel
(ie having the initramfs as initrd )
Because in this case, you will say root = /dev/initrd and specify 'initrd'
as your 'initramfs source file'
How will you specify the second initrd source?
Thanks
Rachita.
2005 Apr 06
4
Query on Initramfs' and Initrd's coexistence
...ysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Kernel panic - not syscing: Attempted to kill init!
2. This issue is irrespective of issue 1. I was wondering how I would be
spawning the real init after the real_root_dev has been mounted....
In the normal booting case(i.e. without initramfs) prepare_namespace()
returns and /sbin/init is executed
in init/main.c:init(). But, in the initramfs case, since prepare_namespace
is not called, this needs to be done in my init application on initramfs.
Klibc does not support threads. Am i right here? So when I 'exec' linuxrc
after mounting initrd, it will...
2013 Mar 06
6
Latest Xen on ARM Fast Models
Hi,
I''m having some problems with getting the latest linux kernel and xen build
working on ARM''s Fast Model simulator ( Cortex A15 ). I tried a lot of
different configurations and I''m having trouble with all of them. I got all
my information from the wiki pages at
http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions#Building_Xen_on_ARM
.
I was hoping
2006 Jul 11
0
klibc and what's the next step?
...o see kinit merged.
> It (the merge into linux-2.6.XY) doesnt solve any real problem in the
> long term.
> Instead, make a kinit distribution. Let it install itself into an
> obvious
> location on the development box (/usr/lib/kinit/* or whatever), remove
> all
> code behind prepare_namespace() and put a disclaimer into the Linux
> 2.6.XY
> releasenote stating where to grab and build a kinit binary:
> make && sudo make install
> It can even provide its own CONFIG_INITRAMFS_SOURCE file, so that would
> be the only required change to the used .config.
I proposed t...
2016 Dec 06
1
Kernel panic after kernel update
...0.676570] [<ffffffff81030001>] show_stack+0x21/0x40
[ 0.678480] [<ffffffff813a4252>] dump_stack+0x5c/0x7a
[ 0.680369] [<ffffffff8118e3fa>] panic+0xd5/0x217
[ 0.682169] [<ffffffff81f56419>] mount_block_root+0x1fe/0x2c0
[ 0.684285] [<ffffffff81f56668>] prepare_namespace+0x12b/0x161
[ 0.686439] [<ffffffff81f56103>] kernel_init_freeable+0x1f6/0x20a
[ 0.688675] [<ffffffff816c727a>] kernel_init+0xa/0x100
[ 0.690623] [<ffffffff816d485f>] ret_from_fork+0x1f/0x40
[ 0.696659] DWARF2 unwinder stuck at ret_from_fork+0x1f/0x40
[ 0.698858]...
2004 Jun 30
1
initramfs and kernel 2.6.7
Hi,
I 'am trying to launch linux kernel 2.6.7 with initramfs.
My pxelinux.cfg/default file looks as follows:
default a1
prompt 1
timeout 600
label a1
kernel vmlinuz-2.6.7-1
append initrd=initramfs_data.cpio.gz root=/dev/ram0 init=/linuxrc
Kernel image vmlinuz-2.6.7-1 and initramfs_data.cpio.gz was loaded
succesfully by pxelinux.
Kernel says:
checking if image is initramfs... it is
but
2003 Nov 21
1
cpio archiving unpacking problem
Hello,
There seems to be problem in the cpio unpack in the kernel in
initramfs. I have an empty "/sys" directory in my cpio archive, but it
never shows up in my extracted initramfs.
I've confirmed that extracting the archive again with cpio results in a
correct tree, but it doesn't appear on boot when extracted by the
kernel.
Any ideas? I poked a bit, but I haven't
2004 Oct 25
1
kinit
I think the main bit of the puzzle that's missing for klibc integration
at this point, other than the kbuild bits, is a kinit that's a true
replacement for prepare_namespace() and everything south of it in
init/main.c. This means that it should be able to replace all that code
and any code that's removed from it, totalling about 6000 lines of
kernel code.
The kinit that's currently in the klibc tree is missing quite a bit of
functionality, such as proper...
2004 Oct 26
1
[Fwd: Re: kinit]
....de>
To: H. Peter Anvin <hpa@zytor.com>
References: <417DF200.5070105@zytor.com>
H. Peter Anvin wrote:
> I think the main bit of the puzzle that's missing for klibc integration
> at this point, other than the kbuild bits, is a kinit that's a true
> replacement for prepare_namespace() and everything south of it in
> init/main.c. This means that it should be able to replace all that code
> and any code that's removed from it, totalling about 6000 lines of
> kernel code.
>
> The kinit that's currently in the klibc tree is missing quite a bit of
>...
2004 Dec 24
1
Newbie Question
...mat. However, I have some questions as too what
exactly /init in a iniramfs system is responsible for? My current
images probe/configure devices using devfs and libkudzu (basically, the
same as knoppix detection setup) and create a tmpramfs root for use with
pivot_root. However, looking thru prepare_namespace, it appears that MD
arrays need to be detected/fired up as well as the root changed. Would
my /init need to do something to startup MD arrays ? Can I still just
mount devfs on /dev as I do in the initrd images or do I need to do some
lower level setup first?
I'd also LOVE the ability t...
2005 Jan 05
1
Status/future for klibc/initramfs
I'm wondering where things are on the roadmap for klibc and
initramfs/early userspace. When will everything be harmonized with the
kernel and be the default? What is left to do?
I'm in my own little world, but I have a pretty good
klibc/hotplug/udev/kinit early userspace that just works (for me). It's
taken me a bit to get things to work because I just couldn't find all
the
2010 Apr 07
15
XEN 4.0 boot error
Hey all,
Just downloaded the new Xen 4.0 and ran
Make xen
Make tools
Make stubdom
Copied the new files from dist/install
Im already running pv_ops 2.6.31.6 kernel.
When I boot i get
(XEN) Panic on CPU 0:
(XEN) IO-APIC + timer doesn''t work!
I have tried booting with noapic boot option but makes no difference.
The system worked fine on 3.4.2
CPU is AMD.
2005 May 22
1
[patch 00/12] ipconfig and nfsmount compatibility with glibc
Hi,
The following set of patches is intended mostly to improve
ipconfig and nfsmount compatibility with glibc.
The context: I'm working on yaird, an alternative to mkinitrd,
and currently implementing nfs root file systems. This is based
on ipconfig and nfsmount from klibc, with a rewritten version of kinit.
Users should be able to build the package with vanilla glibc,
since klibc is not
2018 Feb 23
2
v4.16-rc2: virtio-block + ext4 lockdep splats / sleeping from invalid context
...62.365345] ext4_mount+0x14/0x20
[ 162.366130] mount_fs+0x34/0x160
[ 162.366790] vfs_kern_mount.part.8+0x54/0x160
[ 162.367874] do_mount+0x540/0xd40
[ 162.373776] SyS_mount+0x68/0x100
[ 162.374467] mount_block_root+0x11c/0x28c
[ 162.376558] mount_root+0x130/0x164
[ 162.380753] prepare_namespace+0x138/0x180
[ 162.381729] kernel_init_freeable+0x25c/0x280
[ 162.382625] kernel_init+0x10/0x100
[ 162.383337] ret_from_fork+0x10/0x18
[ 162.384072] irq event stamp: 3670810
[ 162.384787] hardirqs last enabled at (3670805): [<00000000fa98454e>] arch_cpu_idle+0x14/0x28
[ 162.386505...
2018 Feb 23
2
v4.16-rc2: virtio-block + ext4 lockdep splats / sleeping from invalid context
...62.365345] ext4_mount+0x14/0x20
[ 162.366130] mount_fs+0x34/0x160
[ 162.366790] vfs_kern_mount.part.8+0x54/0x160
[ 162.367874] do_mount+0x540/0xd40
[ 162.373776] SyS_mount+0x68/0x100
[ 162.374467] mount_block_root+0x11c/0x28c
[ 162.376558] mount_root+0x130/0x164
[ 162.380753] prepare_namespace+0x138/0x180
[ 162.381729] kernel_init_freeable+0x25c/0x280
[ 162.382625] kernel_init+0x10/0x100
[ 162.383337] ret_from_fork+0x10/0x18
[ 162.384072] irq event stamp: 3670810
[ 162.384787] hardirqs last enabled at (3670805): [<00000000fa98454e>] arch_cpu_idle+0x14/0x28
[ 162.386505...
2006 May 02
0
Fedora core 5 - Ubuntu problems booting domU
...unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
[<c011c50c>] panic+0x3c/0x190
[<c03c6a5c>] mount_block_root+0x19c/0x1aa
[<c03c6ab3>] mount_root+0x49/0x4e
[<c03c6b78>] prepare_namespace+0xc0/0xf1
[<c0102267>] init+0x23e/0x2fe
[<c0102029>] init+0x0/0x2fe
[<c01029ad>] kernel_thread_helper+0x5/0xb
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
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
2018 Feb 26
0
v4.16-rc2: virtio-block + ext4 lockdep splats / sleeping from invalid context
...gt; [ 162.366130] mount_fs+0x34/0x160
> [ 162.366790] vfs_kern_mount.part.8+0x54/0x160
> [ 162.367874] do_mount+0x540/0xd40
> [ 162.373776] SyS_mount+0x68/0x100
> [ 162.374467] mount_block_root+0x11c/0x28c
> [ 162.376558] mount_root+0x130/0x164
> [ 162.380753] prepare_namespace+0x138/0x180
> [ 162.381729] kernel_init_freeable+0x25c/0x280
> [ 162.382625] kernel_init+0x10/0x100
> [ 162.383337] ret_from_fork+0x10/0x18
> [ 162.384072] irq event stamp: 3670810
> [ 162.384787] hardirqs last enabled at (3670805): [<00000000fa98454e>] arch_cpu_idl...
2012 Nov 25
2
Cannot open root device xvda1 or unknown-block(0,0)
...0 Not tainted 3.5.7-gentoo #1
[ 270.360446] Call Trace:
[ 270.360454] [<ffffffff813d2205>] ? panic+0xbe/0x1c5
[ 270.360459] [<ffffffff813d2358>] ? printk+0x4c/0x51
[ 270.360464] [<ffffffff815d5fb7>] ? mount_block_root+0x24f/0x26d
[ 270.360469] [<ffffffff815d62b6>] ? prepare_namespace+0x168/0x192
[ 270.360474] [<ffffffff815d5ca7>] ? kernel_init+0x1b0/0x1c2
[ 270.360477] [<ffffffff815d5500>] ? loglevel+0x34/0x34
[ 270.360482] [<ffffffff813d5a64>] ? kernel_thread_helper+0x4/0x10
[ 270.360486] [<ffffffff813d4038>] ? retint_restore_args+0x5/0x6
[ 270...
2010 Apr 22
25
Scrubbing free ram
Hi everyone,
I am working on a project whose goal is evaluating
the performance of the vTPM Manager. For this project I am using Xen
4.1, Kernel 2.6.31.13 with Fedora11. I I finished all installation and
configuration parts. Now I need to boot the system with Xen but while
booting, it is freezing at the step "scrubbing free ram". What can be
cause this problem and how can I figure it