When I run aplay the first time after I boot, I get a segmentation fault, and the following message from the kernel: ==== Unable to handle kernel NULL pointer dereference at virtual address 00000008 printing eip: f8ef6767 *pde = 00000000 Oops: 0000 [#1] PREEMPT SMP Modules linked in: rlocate nfs nfsd exportfs lockd sunrpc eth1394 evdev snd_hda_ intel snd_hda_codec ipw3945 snd_pcm snd_timer snd ieee80211 snd_page_alloc ieee8 0211_crypt intel_agp firmware_class CPU: 0 EIP: 0060:[<f8ef6767>] Not tainted VLI EFLAGS: 00010286 (2.6.16-ck11 #7) EIP is at azx_pcm_open+0x1d/0x1aa [snd_hda_intel] eax: 00000000 ebx: f7a75200 ecx: 00000000 edx: f7dcb080 esi: 00000000 edi: f7bb0800 ebp: f7aec000 esp: f7aede3c ds: 007b es: 007b ss: 0068 Process aplay (pid: 7250, threadinfo=f7aec000 task=f7d3e030) Stack: <0>00000000 00000010 f8f5c247 000f4240 00000000 0000000b ffffffff 0000000 1 f7a75200 00000000 f7bb0800 f7aec000 f8f5b987 f7dcb080 00000000 f7aede9c f7bb0940 00000000 f75228c0 00000000 f7d3e030 c011793b f8ef5361 f7bb0948 Call Trace: [<f8f5c247>] snd_pcm_hw_rule_mulkdiv+0x0/0x69 [snd_pcm] [<f8f5b987>] snd_pcm_open+0x128/0x2aa [snd_pcm] [<c011793b>] default_wake_function+0x0/0x15 [<f8ef5361>] azx_pcm_free+0x0/0x13 [snd_hda_intel] [<f8ee9453>] snd_open+0xa6/0x273 [snd] [<c0166977>] chrdev_open+0xc4/0x1c0 [<c01668b3>] chrdev_open+0x0/0x1c0 [<c015bf39>] __dentry_open+0xe4/0x250 [<c015c18b>] do_filp_open+0x48/0x4f [<c015be44>] get_unused_fd+0xba/0xcb [<c015c1d9>] do_sys_open+0x47/0xd8 [<c0170175>] sys_ioctl+0x6f/0x7e [<c015c2bc>] sys_open+0x27/0x2b [<c0102d83>] sysenter_past_esp+0x54/0x75 Code: 14 89 0c 24 e8 bf 34 ff ff e9 b5 f9 ff ff 55 57 56 53 83 ec 20 8b 44 24 34 8b 40 08 89 44 24 10 8b 54 24 34 8b 42 30 8b 4c 24 10 <8b> 44 81 08 89 44 24 14 8b 29 8b 42 5c 89 44 24 1c 8d 55 34 89 ==== The relevant line from lspci: 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) the same happens with any other sound application. emerge --info: Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-ck11 i686) ================================================================= System uname: 2.6.16-ck11 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Gentoo Base System version 1.12.1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 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-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -Os -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=prescott -Os -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://192.168.0.2" LANG="he_IL.utf8" LDFLAGS="-Wl,-O1" LINGUAS="he" MAKEOPTS="-j3" 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://192.168.0.2/gentoo-portage" USE="x86 3dnow X acpi alsa apache2 apm avi berkdb bidi bitmap-fonts bzip2 cairo cdb cddb cli crypt dbus dga directfb djvu dri dvd dvi eds emboss encode esd exif fbcon foomaticdb gdbm gif glade glep gpm gs gstreamer gtk gtk2 idn imagemagick imlib isdnlog ithreads jpeg latex libg++ libwww lirc lm_sensors logrotate mad maildir mailwrapper mikmod mmx mozilla mp3 mpeg ncurses nethack nls nptl nptlonly nsplugin nvidia offensive ogg opengl oss pam pcre pdflib perl pmu png pppd python quicktime readline reflection sdl session spell spl sse sse2 ssl svg svga sysfs t1lib tcltk tcpd threads truetype truetype-fonts type1-fonts udev unicode urandom usb v4l v4l2 vcd vorbis xml xml2 xmms xorg xscreensaver xv xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_he userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
ck-sources is not a supported kernel. [1] Reopen if you can reproduce w/ latest gentoo or vanilla sources. [1] http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap3
Thanks, I wasn't aware ck-sources is not supported. Using gentoo-sources indeed solved the problem.