Ross S. W. Walker
2008-Feb-29 13:44 UTC
[CentOS] error creating Centos 5.1 x32 dum_U instance on CentOS5.1 x64
Nah, RHEL 5.1+ supports 32-bit domU (PAE and non PAE) on 64-bit dom0. Actually RHEL Xen is 3.1 with the brain damaged 3.0 userland utilities. -Ross ----- Original Message ----- From: centos-bounces at centos.org <centos-bounces at centos.org> To: CentOS mailing list <centos at centos.org> Sent: Fri Feb 29 04:46:42 2008 Subject: Re: [CentOS] error creating Centos 5.1 x32 dum_U instance on CentOS5.1 x64 Rudi Ahlers wrote:> Hi all > > This is the first time I try and get Xen working, and want to install > a few CentOS 5.1 32bit and FreeBSD 6.1 VM's on my CentOS 5.1 x64 server. > > Trying to get the first one to install is rather trivial, and I keep > on running into errors. At fist I wanted to install it fro the cdrom, > so I used "virt-install --cdrom=/dev/hdc" It booted up, and I could > choose my language, but then got an error saying I don't have the > right driver for the cdrom install. Odd. > > So, I copied the whole CD to my intranet server, to try a HTTP > installation, which got much further, but fails as soon as it starts > copying the files to the xvda partition. > > Here's what I've done: > virt-install -p > --location=http://intranet/kickstart/centos/5.1/32/os/i386 --ram=512 > --file=/vm/vm03.img --name=vm03 > > Probing for video card: Unable to probe > No video hardware found, assuming headless > Graphical installation not available... Starting text mode. > Welcome to CentOS > > +------------------+ Package Installation +------------------+ > | | > | Name : libXt-1.0.2-3.1.fc6-i386 | > | Size : 359k | > | Summary: X.Org X11 libXt runtime library | > | | > | | > | Status: | > | | > | 53% | > | | > | Packages Bytes Time | > | Total : 349 564M 0:02:30 | > | Completed: 123 200M 0:00:53 | > | Remaining: 226 364M 0:01:37 | > | | > | 35% > Guest installation complete... restarting guest. > libvir: Xen Daemon error : POST operation failed: (xend.err "Error > creating domain: Boot loader didn't return any data!") > exception was: virDomainCreate() failed POST operation failed: > (xend.err "Error creating domain: Boot loader didn't return any data!") > Domain installation may not have been > successful. If it was, you can restart your domain > by running 'virsh start vm03'; otherwise, pleasels | <F12> next > screen > restart your installation. > [root at gimbli ~]# virsh start vm03 > libvir: Xen Daemon error : POST operation failed: (xend.err "Error > creating domain: Boot loader didn't return any data!") > error: Failed to start domain vm03 > > > > /var/log/messages got filled with the following messages: > > stem_r:xenstored_t:s0 tcontext=system_u:system_r:xenstored_t:s0 > tclass=capability > Feb 29 10:36:59 gimbli kernel: audit(1204274218.949:2139): avc: > denied { sys_resource } for pid=2445 comm="xenstored" capability=24 > scontext=system_u:system_r:xenstored_t:s0 > tcontext=system_u:system_r:xenstored_t:s0 tclass=capability > Feb 29 10:36:59 gimbli kernel: audit(1204274218.949:2140): avc: > denied { sys_resource } for pid=2445 comm="xenstored" capability=24 > scontext=system_u:system_r:xenstored_t:s0 > tcontext=system_u:system_r:xenstored_t:s0 tclass=capability > Feb 29 10:36:59 gimbli kernel: audit(1204274218.949:2141): avc: > denied { sys_resource } for pid=2445 comm="xenstored" capability=24 > scontext=system_u:system_r:xenstored_t:s0 > tcontext=system_u:system_r:xenstored_t:s0 tclass=capability > Feb 29 10:36:59 gimbli kernel: audit(1204274218.949:2142): avc: > denied { sys_resource } for pid=2445 comm="xenstored" capability=24 > scontext=system_u:system_r:xenstored_t:s0 > tcontext=system_u:system_r:xenstored_t:s0 tclass=capability > > > > What am I doing wrong? >as far as i am aware on standard RHEL or CentOS 5 packages a 32bit domU on a 64bit dom0 is not supported and known to crash _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080229/9c28aabf/attachment.html>
Rudi Ahlers
2008-Feb-29 13:48 UTC
[CentOS] error creating Centos 5.1 x32 dum_U instance on CentOS5.1 x64
Ross S. W. Walker wrote:> > Nah, RHEL 5.1+ supports 32-bit domU (PAE and non PAE) on 64-bit dom0. > > Actually RHEL Xen is 3.1 with the brain damaged 3.0 userland utilities. > > -Ross > > > ----- Original Message ----- > From: centos-bounces at centos.org <centos-bounces at centos.org> > To: CentOS mailing list <centos at centos.org> > Sent: Fri Feb 29 04:46:42 2008 > Subject: Re: [CentOS] error creating Centos 5.1 x32 dum_U instance on > CentOS5.1 x64 > > Rudi Ahlers wrote: > > Hi all > > > > This is the first time I try and get Xen working, and want to install > > a few CentOS 5.1 32bit and FreeBSD 6.1 VM's on my CentOS 5.1 x64 server. > > > > Trying to get the first one to install is rather trivial, and I keep > > on running into errors. At fist I wanted to install it fro the cdrom, > > so I used "virt-install --cdrom=/dev/hdc" It booted up, and I could > > choose my language, but then got an error saying I don't have the > > right driver for the cdrom install. Odd. > > > > So, I copied the whole CD to my intranet server, to try a HTTP > > installation, which got much further, but fails as soon as it starts > > copying the files to the xvda partition. > > > > Here's what I've done: > > virt-install -p > > --location=http://intranet/kickstart/centos/5.1/32/os/i386 --ram=512 > > --file=/vm/vm03.img --name=vm03 > > > > Probing for video card: Unable to probe > > No video hardware found, assuming headless > > Graphical installation not available... Starting text mode. > > Welcome to CentOS > > > > +------------------+ Package Installation +------------------+ > > | | > > | Name : libXt-1.0.2-3.1.fc6-i386 | > > | Size : 359k | > > | Summary: X.Org X11 libXt runtime library | > > | | > > | | > > | Status: | > > | | > > | 53% | > > | | > > | Packages Bytes Time | > > | Total : 349 564M 0:02:30 | > > | Completed: 123 200M 0:00:53 | > > | Remaining: 226 364M 0:01:37 | > > | | > > | 35% > > Guest installation complete... restarting guest. > > libvir: Xen Daemon error : POST operation failed: (xend.err "Error > > creating domain: Boot loader didn't return any data!") > > exception was: virDomainCreate() failed POST operation failed: > > (xend.err "Error creating domain: Boot loader didn't return any data!") > > Domain installation may not have been > > successful. If it was, you can restart your domain > > by running 'virsh start vm03'; otherwise, pleasels | <F12> next > > screen > > restart your installation. > > [root at gimbli ~]# virsh start vm03 > > libvir: Xen Daemon error : POST operation failed: (xend.err "Error > > creating domain: Boot loader didn't return any data!") > > error: Failed to start domain vm03 > > > > > > > > /var/log/messages got filled with the following messages: > > > > stem_r:xenstored_t:s0 tcontext=system_u:system_r:xenstored_t:s0 > > tclass=capability > > Feb 29 10:36:59 gimbli kernel: audit(1204274218.949:2139): avc: > > denied { sys_resource } for pid=2445 comm="xenstored" capability=24 > > scontext=system_u:system_r:xenstored_t:s0 > > tcontext=system_u:system_r:xenstored_t:s0 tclass=capability > > Feb 29 10:36:59 gimbli kernel: audit(1204274218.949:2140): avc: > > denied { sys_resource } for pid=2445 comm="xenstored" capability=24 > > scontext=system_u:system_r:xenstored_t:s0 > > tcontext=system_u:system_r:xenstored_t:s0 tclass=capability > > Feb 29 10:36:59 gimbli kernel: audit(1204274218.949:2141): avc: > > denied { sys_resource } for pid=2445 comm="xenstored" capability=24 > > scontext=system_u:system_r:xenstored_t:s0 > > tcontext=system_u:system_r:xenstored_t:s0 tclass=capability > > Feb 29 10:36:59 gimbli kernel: audit(1204274218.949:2142): avc: > > denied { sys_resource } for pid=2445 comm="xenstored" capability=24 > > scontext=system_u:system_r:xenstored_t:s0 > > tcontext=system_u:system_r:xenstored_t:s0 tclass=capability > > > > > > > > What am I doing wrong? > > > > as far as i am aware on standard RHEL or CentOS 5 packages a 32bit domU > on a 64bit dom0 is not supported and known to crash > > > _______________________________________________ >Ok, so what do I do if I want to have a 64bit Host XEN & 32guest's? I'd prefer to use CentOS for this purpose, if possible -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg
Rudi Ahlers
2008-Feb-29 16:03 UTC
[CentOS] error creating Centos 5.1 x32 dum_U instance on CentOS5.1 x64
Ross S. W. Walker wrote:> > Nah, RHEL 5.1+ supports 32-bit domU (PAE and non PAE) on 64-bit dom0. > > Actually RHEL Xen is 3.1 with the brain damaged 3.0 userland utilities. > > -Ross > > > ----- Original Message ----- >I've run into an interesting problem, which trying to install a 64bit guest: libvir: Xen Daemon error : POST operation failed: (xend.err 'Error creating domain: I need 524288 KiB, but dom0_min_mem is 262144 and shrinking to 262144 KiB would leave only 461040 KiB free.') Traceback (most recent call last): File "/usr/sbin/virt-install", line 633, in ? main() File "/usr/sbin/virt-install", line 578, in main dom = guest.start_install(conscb,progresscb) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 649, in start_install return self._do_install(consolecb, meter) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 666, in _do_install self.domain = self.conn.createLinux(install_xml, 0) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 503, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirt.libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err 'Error creating domain: I need 524288 KiB, but dom0_min_mem is 262144 and shrinking to 262144 KiB would leave only 461040 KiB free.') [root at gimbli ~]# uname -a Linux gimbli 2.6.18-53.1.13.el5xen #1 SMP Tue Feb 12 13:33:07 EST 2008 x86_64 x86_64 x86_64 GNU/Linux [root at gimbli ~]# cat /proc/meminfo MemTotal: 713728 kB MemFree: 503028 kB Buffers: 25284 kB Cached: 69356 kB SwapCached: 0 kB Active: 67144 kB Inactive: 55820 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 713728 kB LowFree: 503028 kB SwapTotal: 2096472 kB SwapFree: 2096472 kB Dirty: 40 kB Writeback: 0 kB AnonPages: 28280 kB Mapped: 7584 kB Slab: 17004 kB PageTables: 2316 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 2453336 kB Committed_AS: 145988 kB VmallocTotal: 34359738367 kB VmallocUsed: 2204 kB VmallocChunk: 34359735799 kB Even though Linux reports only 713MB RAM, the machine has 2GB RAM. How / where do I fix this? -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg
Apparently Analagous Threads
- error creating Centos 5.1 x32 dum_U instance on CentOS5.1 x64
- error creating Centos 5.1 x32 dum_U instance on CentOS 5.1 x64
- error creating Centos 5.1 x32 dum_U instance on CentOS5.1x64
- SELinux and SETroubleshootd woes in CR
- Why the data got from "top" and "xentop" are different?