Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: LVM + Xentools 4.1: can't VOP_OPEN device / unknown device



On 18.04.11 20:26, Hugo Silva wrote:
> On 04/18/11 18:47, Christoph Egger wrote:
>> You don't see this problem when you start the HVM guest with xl since
>> the xbdback driver isn't used at all.
>>
>> Christoph
> 
> 
> # xl create freebsd.conf
> Parsing config file freebsd.conf
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>   Loader:        0000000000100000->0000000000179a70
>   TOTAL:         0000000000000000->000000009f800000
>   ENTRY ADDRESS: 0000000000100000
> xc: info: PHYSICAL MEMORY ALLOCATION:
>   4KB PAGES: 0x0000000000000200
>   2MB PAGES: 0x00000000000002fb
>   1GB PAGES: 0x0000000000000001
> Apr 18 19:19:30 dom0 /netbsd: xbd backend: attach device LVM-YqGs22kea9e
> (size 33554432) for domain 2
> Apr 18 19:19:30 dom0 /netbsd: xbdback backend/vbd/2/768: can't VOP_OPEN
> device 0xa903: 16
> Apr 18 19:19:30 dom0 /netbsd: xbd backend: attach device LVM-NeqYYFkdLvk
> (size 4194304) for domain 2
> Apr 18 19:19:30 dom0 /netbsd: xbdback backend/vbd/2/832: can't VOP_OPEN
> device 0xa901: 16
> 
> load: 0.17  cmd: xl 3541 [wait] 0.00u 0.00s 0% 1212k
> load: 0.17  cmd: xl 3541 [wait] 0.00u 0.00s 0% 1212k
> load: 0.17  cmd: xl 3541 [wait] 0.00u 0.00s 0% 1212k
> 
> 
> 
> At this point, I can vnc in, but never get a display (the connection
> isn't refused, but no graphical output either)
> 
> The config I'm using is:
> kernel = "hvmloader"
> 
> builder='hvm'
> memory=2560
> shadow_memory=16
> name="sauron"
> 
> vif = [ 'mac=xx:xx:xx:xx:xx:xx, bridge=bridge0' ]
> 
> disk =  [
>     'phy:/dev/mapper/vg0-freebsd,hda,w',
>     'phy:/dev/mapper/wd1_swapvg0-freebsd_swap0,hdb,w',
> 
> #'file:/usr/pkg/etc/xen/iso/FreeBSD-8.2-RELEASE-amd64-disc1.iso,hdc:cdrom,r'
>     ]
> 
> boot="d"
> 
> vnc = 1
> sdl = 0
> 
> vncconsole=0
> vncdisplay=0
> 
> cpus=[ "1", "2" ]
> vcpus=2
> keymap="pt"
> 
> acpi=1
> apic=1
> device_model='qemu-dm'
> stdvga=0
> serial='pty'


Interesting. xl falls back to xm behaviour on phy: devices.

Christoph


Home | Main Index | Thread Index | Old Index