search for: modpath

Displaying 20 results from an estimated 148 matches for "modpath".

2013 Aug 22
2
--disable-appliance creates supermin.d files
Why does the toplevel Makefile process appliance/, and creates supermin.d during make install, whith configure --disable-appliance? I have to double check what actually happens, it seems it causes startup failures if the resulting binary packages are started on a host that happens to have supermin installed. Olaf
2013 Aug 22
1
Re: --disable-appliance creates supermin.d files
...um libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ x86_64 supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d checking modpath /lib/modules/3.9.0-rc1-probook-bko60585-00197-g9011cc2 is a directory checking modpath /lib/modules/3.10.7-8.olh_kernel_sles11sp3.1-kernel-linux-3_10 is a directory checking modpath /lib/modules/3.9.0-probook-bko60585-03567-g5d434fc is a directory checking modpath /lib/modules/3.9.11-6.olh_kernel_s...
2017 Aug 03
14
[PATCH supermin 0/9] kernel: Multiple fixes to handling of kernels (RHBZ#1477758).
This patch series fixes several problems in the way that supermin handles kernels. The most pressing problem is that supermin doesn't handle bogus vmlinuz files which aren't actual kernels. Along the way there is a lot of clean up. The patches look much better if you view them with ‘-w’. This series will require plenty of time to be tested in Fedora, especially on non-x86 arches.
2018 May 22
1
[PATCH v2] v2v: linux: fix kernel detection when split in different packages
...ode for Linux kernels assumes that a kernel package contains everything in it, i.e. the kernel itself, its modules, and its configuration. However, since recent Ubuntu versions (e.g. starting from 18.04) modules & config (with few more files) are split in an own package, thus not detecting the modpath from installed vmlinuz files. To overcome this situation, rework this detection a bit: 1) find the vmlinuz file as before, but then immediately make sure it exists by stat'ing it 2) find the modules path from the package as before: 2a) if found, extract the version in the same step 2b) if n...
2013 Feb 06
2
Issues with p2v & virt-v2v Windows
...ebootstrap-supermin-helper --verbose -f checksum '/usr/lib64/guestfs/supermin.d' x86_64 supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d checking modpath /lib/modules/3.6.11-5.fc17.x86_64 is a directory picked vmlinuz-3.6.11-5.fc17.x86_64 because modpath /lib/modules/3.6.11-5.fc17.x86_64 exists checking modpath /lib/modules/3.7.3-101.fc17.x86_64 is a directory picked vmlinuz-3.7.3-101.fc17.x86_64 because modpath /lib/modules/3.7.3-101.fc17.x86_64 ex...
2018 Jan 23
0
Re: virt-resize changing cachedir
...nd: run: \ /usr/lib64/guestfs/supermin.d > libguestfs: command: run: \ x86_64 > supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) > supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d > checking modpath /lib/modules/2.6.32-696.13.2.el6.x86_64 is a directory > picked vmlinuz-2.6.32-696.13.2.el6.x86_64 because modpath /lib/modules/2.6.32-696.13.2.el6.x86_64 exists > checking modpath /lib/modules/2.6.32-696.16.1.el6.x86_64 is a directory > picked vmlinuz-2.6.32-696.16.1.el6.x86_64 because mo...
2016 Nov 21
2
[PATCH 1/2] kernel: refactor build_kernel & find_kernel
...el_version = - find_kernel debug host_cpu copy_kernel kernel in - - (* If the user passed --dtb option, locate dtb. *) - (match dtb_wildcard with - | None -> () - | Some wildcard -> - find_dtb debug copy_kernel kernel_name wildcard dtb - ); - - (* Get the kernel modules. *) - let modpath = find_modpath debug kernel_version in - - if debug >= 1 then ( - printf "supermin: kernel: kernel_version %s\n" kernel_version; - printf "supermin: kernel: modules %s\n%!" modpath; - ); - - (kernel_version, modpath) - -and find_kernel debug host_cpu copy_kernel kern...
2018 May 21
1
[PATCH] v2v: linux: fix kernel detection when split in different packages
...ode for Linux kernels assumes that a kernel package contains everything in it, i.e. the kernel itself, its modules, and its configuration. However, since recent Ubuntu versions (e.g. starting from 18.04) modules & config (with few more files) are split in an own package, thus not detecting the modpath from installed vmlinuz files. To overcome this situation, rework this detection a bit: 1) find the vmlinuz file as before, but then immediately make sure it exists by stat'ing it 2) get the kernel version from the vmlinuz filename, which should be a good assumption to do 3) use the calcu...
2013 Nov 25
2
supermin-helper: ext2: parent directory not found: /mnt/bigdata/var: File not found by ext2_lookup
...cksum libguestfs: command: run: \ /usr/lib/guestfs/supermin.d libguestfs: command: run: \ x86_64 supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d checking modpath /lib/modules/3.11.0-13-generic is a directory picked vmlinuz-3.11.0-13-generic because modpath /lib/modules/3.11.0-13-generic exists checking modpath /lib/modules/2.6.35-9-generic is a directory picked vmlinuz-2.6.35-9-generic because modpath /lib/modules/2.6.35-9-generic exists checking modpath...
2023 Apr 05
2
[rhel-9.2 v2v PATCH 0/2] detect_kernels: deal with RHEL's kernel-core / kernel-modules-core split
https://bugzilla.redhat.com/show_bug.cgi?id=2175703 In RHEL-9.2, the "detect_kernels" function still exists in virt-v2v, not in the common submodule. Because we need to fix RHBZ#2175703 for RHEL-9.2.z as well, port of the identically named libguestfs-common patch series <http://mid.mail-archive.com/20230320115301.43051-1-lersek at redhat.com> to RHEL-9.2 virt-v2v. This port is
2023 Mar 20
3
[libguestfs-common PATCH 0/2] detect_kernels: deal with RHEL's kernel-core / kernel-modules-core split
https://bugzilla.redhat.com/show_bug.cgi?id=2175703 Vera Wu's testing covered a backport of this series to the virt-v2v project's rhel-9.2 branch (on top of commit 86517b17be98), where the "detect_kernels" function is still unique/internal to the virt-v2v project. The backport / cherry-pick from libguestfs-common to virt-v2v cannot be automated, but it's not difficult; only
2020 Sep 23
0
[v2v PATCH 3/3] linux: remove special handling of packages with no files
...*) + let vmlinuz = List.find ( + fun filename -> String.is_prefix filename "/boot/vmlinuz-" + ) files in + let vmlinuz_stat = + try g#statns vmlinuz with G.Error _ -> raise Not_found in - (* Determine the modpath from the package, falling back to the - * version in the vmlinuz file name. - *) - let modpath, version = - let prefix = "/lib/modules/" in - try - let prefix_len = String.length prefix in -...
2020 Sep 23
3
[v2v PATCH 1/3] linux: remove warning for packages with no files
Metapackages are valid packages with no files, used to easily install something without manually installing bits. This is the case of the "kernel" package in Fedora/RHEL/etc in the last couple of years. --- v2v/linux_kernels.ml | 1 - 1 file changed, 1 deletion(-) diff --git a/v2v/linux_kernels.ml b/v2v/linux_kernels.ml index 9a41225a..78c1ee59 100644 --- a/v2v/linux_kernels.ml +++
2011 Dec 30
3
libguestfs-test-tool say "child process died" on ubuntu 11.10 x64
...s] febootstrap-supermin-helper --verbose -f checksum '/usr/lib/guestfs/supermin.d' x86_64 supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d checking modpath /lib/modules/3.0.0-13-generic is a directory picked vmlinuz-3.0.0-13-generic because modpath /lib/modules/3.0.0-13-generic exists checking modpath /lib/modules/3.0.0-14-generic is a directory picked vmlinuz-3.0.0-14-generic because modpath /lib/modules/3.0.0-14-generic exists supermin helper [00000...
2015 Jul 01
4
[PATCH 1/2] mllib: add and use last_part_of
...changed := true; diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml index 7967c0f..f5a716f 100644 --- a/v2v/convert_linux.ml +++ b/v2v/convert_linux.ml @@ -795,13 +795,9 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source = *) let mkinitrd_kv = let modpath = kernel.ki_modpath in - let len = String.length modpath in - try - let i = String.rindex modpath '/' in - String.sub modpath (i+1) (len - (i+1)) - with - Not_found -> - invalid_arg (sprintf "invalid module path: %s" mo...
2016 Jul 01
4
[PATCH 0/2] v2v: fix setting custom modprobe options
Hi, due to a broken discover_modpath function, and to a wrong block for a match statement, the modprobe options for virtio/SCSI blocks where not written at all. This series provides a small refactor, and the fixes. Thanks, -- Pino Toscano (2): v2v: fix and implify the internal Convert_linux:discover_modpath v2v: fix priority o...
2011 Jun 04
3
[PATCH 1/3] febootstrap/helper/init: make sure /proc is mounted into chroot.
--- helper/init.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/helper/init.c b/helper/init.c index 0ca3135..2b5dacf 100644 --- a/helper/init.c +++ b/helper/init.c @@ -163,8 +163,10 @@ main () chdir ("/"); - /* Run /init from ext2 filesystem. */ + mount_proc (); print_uptime (); + + /* Run /init from ext2 filesystem. */ execl
2016 Sep 09
0
[PATCH] v2v: linux: Move kernel detection to a separate module.
...(* version-release *) - ki_arch : string; (* Kernel architecture. *) - ki_vmlinuz : string; (* The path of the vmlinuz file. *) - ki_vmlinuz_stat : G.statns; (* stat(2) of vmlinuz *) - ki_initrd : string option; (* Path of initramfs, if found. *) - ki_modpath : string; (* The module path. *) - ki_modules : string list; (* The list of module names. *) - ki_supports_virtio : bool; (* Kernel has virtio drivers? *) - ki_is_xen_kernel : bool; (* Is a Xen paravirt kernel? *) - ki_is_debug : bool; (* Is debug k...
2014 Jul 31
2
Re: hang after seabios
[Let's keep this on the mailing list] On Thu, Jul 31, 2014 at 02:48:25PM -0700, Zetan Drableg wrote: > Hi Richard, > I created qemu-wrapper: > #!/bin/bash -x > > exec gdbserver :1234 /usr/libexec/qemu-kvm "$@" gdbserver will end up debugging the qemu process, not the guest inside. This is not useful. You need to do something like: exec /usr/libexec/qemu-kvm -s
2013 Nov 26
2
Re: supermin-helper: ext2: parent directory not found: /mnt/bigdata/var: File not found by ext2_lookup
...cksum libguestfs: command: run: \ /usr/lib/guestfs/supermin.d libguestfs: command: run: \ x86_64 supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d checking modpath /lib/modules/3.11.0-13-generic is a directory picked vmlinuz-3.11.0-13-generic because modpath /lib/modules/3.11.0-13-generic exists checking modpath /lib/modules/2.6.35-9-generic is a directory picked vmlinuz-2.6.35-9-generic because modpath /lib/modules/2.6.35-9-generic exists checking modpath...