Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 63140

Summary: snd-nm256 module causes Dell Latitude CPi laptop to hang
Product: Gentoo Linux Reporter: Richard Li <yli>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch applies to KERNEL_SOURCE/sound/pci/nm256/nm256.c fix this bug

Description Richard Li 2004-09-07 09:41:49 UTC
Whenever trying to load snd-nm256 kernel module on Dell Latitude CPi laptop, system will hang. Kernel source I used is gentoo-dev-sources 2.6.8-r3. 

This is caused by chip->Latitude workaround that occures on some other Latitude laptops as well. Currently snd_nm256.c is patched for some model, but not the one I run into. My laptop's sound card has:

subsystem_vendor = 0x10c8
subsystem_device = 0x8006

A simple patch to snd_nm256.c can fix this. I'm attaching it to this bug report.

Reproducible: Always
Steps to Reproduce:
1.Find a Dell Latitude CPi Laptop and install gentoo with gentoo-dev-sources
2.modprobe snd-nm256
3.

Actual Results:  
System hangs, not responding to Ctrl-Alt-Del. Hard reset is needed. 

Expected Results:  
Load the module



Gentoo Base System version 1.4.16
Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Mobile Pentium II
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm
gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx motif mpeg
ncurses network nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline sdl slang spell ssl svga tcpd threads truetype x86 xml2 xmms xv zlib"
Comment 1 Richard Li 2004-09-07 09:45:04 UTC
Created attachment 39133 [details, diff]
patch applies to KERNEL_SOURCE/sound/pci/nm256/nm256.c fix this bug
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2004-09-07 15:26:48 UTC
Have you contacted the ALSA developers about this?
Comment 3 Richard Li 2004-09-07 16:14:35 UTC
Not yet. Since I used gentoo-dev-source, not vanilla source, I figure I submit it here first, just in case...(hum, come to think of it, maybe I'm thinking too much, maybe I should just go to alsa people about this).
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-09-20 06:58:21 UTC
Yes, please send the patch directly to the alsa people.