Hi all,

I'm trying to work remotely with the machine I have. So I want Xen
automatically reboot if it experiences a panic.

When Xen panic, it says " Reboot in five seconds...". However, it does
not reboot. :-(

*** The xen boot command line on my machine is ***
multiboot   /boot/xen-4.6-unstable.gz placeholder
dom0_mem=8192M,max:8192M dom0_max_vcpus=8 sched=credit
com1=115200,8n1,pci console=com1,vga reboot=k panic=2 panic_on_oops=1

*** The dom0's boot command line on my machine is ***
 module  /boot/vmlinuz-3.8.0-44-generic placeholder root=/dev/sda5 ro
panic=10 panic_on_oops=1 console=hvc0,115200n8 earlyprintk=xen quiet
splash

I'm actually not quite sure if I should add "reboot=k panic=2
panic_on_oops=1" into both command lines. But if I remove them, Xen
still won't reboot on some panic.

For example, if I boot into modified RTDS scheduler on Xen 4.6
unstable, it experiences panic as follows:

(XEN) Xen call trace:

(XEN)    [<ffff82d080128479>] rt_vcpu_remove+0x87/0xf9

(XEN)    [<ffff82d08012ab06>] sched_destroy_vcpu+0x98/0xed

(XEN)    [<ffff82d08010571f>] complete_domain_destroy+0x52/0x17f

(XEN)    [<ffff82d0801360d8>] rcu_process_callbacks+0x149/0x1a6

(XEN)    [<ffff82d08012d243>] __do_softirq+0x133/0x147

(XEN)    [<ffff82d08012d28f>] process_pending_softirqs+0x38/0x3a

(XEN)    [<ffff82d0801afbff>] mwait_idle+0x10a/0x2fb

(XEN)    [<ffff82d0801640c2>] idle_loop+0x51/0x6b

(XEN)

(XEN)

(XEN) ****************************************

(XEN) Panic on CPU 5:

(XEN) GENERAL PROTECTION FAULT

(XEN) [error_code=0000]

(XEN) ****************************************

(XEN)

(XEN) Reboot in five seconds...

***It says  "Reboot in five seconds", but I want for 1 min and nothing
happened. :-(


Did anyone happen to know why Xen does not reboot under this situation?
(Xen could reboot if it fails on an ASSERT())

Thank you very much for your time and help!

Best regards,

Meng

-----------
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to