[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] NetBSD as DomU under Debian (lenny)
You should use PAE kernels. Boot with this kernel
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0/i386/binary/kernel/netbsd-INSTALL_XEN3PAE_DOMU.gz
and the textual installer will start. After the installation use netbsd-XEN3PAE_DOMU.gz from the same folder.
hope it helps
Luca Sironi
2009/6/18 Evgeniy Sudyr <eject.in.ua@gmail.com>
Hi all,
Hi all, I'm trying to run NetBSD DomU following this wiki article
http://wiki.xensource.com/xenwiki/NetBSDdomU
Looks like kernel not boots :( there is my config:
there is console output
# xm create netbsd5.eject.name.cfg -c
Using config file "/etc/xen/netbsd5.eject.name.cfg".
Started domain netbsd5.eject.name
Loaded initial symtab at
0xffffffff80b41464, strtab at 0xffffffff80b8df20, # entries 12993
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 5.0_STABLE (INSTALL_XEN3_DOMU) #0: Wed Jun 17 07:44:24 UTC 2009
builds@xxxxxxxxxxxxx:/home/builds/ab/netbsd-5/amd64/200906170000Z-obj/home/builds/ab/netbsd-5/src/sys/arch/amd64/compile/INSTALL_XEN3_DOMU
total memory = 65536 KB
avail memory = 50808 KB
mainbus0 (root)
hypervisor0 at mainbus0: Xen version 3.2
vcpu0 at hypervisor0: Intel 686-class, 1866MHz, id 0x6f2
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
xencons0: using event channel 2
xbd0 at xenbus0 id 51712: Xen Virtual Block Device Interface
xennet0 at xenbus0 id 0: Xen Virtual Network Interface
xennet0: MAC address 00:0c:6e:40:59:a3
There is what I see on console, nothing else happens ...
# cat /var/log/xen/xend.log
[2009-06-18 15:29:18 29969] DEBUG (XendDomainInfo:1897)
XendDomainInfo.destroy: domid=46
[2009-06-18 15:29:18 29969] DEBUG (XendDomainInfo:1914)
XendDomainInfo.destroyDomain(46)
[2009-06-18 15:29:18 29969] DEBUG (XendDomainInfo:1529) Destroying device model
[2009-06-18 15:29:18 29969] DEBUG (XendDomainInfo:1536) Releasing devices
[2009-06-18 15:29:18 29969] DEBUG (XendDomainInfo:1542) Removing vif/0
[2009-06-18 15:29:18 29969] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2009-06-18 15:29:18 29969] DEBUG (XendDomainInfo:1542) Removing vbd/51712
[2009-06-18 15:29:18 29969] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2009-06-18 15:29:18 29969] DEBUG (XendDomainInfo:1542) Removing console/0
[2009-06-18 15:29:18 29969] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = console, device =
console/0
[2009-06-18 15:29:18 29969] DEBUG (XendDomainInfo:1534) No device model
[2009-06-18 15:29:18 29969] DEBUG (XendDomainInfo:1536) Releasing devices
[2009-06-18 15:29:23 29969] DEBUG (XendDomainInfo:84)
XendDomainInfo.create(['vm', ['name', 'netbsd5.eject.name'],
['memory', 64], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'],
['on_crash', 'destroy'], ['vcpus', 1], ['on_xend_start', 'ignore'],
['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel',
'/var/distrib/netbsd/netbsd-INSTALL_XEN3_DOMU']]], ['device', ['tap',
['uname', 'tap:aio:/var/distrib/netbsd5.img'], ['dev', 'xvda'],
['mode', 'w']]], ['device', ['vif', ['mac', '00:0C:6E:40:59:A3']]]])
[2009-06-18 15:29:23 29969] DEBUG (XendDomainInfo:1618)
XendDomainInfo.constructDomain
[2009-06-18 15:29:23 29969] DEBUG (balloon:132) Balloon: 720236 KiB
free; need 2048; done.
[2009-06-18 15:29:23 29969] DEBUG (XendDomain:443) Adding Domain: 47
[2009-06-18 15:29:23 29969] DEBUG (XendDomainInfo:1703)
XendDomainInfo.initDomain: 47 256
[2009-06-18 15:29:23 29969] DEBUG (XendDomainInfo:1738)
_initDomain:shadow_memory=0x0, memory_static_max=0x4000000,
memory_static_min=0x0.
[2009-06-18 15:29:23 29969] DEBUG (balloon:132) Balloon: 720228 KiB
free; need 65536; done.
[2009-06-18 15:29:23 29969] INFO (image:139) buildDomain os=linux dom=47 vcpus=1
[2009-06-18 15:29:23 29969] DEBUG (image:363) domid = 47
[2009-06-18 15:29:23 29969] DEBUG (image:364) memsize = 64
[2009-06-18 15:29:23 29969] DEBUG (image:365) image =
/var/distrib/netbsd/netbsd-INSTALL_XEN3_DOMU
[2009-06-18 15:29:23 29969] DEBUG (image:366) store_evtchn = 1
[2009-06-18 15:29:23 29969] DEBUG (image:367) console_evtchn = 2
[2009-06-18 15:29:23 29969] DEBUG (image:368) cmdline =
[2009-06-18 15:29:23 29969] DEBUG (image:369) ramdisk =
[2009-06-18 15:29:23 29969] DEBUG (image:370) vcpus = 1
[2009-06-18 15:29:23 29969] DEBUG (image:371) features =
[2009-06-18 15:29:23 29969] INFO (XendDomainInfo:1514) createDevice:
tap : {'bootable': 1, 'uname': 'tap:aio:/var/distrib/netbsd5.img',
'mode': 'w', 'dev': 'xvda', 'uuid':
'dee95d54-8557-6344-ad42-605fcac4d069'}
[2009-06-18 15:29:23 29969] DEBUG (DevController:118) DevController:
writing {'virtual-device': '51712', 'device-type': 'disk', 'protocol':
'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/tap/47/51712'} to
/local/domain/47/device/vbd/51712.
[2009-06-18 15:29:23 29969] DEBUG (DevController:120) DevController:
writing {'domain': 'netbsd5.eject.name', 'frontend':
'/local/domain/47/device/vbd/51712', 'uuid':
'dee95d54-8557-6344-ad42-605fcac4d069', 'dev': 'xvda', 'state': '1',
'params': 'aio:/var/distrib/netbsd5.img', 'mode': 'w', 'online': '1',
'frontend-id': '47', 'type': 'tap'} to
/local/domain/0/backend/tap/47/51712.
[2009-06-18 15:29:23 29969] INFO (XendDomainInfo:1514) createDevice:
vif : {'mac': '00:0C:6E:40:59:A3', 'uuid':
'4d73ea8b-1c7a-9f51-314f-5e7b585b3d0a'}
[2009-06-18 15:29:23 29969] DEBUG (DevController:118) DevController:
writing {'mac': '00:0C:6E:40:59:A3', 'handle': '0', 'protocol':
'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vif/47/0'} to /local/domain/47/device/vif/0.
[2009-06-18 15:29:23 29969] DEBUG (DevController:120) DevController:
writing {'domain': 'netbsd5.eject.name', 'frontend':
'/local/domain/47/device/vif/0', 'uuid':
'4d73ea8b-1c7a-9f51-314f-5e7b585b3d0a', 'script':
'/etc/xen/scripts/vif-bridge', 'mac': '00:0C:6E:40:59:A3',
'frontend-id': '47', 'state': '1', 'online': '1', 'handle': '0'} to
/local/domain/0/backend/vif/47/0.
[2009-06-18 15:29:23 29969] DEBUG (XendDomainInfo:2195) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'c772e43f-56ed-d31b-85a6-0bffc40ccd0e', 'on_reboot': 'restart',
'start_time': '1245328163.81', 'on_poweroff': 'destroy',
'on_xend_start': 'ignore', 'on_crash': 'destroy',
'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image':
'(linux (kernel /var/distrib/netbsd/netbsd-INSTALL_XEN3_DOMU)
(notes))', 'name': 'netbsd5.eject.name'}
[2009-06-18 15:29:23 29969] DEBUG (XendDomainInfo:1008) Storing domain
details: {'console/ring-ref': '286874', 'console/port': '2', 'name':
'netbsd5.eject.name', 'console/limit': '1048576', 'vm':
'/vm/c772e43f-56ed-d31b-85a6-0bffc40ccd0e', 'domid': '47',
'store/port': '1', 'cpu/0/availability': 'online', 'memory/target':
'65536', 'control/platform-feature-multiprocessor-suspend': '1',
'store/ring-ref': '437874', 'console/type': 'xenconsoled'}
[2009-06-18 15:29:23 29969] DEBUG (DevController:118) DevController:
writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0',
'backend': '/local/domain/0/backend/console/47/0'} to
/local/domain/47/device/console/0.
[2009-06-18 15:29:23 29969] DEBUG (DevController:120) DevController:
writing {'domain': 'netbsd5.eject.name', 'frontend':
'/local/domain/47/device/console/0', 'uuid':
'f745fc68-cca8-2d45-2571-e849546f6aeb', 'frontend-id': '47', 'state':
'1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to
/local/domain/0/backend/console/47/0.
[2009-06-18 15:29:23 29969] DEBUG (XendDomainInfo:1092)
XendDomainInfo.handleShutdownWatch
[2009-06-18 15:29:23 29969] DEBUG (DevController:151) Waiting for devices vif.
[2009-06-18 15:29:23 29969] DEBUG (DevController:156) Waiting for 0.
[2009-06-18 15:29:23 29969] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vif/47/0/hotplug-status.
[2009-06-18 15:29:24 29969] DEBUG (DevController:595)
hotplugStatusCallback /local/domain/0/backend/vif/47/0/hotplug-status.
[2009-06-18 15:29:24 29969] DEBUG (DevController:609) hotplugStatusCallback 1.
[2009-06-18 15:29:24 29969] DEBUG (DevController:151) Waiting for devices vbd.
[2009-06-18 15:29:24 29969] DEBUG (DevController:151) Waiting for devices irq.
[2009-06-18 15:29:24 29969] DEBUG (DevController:151) Waiting for devices vkbd.
[2009-06-18 15:29:24 29969] DEBUG (DevController:151) Waiting for devices vfb.
[2009-06-18 15:29:24 29969] DEBUG (DevController:151) Waiting for
devices console.
[2009-06-18 15:29:24 29969] DEBUG (DevController:156) Waiting for 0.
[2009-06-18 15:29:24 29969] DEBUG (DevController:151) Waiting for devices pci.
[2009-06-18 15:29:24 29969] DEBUG (DevController:151) Waiting for
devices ioports.
[2009-06-18 15:29:24 29969] DEBUG (DevController:151) Waiting for devices tap.
[2009-06-18 15:29:24 29969] DEBUG (DevController:156) Waiting for 51712.
[2009-06-18 15:29:24 29969] DEBUG (DevController:595)
hotplugStatusCallback
/local/domain/0/backend/tap/47/51712/hotplug-status.
[2009-06-18 15:29:24 29969] DEBUG (DevController:595)
hotplugStatusCallback
/local/domain/0/backend/tap/47/51712/hotplug-status.
[2009-06-18 15:29:24 29969] DEBUG (DevController:609) hotplugStatusCallback 1.
[2009-06-18 15:29:24 29969] DEBUG (DevController:151) Waiting for devices vtpm.
[2009-06-18 15:29:24 29969] INFO (XendDomain:1165) Domain
netbsd5.eject.name (47) unpaused.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
-- http://www.sironi.tk
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|