search for: root_devic

Displaying 20 results from an estimated 72 matches for "root_devic".

Did you mean: root_device
2006 Jun 26
0
[klibc 06/43] Re-create ROOT_DEV, too many architectures need it.
ROOT_DEV carries a root device number communicated in an architecture- specific way. We now pass it to kinit via the real-root-dev sysctl call. Signed-off-by: H. Peter Anvin <hpa at zytor.com> --- commit 0f5a324d655ad582246b6830843114d09835f593 tree fd3a96a69b6d74ee33dcd54a58b8666c02139a3a parent f3e41698e540a7d39658d6590fde1379c0f5bab0 author H. Peter Anvin <hpa at zytor.com> Thu,
2011 Mar 22
1
[PATCH v2v] Add --root (root choice) option.
I tested this for the --root=ask, --root=single cases, and the others look obvious from code inspection. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW
2011 Apr 26
7
[PATCH 1/7] Push $desc creation into Sys::VirtConvert::Converter->convert
...initrd, and is therefore extremely nasty # and applicable only to a particular version of mkinitrd. if ($desc->{distro} eq 'rhel' && $desc->{major_version} eq '4') { - push(@env, 'root_lvm=1') if ($g->is_lv($desc->{root_device})); + push(@env, 'root_lvm=1') if ($g->is_lv($root)); } $g->sh(join(' ', @env).' /sbin/mkinitrd '.join(' ', @module_args). diff --git a/lib/Sys/VirtConvert/Converter/Windows.pm b/lib/Sys/VirtConvert/Converter/Windows....
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...S, trying floppy.\n"); - ROOT_DEV = Root_FD0; - } -#endif #ifdef CONFIG_BLK_DEV_FD if (MAJOR(ROOT_DEV) == FLOPPY_MAJOR) { /* rd_doload is 2 for a dual initrd/ramload setup */ @@ -352,10 +330,6 @@ { int is_floppy; - mount_devfs(); - - md_run_setup(); - if (saved_root_name[0]) { root_device_name = saved_root_name; ROOT_DEV = name_to_dev_t(root_device_name); @@ -363,6 +337,13 @@ root_device_name += 5; } + if (ROOT_DEV == Root_InitRamFS) + goto done; + + mount_devfs(); + + md_run_setup(); + is_floppy = MAJOR(ROOT_DEV) == FLOPPY_MAJOR; /* This has to be before mounting...
2010 Mar 24
2
[PATCH node][REPOST 1/2] Fix uninstall to detect and cleanup correct partitions
Previous implementation had staticly defined partitions to remove. This would break in the case of split Root and HostVG devices. Signed-off-by: Mike Burns <mburns at redhat.com> --- scripts/ovirt-config-boot | 11 +-------- scripts/ovirt-config-uninstall | 48 ++++++++++++++++++++++++--------------- scripts/ovirt-functions | 33 +++++++++++++++++++++++++++ 3 files
2011 Mar 10
1
[PATCH 10/21] Staging: hv: Cleanup root device handling
...ctx; int ret; unsigned int vector; @@ -483,45 +432,34 @@ static int vmbus_bus_init(void) DPRINT_INFO(VMBUS_DRV, "irq 0x%x vector 0x%x", vmbus_irq, vector); - /* Add the root device */ - memset(dev_ctx, 0, sizeof(struct hv_device)); + /* Register the root device */ + root_dev = root_device_register(driver_name); - ret = vmbus_dev_add(dev_ctx, &vector); - if (ret != 0) { + if (IS_ERR(root_dev)) { DPRINT_ERR(VMBUS_DRV, - "ERROR - Unable to add vmbus root device"); + "ERROR - Unable to register vmbus root device"); free_irq(vmbus_irq, NULL);...
2011 Mar 10
1
[PATCH 10/21] Staging: hv: Cleanup root device handling
...ctx; int ret; unsigned int vector; @@ -483,45 +432,34 @@ static int vmbus_bus_init(void) DPRINT_INFO(VMBUS_DRV, "irq 0x%x vector 0x%x", vmbus_irq, vector); - /* Add the root device */ - memset(dev_ctx, 0, sizeof(struct hv_device)); + /* Register the root device */ + root_dev = root_device_register(driver_name); - ret = vmbus_dev_add(dev_ctx, &vector); - if (ret != 0) { + if (IS_ERR(root_dev)) { DPRINT_ERR(VMBUS_DRV, - "ERROR - Unable to add vmbus root device"); + "ERROR - Unable to register vmbus root device"); free_irq(vmbus_irq, NULL);...
2010 Mar 23
1
[PATCH node][RFC] Remove dependencies on /dev/disk/by-label entries
Use findfs LABEL=ABC and mount LABEL=ABC instead. Signed-off-by: Mike Burns <mburns at redhat.com> --- scripts/ovirt-config-boot | 29 ++++++++++++++++------------- scripts/ovirt-config-storage | 2 -- scripts/ovirt-functions | 18 ++++++++++-------- 3 files changed, 26 insertions(+), 23 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index
2011 Nov 22
0
[PATCH] kinit: Add ability to mount filesystems via /etc/fstab or cmdline
This patch adds the ability to mount filesystems via an embedded fstab or via the kernel command line. When using the kernel command-line, the following format is required: 'kinit_mount=<fs_name>;<fs_dir>;<fs_type>;<fs_opts>' Multiple mount options can be specified; they are evaluated in the order they appear in the command-line. Signed-off-by: San Mehat <san
2011 Mar 10
1
[PATCH 13/21] [PATCH 13/21] Staging: hv: Rename vmbus_driver_context structure
...ROR - Unable to register vmbus root device"); free_irq(pdev->irq, pdev); - bus_unregister(&vmbus_drv_ctx->bus); + bus_unregister(&hv_bus.bus); ret = PTR_ERR(root_dev); goto cleanup; @@ -456,7 +453,7 @@ static int vmbus_bus_init(struct pci_dev *pdev) if (ret) { root_device_unregister(root_dev); free_irq(pdev->irq, pdev); - bus_unregister(&vmbus_drv_ctx->bus); + bus_unregister(&hv_bus.bus); goto cleanup; } @@ -475,7 +472,6 @@ cleanup: */ static void vmbus_bus_exit(void) { - struct vmbus_driver_context *vmbus_drv_ctx = &vmbus_drv;...
2011 Mar 10
1
[PATCH 13/21] [PATCH 13/21] Staging: hv: Rename vmbus_driver_context structure
...ROR - Unable to register vmbus root device"); free_irq(pdev->irq, pdev); - bus_unregister(&vmbus_drv_ctx->bus); + bus_unregister(&hv_bus.bus); ret = PTR_ERR(root_dev); goto cleanup; @@ -456,7 +453,7 @@ static int vmbus_bus_init(struct pci_dev *pdev) if (ret) { root_device_unregister(root_dev); free_irq(pdev->irq, pdev); - bus_unregister(&vmbus_drv_ctx->bus); + bus_unregister(&hv_bus.bus); goto cleanup; } @@ -475,7 +472,6 @@ cleanup: */ static void vmbus_bus_exit(void) { - struct vmbus_driver_context *vmbus_drv_ctx = &vmbus_drv;...
2005 Jan 11
17
[Fwd: Installing from distribution CDs]
Sorry, hit send instead of attach again. Rest of patches included. -- Anthony Liguori Samba, Linux/Windows Interoperability Linux Technology Center (LTC) - IBM Austin E-mail: aliguori@us.ibm.com Phone: (512) 838-1208 Tie Line: 678-1208
2006 Jun 26
0
[klibc 07/43] Eliminate unnecessary whitespace delta vs. Linus' tree
Linus' tree has a space-tab sequence for a few lines in these files, causing an unnecessary delta. Signed-off-by: H. Peter Anvin <hpa at zytor.com> --- commit 7c753dbe7467f0d5ff6904f1bf5840350527e3c4 tree c40a68f6556a702a836d9a6e90f5d632eed0bc0c parent 0f5a324d655ad582246b6830843114d09835f593 author H. Peter Anvin <hpa at zytor.com> Thu, 06 Apr 2006 14:15:53 -0700 committer H.
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 Mar 23
1
[PATCH node][RFC] Fix uninstall to detect and cleanup correct partitions
Previous implementation had staticly defined partitions to remove. This would break in the case of split Root and HostVG devices. Signed-off-by: Mike Burns <mburns at redhat.com> --- scripts/ovirt-config-boot | 11 +-------- scripts/ovirt-config-uninstall | 49 ++++++++++++++++++++++++--------------- scripts/ovirt-functions | 27 ++++++++++++++++++++++ 3 files changed, 58
2010 Oct 27
0
[PATCH node] add uninstall module
...;findfs LABEL=RootNew 2>&1 >/dev/null") + if rc == 0: + root2 = "RootNew" + + root_label_lookup_cmd = "findfs LABEL=Root" + root_label_lookup = subprocess.Popen(root_label_lookup_cmd, shell=True, stdout=PIPE, stderr=STDOUT) + root_device = root_label_lookup.stdout.read() + if root_device is None: + log("Can't find Root device") + sys.exit(2) + root_dev, root_part = get_part_info(root_device) + + root2_label_lookup_cmd = "findfs LABEL=" + root2 + root2_label...
2011 Mar 10
2
[PATCH 11/21] Staging: hv: Make vmbus driver a platform pci driver
Make vmbus driver a platform pci driver. This is in preparation to cleaning up irq allocation for this driver. Signed-off-by: K. Y. Srinivasan <kys at microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Mike Sterling <mike.sterling at microsoft.com> Signed-off-by: Abhishek Kane <v-abkane at microsoft.com> Signed-off-by: Hank Janssen
2011 Mar 10
2
[PATCH 11/21] Staging: hv: Make vmbus driver a platform pci driver
Make vmbus driver a platform pci driver. This is in preparation to cleaning up irq allocation for this driver. Signed-off-by: K. Y. Srinivasan <kys at microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com> Signed-off-by: Mike Sterling <mike.sterling at microsoft.com> Signed-off-by: Abhishek Kane <v-abkane at microsoft.com> Signed-off-by: Hank Janssen
2006 Jun 26
0
[klibc 16/43] sparc64: transmit arch-specific options to kinit via /arch.cmd
Sparc64 has support for a bunch of architecture-specific options taken from the PROM. Convert them to kernel command line form and write the file /arch.cmd in the rootfs, which can be recovered by kinit and processed. The kinit support has already been committed. Signed-off-by: H. Peter Anvin <hpa at zytor.com> --- commit c6e5c5a77681f5bf6f9fea55d031115e9f58ada6 tree
2010 Mar 23
0
[PATCH node] Fix uninstall to detect and cleanup correct partitions
Previous implementation had staticly defined partitions to remove. This would break in the case of split Root and HostVG devices. Signed-off-by: Mike Burns <mburns at redhat.com> --- scripts/ovirt-config-boot | 11 +-------- scripts/ovirt-config-uninstall | 48 ++++++++++++++++++++++++--------------- scripts/ovirt-functions | 33 +++++++++++++++++++++++++++ 3 files