Juraj Benadik Posted April 11, 2019 Share Posted April 11, 2019 Hi I have problem to compile PHP 7.3 in CentOS7 gues on XS6.5SP1 I get Generating phar.php /bin/sh: line 1: 20308 Illegal instruction (core dumped) ` if test -x "/svr-setup/php-7.3.4/fpm-build/sapi/cli/php"; then /svr-setup/php-7.3.4/build/shtool echo -n -- "/svr-setup/php-7.3.4/f Nice guy from CentminMod told me it's because XS wont pass AVX flag of CPU to the guest. I checked CPU flags and they were: I have Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz CPU and even dom0 has no AVX flag. I was able to go from: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov to: (by reducing and rearranging amount of cores) Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes rdrand hypervisor lahf_lm fsgsbase smep erms but still no AVX. Any idea how can I get AVX CPU flag for my guests? I found somewhere it should be in 6.5SP1 and 7, but it's not working on my 6.5SP1 (server is unlicensed in a meanwhile, since VIAB licences are not available anymore) Thanks in advance for any help/suggestions Link to comment
Tobias Kreidl Posted April 11, 2019 Share Posted April 11, 2019 Is this server in a pool with other servers of a different type? Which version and edition (enterprise, standard, free) of XenServer are you running? There may be some restrictions there. Might work on XS 7.X if you're running a lower version. See this thread maybe for some help: https://discussions.citrix.com/topic/378210-cpu-masking-trouble/ -=Tobias Link to comment
Alan Lantz Posted April 11, 2019 Share Posted April 11, 2019 From what I can tell XenServer 7.x and above supports the AVX flag so an upgrade will be your likely solution. https://bugs.xenserver.org/browse/XSO-460 --Alan-- Link to comment
Question
Juraj Benadik
Hi
I have problem to compile PHP 7.3 in CentOS7 gues on XS6.5SP1
I get
Generating phar.php /bin/sh: line 1: 20308 Illegal instruction (core dumped) ` if test -x "/svr-setup/php-7.3.4/fpm-build/sapi/cli/php"; then /svr-setup/php-7.3.4/build/shtool echo -n -- "/svr-setup/php-7.3.4/f
Nice guy from CentminMod told me it's because XS wont pass AVX flag of CPU to the guest.
I checked CPU flags and they were:
I have Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz CPU and even dom0 has no AVX flag.
I was able to go from:
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
to: (by reducing and rearranging amount of cores)
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes rdrand hypervisor lahf_lm fsgsbase smep erms
but still no AVX.
Any idea how can I get AVX CPU flag for my guests?
I found somewhere it should be in 6.5SP1 and 7, but it's not working on my 6.5SP1 (server is unlicensed in a meanwhile, since VIAB licences are not available anymore)
Thanks in advance for any help/suggestions
Link to comment
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.