Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34649 - nvaudio driver segfaults Quake III when loading sound and causes a kernel BUG in 2.4.22
Summary: nvaudio driver segfaults Quake III when loading sound and causes a kernel BUG...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-28 15:08 UTC by Chris Slater
Modified: 2004-01-09 22:15 UTC (History)
1 user (show)

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


Attachments
End result of ksymoops (ksymoops_result.txt,2.50 KB, text/plain)
2003-11-28 18:09 UTC, Chris Slater
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slater 2003-11-28 15:08:42 UTC
When starting up Quake III Arena (latest build from portage), the sound
initialization begins and the program commits a segfault. This ties up /dev/dsp.
When I was paging through my system logs I found the following:

Nov 28 21:38:28 odin forget_pte: old mapping existed!
Nov 28 21:38:28 odin kernel BUG at memory.c:290!
Nov 28 21:38:28 odin invalid operand: 0000
Nov 28 21:38:28 odin CPU:    0
Nov 28 21:38:28 odin EIP:    0010:[<c0125eac>]    Tainted: P
Nov 28 21:38:28 odin EFLAGS: 00010286
Nov 28 21:38:28 odin eax: 00000021   ebx: 14b70027   ecx: d5a96000   edx: dc33105c
Nov 28 21:38:28 odin esi: d51396fc   edi: 001bf000   ebp: 14b80000   esp: d5a97ebc
Nov 28 21:38:28 odin ds: 0018   es: 0018   ss: 0018
Nov 28 21:38:28 odin Process quake3.x86 (pid: 1273, stackpage=d5a97000)
Nov 28 21:38:28 odin Stack: c0267780 001cf000 001cf000 149c1000 001bf000
d7a6f4d4 d7ff4140 4d5cf000
Nov 28 21:38:28 odin d7a6f4d4 00010000 dd590dc0 d948e940 d5a97f14 e090bd8b
4d5bf000 c75c1000
Nov 28 21:38:28 odin 00010000 00000027 dd590df4 dd590dc0 00000000 d948e940
d5a97f44 e090beca
Nov 28 21:38:28 odin Call Trace:    [<e090bd8b>] [<e090beca>] [<c01271f5>]
[<c010c637>] [<c01073af>]
Nov 28 21:38:28 odin
Nov 28 21:38:28 odin Code: 0f 0b 22 01 f1 74 26 c0 e9 59 ff ff ff 8d b4 26 00 00
00 00

I noticed this with only Quake III, and only with the nvaduio module. Attempting
to use the i810_audio module works, but will lock up Quake III while entering a
tier 1 map. Playing without sound at all is perfectly fine.

Reproducible: Always
Steps to Reproduce:
1. load the nvaudio module
2. start quake3
3. read system logs

Actual Results:  
segfault and system logs show a kernel BUG

Expected Results:  
Play with the nvaudio module and be able to play quake III with sound

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.noved.org/ ftp://gentoo.noved.org/
http://cudlug.cudenver.edu/gentoo/ http://gentoo.seren.com/gentoo
ftp://cudlug.cudenver.edu/pub/mirrors/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="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ libwww mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
alsa gdbm berkdb slang readline java mysql postgres X sdl gpm tcpd pam ssl perl
python esd imlib oggvorbis gnome gtk motif opengl ldap 3dnow 3ds cdr dnd emacs
faad geoip glut gnomedb gtk2 joystick matroska mbox mdb mldonkeypango mng
mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm nowin oav
offensive openal pda S3TC sox sse tcltk usb videos wmf Xaw3d -arts -cups -kde
-qt -svga"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2003-11-28 15:53:45 UTC
Can you please run that OOPS through 'ksymoops' please?

$> emerge ksymoops
$> ksymoops < file_containing_your_OOPS > file_containing_your_output

... and * paste * file_containing_your_output into bugzilla ? Can you please do this on the faulty kernel. 
Comment 2 Chris Slater 2003-11-28 18:09:09 UTC
Created attachment 21436 [details]
End result of ksymoops
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-11-30 05:49:58 UTC
What sound hardware are you using?
Comment 4 Chris Slater 2003-11-30 07:29:36 UTC
This is an onboard nForce2 MCP audio device on a Gigabyte GA-7N400 Pro2.
Comment 5 Brian Jackson (RETIRED) gentoo-dev 2004-01-09 22:15:30 UTC
try using the i810_audio driver (or better yet, use snd-intel8x0 from alsa) instead of the closed source, impossible to debug nvaudio driver