Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Unable to create HVM or PV domUs with Xen 4.1
On 04/14/11 15:40, Christoph Egger wrote:
> On 04/14/11 16:43, Hugo Silva wrote:
>> Hello everyone,
>>
>> I'm sorry if this has been covered before, in which case please point in
>> the right direction. I did search the archives, but didn't find anything
>> relevant.
>>
>>
>> # 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
>>
>>
>> load: 0.07 cmd: xl 1142 [netio select] 0.00u 0.04s 0% 2544k
>> load: 0.07 cmd: xl 1142 [netio select] 0.00u 0.04s 0% 2544k
>> load: 0.07 cmd: xl 1142 [netio select] 0.00u 0.04s 0% 2544k
>>
>>
>> That's how far it goes.
>> In /var/log/messages, I see:
>>
>> xenbackendd[1885]: can't exec /usr/pkg/etc/xen/scripts/block: No such
>> file or directory
>> syslogd[184]: last message repeated 4 times
>> xenbackendd[2039]: can't exec /usr/pkg/etc/xen/scripts/vif-bridge: No
>> such file or directory
>> /netbsd: xvif3i0: Ethernet address xx:xx:xx:xx:xx:xx
>> /netbsd: tap0: Ethernet address f2:0b:a4:6f:45:0a
>> dom0 /netbsd: tap0: detached
>> xenbackendd[2039]: can't exec /usr/pkg/etc/xen/scripts/vif-bridge: No
>> such file or directory
>> dom0 xenbackendd[307]: Failed to read
>> /local/domain/0/backend/console/3/0/script (No such file or directory)
>>
>>
>> In qemu-dm-freebsd.log:
>> domid: 3
>> /usr/pkg/etc/xen/scripts/qemu-ifup: could not launch network script
>> Could not initialize device 'tap'
>>
>>
>> The config file I'm using is a slightly adapted version from a working
>> xen3 config:
>>
>> kernel = "hvmloader"
>>
>> builder='hvm'
>> memory=2560
>> shadow_memory=16
>> name="freebsd"
>>
>> vif = [ 'mac=xx:xx:xx:xx:xx:xx, bridge=bridge0, model=e1000' ]
>>
>> 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'0
>>
>>
>>
>>
>>
>> A (netbsd) PV domain started with xl shows the following in messages:
>>
>> xenbackendd[2760]: can't exec /usr/pkg/etc/xen/scripts/block: No such
>> file or directory
>> syslogd[184]: last message repeated 5 times
>> xenbackendd[2840]: can't exec /usr/pkg/etc/xen/scripts/vif-bridge: No
>> such file or directory
>> /netbsd: xvif4i0: Ethernet address xx:xx:xx:xx:xx:xx
>> xenbackendd[2840]: can't exec /usr/pkg/etc/xen/scripts/vif-bridge: No
>> such file or directory
>> xenbackendd[307]: Failed to read
>> /local/domain/0/backend/console/4/0/script (No such file or directory)
>>
>>
>>
>> It seems the failures are related to the usual scripts not being around
>> anymore.
>>
>> What would be the proper way to launch HVM/PV VMs with 4.1?
>>
>> Thanks in advance for any help.
>
>
>
> Do you pass dom0_mem argument to the xen kernel?
> Is balloon support disabled in the netbsd xen kernel?
>
> In either case you need to disable ballooning in xl.conf or you
> experience an endless loop in xl.
>
> Christoph
>
Yes, I'm passing dom0_mem, and balloon support is disabled in the kernel
(is it stable/usable?).
I tried adding autoballoon=0 to xl.conf, but it still hangs.
Any other suggestions?
Hugo
Home |
Main Index |
Thread Index |
Old Index