Port-xen archive

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

Re: Trouble installing a NetBSD domU



On Jun 26,  5:24pm, Alaric Snell-Pym wrote:
} 
} I have a nice NetBSD-as-dom0 Xen setup, but now it's time to make my
} NetBSD domUs.
} 
} It's an amd64, running NetBSD-7.0.1 in dom0:
} 
} pkbs# uname -a
} NetBSD pkbs.XXX 7.0.1 NetBSD 7.0.1 (XEN3_DOM0.201605221355Z) amd64
} 
} I've installed xenkerlen45 and xentools45.
} 
} And I'm trying to fire up a domU with the NetBSD-7.0.1 amd64 INSTALL kernel.
} 
} My xl.cfg file says:
} 
} name="vm2"
} builder="generic"
} vcpus="2"
} maxvcpus="2"

     Not needed.

} memory=1024
} maxmem=1024

     Not needed.

} kernel="/domU/blob-cache/NetBSD-7.0.1.install-kernel.gz"
} disk=["phy:/dev/vg0/vm2-root,0x0,w", "phy:/dev/vg0/vm2-swap,0x1,w"]

     You need to provide a CD image with the installation sets
unless you're planning on installing over the net.  Also, the
installation procedure is very similar to the regular procedure
for installing onto bare metal, which means that you get to partition
the virtual disk, so you don't need to provide a seperate disk for
swap, unless for some reason you really want one.

     Also, make sure that /usr/pkg/etc/xen/scripts contains the
latest scripts from /usr/pkg/share/examples/xen/scripts.

} vif=['mac=aa:00:00:d1:00:2,bridge=bridge0']

     Is the bridge configured and up?

} But what I get is:
} 
} ------------B<-----------
} pkbs# xl create -c /domU/domUs/vm2/xl.cfg
} Parsing config from /domU/domUs/vm2/xl.cfg
} Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,=
} 
}     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
}     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 7.0.1 (INSTALL_XEN3_DOMU.201605221355Z)
} total memory = 1024 MB
} avail memory = 977 MB
} kern.module.path=/stand/amd64/7.0/modules
} mainbus0 (root)
} hypervisor0 at mainbus0: Xen version 4.5.3
} vcpu0 at hypervisor0: Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz, id 0x306c=
} 3
} vcpu1 at hypervisor0: Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz, id 0x306c=
} 3
} xenbus0 at hypervisor0: Xen Virtual Bus Interface
} xencons0 at hypervisor0: Xen Virtual Console Driver
} xenbus: can't get state for device/suspend/event-channel (2)
} xbd0 at xenbus0 id 0: Xen Virtual Block Device Interface
} xbd1 at xenbus0 id 1: Xen Virtual Block Device Interface
} xennet0 at xenbus0 id 0: Xen Virtual Network Interface
} xennet0: MAC address aa:00:00:d1:00:02
} balloon0 at xenbus0 id 0: Xen Balloon driver
} balloon0: current reservation: 1048576 KiB
} xennet0: using RX copy mode
} xenbus: can't get state for device/suspend/event-channel (2)
} balloon0: current reservation: 262144 pages => target: 262144 pages
} ignore shutdown request:
} xenbus: can't get state for device/suspend/event-channel (2)
} ------------B<-----------
} 
} ...and it hangs there forever. I can quit the xl console and "xl
} destroy" the VM, but the INSTALL kernel just seems to sit tight, doing
} nothing.

     Hanging here usually indicates that one of the devices (disk,
network) isn't ready.

}-- End of excerpt from Alaric Snell-Pym


Home | Main Index | Thread Index | Old Index