[vserver] Crash after killing guest processes from the host

From: Grzegorz Nosek <grzegorz.nosek_at_gmail.com>
Date: Mon 12 Apr 2010 - 11:00:50 BST
Message-ID: <x2u121a28811004120300x1cf28d41i1e84e4a5e884f82c@mail.gmail.com>

Hi all,

Sending this out before I spend much time researching as maybe it's a
known and fixed problem.

When I send a signal (apparently even 0, to check whether the process
is alive) from the host to a guest process, "something bad" happens.
It looks like a spinlock isn't being released as all kinds of
processes are getting stuck in uninterruptible sleep, loadavg shoots
through the roof and the machine has to be power cycled (sysrq-b works
but e.g. sysrq-s never finishes). There are no errors in dmesg (apart
from usual "did lookup hidden devpts" spam). FWIW, lockdep is off.

Best regards,
 Grzegorz Nosek

---------------------------------------------------------------------
Versions:
                   Kernel: 2.6.27.42-00007-gf591647
                   VS-API: 0x00020304
             util-vserver: 0.30.213; May 9 2007, 20:02:07

Features:
                       CC: gcc, gcc (GCC) 4.1.2 20061115 (prerelease)
(Debian 4.1.1-21)
                      CXX: g++, g++ (GCC) 4.1.2 20061115 (prerelease)
(Debian 4.1.1-21)
                 CPPFLAGS: ''
                   CFLAGS: '-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: i686-pc-linux-gnu/i686-pc-linux-gnu
             Use dietlibc: yes
       Build C++ programs: yes
       Build C99 programs: yes
           Available APIs: v13,net,v21
            ext2fs Source: e2fsprogs
    syscall(2) invocation: alternative
      vserver(2) syscall#: 273/glibc

Paths:
                   prefix: /usr
        sysconf-Directory: /etc
            cfg-Directory: /etc/vservers
         initrd-Directory: $(sysconfdir)/init.d
       pkgstate-Directory: /var/run/vservers
          vserver-Rootdir: /vservers
Received on Mon Apr 12 11:01:10 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 12 Apr 2010 - 11:01:11 BST by hypermail 2.1.8