Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-12-14 Thread Timo Juhani Lindfors
Richard Mittendorfer del...@gmx.net writes:
  Did you try with an updated dom0 kernel as well?

64bit dom0 seems to shutdown and reboot properly.



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/84k4jc7l69@sauna.l.org



Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-12-14 Thread Ian Campbell
On Tue, 2010-12-14 at 11:12 +0100, Richard Mittendorfer wrote:
 Also sprach Timo Juhani Lindfors timo.lindf...@iki.fi
 Tue, 14 Dec 2010 11:34:06 +0200 :
  Richard Mittendorfer del...@gmx.net writes:
Did you try with an updated dom0 kernel as well?
  
  64bit dom0 seems to shutdown and reboot properly.
 
 Version: 2.6.32-29
 
 So I'd say this bug has truly been closed with 2.6.32-29 going upstream.

Just to clarify, since the recent messages are not completely clear on
the details, we think that with the 2.6.32-29 package reboot works fine
for both 32 and 64 bit domU and dom0?

In the domU case it works ok in both the generic flavours (-686-bigmem
and -amd64) and the -xen flavours (-xen-{686,amd64})?

If so then good!

Thanks everyone for testing etc.

Ian.
-- 
Ian Campbell
Current Noise: Trouble - Pray For The Dead

While you don't greatly need the outside world, it's still very
reassuring to know that it's still there.




-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1292322500.13966.5324.ca...@zakaz.uk.xensource.com



Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-12-14 Thread Timo Juhani Lindfors
Ian Campbell i...@hellion.org.uk writes:
 Just to clarify, since the recent messages are not completely clear on
 the details, we think that with the 2.6.32-29 package reboot works fine
 for both 32 and 64 bit domU and dom0?

Yes. It seems the failed reboot of 32-bit domUs was due to

[2010-12-14 13:01:45 2071] ERROR (XendDomainInfo:2205) VM squeeze32 restarting 
too fast (Elapsed time: 24.226863 seconds). Refusing to restart to avoid loops.

(The limit seems to be hardcoded to 60 seconds)



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/84bp4o7gov@sauna.l.org



Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-12-14 Thread Ian Campbell
On Tue, 2010-12-14 at 13:10 +0200, Timo Juhani Lindfors wrote:
 Ian Campbell i...@hellion.org.uk writes:
  Just to clarify, since the recent messages are not completely clear on
  the details, we think that with the 2.6.32-29 package reboot works fine
  for both 32 and 64 bit domU and dom0?
 
 Yes.

Awesome, thanks for confirming.

  It seems the failed reboot of 32-bit domUs was due to
 
 [2010-12-14 13:01:45 2071] ERROR (XendDomainInfo:2205) VM squeeze32 
 restarting too fast (Elapsed time: 24.226863 seconds). Refusing to restart to 
 avoid loops.
 
 (The limit seems to be hardcoded to 60 seconds)

Yeah, the commit which bumped it to 60s (from 20s) doesn't really say
why, seems to be something to do with failing to start qemu-dm in the
HVM case.

Ian.
-- 
Ian Campbell
Current Noise: Trouble - Wickedness Of Man

The trouble with a kitten is that
When it grows up, it's always a cat
-- Ogden Nash.




-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1292327562.13966.5380.ca...@zakaz.uk.xensource.com



Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-12-12 Thread Timo Juhani Lindfors
Richard Mittendorfer del...@gmx.net writes:
 Did you try with an updated dom0 kernel as well? Don't have 32bit
 guests here, neither gave debian 2.6.32-29 a try yet. 

Reboot seems to work with a 64bit guest:

squeeze64:~# dmesg|head -n4
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.32-5-amd64 (Debian 2.6.32-29) 
(b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Fri Dec 10 
15:35:08 UTC 2010
[0.00] Command line: root=/dev/xvda ro console=hvc0
squeeze64:~# shutdown -r now

Broadcast message from r...@squeeze64 (hvc0) (Sun Dec 12 12:45:59 2010):

The system is going down for reboot NOW!
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
Using makefile-style concurrent boot in runlevel 6.
Stopping internet superserver: inetd.
Stopping NTP server: ntpd.
Stopping deferred execution scheduler: atd.
Stopping MTA: exim4_listener.
Stopping kernel log daemon
Stopping system log daemon
acpid: exiting

Asking all remaining processes to terminate...done.
All processes ended within 1 secondsdone.
Stopping portmap daemon
Stopping NFS common utilities: statd.
Saving the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Deconfiguring network interfaces...Internet Systems Consortium DHCP Client 
4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:01:01:99:7e:eb
Sending on   LPF/eth0/00:01:01:99:7e:eb
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 10.7.2.14 port 67
invoke-rc.d: -
invoke-rc.d: WARNING: 'invoke-rc.d ntp try-restart' called
invoke-rc.d: during shutdown sequence.
invoke-rc.d: enabling safe mode: initscript policy layer disabled
invoke-rc.d: -
done.
Cleaning up ifupdown
Deactivating swap...done.
Will now restart.
[  105.523291] xenbus_dev_shutdown: device/console/0: Initialising != 
Connected, skipping
[  105.832221] Restarting system.
overlord2:~$ sudo xm console squeeze64
[0.00] Initializing cgroup subsys cpuset
...
squeeze64 login: 






-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/841v5n9si0@sauna.l.org



Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-12-12 Thread Richard Mittendorfer
Also sprach Timo Juhani Lindfors timo.lindf...@iki.fi
Sun, 12 Dec 2010 12:48:23 +0200 :
 Richard Mittendorfer del...@gmx.net writes:
  Did you try with an updated dom0 kernel as well? Don't have 32bit
  guests here, neither gave debian 2.6.32-29 a try yet. 
 
 Reboot seems to work with a 64bit guest:

I took a quick look into the vanilla changelog 2.6.32.27 and the commits
to this issue seem to be a xen thing rather than reverting the above
mentioned commit (which does it's job pretty well here, but is ugly).
I have to stay with custom builds some time until I have time to look
into this..

Added Ben to CC:

https://lkml.org/lkml/2010/12/7/741
-- 
Richard Mittendorfer del...@gmx.net



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101212160851.ff467cef.del...@gmx.net



Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-12-11 Thread Timo Juhani Lindfors
Hi,

at least on a 32-bit domU, 2.6.32-29 seems to break reboot
completely. The guest just disappears as if it had called halt
instead:

overlord2:~$ cat /local/xen/squeeze32/config
name = 'squeeze32'
bootloader = '/usr/bin/pygrub'
vcpus = '4'
memory = '512'
disk = [ 'file:/local/xen/squeeze32/disk.img,xvda,w' ]
vif = [ 'mac=00:01:01:99:7e:ec' ]
overlord2:~$ sudo xm create -c /local/xen/squeeze32/config

...


squeeze32:~# dpkg-query -W linux-image-$(uname -r)
linux-image-2.6.32-5-686-bigmem 2.6.32-29
squeeze32:~# reboot

Broadcast message from r...@squeeze32 (hvc0) (Sat Dec 11 19:03:00 2010):

The system is going down for reboot NOW!
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
Using makefile-style concurrent boot in runlevel 6.
Stopping internet superserver: inetd.
Stopping NTP server: ntpd.
Stopping deferred execution scheduler: atd.
Stopping MTA: exim4_listener.
Asking all remaining processes to terminate...done.
All processes ended within 1 secondsdone.
Stopping enhanced syslogd: rsyslogd.
Stopping portmap daemon
Stopping NFS common utilities: statd.
Saving the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Deconfiguring network interfaces...Internet Systems Consortium DHCP Client 
4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:01:01:99:7e:ec
Sending on   LPF/eth0/00:01:01:99:7e:ec
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 10.7.2.14 port 67
invoke-rc.d: -
invoke-rc.d: WARNING: 'invoke-rc.d ntp try-restart' called
invoke-rc.d: during shutdown sequence.
invoke-rc.d: enabling safe mode: initscript policy layer disabled
invoke-rc.d: -
done.
Cleaning up ifupdown
Deactivating swap...done.
Will now restart.
[   37.194669] xenbus_dev_shutdown: device/console/0: Initialising != 
Connected, skipping
[   37.502669] Restarting system.
overlord2:~$ sudo xm info
host   : overlord2
release: 2.6.32-5-xen-amd64
version: #1 SMP Sat Oct 30 17:04:10 UTC 2010
machine: x86_64
nr_cpus: 4
nr_nodes   : 1
cores_per_socket   : 4
threads_per_core   : 1
cpu_mhz: 2394
hw_caps: 
bfebfbff:20100800::0940:e3bd::0001:
virt_caps  : hvm hvm_directio
total_memory   : 8189
free_memory: 1028
node_to_cpu: node0:0-3
node_to_memory : node0:1028
node_to_dma32_mem  : node0:28
max_node_id: 0
xen_major  : 4
xen_minor  : 0
xen_extra  : .1
xen_caps   : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler  : credit
xen_pagesize   : 4096
platform_params: virt_start=0x8000
xen_changeset  : unavailable
xen_commandline:
cc_compiler: gcc version 4.4.5 20100824 (prerelease) (Debian 
4.4.4-11)
cc_compile_by  : waldi
cc_compile_domain  : debian.org
cc_compile_date: Fri Sep  3 15:38:12 UTC 2010
xend_config_format : 4
overlord2:~$ dpkg-query -W linux-image-$(uname -r)
linux-image-2.6.32-5-xen-amd64  2.6.32-28
overlord2:~$ sudo xm list
NameID   Mem VCPUs  State   Time(s)
Domain-0 0  2357 4 r-  62876.9
lindi1  24  1024 4 -b   9442.2




-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/84y67w9qya@sauna.l.org



Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-12-06 Thread Ian Campbell
On Tue, 2010-11-30 at 18:03 +0100, Richard Mittendorfer wrote:
 Builded wrong version. Removing CONFIG_KEXEC surely is not enough.
 Reverting ae832c21a08514fd11d2d1d6e217c8a537764bb0 fixes it.

This revert has been queued by the stable Linux maintainer and will
(presumably) be in v2.6.32.27.

Ian.

-- 
Ian Campbell
Current Noise: Spiritual Beggars - Return To Zero (Intro)

The anger of a woman is the greatest evil with which you can threaten your
enemies.
-- Bonnard




-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1291640975.8223.536.ca...@zakaz.uk.xensource.com



Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-11-30 Thread Timo Juhani Lindfors

I can reproduce the problem. The guest never really quits:

squeeze64:~# dpkg-query -W linux-image-$(uname -r)
linux-image-2.6.32-5-amd64  2.6.32-28
squeeze64:~# halt

Broadcast message from r...@squeeze64 (hvc0) (Tue Nov 30 13:02:53 2010):

The system is going down for system halt NOW!
INIT: Switching to runlevel: 0
INIT: Sending processes the TERM signal
Using makefile-style concurrent boot in runlevel 0.
Stopping deferred execution scheduler: atd.
Stopping MTA: exim4_listener.
Stopping internet superserver: inetd.
Stopping NTP server: ntpd.
Stopping kernel log daemon
Stopping system log daemon
Asking all remaining processes to terminate...acpid: exiting

done.
All processes ended within 1 secondsdone.
Stopping NFS common utilities: statd.
Stopping portmap daemon
Saving the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Deconfiguring network interfaces...Internet Systems Consortium DHCP Client 
4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:01:01:99:7e:eb
Sending on   LPF/eth0/00:01:01:99:7e:eb
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 10.7.2.14 port 67
invoke-rc.d: -
invoke-rc.d: WARNING: 'invoke-rc.d ntp try-restart' called
invoke-rc.d: during shutdown sequence.
invoke-rc.d: enabling safe mode: initscript policy layer disabled
invoke-rc.d: -
done.
Cleaning up ifupdown
Deactivating swap...done.
Will now halt.
[ 3467.394863] xenbus_dev_shutdown: device/console/0: Initialising != 
Connected, skipping
[ 3467.701267] System halted.



Before I was seeing

squeeze64:~# halt

Broadcast message from r...@squeeze64 (hvc0) (Tue Nov 30 12:04:38 2010):

The system is going down for system halt NOW!
INIT: Switching to runlevel: 0
INIT: Sending processes the TERM signal
squeeze64:~# Using makefile-style concurrent boot in runlevel 0.
Stopping deferred execution scheduler: atd.
Stopping internet superserver: inetd.
Stopping MTA: exim4_listener.
Stopping NTP server: ntpd.
Stopping kernel log daemon
Stopping system log daemon
Asking all remaining processes to terminate...acpid: exiting

done.
All processes ended within 1 secondsdone.
Stopping NFS common utilities: statd.
Stopping portmap daemon
Saving the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Deconfiguring network interfaces...Internet Systems Consortium DHCP Client 
4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:01:01:99:7e:eb
Sending on   LPF/eth0/00:01:01:99:7e:eb
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 10.7.2.14 port 67
invoke-rc.d: -
invoke-rc.d: WARNING: 'invoke-rc.d ntp try-restart' called
invoke-rc.d: during shutdown sequence.
invoke-rc.d: enabling safe mode: initscript policy layer disabled
invoke-rc.d: -
done.
Cleaning up ifupdown
Deactivating swap...done.
Will now halt.
[   60.457148] xenbus_dev_shutdown: device/console/0: Initialising != 
Connected, skipping
[   61.089264] System halted.
overlord2:~$ 




-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/84tyizhxym.fsf...@sauna.l.org



Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-11-30 Thread Richard Mittendorfer
Also sprach Timo Juhani Lindfors timo.lindf...@iki.fi
Tue, 30 Nov 2010 07:16:35 +0200 :
 Richard Mittendorfer del...@gmx.net writes:
  Version: 2.6.32-28
  likely https://lkml.org/lkml/2010/11/26/197
 
 Does this mean that you tested 2.6.32-27 and that works?

Yes, 2.6.32-27 is fine. Just builded 2.6.32-28 w/o CONFIG_KEXEC support and
the reboot/shutdown issue is gone.

-- 
Richard Mittendorfer del...@gmx.net



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101130161607.0899a7cf.del...@gmx.net



Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-11-30 Thread Richard Mittendorfer
Builded wrong version. Removing CONFIG_KEXEC surely is not enough.
Reverting ae832c21a08514fd11d2d1d6e217c8a537764bb0 fixes it.
-- 
Richard Mittendorfer del...@gmx.net



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101130180341.397a0eed.del...@gmx.net



Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-11-29 Thread Richard Mittendorfer
Package: linux-image-2.6.32-5-xen-amd64
Version: 2.6.32-28
Severity: normal

If Xen dom0 or domU kernel shuts down for halt or reboot it just sits
there trying to issue hw reboot/halt.
likely https://lkml.org/lkml/2010/11/26/197

-- System Information:
Debian Release: squeeze/sid
Architecture: amd64

-- 
Richard Mittendorfer del...@gmx.net



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101130022749.6b467331.del...@gmx.net



Bug#605448: linux-image-2.6.32-5-xen-amd64: xen dom0 and domU hang on reboot/halt

2010-11-29 Thread Timo Juhani Lindfors
Richard Mittendorfer del...@gmx.net writes:
 Version: 2.6.32-28
 likely https://lkml.org/lkml/2010/11/26/197

Does this mean that you tested 2.6.32-27 and that works?




-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8439qjjsr0@sauna.l.org