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

xen, guest won't start, "Hotplug scripts not working"



Hi,

I'm trying to use xen for the first time.  This box is running a recent
install of Lenny.  

I've reading web howtos, the man pages and user.pdf, so it could be that I
am mixing and matching too much and not following the debian way, but here
goes:



# time xm  create -c config.mabelle_vm /ramdisk=/boot/initrd.img-2.6.26-2-xen-686
Using config file "/etc/xen/config.mabelle_vm".
Error: Device 769 (vbd) could not be connected. Hotplug scripts not working.

real    1m44.306s
user    0m0.748s
sys     0m0.200s



>From my googling I'M guessing that vbd stands for "virtual block device"


# cat /etc/xen/config.mabelle_vm
# -*- mode: python; -*-
kernel="/boot/vmlinuz-2.6.26-2-xen-686"
memory=128
name="mabelle_vm"
disk=[' phy:/dev/Bun_vg/mabelleSys_lv,hda1,w','phy:/dev/Bun_vg/mabelleSwap_lv,hda2,w']
hostname="mabelle"
root="/dev/hda1 ro"
extra="2"



# ls -l /dev/mapper/Bun_vg-mabelle*
brw-rw---- 1 root disk 254, 9 2009-04-25 21:23 /dev/mapper/Bun_vg-mabelleSwap_lv
brw-rw---- 1 root disk 254, 8 2009-04-25 20:03 /dev/mapper/Bun_vg-mabelleSys_lv

# mount
[irrelevant stuff deleted]
/dev/mapper/Bun_vg-mabelleSys_lv on /mnt type ext3 (rw)



# cat /mnt/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda2       none            swap    sw              0       0




# lsmod | grep "udev\|hotplug"
pci_hotplug            24228  1 shpchp


# dpkg -l udev
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  udev           0.125-7+lenny1 /dev/ and hotplug management daemon



# ps -eHF | grep udev
UID        PID  PPID  C    SZ   RSS PSR STIME TTY          TIME CMD
root       849     1  0   568   848   0 Apr25 ?        00:00:01   udevd --daemon



Thanks for any suggestions.

gc


Reply to: