domU still not rebooting in 3.0.2
After upgrading to 3.0.2 I tried rebooting a domU (a problem sometimes in 3.0.1 related to bug 514) it failed to come back up. This was in my xend.log. ("Refusing to restart to avoid loops." .... )
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) Storing domain details: {'console/ring-ref': '223144', 'console/port': '2', 'name':
'vmtest1', 'console/limit': '1048576', 'vm':
'/vm/c73d7a4b-4747-fe91-dbc4-0408183a9456', 'domid': '10', 'cpu/0/availability': 'online', 'memory/target': '98304', 'store/ring-ref':
'223145', 'store/port': '1'}
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) XendDomainInfo.handleShutdownWatch
[2006-04-11 20:53:39 xend.XendDomainInfo] WARNING (__init__:988) Domain has
crashed: name=vmtest1 id=10.
[2006-04-11 20:53:39 xend.XendDomainInfo] ERROR (__init__:988) VM vmtest1 restarting too fast (1.396226 seconds since the last restart). Refusing to restart to avoid loops.
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) XendDomainInfo.destroy: domid=10
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) XendDomainInfo.destroyDomain(10)
Is there a way to adjust the parameter that tells Xen the domain is "restarting too fast"? Would adjusting that parameter fix this?
Thank you,
Brian
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 22 lines · Brian Hays
After upgrading to 3.0.2 I tried rebooting a domU (a problem sometimes in 3.0.1 related to bug 514) it failed to come back up. This was in my xend.log. ("Refusing to restart to avoid loops." .... )
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) Storing domain details: {'console/ring-ref': '223144', 'console/port': '2', 'name': 'vmtest1', 'console/limit': '1048576', 'vm':
'/vm/c73d7a4b-4747-fe91-dbc4-0408183a9456', 'domid': '10', 'cpu/0/availability': 'online', 'memory/target': '98304', 'store/ring-ref': '223145', 'store/port': '1'}
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) XendDomainInfo.handleShutdownWatch
[2006-04-11 20:53:39 xend.XendDomainInfo] WARNING (__init__:988) Domain has crashed: name=vmtest1 id=10.
[2006-04-11 20:53:39 xend.XendDomainInfo] ERROR (__init__:988) VM vmtest1 restarting too fast (1.396226 seconds since the last restart). Refusing to restart to avoid loops.
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) XendDomainInfo.destroy : domid=10
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988)XendDomainInfo.destroyDomain(10)
Quoted 2 lines
Is there a way to adjust the parameter that tells Xen the domain is "restarting too fast"? Would adjusting that parameter fix this?
You could tweak it by changing MINIMUM_RESTART_TIME to 0 near the top of /usr/lib(64)/python/xen/xend/XendDomainInfo.py, but that sounds like a bad idea to me -- it really means it: your guest has crashed immediately after reboot.
The best thing to do is to change on_crash=preserve in your xm create config file, reboot the domain, and then attach the console to the dead, preserved domain to find out why it crashed.
Ewan.
Thanks. After appending the "on_crash = preserve" I reconnected and found this ...
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda1" or unknown-block(2,0) Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)
The root device is valid. When restarting manually via "xm create configfile" everything comes up fine. I'm using LVM. Is there a possibility that Xen seeing that device as already in use for some reason during a reboot?
Thank you,
Brian
Quoted 35 lines · Ewan Mellor
Quoted 1 line · Brian Hays
After upgrading to 3.0.2 I tried rebooting a domU (a problem sometimes
in
Quoted 14 lines
3.0.1 related to bug 514) it failed to come back up. This was in my xend.log. ("Refusing to restart to avoid loops." .... )
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) Storing domain details: {'console/ring-ref': '223144', 'console/port': '2', 'name': 'vmtest1', 'console/limit': '1048576', 'vm':
'/vm/c73d7a4b-4747-fe91-dbc4-0408183a9456', 'domid': '10', 'cpu/0/availability': 'online', 'memory/target': '98304', 'store/ring-ref': '223145', 'store/port': '1'}
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) XendDomainInfo.handleShutdownWatch
[2006-04-11 20:53:39 xend.XendDomainInfo] WARNING (__init__:988) Domain has crashed: name=vmtest1 id=10.
[2006-04-11 20:53:39 xend.XendDomainInfo] ERROR (__init__:988) VMvmtest1
Quoted 9 lines
restarting too fast (1.396226 seconds since the last restart). Refusing to restart to avoid loops.
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) XendDomainInfo.destroy : domid=10
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988)XendDomainInfo.destroyDomain(10)Is there a way to adjust the parameter that tells Xen the domain is "restarting too fast"? Would adjusting that parameter fix this?
You could tweak it by changing
MINIMUM_RESTART_TIMEto 0 near the top of /usr/lib(64)/python/xen/xend/XendDomainInfo.py, but that sounds like a bad idea to me -- it really means it: your guest has crashed immediately after reboot.
Quoted 8 lines
The best thing to do is to change on_crash=preserve in your xm create config
file, reboot the domain, and then attach the console to the dead, preserved
domain to find out why it crashed.Ewan.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Changing the MINIMUM_RESTART_TIME to 0 seems to have fixed it but this does seem to leave me open to potential loops if there really is a problem where a domU just won't come back. Is there a maximum number of restart attempts within a time period that can be set?
Thank you,
Brian
Quoted 16 lines · Brian Hays
Thanks. After appending the "
on_crash= preserve" I reconnected and found this ...Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda1" or unknown-block(2,0) Please append a correct "root=" boot optionKernel panic - not syncing: VFS: Unable to mount root fs onunknown-block(2,0)
The root device is valid. When restarting manually via "xm create configfile" everything comes up fine. I'm using LVM. Is there a possibility that Xen seeing that device as already in use for some reason during a reboot?
Quoted 54 lines
Thank you,
BrianQuoted 47 lines · Ewan Mellor
Quoted 1 line · Brian Hays
After upgrading to 3.0.2 I tried rebooting a domU (a problem sometimes
in
Quoted 12 lines
3.0.1 related to bug 514) it failed to come back up. This was in my xend.log. ("Refusing to restart to avoid loops." .... )
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) Storing domain details: {'console/ring-ref': '223144', 'console/port': '2', 'name': 'vmtest1', 'console/limit': '1048576', 'vm':
'/vm/c73d7a4b-4747-fe91-dbc4-0408183a9456', 'domid': '10', 'cpu/0/availability': 'online', 'memory/target': '98304', 'store/ring-ref': '223145', 'store/port': '1'}
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) XendDomainInfo.handleShutdownWatch
[2006-04-11 20:53:39 xend.XendDomainInfo] WARNING (__init__:988)Domain
Quoted 2 lines
has crashed: name=vmtest1 id=10.
[2006-04-11 20:53:39 xend.XendDomainInfo] ERROR (__init__:988) VMvmtest1
Quoted 1 line
restarting too fast (1.396226 seconds since the last
restart). Refusing
Quoted 8 lines
to restart to avoid loops.
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988) XendDomainInfo.destroy : domid=10
[2006-04-11 20:53:39 xend.XendDomainInfo] DEBUG (__init__:988)XendDomainInfo.destroyDomain(10)Is there a way to adjust the parameter that tells Xen the domain is "restarting too fast"? Would adjusting that parameter fix this?
You could tweak it by changing
MINIMUM_RESTART_TIMEto 0 near the top of /usr/lib(64)/python/xen/xend/XendDomainInfo.py, but that sounds like a bad
idea to me -- it really means it: your guest has crashed immediately after
reboot.The best thing to do is to change on_crash=preserve in your xm create config
file, reboot the domain, and then attach the console to the dead, preserved
domain to find out why it crashed.Ewan.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 7 lines · Brian Hays
Thanks. After appending the "
on_crash= preserve" I reconnected and found this ...Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda1" or unknown-block(2,0) Please append a correct "root=" boot option
Quoted 7 lines
Kernel panic - not syncing: VFS: Unable to mount root fs onunknown-block(2,0)
The root device is valid. When restarting manually via "xm create configfile" everything comes up fine. I'm using LVM. Is there a possibility that Xen seeing that device as already in use for some reason during a reboot?
Could you try with today's xen-3.0-testing tree? A patch went in yesterday which addressed these symptoms -- hopefully it will fix your problem. You'll actually be pulling a release candidate for Xen 3.0.2-1.
Ewan.
Hi Ewan,
Thank you. I installed today's xen-3.0-testing and have seen none of the reboot issues.
Thanks again,
Brian
Quoted 20 lines · Ewan Mellor
Quoted 1 line · Brian Hays
Thanks. After appending the "
on_crash= preserve" I reconnected andfound
Quoted 6 lines
this ...
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda1" or unknown-block(2,0) Please append a correct "root=" boot optionQuoted 6 lines
Kernel panic - not syncing: VFS: Unable to mount root fs onunknown-block(2,0)
The root device is valid. When restarting manually via "xm create configfile" everything comes up fine. I'm using LVM. Is there a possibility that Xen seeing that device as already in use for some
reason
Quoted 1 line
during a reboot?
Quoted 8 lines
Could you try with today's xen-3.0-testing tree? A patch went in yesterday
which addressed these symptoms -- hopefully it will fix your problem. You'll
actually be pulling a release candidate for Xen 3.0.2-1.Ewan.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel