Re: [Vserver] Problem with 64bit OpenSuSE

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 07 Feb 2006 - 14:40:19 GMT
Message-ID: <20060207144019.GC12624@MAIL.13thfloor.at>

On Tue, Feb 07, 2006 at 01:59:08PM +0100, Holger.Manthey@Bertelsmann.de wrote:
> sent again replace attachements with links
>
> > -----Original Message-----
> > From: Manthey, Holger, NMI-DB
> > Sent: Dienstag, 7. Februar 2006 13:55
> > To: 'Herbert Poetzl'
> > Cc: vserver@list.linux-vserver.org
> > Subject: RE: [Vserver] Problem with 64bit OpenSuSE
> >
> > > -----Original Message-----
> > > From: Herbert Poetzl [mailto:herbert@13thfloor.at]
> > > Sent: Dienstag, 7. Februar 2006 04:05
> > > To: Manthey, Holger, NMI-DB
> > > Cc: vserver@list.linux-vserver.org
> > > Subject: Re: [Vserver] Problem with 64bit OpenSuSE
> > >
> > > On Mon, Feb 06, 2006 at 01:07:30PM +0100,
> > > Holger.Manthey@Bertelsmann.de wrote:
> > > > Dear all,
> > > >
> > > > i installed new Serverhardware with 64bit OpenSuSE Kernel
> > > > 2.6.15-vs2.0.1.2-smp and util-vserver-0.30.210.
> > >
> > > where is the kernel from? how is it configured?
> > I build the kernel from vanilla sources with oldconfig from
> > original suse kernel, see kernel.config attached.
> > I'm not sure if the attachements delivered to the
> > mailinglist, so i put them on the web:
> > http://vserver.csservice.de/kernel.config
> > http://vserver.csservice.de/VSLPAPT2.out
> > http://vserver.csservice.de/VSLPAPT3.out
> > http://vserver.csservice.de/testme.sh.out
> > http://vserver.csservice.de/vserver-info.out
> > >
> > > > The testme.sh script works fine, but i can't start any virtual
> > > > machine. I copied a "working" virtual machine from another
> > > host, but
> > > > the start hungs.
> > >
> > > output of the latest script might give some clues ...
> > i started the server using 'vserver --debug VSLPAPT2 start
> > >VSLPAPT2.out 2>&1', see output attached in VSLPAPT2.out
> > >
> > > > start process hang after:
> > > > vserver VSLPAPT2 start
> > > > ipv4root is now 1.2.3.4 127.0.0.2
> > > > New security context is 49152

first, you definitely should not use dynamic contexts
(i.e. choose a static id, between 2 and 49151 and
 add that to your configuration)

> > > is your guest 64bit too or 32bit?
> > >
> > > if 32bit, did you set the proper personality?
> > The guest is 32bit. I set uts/machine to i686, but no
> > personality. I tried again with personality=PER_LINUX_32BIT
> > with same result (see VSLPAPT3.out) Kernel ist compiled with
> > IA32_EMULATION=Y.

the log from VSLPAPT3.out shows that the guest
is properly started ...

right after: New security context is 49157

beginning with:

        RUNLEVEL="$1"
        + RUNLEVEL=3
        # CONSOLE=/dev/null
        CONSOLE=/dev/console
        + CONSOLE=/dev/console

that is your guest's runlevel script ...

it seems to run a little and decide to wait then
(no idea why that happens)

> > > > vps -ef |grep VSLP
> > > > root 13473 0 MAIN 13040 0 11:37 pts/0
> > 00:00:00
> > > > /DBA/vserver/util-vserver/0.30.210/sbin/vnamespace --new --
> > > > /DBA/vserver/util-vserver/0.30.210/sbin/vserver ----nonamespace
> > > > VSLPAPT2 start
> > > > root 13477 0 MAIN 13473 0 11:37 pts/0
> > 00:00:00
> > > > /bin/bash /DBA/vserver/util-vserver/0.30.210/sbin/vserver
> > > > ----nonamespace VSLPAPT2 start
> > > > root 13485 0 MAIN 13477 0 11:37 pts/0
> > 00:00:00
> > > > /DBA/vserver/util-vserver/0.30.210/lib/util-vserver/lockfile
> > > >
> > >
> > /var/lock/vserver.DBAvserverutilvserver030210etcvserversVSLPAPT2.start
> > > > up
> > > > /tmp/vserver-lock.k13482
> > > > root 13562 49152 VSLPAPT1 13477 0 11:37 pts/0
> > 00:00:00
> > > > /bin/bash /etc/rc.d/rc 3
> > > > root 13563 49152 VSLPAPT1 13562 0 11:37 pts/0
> > 00:00:00
> > > > /bin/bash /etc/rc.d/rc 3
> > > >
> > > > The same virtual machine works fine with 32bit OpenSuSE Kernel
> > > > 2.6.15-vs2.0.1.2-smp and util-vserver-0.30.210. I
> > couldn't kill the
> > > > processes via 'vkill --xid 49152 -s 9 13562 13563' only a
> > > reboot helps
> > > > here.
> > > >
> > > > Is the 64bit version not working in general, should i
> > reinstall the
> > > > server with an 32bit version?
> > >
> > > works fine on 64bit debian and 64bit madriva, so I'd say it must be
> > > something else ...
> > I hope we'll find this something ;-)

try modifying the runlevel script, especially
remove the splash and console redirection stuff

HTH,
Herbert

> > > best,
> > > Herbert
> > >
> > > > best regards
> > > > Holger
> > > > _______________________________________________
> > > > Vserver mailing list
> > > > Vserver@list.linux-vserver.org
> > > > http://list.linux-vserver.org/mailman/listinfo/vserver
> > >
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Feb 7 14:40:52 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 07 Feb 2006 - 14:40:58 GMT by hypermail 2.1.8