From nobody@FreeBSD.org  Mon Jul 25 12:14:58 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1594B16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 25 Jul 2005 12:14:58 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AD19943D48
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 25 Jul 2005 12:14:57 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j6PCEvg3042984
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 25 Jul 2005 12:14:57 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j6PCEv7w042981;
	Mon, 25 Jul 2005 12:14:57 GMT
	(envelope-from nobody)
Message-Id: <200507251214.j6PCEv7w042981@www.freebsd.org>
Date: Mon, 25 Jul 2005 12:14:57 GMT
From: Adi Pircalabu <apircalabu@bitdefender.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 5.4-STABLE - kldunload snd_ich freezes the system if kde's kmix is loaded
X-Send-Pr-Version: www-2.3

>Number:         84052
>Category:       kern
>Synopsis:       [sound] [hang] 5.4-STABLE - kldunload snd_ich freezes the system if kde's kmix is loaded
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 25 12:20:00 GMT 2005
>Closed-Date:    Sun Nov 26 14:12:29 GMT 2006
>Last-Modified:  Sun Nov 26 14:12:29 GMT 2006
>Originator:     Adi Pircalabu
>Release:        5.4-STABLE
>Organization:
BitDefender
>Environment:
FreeBSD apircalabu 5.4-STABLE FreeBSD 5.4-STABLE #2: Wed May 18 15:25:17 EEST 2005     root@apircalabu:/usr/obj/usr/src/sys/GERULA  i386
>Description:
On a 5.4 system with kde AND kmix running, if I run kldunload snd_ich twice the system freezes.
cat /dev/sndstat says:
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH6 (82801FB)> at io 0xdfebfe00, 0xdfebfd00 irq 23 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default)

I can post a full dmesg output if requested.
>How-To-Repeat:
Start kde, make sure you have kmix running. Run kldunload snd_ich
After this one you'll notice there are no /dev/dsp* entries, but the module isn't unloaded. Run again kldunload snd_ich again. Freeze
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: netchild 
State-Changed-When: Sun Nov 26 14:10:28 UTC 2006 
State-Changed-Why:  
This is fixed since ~1 year in 6.x and 7-current. If you still see such a bug 
on a recent 6.x or 7-current please report back. 


Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia 
Responsible-Changed-By: netchild 
Responsible-Changed-When: Sun Nov 26 14:10:28 UTC 2006 
Responsible-Changed-Why:  
This is fixed since ~1 year in 6.x and 7-current. If you still see such a bug 
on a recent 6.x or 7-current please report back. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84052 
>Unformatted:
