Skip to contentSkip to conversation

Xen 4.0.0-rc5 with xen/stable 2.6.32.9 dom0 kernel, blktap2, relative mouse

DISCUSSION Pasi Kärkkäinen 2 participants 5 messages Mar 4, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

I just tried running Xen 4.0.0-rc5 (64bit) with latest xen/stable 2.6.32.9 dom0 kernel (64bit aswell). System boots up fine, and I'm able to run PV guests using phy: disk backend (lvm volumes).

I tried using tap:aio: file-based storage with virt-manager for a PV guest. It seems it doesn't really work, the guest waits for a long time initializing disk drivers/devices, and then complains about not having any disks.

$ xm list -l testfoo
..
    (device
        (tap
            (protocol x86_64-abi)
            (uuid f7723325-9ff4-96f7-0808-9ec05a00a4b8)
            (bootable 1)
            (dev xvda:disk)
            (uname tap:aio:/var/lib/libvirt/images/testfoo.img)
            (mode w)
            (backend 0)
            (VDI )
        )
    )

Am I supposed to have that 'uname' there? This could be a problem with virt-manager or libvirt, so I'll try with plain normal /etc/xen/ cfgfiles next..

Also it seems pvfb uses the broken 'relative' mouse instead of 'absolute', any ideas why that happens?

-- Pasi

#1 lore raw
Quoted 24 lines · Pasi Kärkkäinen

Hello,

I just tried running Xen 4.0.0-rc5 (64bit) with latest xen/stable 2.6.32.9 dom0 kernel (64bit aswell). System boots up fine, and I'm able to run PV guests using phy: disk backend (lvm volumes).

I tried using tap:aio: file-based storage with virt-manager for a PV guest. It seems it doesn't really work, the guest waits for a long time initializing disk drivers/devices, and then complains about not having any disks.

$ xm list -l testfoo
..
    (device
        (tap
            (protocol x86_64-abi)
            (uuid f7723325-9ff4-96f7-0808-9ec05a00a4b8)
            (bootable 1)
            (dev xvda:disk)
            (uname tap:aio:/var/lib/libvirt/images/testfoo.img)
            (mode w)
            (backend 0)
            (VDI )
        )
    )
Quoted 3 lines

Am I supposed to have that 'uname' there? This could be a problem with virt-manager or libvirt, so I'll try with plain normal /etc/xen/ cfgfiles next..

Hmm, it seems phy: based guest has that 'uname' aswell:

    (device
        (vbd
            (protocol x86_64-abi)
            (uuid b7c115d7-138a-5cd0-a179-3038ba49d349)
            (bootable 1)
            (devid 51712)
            (driver paravirtualised)
            (dev xvda:disk)
            (uname phy:/dev/vg_f12test/f12test)
            (mode w)
            (backend 0)
        )
    )

So I guess that's all fine.

What's the best way to troubleshoot the blktap2 problem?

I have 'blktap' module loaded in dom0, and xen 4.0.0-rc5 should have the required blktap2 tools..

-- Pasi

Quoted 5 lines

Also it seems pvfb uses the broken 'relative' mouse instead of 'absolute', any ideas why that happens?

-- Pasi

#2 lore raw
Quoted 46 lines · Pasi Kärkkäinen
Quoted 24 lines · Pasi Kärkkäinen

Hello,

I just tried running Xen 4.0.0-rc5 (64bit) with latest xen/stable 2.6.32.9 dom0 kernel (64bit aswell). System boots up fine, and I'm able to run PV guests using phy: disk backend (lvm volumes).

I tried using tap:aio: file-based storage with virt-manager for a PV guest. It seems it doesn't really work, the guest waits for a long time initializing disk drivers/devices, and then complains about not having any disks.

$ xm list -l testfoo
..
     (device
         (tap
             (protocol x86_64-abi)
             (uuid f7723325-9ff4-96f7-0808-9ec05a00a4b8)
             (bootable 1)
             (dev xvda:disk)
             (uname tap:aio:/var/lib/libvirt/images/testfoo.img)
             (mode w)
             (backend 0)
             (VDI )
         )
     )
Quoted 4 lines

Am I supposed to have that 'uname' there? This could be a problem with virt-manager or libvirt, so I'll try with plain normal /etc/xen/ cfgfiles next..

Hmm, it seems phy: based guest has that 'uname' aswell:

     (device
         (vbd
             (protocol x86_64-abi)
             (uuid b7c115d7-138a-5cd0-a179-3038ba49d349)
             (bootable 1)
             (devid 51712)
             (driver paravirtualised)
             (dev xvda:disk)
             (uname phy:/dev/vg_f12test/f12test)
             (mode w)
             (backend 0)
         )
     )
Quoted 7 lines

So I guess that's all fine.

What's the best way to troubleshoot the blktap2 problem?

I have 'blktap' module loaded in dom0, and xen 4.0.0-rc5 should have the required blktap2 tools..

I haven't had any problems with blktap2 at all lately, using the xend/xm toolstack. Are there any messages in the various logfiles and/or kernel which might indicate a problem?

J

#3 lore raw
In reply to Pasi Kärkkäinen
Quoted 3 lines · Pasi Kärkkäinen

Also it seems pvfb uses the broken 'relative' mouse instead of 'absolute', any ideas why that happens?

I've noticed that too. I poked around a little to try and work out what was going on, but I got stuck. "xinput" is showing the pointer device is "absolute" in the domain, which looks OK - but it is still getting relative motion.

Are you using vnc?

J

#4 lore raw
Quoted 5 lines · Jeremy Fitzhardinge
Quoted 3 lines · Pasi Kärkkäinen

Also it seems pvfb uses the broken 'relative' mouse instead of 'absolute', any ideas why that happens?

Quoted 7 lines

I've noticed that too. I poked around a little to try and work out what was going on, but I got stuck. "xinput" is showing the pointer device is "absolute" in the domain, which looks OK - but it is still getting relative motion.

Are you using vnc?

I was using virt-manager, which uses virt-viewer I believe.. which is vnc based, so yes..

-- Pasi