Subject: kern/32823: panic in mixer ioctl
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <rpaulo@netbsd.org>
List: netbsd-bugs
Date: 02/13/2006 19:55:01
>Number: 32823
>Category: kern
>Synopsis: panic in mixer ioctl
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 13 19:55:00 +0000 2006
>Originator: Rui Paulo
>Release: NetBSD 3.99.15
>Organization:
>Environment:
System: NetBSD quark.mobile.fnop.net 3.99.15 NetBSD 3.99.15 (QUARK) #58: Mon Feb 13 00:39:12 WET 2006 rpaulo@quark.mobile.fnop.net:/usr/obj/sys/arch/i386/compile/QUARK i386
Architecture: i386
Machine: i386
>Description:
changing the volume of a usb sound card trigered a fault
uvm_fault(0xc04e22c0, 0xdeadb000, 0, 1) -> 0xe
backtrace:
#7 0xc035b184 in trap (frame=0xcb8ffbb4)
at /home/rpaulo/netbsd/src/sys/arch/i386/i386/trap.c:310
#8 0xc0102e1d in calltrap ()
#9 0xc02d6f2b in kpsignal2 (p=0xcba289dc, ksi=0xcb8ffc74, dolock=1)
at /home/rpaulo/netbsd/src/sys/kern/kern_sig.c:1102
#10 0xc02d67dc in psignal1 (p=0xcba289dc, signum=23, dolock=1)
at /home/rpaulo/netbsd/src/sys/kern/kern_sig.c:998
#11 0xc02a0ef7 in mixer_signal (sc=0xc101e800)
at /home/rpaulo/netbsd/src/sys/dev/audio.c:3558
#12 0xc02a1058 in mixer_ioctl (sc=0xc101e800, cmd=3222555905,
addr=0xcb8ffea4 "\005", flag=5, l=0xcb5d73a0)
at /home/rpaulo/netbsd/src/sys/dev/audio.c:3621
#13 0xc029d0b0 in audioioctl (dev=10768, cmd=3222555905,
addr=0xcb8ffea4 "\005", flag=5, l=0xcb5d73a0)
at /home/rpaulo/netbsd/src/sys/dev/audio.c:1033
#14 0xc0325105 in spec_ioctl (v=0xcb8ffd74)
at /home/rpaulo/netbsd/src/sys/miscfs/specfs/spec_vnops.c:484
#15 0xc031f513 in VOP_IOCTL (vp=0xcb41fdd4, command=3222555905,
data=0xcb8ffea4, fflag=5, cred=0xcb6a0b80, l=0xcb5d73a0)
at /home/rpaulo/netbsd/src/sys/kern/vnode_if.c:504
#16 0xc031d07b in vn_ioctl (fp=0xcb6a2044, com=3222555905, data=0xcb8ffea4,
l=0xcb5d73a0) at /home/rpaulo/netbsd/src/sys/kern/vfs_vnops.c:659
#17 0xc02f0c25 in sys_ioctl (l=0xcb5d73a0, v=0xcb8fff64, retval=0xcb8fff5c)
at /home/rpaulo/netbsd/src/sys/kern/sys_generic.c:621
#18 0xc035abaf in syscall_plain (frame=0xcb8fffa8)
at /home/rpaulo/netbsd/src/sys/arch/i386/i386/syscall.c:160
#8 0xc0102e1d in calltrap ()
(gdb)
#9 0xc02d6f2b in kpsignal2 (p=0xcba289dc, ksi=0xcb8ffc74, dolock=1)
at /home/rpaulo/netbsd/src/sys/kern/kern_sig.c:1102
1102 if (prop & SA_TTYSTOP && p->p_pgrp->pg_jobc == 0)
(gdb)
#10 0xc02d67dc in psignal1 (p=0xcba289dc, signum=23, dolock=1)
at /home/rpaulo/netbsd/src/sys/kern/kern_sig.c:998
998 kpsignal2(p, &ksi, dolock);
(gdb)
#11 0xc02a0ef7 in mixer_signal (sc=0xc101e800)
at /home/rpaulo/netbsd/src/sys/dev/audio.c:3558
3558 psignal(m->proc, SIGIO);
(gdb)
#12 0xc02a1058 in mixer_ioctl (sc=0xc101e800, cmd=3222555905,
addr=0xcb8ffea4 "\005", flag=5, l=0xcb5d73a0)
at /home/rpaulo/netbsd/src/sys/dev/audio.c:3621
3621 mixer_signal(sc);
(gdb)
#13 0xc029d0b0 in audioioctl (dev=10768, cmd=3222555905,
addr=0xcb8ffea4 "\005", flag=5, l=0xcb5d73a0)
at /home/rpaulo/netbsd/src/sys/dev/audio.c:1033
1033 error = mixer_ioctl(sc, cmd, addr, flag, l);
>How-To-Repeat:
>Fix: