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] Re: x86 vs x86_64 domU : error while loading shared librarie

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Re: x86 vs x86_64 domU : error while loading shared libraries
From: "Nuno L. Ferreira" <nunolf@xxxxxxxxx>
Date: Tue, 30 Mar 2010 22:28:32 +0200
Delivery-date: Tue, 30 Mar 2010 13:29:27 -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:references:in-reply-to :content-type:content-transfer-encoding; bh=/VxR6AwLFheqncK5FBC9VcuqTbQ+qI9K4sa95fGvdp8=; b=HhsUdred1CYF6sXSDJc0s5udgUdZIsCaZkdme2wZ5/vxbmRR7THbhVZ20KDZPZd2mS NkmIv+DssW+VHZME9S44XG1VmBJKJe+tHUMzgu2MlUEZZZVpkt2GJMVqP3V/onblSFfg gtoSRpyPYJcJSYgtno8BKvYIrXW4EIzQSxwLs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=O+iBNXQgoI1Av8PWf8zo8UVyRwYiJ4+zNMsslYg1BUap9JKdQNV73rUwZBV/uHoTBI DQBTZsSEx/HL5LOSz3/AJA33jrzDpOfs+YI4TxeTburUyH6rUL9A4+dkn31S7GToAzHb X+eCzuXc/Zhbr1EpsyBO4Gf03TEjMUFlp85MA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BACB579.2080503@xxxxxxxxx>
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>
References: <4BACB579.2080503@xxxxxxxxx>
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 users,

Just to stay on the mailing list ...
All the problems I was facing while copying the pristine contents either from a CentOS 54 x86_64/x86 domU image file or LV partition installation to another LV was due to ... selinux. After disabling selinux on the dom0 (I also did it in the domU, but probably not necessary), I was able to boot just fine my domU's LV based.

Cheers,
N.

Nuno L. Ferreira wrote:
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.


--
==============================================
Nuno Ricardo Santos Loureiro da Silva Ferreira

NMR Spectroscopy Research Group
Bijvoet Center for Biomolecular Research
Utrecht University
Bloembergen gebouw
Padualaan 8, 3584 CH Utrecht
The Netherlands

P: +31.(0)30.253 9932
F: +31.(0)30.253 2652
E: n.l.ferreira@xxxxx
W: http://nmr.chem.uu.nl
==============================================


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

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