Port-xen archive

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

What am I doing wrong? I don't see the sysinstall



I'm trying to bring up my NetBSD domU on a NetBSD dom0.

The system is running:

whisky$ uname -v
NetBSD 5.0_BETA (XEN3_DOM0) #0: Thu Jan 22 17:41:31 UTC 2009
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5/amd64/200901220000Z-obj/home/builds/ab/netbsd-5/src/sys/arch/amd64/compile/XEN3_DOM0

my xen tools are:

whisky# pkg_info | grep xen
xentools33-3.3.1nb4 Userland Tools for Xen 3.3.x
xenkernel33-3.3.1nb1 Xen 3.3.1 Kernel


When I try to start my domU I should see the sysinstall application
and follow the prompts and install NetBSD, but I don't see the
sysinstall

whisky# xm create -c test
Using config file "/usr/pkg/etc/xen/test".
Started domain test
: Intel 686-class, 2404MHz, id 0x6f6
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
xencons0: using event channel 2
xbd0 at xenbus0 id 3: Xen Virtual Block Device Interface
xennet0 at xenbus0 id 0: Xen Virtual Network Interface
xennet0: MAC address aa:00:00:50:02:f0

that's all.

whisky# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   512     1     r-----     20.7
test                                         3   256     1     -b----      1.0
whisky#


But I couldn't use the console

whisky# xm console 3

and nothing...


The configuration file I am using is:

kernel = "/netbsd-INSTALL_XEN3_DOMU.gz"
#kernel = "/netbsd-XEN3_DOMU"
memory = 256
name = "test"
#vcpus = 1
disk = [ 'phy:/dev/wd0h,0x03,w' ]
vif = [ 'mac=aa:00:00:50:02:f0, bridge=bridge0' ]
#root = "/dev/wd0d"
root = "xbd0"



and the xend.log

[2009-01-24 03:21:43 264] DEBUG (XendDomainInfo:89)
XendDomainInfo.create(['vm', ['name', 'test'], ['memory', 256],
['vcpus',
1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image',
['linux', ['kernel', '/netbsd-INSTALL_XEN3_DOMU.gz'], [
'root', 'xbd0']]], ['device', ['vbd', ['uname', 'phy:/dev/wd0h'],
['dev', '0x03'], ['mode', 'w']]], ['device', ['vif', ['bridg
e', 'bridge0'], ['mac', 'aa:00:00:50:02:f0']]]])
[2009-01-24 03:21:43 264] DEBUG (XendDomainInfo:2036)
XendDomainInfo.constructDomain
[2009-01-24 03:21:43 264] DEBUG (balloon:132) Balloon: 1528040 KiB
free; need 2048; done.
[2009-01-24 03:21:43 264] DEBUG (XendDomain:449) Adding Domain: 3
[2009-01-24 03:21:43 264] DEBUG (XendDomainInfo:2142)
XendDomainInfo.initDomain: 3 256
[2009-01-24 03:21:43 264] DEBUG (XendDomainInfo:2223)
_initDomain:shadow_memory=0x0, memory_static_max=0x10000000,
memory_stat
ic_min=0x0.
[2009-01-24 03:21:43 264] DEBUG (balloon:132) Balloon: 1528032 KiB
free; need 263168; done.
[2009-01-24 03:21:43 264] INFO (image:166) buildDomain os=linux dom=3 vcpus=1
[2009-01-24 03:21:43 264] DEBUG (image:631) domid          = 3
[2009-01-24 03:21:43 264] DEBUG (image:632) memsize        = 256
[2009-01-24 03:21:43 264] DEBUG (image:633) image          =
/netbsd-INSTALL_XEN3_DOMU.gz
[2009-01-24 03:21:43 264] DEBUG (image:634) store_evtchn   = 1
[2009-01-24 03:21:43 264] DEBUG (image:635) console_evtchn = 2
[2009-01-24 03:21:43 264] DEBUG (image:636) cmdline        = root=xbd0
[2009-01-24 03:21:43 264] DEBUG (image:637) ramdisk        =
[2009-01-24 03:21:43 264] DEBUG (image:638) vcpus          = 1
[2009-01-24 03:21:43 264] DEBUG (image:639) features       =
[2009-01-24 03:21:43 264] INFO (XendDomainInfo:1900) createDevice: vbd
: {'uuid': '3cd36a95-9f0e-931f-1696-fc36a6b311f0', 'boo
table': 1, 'driver': 'paravirtualised', 'dev': '0x03', 'uname':
'phy:/dev/wd0h', 'mode': 'w'}
[2009-01-24 03:21:43 264] DEBUG (DevController:122) DevController:
writing {'virtual-device': '3', 'device-type': 'disk', 'pro
tocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/3/3'} to /local/domain/3/device
/vbd/3.
[2009-01-24 03:21:43 264] DEBUG (DevController:124) DevController:
writing {'domain': 'test', 'frontend': '/local/domain/3/dev
ice/vbd/3', 'uuid': '3cd36a95-9f0e-931f-1696-fc36a6b311f0', 'dev':
'0x03', 'state': '1', 'params': '/dev/wd0h', 'mode': 'w', '
online': '1', 'frontend-id': '3', 'type': 'phy'} to
/local/domain/0/backend/vbd/3/3.
[2009-01-24 03:21:43 264] INFO (XendDomainInfo:1900) createDevice: vif
: {'bridge': 'bridge0', 'mac': 'aa:00:00:50:02:f0', 'uu
id': '5a5ccc93-9828-a65b-e466-798e25823fe1'}
[2009-01-24 03:21:43 264] DEBUG (DevController:122) DevController:
writing {'mac': 'aa:00:00:50:02:f0', 'handle': '0', 'protoc
ol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vif/3/0'} to /local/domain/3/device/vi
f/0.
[2009-01-24 03:21:43 264] DEBUG (DevController:124) DevController:
writing {'bridge': 'bridge0', 'domain': 'test', 'handle': '
0', 'uuid': '5a5ccc93-9828-a65b-e466-798e25823fe1', 'script':
'/usr/pkg/etc/xen/scripts/vif-bridge', 'mac': 'aa:00:00:50:02:f0
', 'frontend-id': '3', 'state': '1', 'online': '1', 'frontend':
'/local/domain/3/device/vif/0'} to /local/domain/0/backend/vif
/3/0.
[2009-01-24 03:21:44 264] DEBUG (XendDomainInfo:2731) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uu
id': 'be885296-4426-0ac4-4f48-d91fc38cb83d', 'on_reboot': 'restart',
'start_time': '1232763704.0', 'on_poweroff': 'destroy', '
bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash':
'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail':
 '1', 'bootloader': '', 'image': "(linux (kernel
/netbsd-INSTALL_XEN3_DOMU.gz) (args 'root=xbd0 ') (notes))", 'name':
'test'}
[2009-01-24 03:21:44 264] DEBUG (XendDomainInfo:1359) Storing domain
details: {'console/ring-ref': '508028', 'console/port': '
:2', 'name': 'test', 'console/limit': '1048576', 'vm':
'/vm/be885296-4426-0ac4-4f48-d91fc38cb83d', 'domid': '3',
'store/port':
'1', 'cpu/0/availability': 'online', 'memory/target': '262144',
'control/platform-feature-multiprocessor-suspend': '1', 'store
/ring-ref': '508029', 'console/type': 'xenconsoled'}
[2009-01-24 03:21:44 264] DEBUG (DevController:122) DevController:
writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-i
d': '0', 'backend': '/local/domain/0/backend/console/3/0'} to
/local/domain/3/device/console/0.
[2009-01-24 03:21:44 264] DEBUG (DevController:124) DevController:
writing {'domain': 'test', 'frontend': '/local/domain/3/dev
ice/console/0', 'uuid': 'c80037cf-0d1c-2538-9205-7e85607ac1eb',
'frontend-id': '3', 'state': '1', 'location': '2', 'online': '
1', 'protocol': 'vt100'} to /local/domain/0/backend/console/3/0.
[2009-01-24 03:21:44 264] DEBUG (XendDomainInfo:1443)
XendDomainInfo.handleShutdownWatch
[2009-01-24 03:21:44 264] DEBUG (DevController:166) Waiting for devices vif.
[2009-01-24 03:21:44 264] DEBUG (DevController:171) Waiting for 0.
[2009-01-24 03:21:44 264] DEBUG (DevController:656)
hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
[2009-01-24 03:21:44 264] DEBUG (DevController:670) hotplugStatusCallback 1.
[2009-01-24 03:21:44 264] DEBUG (DevController:166) Waiting for devices vscsi.
[2009-01-24 03:21:44 264] DEBUG (DevController:166) Waiting for devices vbd.
[2009-01-24 03:21:44 264] DEBUG (DevController:171) Waiting for 3.
[2009-01-24 03:21:44 264] DEBUG (DevController:656)
hotplugStatusCallback /local/domain/0/backend/vbd/3/3/hotplug-status.
[2009-01-24 03:21:44 264] DEBUG (DevController:670) hotplugStatusCallback 1.
[2009-01-24 03:21:44 264] DEBUG (DevController:166) Waiting for devices irq.
[2009-01-24 03:21:44 264] DEBUG (DevController:166) Waiting for devices vkbd.
[2009-01-24 03:21:44 264] DEBUG (DevController:166) Waiting for devices vfb.
[2009-01-24 03:21:44 264] DEBUG (DevController:166) Waiting for devices console.
[2009-01-24 03:21:44 264] DEBUG (DevController:171) Waiting for 0.
[2009-01-24 03:21:44 264] DEBUG (DevController:166) Waiting for devices pci.
[2009-01-24 03:21:44 264] DEBUG (DevController:166) Waiting for devices ioports.
[2009-01-24 03:21:44 264] DEBUG (DevController:166) Waiting for devices tap.
[2009-01-24 03:21:44 264] DEBUG (DevController:166) Waiting for devices vtpm.
[2009-01-24 03:21:44 264] INFO (XendDomain:1174) Domain test (3) unpaused.




xenbackend.log

Failed to read /local/domain/0/backend/console/1/0/script (No such
file or directory)
Failed to read /local/domain/0/backend/console/1/0/script (No such
file or directory)
Failed to read /local/domain/0/backend/console/2/0/script (No such
file or directory)
Failed to read /local/domain/0/backend/console/2/0/script (No such
file or directory)
Failed to read /local/domain/0/backend/console/3/0/script (No such
file or directory)




What am I doing wrong?

Thank you,
Damian


Home | Main Index | Thread Index | Old Index