Results 1 to 4 of 4

Thread: Cannot get XEN (or KVM) to bootup - OpenSuse 12.1 64 bits - Pt. 2

  1. #1
    Join Date
    Dec 2011
    Location
    Sudbury, Suffolk
    Posts
    28

    Default Cannot get XEN (or KVM) to bootup - OpenSuse 12.1 64 bits - Pt. 2

    I have followed MarcoMeswara's query with interest but my problem seems different. I have tried installing both KVM & Xen several times but can get no further than this with either of them:

    import vmdisks.disks
    File "/usr/lib/python2.7/site-packages/vmdisks/__init__.py", line 2, in <module>
    from diskmap import *
    File "/usr/lib/python2.7/site-packages/vmdisks/diskmap.py", line 1, in <module>
    import libvirt
    File "/usr/lib64/python2.7/site-packages/libvirt.py", line 25, in <module>
    raise lib_e
    ImportError: /usr/lib/python2.7/site-packages/libvirtmod.so: wrong ELF class: ELFCLASS32

    The Network Bridge tells me that it is set up correctly.

    Oddly enough,VirtualBox works fine - but once I install one of the others, it disappears completely.

    Any ideas?




    Samsung RV511
    i5 CPU M480 2.6GHz
    Total RAM 5.7Gb
    nVidia nouveau (2D) nouveau Gallium (3D)
    USB 2.0 only (no 3.0)

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Cannot get XEN (or KVM) to bootup - OpenSuse 12.1 64 bits - Pt. 2

    Quote Originally Posted by duncan_mk View Post
    I have followed MarcoMeswara's query with interest but my problem seems different. I have tried installing both KVM & Xen several times but can get no further than this with either of them:

    import vmdisks.disks
    File "/usr/lib/python2.7/site-packages/vmdisks/__init__.py", line 2, in <module>
    from diskmap import *
    File "/usr/lib/python2.7/site-packages/vmdisks/diskmap.py", line 1, in <module>
    import libvirt
    File "/usr/lib64/python2.7/site-packages/libvirt.py", line 25, in <module>
    raise lib_e
    ImportError: /usr/lib/python2.7/site-packages/libvirtmod.so: wrong ELF class: ELFCLASS32

    The Network Bridge tells me that it is set up correctly.

    Oddly enough,VirtualBox works fine - but once I install one of the others, it disappears completely.

    Any ideas?




    Samsung RV511
    i5 CPU M480 2.6GHz
    Total RAM 5.7Gb
    nVidia nouveau (2D) nouveau Gallium (3D)
    USB 2.0 only (no 3.0)
    Did you see this from the following Xen thread here? "5) Press F5 and select System V (Do not use systemd with Xen at this Time)"

    http://forums.opensuse.org/english/g...1-64-bits.html

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Dec 2011
    Location
    Sudbury, Suffolk
    Posts
    28

    Default Re: Cannot get XEN (or KVM) to bootup - OpenSuse 12.1 64 bits - Pt. 2

    Sorry about the delay getting back to you - busy weekend! - but yes, here is what I have done:

    5) Press F5 and select System V (Do not use systemd with Xen at this Time)
    6) Select Xen in the openSUSE 12.1 Grub menu and Press Enter

    So far so good! Then:

    7) Log in as root to CLI. Run virsh or virt-manager or virt-viewer from terminal

    Here I open a terminal as root:

    run virsh:

    linux-r8jb:/home/dmk-suse # virsh
    p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
    *** stack smashing detected ***: virsh terminated
    ======= Backtrace: =========
    /lib/libc.so.6(__fortify_fail+0x40)[0xf7248710]
    /lib/libc.so.6(+0xeb6c7)[0xf72486c7]
    /usr/lib/libvirt.so.0(+0x20a661)[0xf7680661]
    /usr/lib/libvirt.so.0(+0x11dbfd)[0xf7593bfd]
    /usr/lib/libvirt.so.0(+0x124004)[0xf759a004]
    /usr/lib/libvirt.so.0(virInitialize+0x11b)[0xf752b81b]
    virsh[0x804f6e6]
    /lib/libc.so.6(__libc_start_main+0xf3)[0xf7176003]
    virsh[0x8050641]
    ======= Memory map: ========

    The Memory map makes the character count extend to 20,349 (SuSE limit - 15,000)

    Aborted

    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    l
    Run virt-manager:

    linux-r8jb:/home/dmk-suse # virt-manager
    Traceback (most recent call last):
    File "/usr/share/virt-manager/virt-manager.py", line 383, in <module>
    main()
    File "/usr/share/virt-manager/virt-manager.py", line 246, in main
    from virtManager import cli
    File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module>
    import libvirt
    File "/usr/lib64/python2.7/site-packages/libvirt.py", line 25, in <module>
    raise lib_e
    ImportError: /usr/lib/python2.7/site-packages/libvirtmod.so: wrong ELF class: ELFCLASS32

    -----------------------------------------------------------------------------------------------------------------------------------------------

    I now intend to do a(nother) clean installation of SuSE 12.1, an installation of Fedora 15 (which, I read, has put a lot of effort into virtualization and see what the result is.

    I feel as if I've been here before. I've used SuSE since 6.3 - I remember moving from 6/7 or 7/8 or maybe even 8/9 (one of those anyway) and it not working well. I shifted to Mandrake for a while and shifted back to SuSE when the ?.1 release became available. 12.1 seems a bit the same.

    All help is greatly appreciated.

    Thanks

  4. #4
    Join Date
    Dec 2011
    Location
    Sudbury, Suffolk
    Posts
    28

    Default Re: Cannot get XEN (or KVM) to bootup - OpenSuse 12.1 64 bits - Pt. 2

    Quote Originally Posted by duncan_mk View Post
    Sorry about the delay getting back to you - busy weekend! - but yes, here is what I have done:

    5) Press F5 and select System V (Do not use systemd with Xen at this Time)
    6) Select Xen in the openSUSE 12.1 Grub menu and Press Enter

    So far so good! Then:

    7) Log in as root to CLI. Run virsh or virt-manager or virt-viewer from terminal

    Here I open a terminal as root:

    run virsh:

    linux-r8jb:/home/dmk-suse # virsh
    p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
    *** stack smashing detected ***: virsh terminated
    ======= Backtrace: =========
    /lib/libc.so.6(__fortify_fail+0x40)[0xf7248710]
    /lib/libc.so.6(+0xeb6c7)[0xf72486c7]
    /usr/lib/libvirt.so.0(+0x20a661)[0xf7680661]
    /usr/lib/libvirt.so.0(+0x11dbfd)[0xf7593bfd]
    /usr/lib/libvirt.so.0(+0x124004)[0xf759a004]
    /usr/lib/libvirt.so.0(virInitialize+0x11b)[0xf752b81b]
    virsh[0x804f6e6]
    /lib/libc.so.6(__libc_start_main+0xf3)[0xf7176003]
    virsh[0x8050641]
    ======= Memory map: ========

    The Memory map makes the character count extend to 20,349 (SuSE limit - 15,000)

    Aborted

    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    l
    Run virt-manager:

    linux-r8jb:/home/dmk-suse # virt-manager
    Traceback (most recent call last):
    File "/usr/share/virt-manager/virt-manager.py", line 383, in <module>
    main()
    File "/usr/share/virt-manager/virt-manager.py", line 246, in main
    from virtManager import cli
    File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module>
    import libvirt
    File "/usr/lib64/python2.7/site-packages/libvirt.py", line 25, in <module>
    raise lib_e
    ImportError: /usr/lib/python2.7/site-packages/libvirtmod.so: wrong ELF class: ELFCLASS32

    -----------------------------------------------------------------------------------------------------------------------------------------------

    I now intend to do a(nother) clean installation of SuSE 12.1, an installation of Fedora 15 (which, I read, has put a lot of effort into virtualization and see what the result is.

    I feel as if I've been here before. I've used SuSE since 6.3 - I remember moving from 6/7 or 7/8 or maybe even 8/9 (one of those anyway) and it not working well. I shifted to Mandrake for a while and shifted back to SuSE when the ?.1 release became available. 12.1 seems a bit the same.

    All help is greatly appreciated.

    Thanks


    OK! I appear to be getting somewhere.

    The file:

    /usr/lib/pkcs11/gnome-keyring-pkcs11.so

    does not exist (nor does the directory /usr/lib/pkcs11/).

    What does exist is

    /usr/lib64/pkcs11/gnome-keyring-pkcs11.so.

    So, I created

    /usr/lib/pkcs11/

    and created a link

    ln -disv /usr/lib64/pkcs11/gnome-keyring-pkcs11.so /usr/lib/pkcs11/gnome-keyring-pkcs11.so

    to:

    /usr/lib64/pkcs11/gnome-keyring-pkcs11.so

    The result is as follows:

    linux-r8jb:/home/dmk-suse # virsh
    p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: wrong ELF class: ELFCLASS64
    *** stack smashing detected ***: virsh terminated

    All rather odd. My guess is that someone has been fiddling about with the code and re-compiled it before it (or maybe the 64bit version of 12.1) was quite ready.

    Virsh (Launcher --> System --> Virtualization --> Create Virtual Machines for Xen & KVM) is apparently looking for a 32bit library which is not included in the system.

    Virt-Manager (Launcher --> System --> Virtualization --> Virtual Machine Manager) seems to want a 64bit library where only a 32bit one is provided

    I shall go back to Virtual-box. Iwould like to have tried Xen or KVM (or both) but I guess I shall wait for 12.2 in the hopes that this will be sorted out.

    dmk

    Samsung RV511
    i5 CPU M480 2.6GHz
    Total RAM 5.7Gb
    nVidia nouveau (2D) nouveau Gallium (3D)
    USB 2.0 only (no 3.0)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •