Hi I am having xen running on RHEL5. after re boot of server i m not able to to start any domU i am getting error message as: Error: destorydevice() requires 3 arguments given 2. what could be issue. thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, May 10, 2008 at 11:07 AM, Arpan Jindal <jindalarpan@gmail.com> wrote:> Hi > I am having xen running on RHEL5. after re boot of server i m not able to > to start any domU i am getting error message as: > > Error: destorydevice() requires 3 arguments given 2. > >what could be issue.> >destroydevice sounds like a function that would be called when a domU gets shutdown or destroyed. So that probably means that the domU you are trying to create is getting shutdown for some reason. You should be able to get more information from the /var/log/xen/* log files, particularly watch for changes when you try to start the domU. Also, does the guest show up at all in xm list?> thanks > > > _______________________________________________ > 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
/boot/grub/grub.conf title Red Hat Enterprise Linux Server (2.6.18-8.el5xen) root (hd0,1) kernel /boot/xen.gz-2.6.18-8.el5 module /boot/vmlinuz-2.6.18-8.el5xen ro root=LABEL=/ rhgb quiet loop.max_loop=888 module /boot/initrd-2.6.18-8.el5xen.img /etc/modprobe.conf alias eth0 bnx2 alias eth1 bnx2 alias scsi_hostadapter cciss alias peth0 bnx2 options loop max_loop=888 I have changed the network setting earlier problem was with loopbackdevices now I have changed them to 888 in grub.conf and /etc/modprobe.conf but still I m not able to start virtual machines more that 7 at a time I can only start 7 machines. Similar problem I have faced in past but after inc the number of loop back devices system started work is their any other place where I have to set this number ? thanks On 5/10/08, Todd Deshane <deshantm@gmail.com> wrote:> > > > > On Sat, May 10, 2008 at 11:07 AM, Arpan Jindal <jindalarpan@gmail.com> wrote: > > > > > Hi > > I am having xen running on RHEL5. after re boot of server i m not able to to start any domU i am getting error message as: > > > > Error: destorydevice() requires 3 arguments given 2. > > > > > > > > > > > what could be issue. > > > > > destroydevice sounds like a function that would be called when a domU gets shutdown or destroyed. So that probably > means that the domU you are trying to create is getting shutdown for some reason. > > You should be able to get more information from the /var/log/xen/* log files, particularly watch for changes when you > try to start the domU. > > Also, does the guest show up at all in xm list? > > > > > > > > thanks > > > > _______________________________________________ > > 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
Hi Arpan, On Sat, May 10, 2008 at 1:58 PM, Arpan Jindal <jindalarpan@gmail.com> wrote:> /boot/grub/grub.conf > title Red Hat Enterprise Linux Server (2.6.18-8.el5xen) > root (hd0,1) > kernel /boot/xen.gz-2.6.18-8.el5 > module /boot/vmlinuz-2.6.18-8.el5xen ro root=LABEL=/ rhgb quiet > loop.max_loop=888 > module /boot/initrd-2.6.18-8.el5xen.img > > > > /etc/modprobe.conf > > alias eth0 bnx2 > alias eth1 bnx2 > alias scsi_hostadapter cciss > alias peth0 bnx2 > options loop max_loop=888 > > I have changed the network setting earlier problem was with > loopbackdevices now I have changed them to 888 in grub.conf and > /etc/modprobe.conf but still I m not able to start virtual machines > more that 7 at a time I can only start 7 machines. Similar problem I > have faced in past but after inc the number of loop back devices > system started work is their any other place where I have to set this > number ? >check that you actually do have the loop devices. ls /dev/loop* losetup -f losetup -a Are you sure that the loop module is being loaded properly? Can you check the output of dmesg and also try running the modprobe loop max_loop= line manually. Cheers, Todd _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
HI Todd here are the output. and its showing that there are only 7 loop devices. ls -l /dev/loop* brw-r----- 1 root disk 7, 0 May 10 23:26 /dev/loop0 brw-r----- 1 root disk 7, 1 May 10 23:26 /dev/loop1 brw-r----- 1 root disk 7, 2 May 10 23:26 /dev/loop2 brw-r----- 1 root disk 7, 3 May 10 23:26 /dev/loop3 brw-r----- 1 root disk 7, 4 May 10 23:26 /dev/loop4 brw-r----- 1 root disk 7, 5 May 10 23:26 /dev/loop5 brw-r----- 1 root disk 7, 6 May 10 23:26 /dev/loop6 brw-r----- 1 root disk 7, 7 May 10 23:26 /dev/loop7 losetup -f losetup: could not find any free loop device losetup -a /dev/loop0: [6805]:49155 (/xen/rhel1) /dev/loop1: [6805]:49153 (/xen/rhel2) /dev/loop2: [6805]:49154 (/xen/rhel3) /dev/loop3: [6805]:49156 (/xen/rhel4) /dev/loop4: [6802]:98032 (/en_windows_server_2003_standard.iso) /dev/loop5: [6805]:49158 (/xen/rhel5) /dev/loop6: [6805]:49159 (/xen/rhel6) /dev/loop7: [6805]:49157 (/xen/rhel7) how i can creatre more i have added entried there and moreover i have started server to. tehn to its showing only 7 loop devices. thanks On 5/10/08, Todd Deshane <deshantm@gmail.com> wrote:> Hi Arpan, > > On Sat, May 10, 2008 at 1:58 PM, Arpan Jindal <jindalarpan@gmail.com> wrote: > > /boot/grub/grub.conf > > title Red Hat Enterprise Linux Server (2.6.18-8.el5xen) > > root (hd0,1) > > kernel /boot/xen.gz-2.6.18-8.el5 > > module /boot/vmlinuz-2.6.18-8.el5xen ro root=LABEL=/ rhgb quiet > > loop.max_loop=888 > > module /boot/initrd-2.6.18-8.el5xen.img > > > > > > > > /etc/modprobe.conf > > > > alias eth0 bnx2 > > alias eth1 bnx2 > > alias scsi_hostadapter cciss > > alias peth0 bnx2 > > options loop max_loop=888 > > > > I have changed the network setting earlier problem was with > > loopbackdevices now I have changed them to 888 in grub.conf and > > /etc/modprobe.conf but still I m not able to start virtual machines > > more that 7 at a time I can only start 7 machines. Similar problem I > > have faced in past but after inc the number of loop back devices > > system started work is their any other place where I have to set this > > number ? > > > > check that you actually do have the loop devices. > > ls /dev/loop* > > losetup -f > losetup -a > > Are you sure that the loop module is being loaded properly? > > Can you check the output of dmesg and also try running the > modprobe loop max_loop= line manually. > > Cheers, > Todd >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, May 10, 2008 at 3:50 PM, Arpan Jindal <jindalarpan@gmail.com> wrote:> HI Todd > > here are the output. and its showing that there are only 7 loop devices. > ls -l /dev/loop* > brw-r----- 1 root disk 7, 0 May 10 23:26 /dev/loop0 > brw-r----- 1 root disk 7, 1 May 10 23:26 /dev/loop1 > brw-r----- 1 root disk 7, 2 May 10 23:26 /dev/loop2 > brw-r----- 1 root disk 7, 3 May 10 23:26 /dev/loop3 > brw-r----- 1 root disk 7, 4 May 10 23:26 /dev/loop4 > brw-r----- 1 root disk 7, 5 May 10 23:26 /dev/loop5 > brw-r----- 1 root disk 7, 6 May 10 23:26 /dev/loop6 > brw-r----- 1 root disk 7, 7 May 10 23:26 /dev/loop7 > > losetup -f > losetup: could not find any free loop device > > losetup -a > /dev/loop0: [6805]:49155 (/xen/rhel1) > /dev/loop1: [6805]:49153 (/xen/rhel2) > /dev/loop2: [6805]:49154 (/xen/rhel3) > /dev/loop3: [6805]:49156 (/xen/rhel4) > /dev/loop4: [6802]:98032 (/en_windows_server_2003_standard.iso) > /dev/loop5: [6805]:49158 (/xen/rhel5) > /dev/loop6: [6805]:49159 (/xen/rhel6) > /dev/loop7: [6805]:49157 (/xen/rhel7) > > how i can creatre more i have added entried there and moreover i have > started server to. tehn to its showing only 7 loop devices. > > > thanks >I just tested (on centOS 5.1) rmmod loop modprobe max_loop=64 with 888, it is too big. I think the max was around 255 or so. Cheers, Todd _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
thanks Todd problem is solved now .. now i have set max_loop to 125 and its working and showing loop devices also. On 5/11/08, Todd Deshane <deshantm@gmail.com> wrote:> > > On Sat, May 10, 2008 at 3:50 PM, Arpan Jindal <jindalarpan@gmail.com> wrote: > > HI Todd > > > > here are the output. and its showing that there are only 7 loop devices. > > ls -l /dev/loop* > > brw-r----- 1 root disk 7, 0 May 10 23:26 /dev/loop0 > > brw-r----- 1 root disk 7, 1 May 10 23:26 /dev/loop1 > > brw-r----- 1 root disk 7, 2 May 10 23:26 /dev/loop2 > > brw-r----- 1 root disk 7, 3 May 10 23:26 /dev/loop3 > > brw-r----- 1 root disk 7, 4 May 10 23:26 /dev/loop4 > > brw-r----- 1 root disk 7, 5 May 10 23:26 /dev/loop5 > > brw-r----- 1 root disk 7, 6 May 10 23:26 /dev/loop6 > > brw-r----- 1 root disk 7, 7 May 10 23:26 /dev/loop7 > > > > losetup -f > > losetup: could not find any free loop device > > > > losetup -a > > /dev/loop0: [6805]:49155 (/xen/rhel1) > > /dev/loop1: [6805]:49153 (/xen/rhel2) > > /dev/loop2: [6805]:49154 (/xen/rhel3) > > /dev/loop3: [6805]:49156 (/xen/rhel4) > > /dev/loop4: [6802]:98032 > (/en_windows_server_2003_standard.iso) > > /dev/loop5: [6805]:49158 (/xen/rhel5) > > /dev/loop6: [6805]:49159 (/xen/rhel6) > > /dev/loop7: [6805]:49157 (/xen/rhel7) > > > > how i can creatre more i have added entried there and moreover i have > > started server to. tehn to its showing only 7 loop devices. > > > > > > > > thanks > > > > I just tested (on centOS 5.1) > > rmmod loop > modprobe max_loop=64 > > with 888, it is too big. I think the max was around 255 or so. > > Cheers, > Todd > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users