About this list Date view Thread view Subject view Author view Attachment view

From: Klavs Klavsen (kl_at_vsen.dk)
Date: Wed 16 Oct 2002 - 07:47:46 BST


pls. Tell me if I'm totally wrong here, but can the fact that it's a Via
C3 (ezra core) cpu mean anything (this illegal instruction is what
mandrake 9.0 reports - if you don't install it via a fixed disk instead.

could these compile options be missing f.ex. --march=i386 (or i586 which
is max for my cpu)?

g++ -c -o syscall.o syscall.cc
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" chbind.cc syscall.o
-o chbind \ -lstdc++
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" chcontext.cc
syscall.o -o chcontext \ -lstdc++
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" reducecap.cc
syscall.o -o reducecap \ -lstdc++
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" rebootmgr.cc -o
rebootmgr \ -lstdc++
gcc -static -funsigned-char -Wall -g -O -DVERSION=\"0.21\" vreboot.cc -o
vreboot gcc -funsigned-char -funsigned-char -Wall -g -O
-DVERSION=\"0.21\" readlink.cc -o readlink \ -lstdc++
g++ -c -o vutil.o vutil.cc
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" vunify.cc vutil.o -o
vunify \ -lstdc++
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" vbuild.cc vutil.o -o
vbuild \ -lstdc++
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" vcheck.cc vutil.o -o
vcheck \ -lstdc++
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" vserver-stat.c
syscall.o -o vserver-stat gcc -funsigned-char -Wall -g -O
-DVERSION=\"0.21\" showattr.cc -o showattr \ -lstdc++
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" vdu.cc -o vdu \
        -lstdc++
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" showperm.cc -o
showperm \ -lstdc++
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" capchroot.cc
syscall.o -o capchroot \ -lstdc++
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" vfiles.cc vutil.o -o
vfiles \ -lstdc++
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" ifspec.cc -o ifspec \
        -lstdc++
gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" filetime.c -o
filetime gcc -funsigned-char -Wall -g -O -DVERSION=\"0.21\" listdevip.cc
-o listdevip

On Tue, 15 Oct 2002 09:27:34 +0200
Klavs Klavsen <kl_at_vsen.dk> wrote:

> The exact same problem is still happening with the new v0.21 version
> of the utilities. Only change is the line number:
>
> /usr/sbin/vserver: line 610: 6683 Illegal instruction $CHBIND_CMD
> $SILENT $IPOPT --bcast $IPROOTBCAST $CHCONTEXT_CMD $SILENT $CAPS
> --secure $CTXOPT $HOSTOPT $DOMAINOPT $SAVE_S_CONTEXT_CMD
> /var/run/vservers/$VSERVER.ctx $CAPCHROOT_CMD --suid $USERID
> $CHROOTOPT. "$@"
>
> Any ideas? I'm really lost here :-(
>
> On Mon, 14 Oct 2002 16:04:39 +0200
> Klavs Klavsen <kl_at_vsen.dk> wrote:
>
> > Hi guys,
> >
> > I just copied over my RH7.2 vserver from another (RH) box, to try
> > and run it on my new Gentoo-based vserver machine.
> >
> > I got the utilities compiled via Dieter Bigalke's patch, but when I
> > try to enter my vserver (or start it) I get this output:
> >
> > vserver main enter
> > ipv4root is now 172.16.16.100
> > Host name is now main.vsen.dk
> > New security context is 3
> > /usr/sbin/vserver: line 583: 12382 Illegal instruction
> > $CHBIND_CMD$SILENT $IPOPT --bcast $IPROOTBCAST $CHCONTEXT_CMD
> > $SILENT $CAPS--secure $CTXOPT $HOSTOPT $DOMAINOPT
> > $SAVE_S_CONTEXT_CMD/var/run/vservers/$VSERVER.ctx $CAPCHROOT_CMD
> > --suid $USERID$CHROOTOPT. $@
> >
> > Any ideas? :-(
> >
> > line 583 is the last line in the vserver script. it just says fi.
> >
> > --
> > Regards,
> > Klavs Klavsen
> >
> > -------------| This mail has been sent to you by: |------------
> > Klavs Klavsen - Open Source Consultant
> > klavs_at_EnableIT.dk - http://www.EnableIT.dk
> >
> > Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA
> > Fingerprint = A95E B57B 3CE0 9131 9D15 94DA E1CD 641E 586D 5BCA
> > ---------------------[ I think that... ]-----------------------
> > Working with Unix is like wrestling a worthy opponent.
> > Working with windows is like attacking a small whining
> > child who is carrying a .38. -- Unknown
>
>
> --
> Regards,
> Klavs Klavsen
>
> -------------| This mail has been sent to you by: |------------
> Klavs Klavsen - Open Source Consultant
> klavs_at_EnableIT.dk - http://www.EnableIT.dk
>
> Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA
> Fingerprint = A95E B57B 3CE0 9131 9D15 94DA E1CD 641E 586D 5BCA
> ---------------------[ I think that... ]-----------------------
> Working with Unix is like wrestling a worthy opponent.
> Working with windows is like attacking a small whining
> child who is carrying a .38. -- Unknown

-- 
Regards,
Klavs Klavsen

-------------| This mail has been sent to you by: |------------ Klavs Klavsen - Open Source Consultant klavs_at_EnableIT.dk - http://www.EnableIT.dk

Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA Fingerprint = A95E B57B 3CE0 9131 9D15 94DA E1CD 641E 586D 5BCA ---------------------[ I think that... ]----------------------- Working with Unix is like wrestling a worthy opponent. Working with windows is like attacking a small whining child who is carrying a .38. -- Unknown


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 06 Nov 2002 - 07:03:43 GMT by hypermail 2.1.3