Re: 2.6.7-mm6: system hang with KAMix on dual Opteron w/ NUMA
From: Andrew Morton
Date: Thu Jul 08 2004 - 16:23:58 EST
"R. J. Wysocki" <rjwysocki@xxxxxxx> wrote:
>
> I've just discovered that I'm (consistently) able to hang the system solid by
> trying to adjust the sound volume using KAMix on 2.6.7-mm6 (SuSE 9.1/ AMD64).
Please ensure that your kernel has this patch:
--- 25/sound/core/control.c~snd_ctl_read-locking-fix-fix 2004-07-06 21:27:51.618683360 -0700
+++ 25-akpm/sound/core/control.c 2004-07-06 21:27:51.622682752 -0700
@@ -1116,7 +1116,7 @@ static ssize_t snd_ctl_read(struct file
wait_queue_t wait;
if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) {
err = -EAGAIN;
- goto out;
+ goto __end;
}
init_waitqueue_entry(&wait, current);
add_wait_queue(&ctl->change_sleep, &wait);
@@ -1137,7 +1137,7 @@ static ssize_t snd_ctl_read(struct file
kfree(kev);
if (copy_to_user(buffer, &ev, sizeof(snd_ctl_event_t))) {
err = -EFAULT;
- goto __end;
+ goto out;
}
spin_lock_irq(&ctl->read_lock);
buffer += sizeof(snd_ctl_event_t);
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/