Nuno L. Ferreira
2010-Mar-26 13:24 UTC
[Xen-users] x86 vs x86_64 domU : error while loading shared libraries
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@lists.xensource.com http://lists.xensource.com/xen-users
Nuno L. Ferreira
2010-Mar-30 20:28 UTC
[Xen-users] Re: x86 vs x86_64 domU : error while loading shared libraries
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@uu.nl W: http://nmr.chem.uu.nl ============================================= _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users