I have problem to start multiple DomU VM instances. I have tried to find solution googling around but not find good lead where to look more. Kate I got the following message when i try to start other VM session root@asgard xen]# xm create -c fc4a Using config file "/etc/xen/fc4a". Error: Device 0 (vif) could not be connected. Hotplug scripts not working. [root@asgard xen]# I have set loop devices cat /etc/modprobe.d/local-loop options loop max_loop=128 loop: loaded (max 128 devices) There is something wrong in hotplug: cat /var/log/xen-hotplug.log xenstore-read: couldn''t read path backend/vbd/11/51712/node xenstore-read: couldn''t read path backend/vbd/6/2049/node xenstore-read: couldn''t read path backend/vbd/5/2049/node xenstore-read: couldn''t read path backend/vbd/4/2049/node xenstore-read: couldn''t read path backend/vbd/3/2049/no The cat /proc/sys/kernel/hotplug is empty Uudev looks a like that it is getting events: # udevinfo -V udevinfo, version 084 [root@asgard ~]# udevmonitor udevmonitor prints the received event from the kernel [UEVENT] and the event which udev sends out after rule processing [UDEV] UEVENT[1156419204.779872] add@/devices/xen-backend/vbd-1-2049 UEVENT[1156419204.799451] add@/devices/xen-backend/vif-1-0 UDEV [1156419204.805240] add@/devices/xen-backend/vbd-1-2049 UEVENT[1156419204.807899] add@/class/net/vif1.0 UEVENT[1156419204.807985] online@/devices/xen-backend/vif-1-0 UDEV [1156419204.811022] add@/class/net/vif1.0 UDEV [1156419204.823620] add@/devices/xen-backend/vif-1-0 UDEV [1156419204.831526] online@/devices/xen-backend/vif-1-0 UEVENT[1156419205.035806] add@/module/x_tables UEVENT[1156419205.057626] add@/module/ip_tables UEVENT[1156419205.071690] add@/module/iptable_filter UEVENT[1156419205.208272] add@/module/xt_physdev UEVENT[1156424464.114610] mount@/block/loop1 UDEV [1156424464.116140] mount@/block/loop1 UEVENT[1156424521.088187] remove@/module/iptable_filter UEVENT[1156424521.089096] remove@/module/ip_tables UEVENT[1156424521.437635] add@/module/nfs_acl UEVENT[1156424521.468630] add@/module/lockd UEVENT[1156424521.481658] add@/module/exportfs UEVENT[1156424521.520200] add@/module/nfsd UEVENT[1156424523.610184] add@/class/vc/vcs7 UEVENT[1156424523.610282] add@/class/vc/vcsa7 UEVENT[1156424523.656588] remove@/class/vc/vcs7 UEVENT[1156424523.656683] remove@/class/vc/vcsa7 UDEV [1156424523.658636] remove@/class/vc/vcs7 UDEV [1156424523.659843] remove@/class/vc/vcsa7 UEVENT[1156424523.670101] add@/class/vc/vcs7 UEVENT[1156424523.670199] add@/class/vc/vcsa7 UEVENT[1156424978.397956] umount@/block/loop1 UEVENT[1156425329.393957] add@/devices/xen-backend/vbd-2-2049 UEVENT[1156425329.416346] add@/devices/xen-backend/vif-2-0 UEVENT[1156425329.422978] add@/class/net/vif2.0 UEVENT[1156425329.423407] online@/devices/xen-backend/vif-2-0 UEVENT[1156425339.754829] offline@/devices/xen-backend/vif-2-0 UEVENT[1156425339.855320] remove@/class/net/vif2.0 UEVENT[1156425339.858206] remove@/devices/xen-backend/vif-2-0 UEVENT[1156425339.862779] remove@/devices/xen-backend/vbd-2-2049 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ext Kate Alhola wrote:> I have problem to start multiple DomU VM instances. I have tried to find > solution > googling around but not find good lead where to look more. > >It looks a like that it fails somehow in udev, there is delay between online and ofline entries. In working wersion after online there goes add. There is no error message (or other)entries from udev in /var/log/messages I have used udevcontrol to set debug level as debug Least based on xen-backend.rules it is little bit hairy to follow up where it fails. I continue to read source but i any hints are well come, reading thru all xen source is not so quick.. Kate> > UEVENT[1156425329.393957] add@/devices/xen-backend/vbd-2-2049 > UEVENT[1156425329.416346] add@/devices/xen-backend/vif-2-0 > UEVENT[1156425329.422978] add@/class/net/vif2.0 > UEVENT[1156425329.423407] online@/devices/xen-backend/vif-2-0 > UEVENT[1156425339.754829] offline@/devices/xen-backend/vif-2-0 > UEVENT[1156425339.855320] remove@/class/net/vif2.0 > UEVENT[1156425339.858206] remove@/devices/xen-backend/vif-2-0 > UEVENT[1156425339.862779] remove@/devices/xen-backend/vbd-2-2049 > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
It looks a like that i am answering to myself. I found the bug, the udevd daemon has crashed, i don''t know the reason why but after restarting it everything works again. I was just in wrong tracks when i tried find something from scripts. Anyhow for some raseon udevd crash looks a like to be common in FC5 Kate ext Kate Alhola wrote:> ext Kate Alhola wrote: > >> I have problem to start multiple DomU VM instances. I have tried to find >> solution >> googling around but not find good lead where to look more. >> >> >> > It looks a like that it fails somehow in udev, there is delay between > online and ofline > entries. In working wersion after online there goes add. There is no error > message (or other)entries from udev in /var/log/messages > > I have used udevcontrol to set debug level as debug > > Least based on xen-backend.rules it is little bit hairy to follow > up where it fails. I continue to read source but i any hints > are well come, reading thru all xen source is not so quick.. > > Kate > >> UEVENT[1156425329.393957] add@/devices/xen-backend/vbd-2-2049 >> UEVENT[1156425329.416346] add@/devices/xen-backend/vif-2-0 >> UEVENT[1156425329.422978] add@/class/net/vif2.0 >> UEVENT[1156425329.423407] online@/devices/xen-backend/vif-2-0 >> UEVENT[1156425339.754829] offline@/devices/xen-backend/vif-2-0 >> UEVENT[1156425339.855320] remove@/class/net/vif2.0 >> UEVENT[1156425339.858206] remove@/devices/xen-backend/vif-2-0 >> UEVENT[1156425339.862779] remove@/devices/xen-backend/vbd-2-2049 >> >> >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users