Subject: problem booting dom0
To: NetBSD/xen <port-xen@NetBSD.org>
From: John Hayward <John.C.Hayward@wheaton.edu>
List: port-xen
Date: 02/04/2008 23:32:16
When I attempt to boot a netbsd dom0 boot I see in the log file:
====
xenbackendd[446]: Failed to read
/local/domain/0/backend/console/5/0/script (No such file or directory)
====
Can someone point me in the direction to get booting?
It looks like it finds the disk image and CD.
There are issues with the network which I can look into later.
It seems that I am not getting the console of the dom0 to show up.
the config file looks like:
===
kernel = "/netbsd-INSTALL_XEN3_DOMU"
memory = 256
name = "netbd"
nics = 1
vif = [ 'mac=aa:00:00:50:02:f0, bridge=bridge0' ]
disk = [ 'file:/var/xen/netbd-disk,0x01,w', 'phy:/dev/cd0a,0x2,r' ]
root = "/dev/wd0d"
===
Sample run:
===
xm create -c /usr/pkg/etc/xen/netbd
Using config file "/usr/pkg/etc/xen/netbd".
Warning: The nics option is deprecated. Please use an empty vif entry
instead:
vif = [ '' ]
===
After a while
===
newserver: {242} Error: Device 0 (vif) could not be connected. Hotplug
scripts not working.
===
it exits and the /var/log/messages shows:
===
Feb 4 23:23:08 newserver /netbsd: xbd backend: attach device vnd1d (size
4096000) for domain 5
Feb 4 23:23:08 newserver /netbsd: xbd backend: attach device cd0a (size
359844) for domain 5
Feb 4 23:23:08 newserver /netbsd: xvif5.0: Ethernet address aa:00:00:51:02:f0
Feb 4 23:23:08 newserver xenbackendd[446]: Failed to read
/local/domain/0/backend/console/5/0/script (No such file or directory)
Feb 4 23:24:50 newserver xenbackendd[446]: Failed to read
/local/domain/0/backend/console/5/0/script (No such file or directory)
Feb 4 23:24:50 newserver /netbsd: xbd backend: detach device vnd1d for
domain 5
Feb 4 23:24:50 newserver /netbsd: xbd backend: detach device cd0a for
domain 5
Feb 4 23:24:50 newserver /netbsd: xvif5.0: disconnecting
===
johnh...