Hi, I'm having problems with using vzpkgcache: + /usr/share/vzyum/bin/yum --installroot=/vz/root/100001 --vps=100001 -c /vz/template/centos/4/i386/config/yum.conf -y install ed basesystem coreutils openssh-clients openssh-server bind libstdc++ perl gdbm libgcc readline httpd less lynx wget quota traceroute stunnel slocate rsync unzip vim-minimal man man-pages vixie-cron portmap iptables rpm python crontabs authconfig bzip2 caching-nameserver cpio cups-libs curl cyrus-sasl-plain cyrus-sasl-gssapi diffutils elfutils fetchmail finger finger-server freetype ftp gd gnupg gzip hesiod httpd-manual jwhois libdbi libjpeg libpng libtiff libtool-libs libuser libxslt lsof m4 mailx ncompress netpbm newt ntsysv openldap passwd rootfiles samba-swat samba-client screen setuptool sgml-common sharutils sudo talk talk-server tar tcl tcpdump tcsh telnet time tmpwatch unixODBC utempter xml-common sendmail sendmail-cf sendmail-doc dummy-centos-4 vzdev MAKEDEV -d 5 -e 5 /usr/share/vzpkg/cache-os: line 190: 11038 Floating point exception$YUM $YUM_CMD + abort 'yum failed with 136 exit code' + log 1 yum failed with 136 exit code This happens while executing /usr/share/vzpkg/cache-os. An strace of yum gives me the following: (see attachment). I'm yusing a Centos 4.4 system and I'm following the instructions on http://wiki.openvz.org/OS_template_cache_preparation for 'centos-4' as an os template. Can you help me? Thanks in advance! Regards, Michael
Re: vzpkgcache: Floating point exception
Hi, tell us your kernel version and hardware specs, especially CPU. rpm -qa | grep vz
Hi, here's the vz rpms: root@matrix ~ # rpm -qa | grep vz vzquota-3.0.8-1 vzyum-2.4.0-11 vzrpm43-4.3.3-7_nonptl.6 vzctl-lib-3.0.11-1 vzrpm44-python-4.4.1-22.5 vzpkg-2.7.0-18 vzctl-3.0.11-1 vztmpl-centos-4-2.0-2 ovzkernel-smp-2.6.8-022stab078.14 vzrpm44-4.4.1-22.5 vzrpm43-python-4.3.3-7_nonptl.6 The machine's details: 3ware 9550SX-4LP + BBU 4x250GB Seagate ST3250820AS SATAII with NCQ Board: Supermicro X6DH8-G2+ 2 x Intel xeon 3.6GHz 4GB RAM ... for the cpu info: [root@matrix ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.60GHz stepping : 10 cpu MHz : 3601.737 cache size : 2048 KB physical id : 0 siblings : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl tm2 est cid bogomips : 7110.65 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.60GHz stepping : 10 cpu MHz : 3601.737 cache size : 2048 KB physical id : 0 siblings : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl tm2 est cid bogomips : 7192.57 processor : 2 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.60GHz stepping : 10 cpu MHz : 3601.737 cache size : 2048 KB physical id : 3 siblings : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl tm2 est cid bogomips : 7192.57 processor : 3 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.60GHz stepping : 10 cpu MHz : 3601.737 cache size : 2048 KB physical id : 3 siblings : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl tm2 est cid bogomips : 7192.57 /proc/cpuinfo shows up 4 cpus because HT is enabled. Regards - Michael
Sorry, had to switch to xen which was indeed easier to install. Anyways, all the best for openvz. Michael