WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Segmentation Faults on DomU

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Segmentation Faults on DomU
From: "Devdutt Patnaik" <xendevid@xxxxxxxxx>
Date: Fri, 16 Nov 2007 22:30:04 -0500
Delivery-date: Fri, 16 Nov 2007 19:30:44 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=6/A7rd0F2lK+Q+7IxTe50IOiGn64YS5ub08nNrtF1Sw=; b=NZCrhjqF58bNAzxHY/9jtc+BdMBv6bp3KJgiYlXRnx2uRzXovs+dYhDTY8r59wHuR7dQvZ1sJfo7Quv+DyTWSfygTLp8LntNhGhrdHpOVo6IcGjmvjwrXIZHrS16s69CStyUlZwSipaY+fGNRUMAdKhBOhcqKPIYsE0oAFFIDh0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CRSID4e3eW92cFotNWlwhm0BMtkYU1rv3s5X1fHYdP3SHuFx0pjA32piXKGma+WjE2Jx8/Ssw5PXXkr0e8fPUBPowp7SNU6bAwqA2lSXL+YqUgcTFbxEUqju9JSRX48aGmpOAFdXR6SJiTxlzt2GymxnOwxIbUkZFj5A7Hh7Zfo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi All,

I am seeing strange segmentation faults on DomU after I install gcc (
or for that matter any s/w with yum).
I am using PV linux images.

- I am using the source for xen 3.0.4 from Xensource and I built Xen +
Dom0 from source, and booted Dom0.
- I then downloaded the fedora6 file system images from jailtime.org
and booted the DomU using the kernel from the step above.
- When I run "yum update" or "yum install gcc" in DomU, this is what I
get from the logs :

[root@fc6_pristine ~]# yum install gcc
Setting up Install Process
Setting up repositories
core                      100% |=========================| 1.1 kB    00:00
updates-released          100% |=========================| 1.2 kB    00:00
extras                    100% |=========================| 1.1 kB    00:00
updates                   100% |=========================| 1.2 kB    00:00
ftp://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/6/i386/os/repodata/repomd.xml:
[Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
Trying other mirror.
base                      100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 417 kB    00:00
updates-re: ################################################## 1126/1126
primary.xml.gz            100% |=========================| 1.7 MB    00:00
extras    : ################################################## 5464/5464
primary.xml.gz            100% |=========================| 417 kB    00:00
updates   : ################################################## 1126/1126
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for gcc to pack into transaction set.
gcc-4.1.2-13.fc6.i386.rpm 100% |=========================|  64 kB    00:00
---> Package gcc.i386 0:4.1.2-13.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: libgomp = 4.1.2-13.fc6 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Processing Dependency: cpp = 4.1.2-13.fc6 for package: gcc
--> Processing Dependency: binutils >= 2.17.50.0.2-8 for package: gcc
--> Processing Dependency: libgomp.so.1 for package: gcc
--> Processing Dependency: libgcc >= 4.1.2-13.fc6 for package: gcc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for cpp to pack into transaction set.
cpp-4.1.2-13.fc6.i386.rpm 100% |=========================|  57 kB    00:00
---> Package cpp.i386 0:4.1.2-13.fc6 set to be updated
---> Downloading header for glibc-devel to pack into transaction set.
glibc-devel-2.5-18.fc6.i3 100% |=========================| 108 kB    00:00
---> Package glibc-devel.i386 0:2.5-18.fc6 set to be updated
---> Downloading header for binutils to pack into transaction set.
binutils-2.17.50.0.6-5.fc 100% |=========================|  45 kB    00:00
---> Package binutils.i386 0:2.17.50.0.6-5.fc6 set to be updated
---> Downloading header for libgomp to pack into transaction set.
libgomp-4.1.2-13.fc6.i386 100% |=========================|  54 kB    00:00
---> Package libgomp.i386 0:4.1.2-13.fc6 set to be updated
---> Downloading header for libgcc to pack into transaction set.
libgcc-4.1.2-13.fc6.i386. 100% |=========================|  54 kB    00:00
---> Package libgcc.i386 0:4.1.2-13.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Processing Dependency: glibc = 2.5-18.fc6 for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.5-18.fc6 for package: glibc-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for glibc-headers to pack into transaction set.
glibc-headers-2.5-18.fc6. 100% |=========================| 142 kB    00:00
---> Package glibc-headers.i386 0:2.5-18.fc6 set to be updated
---> Downloading header for glibc to pack into transaction set.
glibc-2.5-18.fc6.i686.rpm 100% |=========================| 143 kB    00:00
---> Package glibc.i686 0:2.5-18.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-common = 2.5-18.fc6 for package: glibc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for glibc-common to pack into transaction set.
glibc-common-2.5-18.fc6.i 100% |=========================| 722 kB    00:00
---> Package glibc-common.i386 0:2.5-18.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 gcc                     i386       4.1.2-13.fc6     updates           5.2 M
Installing for dependencies:
 binutils                i386       2.17.50.0.6-5.fc6  updates           2.9 M
 cpp                     i386       4.1.2-13.fc6     updates           2.6 M
 glibc-devel             i386       2.5-18.fc6       updates           2.0 M
 glibc-headers           i386       2.5-18.fc6       updates           608 k
 libgomp                 i386       4.1.2-13.fc6     updates            75 k
Updating for dependencies:
 glibc                   i686       2.5-18.fc6       updates           5.1 M
 glibc-common            i386       2.5-18.fc6       updates            16 M
 libgcc                  i386       4.1.2-13.fc6     updates            87 k

Transaction Summary
=============================================================================
Install      6 Package(s)
Update       3 Package(s)
Remove       0 Package(s)

Total download size: 35 M
Is this ok [y/N]: y
Downloading Packages:
(1/9): cpp-4.1.2-13.fc6.i 100% |=========================| 2.6 MB    00:01
(2/9): glibc-devel-2.5-18 100% |=========================| 2.0 MB    00:00
(3/9): glibc-headers-2.5- 100% |=========================| 608 kB    00:00
(4/9): binutils-2.17.50.0 100% |=========================| 2.9 MB    00:01
(5/9): glibc-common-2.5-1 100% |=========================|  16 MB    00:05
(6/9): libgomp-4.1.2-13.f 100% |=========================|  75 kB    00:00
(7/9): libgcc-4.1.2-13.fc 100% |=========================|  87 kB    00:00
(8/9): gcc-4.1.2-13.fc6.i 100% |=========================| 5.2 MB    00:01
(9/9): glibc-2.5-18.fc6.i 100% |=========================| 5.1 MB    00:01
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : libgcc                       ####################### [ 1/12]
  Updating  : glibc-common                 ####################### [ 2/12]
  Updating  : glibc                        ####################### [ 3/12]
/usr/sbin/glibc_post_upgrade: While trying to execute
/usr/sbin/iconvconfig.i686 child terminated abnormally
error: %post(glibc-2.5-18.fc6.i686) scriptlet failed, exit status 115
  Installing: cpp                          ####################### [ 4/12]
error: %post(cpp-4.1.2-13.fc6.i386) scriptlet failed, signal 11
error: %pre(glibc-headers-2.5-18.fc6.i386) scriptlet failed, signal 11
error:   install: %pre scriptlet failed (2), skipping glibc-headers-2.5-18.fc6
  Installing: glibc-devel                  ####################### [ 6/12]
error: %post(glibc-devel-2.5-18.fc6.i386) scriptlet failed, signal 11
  Installing: binutils                     ####################### [ 7/12]
error: %post(binutils-2.17.50.0.6-5.fc6.i386) scriptlet failed, signal 11
  Installing: libgomp                      ####################### [ 8/12]
  Installing: gcc                          ####################### [ 9/12]
error: %post(gcc-4.1.2-13.fc6.i386) scriptlet failed, signal 11
  Cleanup   : glibc-common                 ####################### [10/12]
  Cleanup   : libgcc                       ####################### [11/12]
  Cleanup   : glibc                        ####################### [12/12]

Installed: gcc.i386 0:4.1.2-13.fc6
Dependency Installed: binutils.i386 0:2.17.50.0.6-5.fc6 cpp.i386
0:4.1.2-13.fc6 glibc-devel.i386 0:2.5-18.fc6 glibc-headers.i386
0:2.5-18.fc6 libgomp.i386 0:4.1.2-13.fc6
Dependency Updated: glibc.i686 0:2.5-18.fc6 glibc-common.i386
0:2.5-18.fc6 libgcc.i386 0:4.1.2-13.fc6
Complete!
[root@fc6_pristine ~]# ls
Segmentation fault
[root@fc6_pristine ~]#

Further any command on the shell fails with a segmentation fault.
After this the DomU file system image becomes unusable.

Any ideas why this happens ?

Thanks,
Devdutt.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>