[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#597489: kswapd ownes the whole cpu resources, unable to reboot

Hi Giuseppe,

Jonathan Nieder wrote:
> Thomas Poo wrote:

>> BUG: soft lockup - CPU#11 stuck for 61s! [kswapd1:144]
>> Pid: 144, comm: kswapd1 Not tainted 2.6.32-bpo.5-amd64 #1 PowerEdge R710
>> RIP: 0010:[<ffffffff810b26cf>]  [<ffffffff810b26cf>] find_get_pages+0x3f/0xbb
> Sorry for the slow reply.  Please test the following patch.  [1]
> explains how.
> [1] http://kernel-handbook.alioth.debian.org/ch-common-tasks.html
> commit 88f5acf88ae6a9778f6d25d0d5d7ec2d57764a97 upstream.

Thanks again for the pointer.  I'd be interested in seeing this fixed in
squeeze but haven't been able to reproduce it.  Would you be able to
check the fix?  It works like so:

1. Install some tools:

	apt-get install git build-essential

2. Grab the latest upstream 2.6.32.y kernel:

    git clone -o stable \
      git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git \

   Or if you already have a clone of the linux repository:

    git remote add -f stable \

3. Build and test pristine 2.6.32.y:

    git checkout stable/linux-2.6.32.y
    cp /boot/config-$(uname -r); # stock configuration
    make localmodconfig; # optional: simplify configuration
    make deb-pkg; # optionally with -j<n> for parallel build
    dpkg -i ../<resulting package>
    test test test ...

4. Hopefully it still reproduces the problem.  Apply the proposed fix:

    wget 'http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=87;mbox=yes;bug=597489'
    git am -3sc bugreport.cgi*
    make deb-pkg; # optionally with -j4
    dpkg -i ../<resulting package>
    test test test ...

Alternatively, if you are no longer interested in pursuing this,
that's fine, but please do let us know so we can act accordingly.

Thanks and sorry for the trouble,

Reply to: