search for: kernel_ver

Displaying 15 results from an estimated 15 matches for "kernel_ver".

2010 May 14
1
[PATCH] Use RHN to retrieve replacement packages
...b/lib/Sys/VirtV2V/GuestOS/RedHat.pm index 77f0f3a..38a485c 100644 --- a/lib/Sys/VirtV2V/GuestOS/RedHat.pm +++ b/lib/Sys/VirtV2V/GuestOS/RedHat.pm @@ -475,7 +475,7 @@ sub add_kernel { my $self = shift; - my ($kernel_pkg, $kernel_arch) = $self->_discover_kernel(); + my ($kernel_pkg, $kernel_ver, $kernel_arch) = $self->_discover_kernel(); # If the guest is using a Xen PV kernel, choose an appropriate normal kernel # replacement @@ -547,56 +547,142 @@ sub add_kernel } } - my ($app, $depnames); - eval { + my $version; + + # systemid exists, assume t...
2010 Jul 01
0
Xen 4.0.0 on Ubuntu 10.04
...git is blocked at our firewall) and it goes and pulls down everything, (linux-2.6-pvops.git) I enter the xen-4.0.0/build-linux-2.6-pvops_x86_64 dir; make menuconfig; back out into xen-4.0.0; make; make install and the installer asks me the Xen specific questions and places the Dom0 kernel in /boot kernel_ver=”The box is reinstalling as we speak so whatever the version was (I can''t remember at the moment maybe 2.6.31.13??)” Anyway after the kernel build /lib/modules does have a $kernel_ver dir so I use depmod $kernel_ver; mkinitramfs -o /boot/initrd.img-$kernel_ver $kernel_ver to build the ini...
2011 Apr 26
7
[PATCH 1/7] Push $desc creation into Sys::VirtConvert::Converter->convert
This change is part of an ongoing effort to remove use of $desc and inspect the OS directly as required during conversion. --- lib/Sys/VirtConvert/Connection/LibVirtTarget.pm | 4 +- lib/Sys/VirtConvert/Connection/RHEVTarget.pm | 41 +++++++++--------- lib/Sys/VirtConvert/Converter.pm | 35 ++++++++++++---- lib/Sys/VirtConvert/Converter/RedHat.pm | 45
2010 May 19
8
RHN support and capabilities
This patch series includes a repost of Milan's unmodified RHN support patch because I haven't pushed it yet. On top of that patch, it includes the capabilities patch in as many bits as I could make it into. The big one is 7/8. I've tested all of the following guests both with and without RHN registration: Xen RHEL 54 PV Xen RHEL 51 PV Xen RHEL 48 PV ESX RHEL 54 FV
2006 Aug 21
1
[PATCH 3 of 6] dm-userspace internal libdmu support for userspace tool
...mu_ctl_send_queue(ctx); + dmu_ctl_recv_queue(ctx); + + r = dmu_ctl_peek_queue(ctx, &type, (void**)&response); + if (r < 0) + goto out; + + if (type != DM_USERSPACE_GET_VERSION) { + DPRINTF(stderr, "Got non-version ping back: %i\n", type); + goto out; + } + + if (response->kernel_ver != msg.userspace_ver) { + DPRINTF(stderr, "Version mismatch: %x != %x\n", + msg.userspace_ver, response->kernel_ver); + goto out; + } else { + DPRINTF("Version match: %x == %x\n", + msg.userspace_ver, response->kernel_ver); + } + + return ctx; + + out: + if (ctx &am...
2013 Sep 25
5
Re: [PATCH 3/4] Add SUSE converter
...If we didn't establish a kernel version, assume we have to update > + # it. > + if (!defined($kernel_rpmver)) { > + $kernel = [$kernel_pkg, $kernel_arch]; > + } > + > + else { > + my ($kernel_epoch, $kernel_ver, $kernel_release) = > + eval { _parse_evr($kernel_rpmver) }; > + if ($@) { > + # Don't die here, just make best effort to do a version > + # comparison by directly comparing the full strings > +...
2013 Sep 24
5
[PATCH 0/4] Add SUSE guest converter to virt-v2v
This is a new conversion module to convert SUSE Linux and openSUSE guests. The converter is based on the RedHat module, and should offer the same functionality on both SUSE and RedHat hosts. There are a few additional messages in this module, such as reporting of packages when installing through zypper or the local virt-v2v repo. These messages don't necessarily flow unless verbose switches
2013 Sep 24
0
[PATCH 3/4] Add SUSE converter
...$g, $root, $grub); + + # If we didn't establish a kernel version, assume we have to update + # it. + if (!defined($kernel_rpmver)) { + $kernel = [$kernel_pkg, $kernel_arch]; + } + + else { + my ($kernel_epoch, $kernel_ver, $kernel_release) = + eval { _parse_evr($kernel_rpmver) }; + if ($@) { + # Don't die here, just make best effort to do a version + # comparison by directly comparing the full strings + $kernel_epoch = und...
2013 Nov 07
6
[PATCH 0/4] virt-v2v: Add support for SUSE guest conversions
The following series of patches adds support for converting SUSE guests through virt-v2v. These changes should not impact non-SUSE guest conversions. Mike Latimer (4): Add perl-Bootloader support to grub packages Add conversion support for SUSE guests Add SUSE to capabilities db and conf Add SUSE support documentation lib/Sys/VirtConvert/Converter/Linux.pm | 480
2013 Oct 03
2
[PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...g, $root, $grub); + + # If we didn't establish a kernel version, assume we have to upgrade + # it. + if (!defined($kernel_rpmver)) { + $kernel = [$kernel_pkg, $kernel_arch]; + } + + else { + my ($kernel_epoch, $kernel_ver, $kernel_release) = + eval { _parse_evr($kernel_rpmver) }; + if ($@) { + # Don't die here, just make best effort to do a version + # comparison by directly comparing the full strings + $kernel_epoch = und...
2013 Oct 12
0
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...($g, $config, 1, @user_paths); + + if (defined($kernel)) { + _install_rpms($g, $config, 0, ($kernel)); + } } return 1; @@ -1963,7 +2236,12 @@ sub _discover_kernel $kernel_pkg = $kernel->{package}; # Get the kernel package version - $kernel_ver = $kernel->{version}; + # SUSE requires the fullversion string + if (_is_suse_family($g, $root)) { + $kernel_ver = $kernel->{fullversion}; + } else { + $kernel_ver = $kernel->{version}; + } last; } @@ -1975,9 +2253,8 @@ sub...
2013 Oct 11
2
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...$missing, 'i386', @$deps)) { $required{$deppath} = 1; } @@ -1963,7 +2248,12 @@ sub _discover_kernel $kernel_pkg = $kernel->{package}; # Get the kernel package version - $kernel_ver = $kernel->{version}; + # SUSE requires the fullversion string + if (_is_suse_family($g, $root)) { + $kernel_ver = $kernel->{fullversion}; + } else { + $kernel_ver = $kernel->{version}; + } last; } @@ -1971,13 +2261,12 @@ su...
1997 Oct 08
5
Malicious Linux modules
...0 Oct 8 16:54 statm -r--r--r-- 1 root root 0 Oct 8 16:54 status [root@image:~/test]# The implications should be obvious. Once a compromise has taken place, nothing can be trusted, the operating system included. A module such as this could be placed in /lib/modules/<kernel_ver>/default to force it to be loaded after every reboot, or put in place of a commonly used module and in turn have it load the required module for an added level of protection. (Thanks Sean :) Combined with a reasonably obscure remote backdoor it could remain undetected for long periods of time un...
2013 Oct 07
3
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
On Friday, October 04, 2013 09:38:58 AM Matthew Booth wrote: > It's specifically an error if we're attempting to configure virtio, and > there's no detected virtio kernel. It shouldn't have been possible to > get here in that state, hence it's a programmer error. The code below > attempts to install *any* kernel in the case that we aren't configuring >
2013 Oct 31
6
[PATCH 0/4] virt-v2v: Convert RedHat.pm to Linux.pm
In preparation for an upcoming patch which adds support for SUSE guest conversions, it makes sense to have an intermediate steps that changes the RedHat.pm converter into a more generic Linux converter. The SUSE changes will then be limited in scope to only what is required for SUSE support. This series of patches accomplishes the following: - Renames RedHat.pm to Linux.pm - Modifies Linux.pm