LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   powering off Xen dom0 domain: not working after starting domU (https://www.linuxquestions.org/questions/linux-server-73/powering-off-xen-dom0-domain-not-working-after-starting-domu-599095/)

Pearlseattle 11-12-2007 12:37 PM

powering off Xen dom0 domain: not working after starting domU
 
Hi!
I have a small server which is running a kernel with Xen enabled (Gentoo distribution with xen-sources kernel). I have a problem with powering off the server after I started and shut down a domU environment. Here two examples:

1)
- I power on the server.
- the server boots normally and brings up the Dom0 environment.
- I connect to Dom0 from my notebook through ssh.
- I issue the command "shutdown -h now" in the Dom0.
- Dom0 powers off - the server machine is switched off :)

2)

- I power on the server.
- the server boots normally and brings up the Dom0 environment.
- I connect to Dom0 from my notebook through ssh.
- I start a DomU environment
- I disconnect with cntrl+5 (german keyboard) from the console and return to the Dom0 environment.
- I type "xm list" and see the DomU running
- I disconnect from Dom0 with "exit".
- I connect to the DomU environment using ssh
- I type "shutdown -h now" and immediately afterwards "exit" => I disconnect and am back on the notebook
- I connect to Dom0 through ssh.
- I type "xm list" and still see DomU for a while, and disappears after a while => nice, DomU has been shut down, as I wanted.
- I type (still in Dom0) "shutdown -h now".
- DomU goes down, but hangs just after showing the message "Power off" => me and the message "Power off" stare at each other - nothing happens. :rolleyes:

Any clue why? Where shall I search for more informations? Does Xen generates a log of what happens with DomU?

Thanks a lot...


All times are GMT -5. The time now is 09:16 PM.