lkml.org 
[lkml]   [2000]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Oops with >= 2.4.0-test7 when modprobing gus module
Guus Sliepen <guus@warande3094.warande.uu.nl> wrote:

>Whenever I modprobe the gus module the kernel gives an oops:

It seems to oops after aumix set up the soundcard and closes the
mixerdevice. The same happens here when closing kmix.

>>EIP; c486321b <[sound]sound_release+2b/84> <=====

drivers/sound/soundcard.h:

static int sound_release(struct inode *inode, struct file *file)
{
int dev = MINOR(inode->i_rdev);

lock_kernel();
DEB(printk("sound_release(dev=%d)\n", dev));
switch (dev & 0x0f) {
case SND_DEV_CTL:

if (mixer_devs[dev]->owner) <---

0x470 <sound_release+32>: shll $0x2,%edx
0x473 <sound_release+35>: movl $0x0,%ecx
0x478 <sound_release+40>: movl (%edx,%ecx,1),%eax
0x47b <sound_release+43>: movl (%eax),%eax <===
0x47d <sound_release+45>: testl %eax,%eax
0x47f <sound_release+47>: je 0x4ce <sound_release+126>

In the moment of the oops edx was 0x40 so dev=16. This is /dev/mixer1.
Exactly this happens on my system, too.

Peter
--
_ x ___ p.steiner@t-online.de (Peter Steiner)
/ \_/_\_ /,--' Linux User #55148 (http://counter.li.org/)
\/'~~~~//
\_____/ perl -e'while(<){s/=\n//g;s/=([\dA-F]{2})/chr(hex($1))/eg;print;}'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.030 / U:1.172 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site