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

Bug#303424: kernel-source-2.6.8: spinlock assert can crash kernel when compiled with up/spinlock_debug



Package: kernel-source-2.6.8
Version: 2.6.8-15
Severity: normal
Tags: patch

If you set in the config CONFIG_DEBUG_SPINLOCK=y and have CONFIG_SMP=n
then the various spinlock checks in the kernel can cause the kernel to
crash, an example of one of these spinlock checks is the code:

BUG_ON(!spin_is_locked(&some_lock));

the BUG() will kill the kernel in this scenario.

These spinlock checks are in Debian's 2.6.8, a patch was accepted into
mainline that fixes this problem, it is located at this URL:

http://www.ussg.iu.edu/hypermail/linux/kernel/0501.3/1026.html

The Debian kernel configurations do not have this combination of
configs set for the kernel-images, so this is not incredibly critical,
but someone building their own kernel could set this configuration and
run into this problem.

micah


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages kernel-source-2.6.8 depends on:
ii  binutils                      2.15-5     The GNU assembler, linker and bina
ii  bzip2                         1.0.2-5    high-quality block-sorting file co
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  fileutils                     5.2.1-2    The GNU file management utilities 

-- no debconf information



Reply to: