From nobody@FreeBSD.org  Fri Nov 11 01:08:43 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 D057D16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Nov 2005 01:08:43 +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 6EDC543D48
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Nov 2005 01:08:43 +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 jAB18h8o022635
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Nov 2005 01:08:43 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jAB18hBR022634;
	Fri, 11 Nov 2005 01:08:43 GMT
	(envelope-from nobody)
Message-Id: <200511110108.jAB18hBR022634@www.freebsd.org>
Date: Fri, 11 Nov 2005 01:08:43 GMT
From: Arno Schleich <aschleichmd@t-online.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Erratic recognition of sound card by 6.0 kernel
X-Send-Pr-Version: www-2.3

>Number:         88820
>Category:       kern
>Synopsis:       [sound] Erratic recognition of VIA 8285 sound card by 6.0 kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 11 01:10:15 GMT 2005
>Closed-Date:    Thu Jun 14 06:30:09 GMT 2007
>Last-Modified:  Thu Jun 14 06:30:09 GMT 2007
>Originator:     Arno Schleich
>Release:        FreeBSD 6.0
>Organization:
>Environment:
>Description:
VIA 8285 sound card works in an erratic fashion; at times reboot brings
it back; was unproblematic under FreeBSD 5.4; kernel compiled with 

device sound
device "snd_via82C686"

which is unchanged from the working 5.4 configuration

output of env is

SSH_AGENT_PID=583
TERM=xterm
DESKTOP_STARTUP_ID=
SHELL=/usr/local/bin/bash
GTK_RC_FILES=/usr/X11R6/etc/gtk/gtkrc:/home/arno/.gtkrc-1.2-gnome2
WINDOWID=25166503
USER=arno
ENV=/home/arno/.shrc
GNOME_KEYRING_SOCKET=/var/tmp/keyring-aW8NCr/socket
SSH_AUTH_SOCK=/tmp/ssh-wZmUD9u2K5/agent.570
SESSION_MANAGER=local/mushin:/tmp/.ICE-unix/570
USERNAME=arno
PAGER=more
FTP_PASSIVE_MODE=YES
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/arno/bin
DESKTOP_SESSION=gnome
MAIL=/var/mail/arno
BLOCKSIZE=K
GDM_XSERVER_LOCATION=local
PWD=/home/arno
EDITOR=vi
GDMSESSION=gnome
SHLVL=1
HOME=/home/arno
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=arno
DISPLAY=:0.0
COLORTERM=gnome-terminal
XAUTHORITY=/home/arno/.Xauthority
_=/usr/bin/env

This is a snippet from dmesg

pcm0: <VIA VT82C686A> port 0x1000-0x10ff,0x1c54-0x1c57,0x1c50-0x1c53 irq 5 at device 7.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Analog Devices AD1881A AC97 Codec>
pci0: <simple comms> at device 7.6 (no driver attached)

it appears like this idependent of whether the sound card worked or not

I am not sure if I am doing something wrong or there is actually a problem
in the way the 6.0 kernel handels that sound card or its own boot sequence

>How-To-Repeat:
The problem is erratic, some boots bring up the sound card and it is then
accessible to applications, at other times cat /dev/sndstat does not show
a configured sound card and there is no /dev/dsp.
>Fix:
none
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Nov 11 01:27:33 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88820 

From: Ariff Abdullah <ariff@FreeBSD.org>
To: bug-followup@FreeBSD.org, aschleichmd@t-online.de
Cc:  
Subject: Re: kern/88820: [sound] Erratic recognition of VIA 8285 sound card
 by 6.0 kernel
Date: Sat, 12 Nov 2005 05:30:39 +0800

 How about using modules?
 (Remove those configs from your kernel).
 
 --
 Ariff Abdullah
 FreeBSD
State-Changed-From-To: open->feedback 
State-Changed-By: netchild 
State-Changed-When: Fri Jan 6 15:37:18 UTC 2006 
State-Changed-Why:  
Does this problem still persists with a recent 6-stable or -current? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88820 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Jun 14 06:29:50 UTC 2007 
State-Changed-Why:  
Feedback timeout (> 4 months). 

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