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-users

[Xen-users] x86 vs x86_64 domU : error while loading shared libraries

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] x86 vs x86_64 domU : error while loading shared libraries
From: "Nuno L. Ferreira" <nunolf@xxxxxxxxx>
Date: Fri, 26 Mar 2010 14:24:09 +0100
Delivery-date: Fri, 26 Mar 2010 06:25:24 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=abL12TlLAFIXWw4rcNplPctBFfZHHeMck5S/cYzCOmo=; b=WrGMv8WUFkTwf9Zo5sjQQIq3eXrloOPYW2RsLqhHUSPMZqe2fwjPBGvEXL3T4y+FO1 NzOAHo4n25tr8nmToRwnWXJ9f30R40Z3DDkPkqoiPLFrskBCpzO9xoVUkKrF6oKVdQdC fnWQVg1YQ0k6QyUJXTu/kLUT7R6IpC8iuiKmM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=T1y5DiieVnMMLaWkfE5zqBPYJFloFJ6JQP1E1Sd9mHG/1tkHSjvkUIjHc8dOp9YKLQ ZFJk52I7MvW1CbVdlygrh7LzbK1S6IdvPWgNqmoC/bmXS/Ckd5X4B8If9IoJ40sDDSwt nmS6/BVzkvBjN4/p8upzP41bc8lHqb78zyNDU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100205 SeaMonkey/2.0.3
Dear *,

I have already setup several LVM based x86 paravirtual domU's on x86_64 dom0's always following the same procedure, for completeness:

1 - build a pristine image with virt-install (VirtualManager); initial configuration and software update is done here, it will be used then to build the production VM's 2 - dump the image into LVM based partitions (kpartx into play here; protocol taken from "Running Xen" book)
3 - after some edition, the VM's boot just fine ...

I was trying to build some paravirtual LVM x86_64 Xen domU's to be run on an x86_64 AMD dom0 server (CentOS 54 x86_64, both the dom0 and domU). Creating the file based image is not a problem, and the VM runs kust fine. The problem is after dumping it to the LV and booting the VM.
I'm getting the following:

[root@xxxlvm <mailto:root@xxxlvm>]# xm create -c xenvm.xen
Using config file "./xenvm.xen".
Started domain xenvm
rtc: IRQ 8 is not free.
rtc: IRQ 8 is not free.
i8042.c: No controller found.
Red Hat nash version 5.1.19.6 starting
Welcome to CentOS release 5.4 (Final)
Press 'I' to enter interactive startup.
Setting clock (utc): Thu Mar 25 22:47:38 CET 2010 [ OK ]
Starting udev: MAKEDEV: mkdir: File exists [ OK ]
Loading default keymap (us): [ OK ]
Setting hostname localhost.localdomain: [ OK ]
No devices found
Setting up Logical Volume Management: [ OK ]
Checking filesystems
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/xvda1
/dev/xvda1: clean, 86854/1310720 files, 605834/2621440 blocks [ OK ]
Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: [ OK ]
Enabling local filesystem quotas: [ OK ]
restorecon: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Enabling /etc/fstab swaps: [ OK ]
INIT: Entering runlevel: 3
Entering non-interactive startup
Starting background readahead: [ OK ]
Checking for hardware changes [ OK ]
Applying ip6tables firewall rules: ip6tables-restore: error while loading shared libraries: libdl.so.2: cannot open shared object file: Permission denied [FAILED]
... snip ...
/sbin/agetty: error while loading shared libraries: libc.so.6: cannot open shared object file: Permission denied
INIT: Id "co" respawning too fast: disabled for 5 minutes

Can someone give me a hint here?
Why I do not have problems running x86 domU's partition based VM's, while I'm having the above problems for x86_64 domU's?

Cheers,
N.

P.S. I did put this question on the CentOS mailing list (https://www.centos.org/modules/newbb/viewtopic.php?topic_id=25510&forum=45) but still no answers, and since I do not know if this is more from the Xen side, I took the liberty to post it here also.

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

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