OpenVZ Forum


Home » General » Support » *SOLVED* vzctl Got signal 4
*SOLVED* vzctl Got signal 4 [message #2918] Thu, 27 April 2006 11:45 Go to next message
jandenouden is currently offline  jandenouden
Messages: 5
Registered: April 2006
Junior Member
Hi,

I'm new to OpenVZ and having some trouble getting it going. I've downloaded kernel 2.6.16, and applied patch-026test009-combined.gz. I used kernel-2.6.16-026test009-i686.config, but changed the processor type to VIA C3.

Here's how I try to create a new VPS:

root@host2:~# vzctl create 1001 --ostemplate centos-4-i386-minimal
Creating VPS private area: /vz/private/1001
Performing postcreate actions
VPS private area was created
root@host2:~# vzctl set 1001 --ipadd 192.168.3.4 --save
Saved parameters for VPS 1001
root@host2:~# vzctl start 1001
Starting VPS ...
VPS is mounted
Adding IP address(es): 192.168.3.4
Got signal 4
Setting CPU units: 1000
VPS start in progress...
root@host2:~# vzctl exec 1001 ps ax
Got signal 4
root@host2:~#

Some additional info:

root@host2:~# cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 7
model name : VIA Samuel 2
stepping : 3
cpu MHz : 533.455
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu de tsc msr cx8 mtrr pge mmx 3dnow
bogomips : 1068.27

and

root@host2:~# lsmod
Module Size Used by
simfs 3644 3
vznetdev 12256 4
vzdquota 35540 3 [permanent]
vzmon 41120 4 vznetdev
vzdev 2276 3 vznetdev,vzdquota,vzmon
af_packet 16648 0
xt_length 1888 6
ipt_ttl 1760 3
xt_tcpmss 2336 6
ipt_TCPMSS 3744 3
iptable_mangle 3680 3
iptable_filter 3360 3
ipt_multiport 2432 6
xt_limit 2272 6
ipt_tos 1504 3
ipt_REJECT 4160 3
ip_tables 12184 2 iptable_mangle,iptable_filter
x_tables 12704 9 xt_length,ipt_ttl,xt_tcpmss,ipt_TCPMSS,ipt_multiport,xt_limi t,ipt_tos,ipt_REJECT,ip_tables
ohci_hcd 18244 0
ehci_hcd 26888 0
shpchp 37664 0
parport_pc 25284 0
parport 19360 1 parport_pc
uhci_hcd 28496 0
usbcore 109028 4 ohci_hcd,ehci_hcd,uhci_hcd
i2c_viapro 7316 0
i2c_core 16624 1 i2c_viapro
ide_scsi 13348 0

Anyone have idea idea why it doesn't work?

Thanks,
Jan

[Updated on: Tue, 30 May 2006 14:31] by Moderator

Report message to a moderator

Re: vzctl Got signal 4 [message #2920 is a reply to message #2918] Fri, 28 April 2006 04:21 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Signal 4 == SIGILL.
i.e. vzctl (or some other bindary inside template?) contains illegal instructions for your CPU.
Have you recompiled vzctl and vzquota as well?

Also your try:
root@host2:~# vzctl exec 1001 ps ax
Got signal 4

makes me believe, that centos4 binaries are compiled with flags incompatible with Via C3 processor.


http://static.openvz.org/userbars/openvz-developer.png
Re: vzctl Got signal 4 [message #2973 is a reply to message #2920] Thu, 04 May 2006 12:29 Go to previous messageGo to next message
jandenouden is currently offline  jandenouden
Messages: 5
Registered: April 2006
Junior Member
Thanks for your response.

The Centos template is centos-4-i386-minimal.tar.gz, so it should run on the C3 processor (which is not fully i686 compatible).

I've compiled vzctl and vzquota from source with an i486 target.

Xen won't run on this processor due to, I believe, the processor using a different pagesize than standard. Could this also be the problem with OpenVZ?

Thanks,
Jan
Re: vzctl Got signal 4 [message #2993 is a reply to message #2973] Fri, 05 May 2006 17:26 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

It should not be a problem for OpenVZ itself as it can work on any arch where std linux works.
You need to strace vzctl and find which binary and why crashes.
I still think that some binaries are built with inappropriate options for your CPU.


http://static.openvz.org/userbars/openvz-developer.png
Re: vzctl Got signal 4 [message #3468 is a reply to message #2993] Tue, 30 May 2006 14:29 Go to previous message
jandenouden is currently offline  jandenouden
Messages: 5
Registered: April 2006
Junior Member
You're right, even though an image has 'i386' in the name, it might very well contain i686 code. For example, Fedora Core will install some i686 rpms if it detects an i686 compatible processor. Which will break things if you then copy this image to a non-i686 processor.

Thanks for your help.

Jan
Previous Topic: Is a BUG in SUSE10 kernel?
Next Topic: Unable to apply patch 025stab014 on Debian Etch (testing) 2.6.15-k8-smp
Goto Forum:
  


Current Time: Sat Nov 02 07:41:13 GMT 2024

Total time taken to generate the page: 0.03226 seconds