Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152778 - alsa-driver-1.0.12 - unable to handle kernel NULL pointer
Summary: alsa-driver-1.0.12 - unable to handle kernel NULL pointer
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-25 06:07 UTC by Quintin Beukes
Modified: 2006-10-26 02:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Quintin Beukes 2006-10-25 06:07:06 UTC
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 24 Oct 2006 21:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -momit-leaf-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -fomit-frame-pointer -momit-leaf-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dba dbus dlloader doc dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gpm gstreamer gtk hal input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ mad memlimit mikmod mmap mmx mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcntl pcre perl pic png posix ppds pppd python qt3 qt4 quicktime readline reflection sdl session sharedmem sockets spell spl sse ssl sysvipc tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_dummy video_cards_fbdev video_cards_i128 video_cards_i740 video_cards_i810 video_cards_vesa video_cards_vga vorbis wifi win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-25 06:17:39 UTC
Maybe post some description; and don't restrict bugs without any reason please.
Comment 2 Quintin Beukes 2006-10-25 06:29:34 UTC
This is a continue of the initial report:

Portage upgraded my alsa-driver package from 1.0.11 to 1.0.12. Now whenever i do "/etc/init.d/alsasound start" driver seg faults and /var/log/messages is filled with:

Oct 25 14:02:32 singularity ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 18
Oct 25 14:02:32 singularity PCI: Setting latency timer of device 0000:00:1b.0 to 64
Oct 25 14:02:33 singularity BUG: unable to handle kernel NULL pointer dereference at virtual address 0000005c
Oct 25 14:02:33 singularity printing eip:
Oct 25 14:02:33 singularity e03d7369
Oct 25 14:02:33 singularity *pde = 00000000
Oct 25 14:02:33 singularity Oops: 0000 [#1]
Oct 25 14:02:33 singularity PREEMPT SMP
Oct 25 14:02:33 singularity Modules linked in: snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_hda_intel snd_hda_codec
 snd_pcm snd_timer snd snd_page_alloc ipw2200 ieee80211 ieee80211_crypt_ccmp ieee80211_crypt_tkip ieee80211_crypt_wep ieee80211_crypt usbhid
Oct 25 14:02:33 singularity CPU:    0
Oct 25 14:02:33 singularity EIP:    0060:[<e03d7369>]    Not tainted VLI
Oct 25 14:02:33 singularity EFLAGS: 00010246   (2.6.17-gentoo-r8 #2)
Oct 25 14:02:33 singularity EIP is at get_alloc_amp_hash+0x13/0x11c [snd_hda_codec]
Oct 25 14:02:33 singularity eax: 00000000   ebx: 000056c0   ecx: 00000000   edx: 00000000
Oct 25 14:02:33 singularity esi: 00000000   edi: de363600   ebp: 00000000   esp: d9fa7ddc
Oct 25 14:02:33 singularity ds: 007b   es: 007b   ss: 0068
Oct 25 14:02:33 singularity Process modprobe (pid: 6047, threadinfo=d9fa6000 task=df4a1ab0)
Oct 25 14:02:33 singularity Stack: 000056c0 00000000 00000000 000056c0 00000000 de363600 000056c0 e03d7917
Oct 25 14:02:33 singularity 00000000 ddc956c0 000056c0 de363600 000000d0 e03d7a49 de17a14c de3aab40
Oct 25 14:02:33 singularity de363600 e03a78b6 de3aab40 de363600 d9fa7e6c e03aa160 d9fa7e6c d9fa7ea4
Oct 25 14:02:33 singularity Call Trace:
Oct 25 14:02:33 singularity <e03d7917> query_amp_caps+0x1e/0x9f [snd_hda_codec]  <e03d7a49> snd_hda_mixer_amp_volume_info+0x23/0x6e [snd_hda_c
odec]
Oct 25 14:02:33 singularity <e03a78b6> snd_mixer_oss_build_test+0x7b/0xe4 [snd_mixer_oss]  <e03a7ab9> snd_mixer_oss_build_input+0x19a/0x4f5 [s
nd_mixer_oss]
Oct 25 14:02:33 singularity <e02f3b1e> snd_oss_info_register+0x43/0x79 [snd]  <e02f3b4d> snd_oss_info_register+0x72/0x79 [snd]
Oct 25 14:02:33 singularity <e03a86ae> snd_mixer_oss_notify_handler+0x105/0x254 [snd_mixer_oss]  <c036ea33> preempt_schedule+0x39/0x4f
Oct 25 14:02:33 singularity <c01158f4> try_to_wake_up+0x320/0x32a  <c011803e> wait_task_inactive+0x2c/0x7d
Oct 25 14:02:33 singularity <c036e9f2> wait_for_completion+0x99/0xa1  <c0131faa> __stop_machine_run+0x9d/0xb4
Oct 25 14:02:33 singularity <e0288020> alsa_mixer_oss_init+0x20/0x2c [snd_mixer_oss]  <c0130d15> sys_init_module+0x8f/0x1a2
Oct 25 14:02:33 singularity <c010281b> sysenter_past_esp+0x54/0x75
Oct 25 14:02:33 singularity Code: 0c d3 eb 45 3b 6c 24 08 0f 8c 57 ff ff ff 89 f8 83 c4 18 5b 5e 5f 5d c3 55 57 56 53 83 ec 0c 89 c5 89 14 24
83 e2 1f 89 54 24 04 <66> 8b 44 50 5c eb 1b 0f b7 c8 c1 e1 04 03 8d a4 00 00 00 8b 04
Oct 25 14:02:33 singularity EIP: [<e03d7369>] get_alloc_amp_hash+0x13/0x11c [snd_hda_codec] SS:ESP 0068:d9fa7ddc
Comment 3 Quintin Beukes 2006-10-25 06:33:16 UTC
Appologize for the lack of info in the initial post. Was expecting more steps after the first one, which there clearly wasn't ;>
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-25 06:59:48 UTC
Please try with 1.0.13 (current stable target).
Comment 5 Quintin Beukes 2006-10-26 02:32:04 UTC
unmasked alsa completely. emerged alsa-1.0.13. eix alsa-driver returns:
     Available versions:  1.0.10-r2 1.0.11 1.0.12 1.0.13_rc1 1.0.13_rc2
     Installed:           1.0.13[10:53:12 10/26/06][oss doc -debug kernel_linux]

So i figure it is 1.0.13_rc2. Yet it still crashes in the exact same way. I attached the log output again, in case it is different.

Oct 26 11:26:15 singularity rc-scripts: Could not detect custom ALSA settings.  Loading all detected alsa drivers.
Oct 26 11:26:15 singularity ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 18
Oct 26 11:26:15 singularity PCI: Setting latency timer of device 0000:00:1b.0 to 64
Oct 26 11:26:16 singularity BUG: unable to handle kernel NULL pointer dereference at virtual address 0000005c
Oct 26 11:26:16 singularity printing eip:
Oct 26 11:26:16 singularity e03e4359
Oct 26 11:26:16 singularity *pde = 00000000
Oct 26 11:26:16 singularity Oops: 0000 [#1]
Oct 26 11:26:16 singularity PREEMPT SMP
Oct 26 11:26:16 singularity Modules linked in: snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_hda_intel snd_hda_codec snd_pcm snd_timer snd snd_page_alloc ipw2200 ieee80211 ieee80211_crypt_ccmp ieee80211_crypt_tkip ieee80211_crypt_wep ieee80211_crypt usbhid
Oct 26 11:26:16 singularity CPU:    0
Oct 26 11:26:16 singularity EIP:    0060:[<e03e4359>]    Not tainted VLI
Oct 26 11:26:16 singularity EFLAGS: 00010246   (2.6.17-gentoo-r8 #2)
Oct 26 11:26:16 singularity EIP is at get_alloc_amp_hash+0x13/0x11c [snd_hda_codec]
Oct 26 11:26:16 singularity eax: 00000000   ebx: 0000e880   ecx: 00000000   edx: 00000000
Oct 26 11:26:16 singularity esi: 00000000   edi: cfc9a200   ebp: 00000000   esp: d5cd9ddc
Oct 26 11:26:16 singularity ds: 007b   es: 007b   ss: 0068
Oct 26 11:26:16 singularity Process modprobe (pid: 5176, threadinfo=d5cd8000 task=c61cd070)
Oct 26 11:26:16 singularity Stack: 0000e880 00000000 00000000 0000e880 00000000 cfc9a200 0000e880 e03e4907
Oct 26 11:26:16 singularity 00000000 d590e880 0000e880 cfc9a200 000000d0 e03e4a39 deb2794c c2d95ac0
Oct 26 11:26:16 singularity cfc9a200 e03b98b6 c2d95ac0 cfc9a200 d5cd9e6c e03bc160 d5cd9e6c d5cd9ea4
Oct 26 11:26:16 singularity Call Trace:
Oct 26 11:26:16 singularity <e03e4907> query_amp_caps+0x1e/0x9f [snd_hda_codec]  <e03e4a39> snd_hda_mixer_amp_volume_info+0x23/0x6e [snd_hda_codec]
Oct 26 11:26:16 singularity <e03b98b6> snd_mixer_oss_build_test+0x7b/0xe4 [snd_mixer_oss]  <e03b9ab9> snd_mixer_oss_build_input+0x19a/0x4f5 [snd_mixer_oss]
Oct 26 11:26:16 singularity <e0385b1e> snd_oss_info_register+0x43/0x79 [snd]  <e0385b4d> snd_oss_info_register+0x72/0x79 [snd]
Oct 26 11:26:16 singularity <e03ba6ae> snd_mixer_oss_notify_handler+0x105/0x254 [snd_mixer_oss]  <c036ea33> preempt_schedule+0x39/0x4f
Oct 26 11:26:16 singularity <c01158f4> try_to_wake_up+0x320/0x32a  <c011803e> wait_task_inactive+0x2c/0x7d
Oct 26 11:26:16 singularity <c036e9f2> wait_for_completion+0x99/0xa1  <c0131faa> __stop_machine_run+0x9d/0xb4
Oct 26 11:26:16 singularity <e0288020> alsa_mixer_oss_init+0x20/0x2c [snd_mixer_oss]  <c0130d15> sys_init_module+0x8f/0x1a2
Oct 26 11:26:16 singularity <c010281b> sysenter_past_esp+0x54/0x75
Oct 26 11:26:16 singularity Code: 0c d3 eb 45 3b 6c 24 08 0f 8c 57 ff ff ff 89 f8 83 c4 18 5b 5e 5f 5d c3 55 57 56 53 83 ec 0c 89 c5 89 14 24 83 e2 1f 89 54 24 04 <66> 8b 44 50 5c eb 1b 0f b7 c8 c1 e1 04 03 8d a4 00 00 00 8b 04
Oct 26 11:26:16 singularity EIP: [<e03e4359>] get_alloc_amp_hash+0x13/0x11c [snd_hda_codec] SS:ESP 0068:d5cd9ddc