All of lore.kernel.org
 help / color / mirror / Atom feed
* xen halt
@ 2004-07-14 13:51 David Becker
  2004-07-14 14:00 ` Keir Fraser
  0 siblings, 1 reply; 6+ messages in thread
From: David Becker @ 2004-07-14 13:51 UTC (permalink / raw)
  To: xen-devel


Xen still reboots rather than halts when dom-0 xenolinux is halted.
This makes the machine unstoppable.

David


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: xen halt
  2004-07-14 13:51 xen halt David Becker
@ 2004-07-14 14:00 ` Keir Fraser
  2004-07-14 14:09   ` David Becker
  0 siblings, 1 reply; 6+ messages in thread
From: Keir Fraser @ 2004-07-14 14:00 UTC (permalink / raw)
  To: David Becker; +Cc: xen-devel


Nope, if you do '/sbin/halt' then the machine should not reboot.

If you're doing a 'poweroff' or 'halt -p', or if somehow your
'/sbin/halt' is configured by default to do one of these things, then
the machine will reboot.

 -- Keir

> 
> Xen still reboots rather than halts when dom-0 xenolinux is halted.
> This makes the machine unstoppable.
> 
> David
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
> digital self defense, top technical experts, no vendor pitches, 
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: xen halt
  2004-07-14 14:00 ` Keir Fraser
@ 2004-07-14 14:09   ` David Becker
  2004-07-14 15:04     ` Ian Pratt
  0 siblings, 1 reply; 6+ messages in thread
From: David Becker @ 2004-07-14 14:09 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel


" Nope, if you do '/sbin/halt' then the machine should not reboot.

ah, a halt -f suspends domain 0.  
I need xen to quit without restarting the machine.



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: xen halt
  2004-07-14 14:09   ` David Becker
@ 2004-07-14 15:04     ` Ian Pratt
  2004-07-14 16:11       ` Rune Johan Andresen
  0 siblings, 1 reply; 6+ messages in thread
From: Ian Pratt @ 2004-07-14 15:04 UTC (permalink / raw)
  To: David Becker; +Cc: Keir Fraser, xen-devel, Ian.Pratt

> 
> " Nope, if you do '/sbin/halt' then the machine should not reboot.
> 
> ah, a halt -f suspends domain 0.  
> I need xen to quit without restarting the machine.

I've messed around with the code a bit so that /usr/bin/halt (as
opposed to /sbin/halt) works too, at least under RH9.

Ian


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: xen halt
  2004-07-14 15:04     ` Ian Pratt
@ 2004-07-14 16:11       ` Rune Johan Andresen
  2004-07-14 16:45         ` Ian Pratt
  0 siblings, 1 reply; 6+ messages in thread
From: Rune Johan Andresen @ 2004-07-14 16:11 UTC (permalink / raw)
  To: xen-devel; +Cc: David Becker, Keir Fraser

Strange thing. I can start "xend start" without any error msgs, but 
when I try to start a domain "xm create vmid=1"  (also tried with turn 
of som functions and checked the /etc/xen/xmdefaults/xmdefaults) it 
halts for a long time and times out.

(110, 'Connection timed out")
Error: Error connecting to xend, is xend runnig?

(and yes, Xend is running - I have the lastest pull)

It seems like xm is not aware of that xend is running, what can the 
conflict be?

Rune

On Jul 14, 2004, at 5:04 PM, Ian Pratt wrote:

>>
>> " Nope, if you do '/sbin/halt' then the machine should not reboot.
>>
>> ah, a halt -f suspends domain 0.
>> I need xen to quit without restarting the machine.
>
> I've messed around with the code a bit so that /usr/bin/halt (as
> opposed to /sbin/halt) works too, at least under RH9.
>
> Ian
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: xen halt
  2004-07-14 16:11       ` Rune Johan Andresen
@ 2004-07-14 16:45         ` Ian Pratt
  0 siblings, 0 replies; 6+ messages in thread
From: Ian Pratt @ 2004-07-14 16:45 UTC (permalink / raw)
  To: Rune Johan Andresen; +Cc: xen-devel, David Becker, Keir Fraser, Ian.Pratt

> Strange thing. I can start "xend start" without any error msgs, but 
> when I try to start a domain "xm create vmid=1"  (also tried with turn 
> of som functions and checked the /etc/xen/xmdefaults/xmdefaults) it 
> halts for a long time and times out.
> 
> (110, 'Connection timed out")
> Error: Error connecting to xend, is xend runnig?
> 
> (and yes, Xend is running - I have the lastest pull)
> 
> It seems like xm is not aware of that xend is running, what can the 
> conflict be?

This is very odd.

I'm running 1.1084 and it seems to work fine for me.

Have you tried clearing out your old xen tools and libraries
in case there's some strange conflict? 

cp -a /etc/xen /etc/xen.old
rm -rf "/etc/xen /usr/lib/python2.2/site-packages/xen* /usr/lib/libxc* /usr/lib/python2.2/site-packages/Xc*"

[or make 'uninstall']

Then do a 'make install' and copy/merge back any config files
you've edited.

Ian


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-07-14 16:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-14 13:51 xen halt David Becker
2004-07-14 14:00 ` Keir Fraser
2004-07-14 14:09   ` David Becker
2004-07-14 15:04     ` Ian Pratt
2004-07-14 16:11       ` Rune Johan Andresen
2004-07-14 16:45         ` Ian Pratt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.