[Pkg-alsa-devel] Bug#354041: "Bad page state at free_hot_cold_page" kernel errors

Bas Zoetekouw bas at debian.org
Wed Feb 22 20:55:01 UTC 2006


Package: alsa-source
Version: 1.0.10-3
Severity: normal
Tags: patch

Lately, I kept getting these kinds of kernel errors:

Bad page state at free_hot_cold_page (in process 'amarokapp', page ffff810001d930c8)
flags:0x4000000000000414 mapping:0000000000000000 mapcount:0 count:0
Backtrace:

Call Trace:<ffffffff8014ed63>{bad_page+115} <ffffffff8014f16f>{free_hot_cold_page+127}
       <ffffffff8015a46f>{unmap_vmas+1103} <ffffffff8015d80a>{exit_mmap+138}
       <ffffffff80125414>{mmput+52} <ffffffff8012a5b4>{do_exit+564}
       <ffffffff80134388>{__dequeue_signal+536} <ffffffff8012b12c>{do_group_exit+252}
       <ffffffff8013596a>{get_signal_to_deliver+1498} <ffffffff8010ddb7>{sysret_signal+28}
       <ffffffff8010d4ca>{do_signal+154} <ffffffff80181b05>{poll_freewait+85}
       <ffffffff8018249b>{sys_poll+939} <ffffffff8010ddb7>{sysret_signal+28}
       <ffffffff8010e09f>{ptregscall_common+103}
Trying to fix it up, but a reboot is needed


It turns out this is caused by alsa doing some wrong
allocation/memmapping.  The problem, as well a a patch is described in
a thread on linux-kernel [1].  I've just tested the patch, and all the
errors indeed go away. 

Apparentyl, this is already fixed in the 1.0.11rc upstream series, but
please include the patch in the debian package if you make another
1.0.10 upload.

Thanks!
Bas.

[1] http://lkml.org/lkml/2005/12/9/124

-- Package-specific info:
--- Begin additional package status ---
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  alsa-base      1.0.10-3       ALSA driver configuration files
ii  libasound2     1.0.10-2       ALSA library
--- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.10.
Compiled on Feb 22 2006 for kernel 2.6.15.4 (SMP).
--- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
0 [Live           ]: EMU10K1 - SB Live 5.1
                     SB Live 5.1 (rev.7, serial:0x80641102) at 0xa800, irq 20
1 [CK804          ]: NFORCE - NVidia CK804
                     NVidia CK804 with ALC850 at 0xfe02d000, irq 17
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
crw-rw---- 1 root audio 116,  0 2006-02-22 21:46 controlC0
crw-rw---- 1 root audio 116, 32 2006-02-22 21:46 controlC1
crw-rw---- 1 root audio 116,  4 2006-02-22 21:46 hwC0D0
crw-rw---- 1 root audio 116,  6 2006-02-22 21:46 hwC0D2
crw-rw---- 1 root audio 116,  8 2006-02-22 21:46 midiC0D0
crw-rw---- 1 root audio 116,  9 2006-02-22 21:46 midiC0D1
crw-rw---- 1 root audio 116, 10 2006-02-22 21:46 midiC0D2
crw-rw---- 1 root audio 116, 24 2006-02-22 21:46 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2006-02-22 21:46 pcmC0D0p
crw-rw---- 1 root audio 116, 25 2006-02-22 21:46 pcmC0D1c
crw-rw---- 1 root audio 116, 26 2006-02-22 21:46 pcmC0D2c
crw-rw---- 1 root audio 116, 18 2006-02-22 21:46 pcmC0D2p
crw-rw---- 1 root audio 116, 19 2006-02-22 21:46 pcmC0D3p
crw-rw---- 1 root audio 116, 56 2006-02-22 21:46 pcmC1D0c
crw-rw---- 1 root audio 116, 48 2006-02-22 21:46 pcmC1D0p
crw-rw---- 1 root audio 116, 57 2006-02-22 21:46 pcmC1D1c
crw-rw---- 1 root audio 116, 50 2006-02-22 21:46 pcmC1D2p
crw-rw---- 1 root audio 116,  1 2006-02-22 21:46 seq
crw-rw---- 1 root audio 116, 33 2006-02-22 21:46 timer
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.4
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages alsa-source depends on:
ii  bzip2                     1.0.3-2        high-quality block-sorting file co
ii  debconf [debconf-2.0]     1.4.70         Debian configuration management sy
ii  debconf-utils             1.4.70         debconf utilities
ii  debhelper                 5.0.22         helper programs for debian/rules
ii  dpkg-dev                  1.13.13        package building tools for Debian
ii  gcc [c-compiler]          4:4.0.2-2      The GNU C compiler
ii  gcc-4.0 [c-compiler]      4.0.2-9        The GNU C compiler
ii  make                      3.80+3.81.b4-1 The GNU version of the "make" util

Versions of packages alsa-source recommends:
ii  fakeroot                      1.5.7      Gives a fake root environment
pn  kernel-headers | kernel-sourc <none>     (no description available)
ii  kernel-package                10.035     A utility for building Linux kerne

Versions of packages alsa-base depends on:
ii  linux-sound-base           1.0.10-3      base package for ALSA and OSS soun
ii  lsof                       4.76.dfsg.1-1 List open files.
ii  module-init-tools          3.2.2-2       tools for managing Linux kernel mo
ii  modutils                   2.4.27.0-4    Linux module utilities

Versions of packages libasound2 depends on:
ii  libc6                         2.3.6-1    GNU C Library: Shared libraries an

-- debconf information:
* alsa-source/cards_to_be_built: cmipci, emu10k1, intel8x0, intel8x0m
  alsa-source/cards:
* alsa-source/has_pnp: false
* alsa-source/debug: false
  alsa-source/cards_with_descriptions:




More information about the Pkg-alsa-devel mailing list