Guus Sliepen <[EMAIL PROTECTED]> 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    ___   [EMAIL PROTECTED] (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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to