Displaying 15 results from an estimated 15 matches for "mount_root".
2011 Nov 22
0
[PATCH] kinit: Add ability to mount filesystems via /etc/fstab or cmdline
...index 3ffac91..5d36385 100644
--- a/usr/kinit/do_mounts.c
+++ b/usr/kinit/do_mounts.c
@@ -7,6 +7,7 @@
#include <string.h>
#include <unistd.h>
#include <inttypes.h>
+#include <mntent.h>
#include "do_mounts.h"
#include "kinit.h"
@@ -199,12 +200,97 @@ mount_root(int argc, char *argv[], dev_t root_dev, const char *root_dev_name)
return ret;
}
+int do_cmdline_mounts(int argc, char *argv[])
+{
+ int arg_i;
+
+ for (arg_i = 0; arg_i < argc; arg_i++) {
+ const char *fs_name, *fs_dir, *fs_type;
+ char *fs_opts;
+ unsigned long flags = 0;
+ char new_f...
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
2012 Mar 08
3
[PATCH 0/3] kinit: Allow mount options
This patch series allows user-specified mount commands to be
sent in via kernel command line ("kinit_mount=...") or via
an embedded /etc/fstab file.
The first patch is a cleanup of a patch sent last November
by San Mehat (http://web.archiveorange.com/archive/v/EazJNBMORV2U7E0coh5h);
the next two are small improvements or bug fixes.
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
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
The following patchset implements 3 seperate series of changes.
External Building
=================
Patches 1 through 8 enable to use of klibc's build system while leaving the src
tree pristine (and potentially read only). Specifically:
- srctree=<Sources for klibc>
- objtree=<Ouput directory for klibc>
- KLIBCKERNELSRC=<Kernel sources>
- KLIBCKERNELOBJ=<Kernel
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.
2013 Apr 09
19
[PATCH 00/17] Btrfs-progs: some receive related patches
Most fixes are trivial.
The one from Alex is fixing a real bug that several users have reported.
Alex sent the patch half a year ago and it was not yet integrated.
The patch "Use /proc/mounts instead of /etc/mtab" is a repost.
The patch "btrfs-receive optionally honors the end-cmd" is a preparation
step to allow backup tools to multiplex a single communication stream
(e.g. a
2003 Oct 13
5
initramfs as an initrd replacement
Hi ,
One of the things I am working on requires me to have a kernel and an
initrd (as root filesystem , based on busybox) in one single image. I am
trying to use initramfs for this, but there are a few things that I just
can't figure out.
As a test, I made a cpio archive of my own for the kernel source (plain
2.6.0-test5). Everything gets unpacked just fine during boot. Somehow I
was
2018 Feb 23
2
v4.16-rc2: virtio-block + ext4 lockdep splats / sleeping from invalid context
...62.364481] mount_bdev+0x19c/0x1d8
[ 162.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): [<00000000fa98...
2018 Feb 23
2
v4.16-rc2: virtio-block + ext4 lockdep splats / sleeping from invalid context
...62.364481] mount_bdev+0x19c/0x1d8
[ 162.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): [<00000000fa98...
2006 May 02
0
Fedora core 5 - Ubuntu problems booting domU
...nnot open root device "sda1" or 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.xens...
2018 Feb 26
0
v4.16-rc2: virtio-block + ext4 lockdep splats / sleeping from invalid context
...> [ 162.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 a...
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
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
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...("/sys");
+nada:
return res;
fail:
res = (dev_t) 0;
@@ -275,19 +275,6 @@
putname(fs_names);
}
-#ifdef CONFIG_ROOT_NFS
-static int __init mount_nfs_root(void)
-{
- void *data = nfs_root_data();
-
- create_dev("/dev/root", ROOT_DEV, NULL);
- if (data &&
- do_mount_root("/dev/root", "nfs", root_mountflags, data) == 0)
- return 1;
- return 0;
-}
-#endif
-
#if defined(CONFIG_BLK_DEV_RAM) || defined(CONFIG_BLK_DEV_FD)
void __init change_floppy(char *fmt, ...)
{
@@ -320,15 +307,6 @@
void __init mount_root(void)
{
-#ifdef CONFIG_ROOT_NFS
- i...