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

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Mon 12 Sep 2005 - 15:13:21 BST


On Mon, Sep 12, 2005 at 10:37:24AM +0200, Gilles wrote:
> Hi.
>
> This follows my trial to create a 32-bits vserver on AMD64.
> (see http://list.linux-vserver.org/archive/vserver/msg10649.html)
>
> The vserver creation went more or less OK (see other thread).
> The vserver starts OK.
> I can enter the vserver.
> When stopping the vserver, Xfree86 (on the host) starts to
> use ~99% of the CPU and the keyboard is dead; but not the
> mouse: I can continue clicking on the icons and the graphical
> system would seem to run fine (not even slow) if it weren't
> for the keyboard.

please remove the uneccesary and unhealthy devices
for the guest system ...

a typical guest should contain:

crw-rw-rw- 1 root root 1, 7 Sep 12 16:17 full
crw-rw-rw- 1 root root 1, 3 Sep 12 16:17 null
crw-rw-rw- 1 root root 5, 2 Sep 12 16:17 ptmx
drwxr-xr-x 2 root root 4096 Sep 12 16:17 pts/
crw-r--r-- 1 root root 1, 8 Sep 12 16:17 random
crw-rw-rw- 1 root root 5, 0 Sep 12 16:17 tty
crw-r--r-- 1 root root 1, 9 Sep 12 16:17 urandom
crw-rw-rw- 1 root root 1, 5 Sep 12 16:17 zero

and if necessary ...

prw------- 1 root root 0 Sep 12 16:17 initctl|
srw-rw-rw- 1 root root 0 Sep 12 16:17 log=

> I can connect from another computer, and stop the vserver
> (which goes fine) but X stays "busy". Killing the process
> just blanks the screen but doesn't resuscitate the keyboard.
> I'll just had to issue a "reboot". [By the way, is there a
> less radical solution I could try to regain control of the
> keyboard?]
>
> Some idea on the likely cause of this strange behaviour?
> [This is not the same as I reported previously but the vserver
> contents is different (especially it uses the "runit" init
> scheme). Could it be another consequences of the same bug?]

and remove hardware related stuff from the shutdown
scripts, to avoid errors and 'funny' files in your
/dev directory ...

> I've attached the outputs of "vserver-info - SYSINFO"
> and here is the ouput of "testme.sh":
>
> Linux-VServer Test [V0.13] Copyright (C) 2003-2005 H.Poetzl
> chcontext is working.
> chbind is working.
> Linux 2.6.12.4-vs2.0+g1+g1 x86_64/0.30.208/0.30.208 [Ea] (0)
> VCI: 0002:0001 236 03000074
> ---
> [000]# succeeded.
> [001]# succeeded.
> [011]# succeeded.
> [031]# succeeded.
> [101]# succeeded.
> [102]# succeeded.
> [201]# succeeded.
> [202]# succeeded.

looks good otherwise ...
best,
Herbert

> Best regards,
> Gilles

> Versions:
> Kernel: 2.6.12.4-vs2.0+g1+g1
> VS-API: 0x00020001
> util-vserver: 0.30.208; Aug 19 2005, 01:33:38
>
> Features:
> CC: gcc, gcc (GCC) 4.0.2 20050806 (prerelease) (Debian 4.0.1-4)
> CXX: g++, g++ (GCC) 4.0.2 20050806 (prerelease) (Debian 4.0.1-4)
> CPPFLAGS: ''
> CFLAGS: '-Wall -g -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time'
> CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time'
> build/host: x86_64-pc-linux-gnu/x86_64-pc-linux-gnu
> Use dietlibc: yes
> Build C++ programs: yes
> Build C99 programs: yes
> Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
> ext2fs Source: e2fsprogs
> syscall(2) invocation: alternative
> vserver(2) syscall#: 236/glibc
>
> Paths:
> prefix: /usr
> sysconf-Directory: /etc
> cfg-Directory: /etc/vservers
> initrd-Directory: $(sysconfdir)/init.d
> pkgstate-Directory: /var/run/vservers
> Kernelheaders: /usr/include
> vserver-Rootdir: /var/lib/vservers
>

> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


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 Mon 12 Sep 2005 - 15:13:49 BST by hypermail 2.1.3