Re: [Libguestfs] Some more Virt-P2V CD results - screenshot attached as promised
On Fri, Sep 02, 2011 at 02:06:57AM -0500, Greg Scott wrote:
"This kernel requires an X86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU."
That's strange because virt-p2v-image-builder is supposed to only build 32 bit images ... Please keep the replies on the list. 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 http://www.annexia.org/fedora_mingw
I can send you the ISO of what it built for me. I think the version was 0.8.1 at the time? I might still have that Fedora VM that used to build it somewhere around here too. - Greg -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Friday, September 02, 2011 2:28 AM To: Greg Scott; libguestfs@redhat.com Cc: Matthew Booth Subject: Re: Some more Virt-P2V CD results - screenshot attached as promised On Fri, Sep 02, 2011 at 02:06:57AM -0500, Greg Scott wrote:
"This kernel requires an X86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU."
That's strange because virt-p2v-image-builder is supposed to only build 32 bit images ... Please keep the replies on the list. 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 http://www.annexia.org/fedora_mingw
On Fri, Sep 02, 2011 at 02:30:29AM -0500, Greg Scott wrote:
I can send you the ISO of what it built for me. I think the version was 0.8.1 at the time? I might still have that Fedora VM that used to build it somewhere around here too.
virt-inspector (recent versions) might be able to tell you what the architecture of the ISO is. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
I've run into this as well with a virt-p2v cd built on 64 bit Fedora 14. I made a 32 bit Fedora 14 guest and created the virt-p2v cd from it and was able to boot without any issues on the 32 bit system I was attempting to convert. -----Original Message----- From: libguestfs-bounces@redhat.com [mailto:libguestfs-bounces@redhat.com] On Behalf Of Richard W.M. Jones Sent: Friday, September 02, 2011 3:28 AM To: Greg Scott; libguestfs@redhat.com Subject: Re: [Libguestfs] Some more Virt-P2V CD results - screenshot attached as promised On Fri, Sep 02, 2011 at 02:06:57AM -0500, Greg Scott wrote:
"This kernel requires an X86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU."
That's strange because virt-p2v-image-builder is supposed to only build 32 bit images ... Please keep the replies on the list. 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 http://www.annexia.org/fedora_mingw _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Yup. That's exactly what happened. I just now reproduced the steps I took a couple months ago. I also built mine on a 64 bit f14 system - here is a sample of what it went out and grabbed. . . . Retrieving http://mirror.metrocast.net/fedora/linux/updates/14/x86_64/polkit-0.98-5 .fc14.x86_64.rpm ...OK Retrieving http://fedora.mirrors.tds.net/pub/fedora/releases/14/Everything/x86_64/o s/Packages/popt-1.13-7.fc14.x86_64.rpm ...OK Retrieving http://mirror.metrocast.net/fedora/linux/updates/14/x86_64/ppp-2.4.5-12. fc14.x86_64.rpm ...OK Retrieving http://mirror.metrocast.net/fedora/linux/updates/14/x86_64/procps-3.2.8- 15.fc14.x86_64.rpm ...OK Retrieving http://mirror.metrocast.net/fedora/linux/updates/14/x86_64/psmisc-22.13- 6.fc14.x86_64.rpm ...OK Retrieving http://fedora.mirrors.tds.net/pub/fedora/releases/14/Everything/x86_64/o s/Packages/python-2.7-8.fc14.1.x86_64.rpm ...OK Retrieving http://fedora.mirrors.tds.net/pub/fedora/releases/14/Everything/x86_64/o s/Packages/python-libs-2.7-8.fc14.1.x86_64.rpm ...OK . . . Looks like it grabs repo stuff from the kernel you're using instead of specifically looking for 32 bits. If not possible to always grab 32 bit packages, would it possible to put in a warning if running virt-p2v-image-builder on a 64 bit system? - Greg -----Original Message----- From: Brian Gold [mailto:bgold@simons-rock.edu] Sent: Friday, September 02, 2011 6:45 AM To: 'Richard W.M. Jones'; Greg Scott; libguestfs@redhat.com Subject: RE: [Libguestfs] Some more Virt-P2V CD results - screenshot attached as promised I've run into this as well with a virt-p2v cd built on 64 bit Fedora 14. I made a 32 bit Fedora 14 guest and created the virt-p2v cd from it and was able to boot without any issues on the 32 bit system I was attempting to convert. -----Original Message----- From: libguestfs-bounces@redhat.com [mailto:libguestfs-bounces@redhat.com] On Behalf Of Richard W.M. Jones Sent: Friday, September 02, 2011 3:28 AM To: Greg Scott; libguestfs@redhat.com Subject: Re: [Libguestfs] Some more Virt-P2V CD results - screenshot attached as promised On Fri, Sep 02, 2011 at 02:06:57AM -0500, Greg Scott wrote:
"This kernel requires an X86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU."
That's strange because virt-p2v-image-builder is supposed to only build 32 bit images ... Please keep the replies on the list. 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 http://www.annexia.org/fedora_mingw _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
On Fri, Sep 02, 2011 at 08:18:52AM -0500, Greg Scott wrote:
Looks like it grabs repo stuff from the kernel you're using instead of specifically looking for 32 bits. If not possible to always grab 32 bit packages, would it possible to put in a warning if running virt-p2v-image-builder on a 64 bit system?
This is definitely a bug that Matt will want to fix when he gets back. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/
I just built up a 32 bit Fedora 14 VM and I'm doing a virt-p2v-image builder right now. Looks like 0.8.3 is now in the yum update repository. I see it's grabbing RPMs from /i386 and /i686 directory trees now instead of /x86_64. So it's definitely using components based on the kernel it's running on. - Greg -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Friday, September 02, 2011 9:14 AM To: Greg Scott Cc: Brian Gold; libguestfs@redhat.com; mbooth@redhat.com Subject: Re: [Libguestfs] Some more Virt-P2V CD results - screenshotattached as promised On Fri, Sep 02, 2011 at 08:18:52AM -0500, Greg Scott wrote:
Looks like it grabs repo stuff from the kernel you're using instead of specifically looking for 32 bits. If not possible to always grab 32 bit packages, would it possible to put in a warning if running virt-p2v-image-builder on a 64 bit system?
This is definitely a bug that Matt will want to fix when he gets back. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/
Just finished a virt-p2v-image-builder. Some selected output below. Do I need to be concerned about the errors below? There are some errors about files it says it can't find and a bad file descriptor for service auditd. It did make an ISO file and I'm getting ready to burn that to a CD. . . . Installing: libsepol ##################### [ 45/295] Installing: libselinux ##################### [ 46/295] Installing: sed ##################### [ 47/295] install-info: No such file or directory for /usr/share/info/sed.info.gz Installing: bzip2-libs ##################### [ 48/295] Installing: libXau ##################### [ 49/295] . . . Installing: libXrandr ##################### [ 82/295] Installing: pcre ##################### [ 83/295] Installing: grep ##################### [ 84/295] install-info: No such file or directory for /usr/share/info/grep.info.gz Installing: gawk ##################### [ 85/295] Installing: libidn ##################### [ 86/295] install-info: No such file or directory for /usr/share/info/libidn.info.gz Installing: libxml2 ##################### [ 87/295] Installing: gamin ##################### [ 88/295] . . . Installing: mtools ##################### [129/295] Installing: which ##################### [130/295] install-info: No such file or directory for /usr/share/info/which.info.gz Installing: libnih ##################### [131/295] Installing: upstart-sysvinit ##################### [132/295] Installing: upstart ##################### [133/295] Installing: avahi-libs ##################### [134/295] Installing: libfontenc ##################### [135/295] Installing: libXfont ##################### [136/295] Installing: compat-readline5 ##################### [137/295] Installing: procps ##################### [138/295] Installing: libedit ##################### [139/295] Installing: ncurses ##################### [140/295] Installing: coreutils-libs ##################### [141/295] Installing: gzip ##################### [142/295] Installing: cracklib ##################### [143/295] Installing: cracklib-dicts ##################### [144/295] Installing: coreutils ##################### [145/295] Installing: pam ##################### [146/295] Installing: util-linux-ng ##################### [147/295] install-info: No such file or directory for /usr/share/info/ipc.info Installing: fontconfig ##################### [148/295] Installing: cairo ##################### [149/295] . . . Installing: openssh-clients ##################### [294/295] Installing: xorg-x11-drivers ##################### [295/295] error reading information on service auditd: Bad file descriptor Starting Kickstart Post Creating shadow files Forcing C locale [Errno 2] No such file or directory: '/var/tmp/imgcreate-m0NMLl/install_root/usr/share/locale' ignoring %post failure (code 1) Removing python source files Customizing boot menu Creating manifest....done Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 549, in <module> File "/usr/lib/python2.7/site.py", line 531, in main File "/usr/lib/python2.7/site.py", line 264, in addusersitepackages File "/usr/lib/python2.7/site.py", line 239, in getusersitepackages File "/usr/lib/python2.7/site.py", line 229, in getuserbase File "/usr/lib/python2.7/sysconfig.py", line 518, in get_config_var File "/usr/lib/python2.7/sysconfig.py", line 421, in get_config_vars File "/usr/lib/python2.7/sysconfig.py", line 285, in _init_posix IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig-32.h (No such file or directory) e2fsck 1.41.12 (17-May-2010) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 3A: Optimizing directories . . .
On Fri, Sep 02, 2011 at 11:50:20AM -0500, Greg Scott wrote:
Just finished a virt-p2v-image-builder. Some selected output below. Do I need to be concerned about the errors below? There are some errors about files it says it can't find and a bad file descriptor for service auditd. It did make an ISO file and I'm getting ready to burn that to a CD.
[...]
install-info: No such file or directory for /usr/share/info/sed.info.gz
Don't worry.
error reading information on service auditd: Bad file descriptor
Something to do with the fact that RPM is running in a chroot, yet is still running as root. You can ignore this.
Creating manifest....done Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 549, in <module> File "/usr/lib/python2.7/site.py", line 531, in main File "/usr/lib/python2.7/site.py", line 264, in addusersitepackages File "/usr/lib/python2.7/site.py", line 239, in getusersitepackages File "/usr/lib/python2.7/site.py", line 229, in getuserbase File "/usr/lib/python2.7/sysconfig.py", line 518, in get_config_var File "/usr/lib/python2.7/sysconfig.py", line 421, in get_config_vars File "/usr/lib/python2.7/sysconfig.py", line 285, in _init_posix IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig-32.h (No such file or directory)
These don't look good, but I'd wait and see how the image turns out. 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 http://www.annexia.org/fedora_mingw
participants (3)
-
Brian Gold -
Greg Scott -
Richard W.M. Jones