Port-xen archive

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

can not start domU as HVM



Hi All!

I trying to install HVM guests (NetBSD and FreeBSD) on NetBSD-XEN but
still without success.

My configuration:
AMD Opteron 2214 on MSI K9NU motherboard
NetBSD-5.0.1 installed
also installed:
xenkernel33-3.3.1nb1
xentools33-3.3.1nb6

XEN started but strange message appears in `xm dmesg`:
(XEN) Xen heap: 14MB (14480kB)
(XEN) Domain heap initialised
(XEN) Processor #0 15:1 APIC version 16
(XEN) Processor #1 15:1 APIC version 16
(XEN) IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2211.367 MHz processor.
(XEN) AMD SVM: ASIDs disabled.
(XEN) HVM: SVM enabled
(XEN) CPU0: AMD K8 machine check reporting enabled.
(XEN) CPU0: AMD Dual-Core AMD Opteron(tm) Processor 2214 stepping 02
(XEN) Booting processor 1/1 eip 8c000
(XEN) AMD: Disabling C1 Clock Ramping Node #0
(XEN) AMD SVM: ASIDs disabled.
(XEN) CPU1: AMD K8 machine check reporting enabled.
(XEN) CPU1: AMD Dual-Core AMD Opteron(tm) Processor 2214 stepping 02
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) checking TSC synchronization across 2 CPUs:
(XEN) CPU#0 had -227 usecs TSC skew, fixed it up.
(XEN) CPU#1 had 227 usecs TSC skew, fixed it up.
(XEN) Platform timer is 25.000MHz HPET
(XEN) Brought up 2 CPUs
(XEN) I/O virtualisation disabled
<<======== is it correct ?
(XEN) *** LOADING DOMAIN 0 ***


IOMMU enabled at BIOS.  No other setting about virtualization at BIOS

# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   256     1     r-----     29.4
#

Then I'll try to start NetBSD as HVM guest from following config:
------------------ cut here -----------------------
kernel = "/usr/pkg/lib/xen/boot/hvmloader"
builder='hvm'
memory = 256
name = "netbsd1"
vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu' ]
device_model = '/usr/pkg/libexec/qemu-dm'
disk = [ 'file:/var/xen/netbsd1,ioemu:hda,w',
'file:/var/xen/amd64cd-5.0.1.iso,ioemu:hdd:cdrom,r' ]
boot='d'
vnc = 1
usb = 1
------------------ /cut here -----------------------

# xm create -c netbsd1.xen
Using config file "./netbsd1.xen".
Started domain netbsd1
xenconsole: Could not read tty from store: No such file or directory
#

# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   256     1     r-----     34.0
netbsd1                                      7   256     1     -b----     40.5
#

Following lines appears at /var/log/xenbackendd.log:
------------------ cut here -----------------------
Failed to read /local/domain/0/backend/vfb/7/0/script (No such file or
directory)
Failed to read /local/domain/0/device-model/7/script (No such file or directory)
Failed to read /local/domain/0/backend/console/7/0/script (No such
file or directory)
------------------ /cut here -----------------------



So, my questions are:
-- is it possible to start HVM (FreeBSD or NetBSD) guest on this
hardware and software?
-- where I'm wrong ?


Thanks!

-- 
CU,
Victor Gamov


Home | Main Index | Thread Index | Old Index