Maciej Galkiewicz
2011-Mar-22 14:32 UTC
[Pkg-xen-devel] Bug#619253: xen-utils-4.0: xend service can't start because of xenstored segfault
Package: xen-utils-4.0 Version: 4.0.1-2 Severity: normal Tags: squeeze I have 3 VM running. I have upgraded debian squeeze to 6.0.1 (new kernel package 2.6.32-31) and restarted my server. VM were still running. After reboot I could not start xend service (from init.d). I got following errors: kern.log: Mar 22 15:07:30 router kernel: [53888.212756] xenstored[7232]: segfault at 7fff056b5ff8 ip 00007f95eb894311 sp 00007fff056b6000 error 6 in libc-2.11.2.so[7f95eb82d000+158000] syslog: Mar 22 15:07:30 router xenstored: TDB error on read: IO Error Mar 22 15:07:30 router xenstored: TDB error on read: IO Error Mar 22 15:07:30 router xenstored: TDB error on read: IO Error Mar 22 15:07:30 router xenstored: TDB error on read: IO Error Mar 22 15:07:30 router kernel: [53888.212756] xenstored[7232]: segfault at 7fff056b5ff8 ip 00007f95eb894311 sp 00007fff056b6000 error 6 in libc-2.11.2.so[7f95eb82d000+158000] xend.log: [2011-03-22 15:07:24 7257] INFO (SrvDaemon:332) Xend Daemon started [2011-03-22 15:07:24 7257] INFO (SrvDaemon:336) Xend changeset: unavailable. [2011-03-22 15:07:24 7257] INFO (XendNetwork:114) Not recreating missing unmanaged network br0 [2011-03-22 15:07:24 7257] INFO (XendNetwork:114) Not recreating missing unmanaged network eth0 [2011-03-22 15:07:30 7257] ERROR (SrvDaemon:349) Exception starting xend ((104, 'Connection reset by peer')) xend-debug.log: Xend started at Tue Mar 22 15:07:24 2011. cat: /sys/bus/scsi/devices/host0/vendor: No such file or directory cat: /sys/bus/scsi/devices/host0/model: No such file or directory cat: /sys/bus/scsi/devices/host0/type: No such file or directory cat: /sys/bus/scsi/devices/host0/rev: No such file or directory cat: /sys/bus/scsi/devices/host0/scsi_level: No such file or directory cat: /sys/bus/scsi/devices/host1/vendor: No such file or directory cat: /sys/bus/scsi/devices/host1/model: No such file or directory cat: /sys/bus/scsi/devices/host1/type: No such file or directory cat: /sys/bus/scsi/devices/host1/rev: No such file or directory cat: /sys/bus/scsi/devices/host1/scsi_level: No such file or directory cat: /sys/bus/scsi/devices/host2/vendor: No such file or directory cat: /sys/bus/scsi/devices/host2/model: No such file or directory cat: /sys/bus/scsi/devices/host2/type: No such file or directory cat: /sys/bus/scsi/devices/host2/rev: No such file or directory cat: /sys/bus/scsi/devices/host2/scsi_level: No such file or directory cat: /sys/bus/scsi/devices/host3/vendor: No such file or directory cat: /sys/bus/scsi/devices/host3/model: No such file or directory cat: /sys/bus/scsi/devices/host3/type: No such file or directory cat: /sys/bus/scsi/devices/host3/rev: No such file or directory cat: /sys/bus/scsi/devices/host3/scsi_level: No such file or directory cat: /sys/bus/scsi/devices/target0:0:0/vendor: No such file or directory cat: /sys/bus/scsi/devices/target0:0:0/model: No such file or directory cat: /sys/bus/scsi/devices/target0:0:0/type: No such file or directory cat: /sys/bus/scsi/devices/target0:0:0/rev: No such file or directory cat: /sys/bus/scsi/devices/target0:0:0/scsi_level: No such file or directory cat: /sys/bus/scsi/devices/host4/vendor: No such file or directory cat: /sys/bus/scsi/devices/host4/model: No such file or directory cat: /sys/bus/scsi/devices/host4/type: No such file or directory cat: /sys/bus/scsi/devices/host4/rev: No such file or directory cat: /sys/bus/scsi/devices/host4/scsi_level: No such file or directory cat: /sys/bus/scsi/devices/host5/vendor: No such file or directory cat: /sys/bus/scsi/devices/host5/model: No such file or directory cat: /sys/bus/scsi/devices/host5/type: No such file or directory cat: /sys/bus/scsi/devices/host5/rev: No such file or directory cat: /sys/bus/scsi/devices/host5/scsi_level: No such file or directory Exception starting xend: (104, 'Connection reset by peer') xend-config.sxp: (network-script 'network-bridge netdev=eth1') (vif-script vif-bridge) (dom0-min-mem 512) (enable-dom0-ballooning yes) (total_available_memory 0) (dom0-cpus 0) (vncpasswd '') -- System Information: Debian Release: 6.0.1 APT prefers squeeze-updates APT policy: (500, 'squeeze-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages xen-utils-4.0 depends on: ii e2fslibs 1.41.12-2 ext2/ext3/ext4 file system librari ii iproute 20100519-3 networking and traffic control too ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libncurses5 5.7+20100313-5 shared libraries for terminal hand ii libxenstore3.0 4.0.1-2 Xenstore communications library fo ii python-support 1.0.10 automated rebuilding support for P ii python2.5 2.5.5-11 An interactive high-level object-o ii udev 164-3 /dev/ and hotplug management daemo ii xen-utils-common 4.0.0-1 XEN administrative tools - common ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages xen-utils-4.0 recommends: ii bridge-utils 1.4-5 Utilities for configuring the Linu ii xen-hypervisor-4.0-amd64 [xen 4.0.1-2 The Xen Hypervisor on AMD64 Versions of packages xen-utils-4.0 suggests: pn xen-docs-4.0 <none> (no description available) -- no debconf information
Ian Campbell
2011-Mar-23 07:49 UTC
[Pkg-xen-devel] Bug#619253: Bug#619253: xen-utils-4.0: xend service can't start because of xenstored segfault
On Tue, 2011-03-22 at 15:32 +0100, Maciej Galkiewicz wrote:> > syslog: > Mar 22 15:07:30 router xenstored: TDB error on read: IO Error > Mar 22 15:07:30 router xenstored: TDB error on read: IO Error > Mar 22 15:07:30 router xenstored: TDB error on read: IO Error > Mar 22 15:07:30 router xenstored: TDB error on read: IO Error > Mar 22 15:07:30 router kernel: [53888.212756] xenstored[7232]: > segfault > at 7fff056b5ff8 ip 00007f95eb894311 sp 00007fff056b6000 error 6 in > libc-2.11.2.so[7f95eb82d000+158000]This looks like the tdb file (the xenstore db backend) has gotten corrupted somehow causing xenstored to crash (which isn't a terribly useful reaction). Since there is no persistent data in xenstore you could try removing (or moving aside) /var/lib/xenstored/tdb. It might be worth fsck'ing your filesystem and otherwise checking your disk integrity -- those IO Errors are slightly worrying. Ian. -- Ian Campbell martin at bdsi.com (no longer valid - where are you now, Martin?) -- from /usr/src/linux/drivers/cdrom/mcd.c -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110323/8dfea726/attachment.pgp>
Debian Bug Tracking System
2011-Mar-24 00:06 UTC
[Pkg-xen-devel] Bug#619253: marked as done (xen-utils-4.0: xend service can't start because of xenstored segfault)
Your message dated Thu, 24 Mar 2011 00:01:26 +0000 with message-id <1300924886.5785.11.camel at localhost.localdomain> and subject line Re: [Pkg-xen-devel] Bug#619253: xen-utils-4.0: xend service can't start because of xenstored segfault has caused the Debian Bug report #619253, regarding xen-utils-4.0: xend service can't start because of xenstored segfault to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 619253: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619253 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Maciej Galkiewicz <maciej.galkiewicz at gmail.com> Subject: xen-utils-4.0: xend service can't start because of xenstored segfault Date: Tue, 22 Mar 2011 15:32:53 +0100 Size: 7064 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110324/cf27c075/attachment-0002.eml> -------------- next part -------------- An embedded message was scrubbed... From: Ian Campbell <ijc at hellion.org.uk> Subject: Re: [Pkg-xen-devel] Bug#619253: xen-utils-4.0: xend service can't start because of xenstored segfault Date: Thu, 24 Mar 2011 00:01:26 +0000 Size: 3795 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110324/cf27c075/attachment-0003.eml>