From can@yakti.river.rhno.columbia.edu  Tue Mar 28 03:22:23 2000
Return-Path: <can@yakti.river.rhno.columbia.edu>
Received: from yakti.river.rhno.columbia.edu (yakti.river.rhno.columbia.edu [128.59.133.18])
	by hub.freebsd.org (Postfix) with ESMTP id E1D6037BE1D
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Mar 2000 03:22:16 -0800 (PST)
	(envelope-from can@yakti.river.rhno.columbia.edu)
Received: (from can@localhost)
	by yakti.river.rhno.columbia.edu (8.9.3/8.9.3) id GAA00402;
	Tue, 28 Mar 2000 06:22:10 -0500 (EST)
	(envelope-from can)
Message-Id: <200003281122.GAA00402@yakti.river.rhno.columbia.edu>
Date: Tue, 28 Mar 2000 06:22:10 -0500 (EST)
From: ocl3@columbia.edu
Sender: can@yakti.river.rhno.columbia.edu
Reply-To: ocl3@columbia.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: Non-deterministic PnP sound device config at boot-time
X-Send-Pr-Version: 3.2

>Number:         17634
>Category:       kern
>Synopsis:       Non-deterministic PnP sound device config at boot-time
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 28 03:30:00 PST 2000
>Closed-Date:    Fri Jan 18 08:14:39 PST 2002
>Last-Modified:  Fri Jan 18 08:15:16 PST 2002
>Originator:     Can
>Release:        FreeBSD 4.0-RELEASE i386
>Organization:
Columbia University
>Environment:

IBM Aptiva box with Crystal CS4237B sound card
K6 cpu, harddisk, ram, etc
recently upgraded to 4.0 from 3.4

>Description:

In my previous configuration (w/ 3.4-STABLE) I would use a /boot/kernel.conf
script to do magic to get my soundcard to work. Things seem to be different
in the 4.0 kernel configuration steps (I stumbled upon "options PNPBIOS" 
which is hidden somewhere in the documentation); boot -v reports some PnP
scanning activity, and pnpinfo(8) correctly reports my sound card (as well
as my 'winmodem' which I dont use). My kernel CONFIG file says "device pcm0"
since i'm hoping to use pcm. 

After much hacking I have realized the following:

if i do a boot -c and then do 'visual' and then expand the nodes, it asks
me if I want to save the changes, (no matter if i say 'yes' or no) it 
*correctly* identifies and runs my sound card. I tried it out. There also
seems to be a difference in the way the PnP stuff is being scanned, since
normally there are about 6 lines of "Pnp device failed to report resource
data", whereas if i do the boot -c thing it only has that line twice. 

This seems to be a stupid bug to do with the bootstrapper or something;
I'd rather not try to involve myself in that stuff.
>How-To-Repeat:

Install a Crystal card.
boot -c, 'visual', expand some of the nodes, quit
at booting it will show your crystal card.

otherwise it wont show your card.
>Fix:

I dont know. I think the code will have to be changed. :(

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->cg 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Tue Mar 28 05:17:31 PST 2000 
Responsible-Changed-Why:  
Cameron, could you take a look at this one? 
Responsible-Changed-From-To: cg->freebsd-bugs 
Responsible-Changed-By: greid 
Responsible-Changed-When: Sun Apr 8 14:59:21 PDT 2001 
Responsible-Changed-Why:  
Not sound related 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17634 
State-Changed-From-To: open->feedback 
State-Changed-By: mike 
State-Changed-When: Sat Jul 21 17:53:52 PDT 2001 
State-Changed-Why:  

Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17634 

From: Mike Barcroft <mike@FreeBSD.org>
To: Can Leonard <ocl3@columbia.edu>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/17634: Non-deterministic PnP sound device config at boot-time
Date: Wed, 25 Jul 2001 12:27:01 -0400

 On Tue, Jul 24, 2001 at 10:16:54AM -0700, Can Leonard wrote:
 > On Sat, Jul 21, 2001 at 05:54:07PM -0700, mike@FreeBSD.org wrote:
 > > Synopsis: Non-deterministic PnP sound device config at boot-time
 > > 
 > > State-Changed-From-To: open->feedback
 > > State-Changed-By: mike
 > > State-Changed-When: Sat Jul 21 17:53:52 PDT 2001
 > > State-Changed-Why: 
 > > 
 > > Does this problem still occur in newer versions of FreeBSD,
 > > such as 4.3-RELEASE?
 > > 
 > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17634
 > 
 > I haven't tried it on 4.3-RELEASE. I have 4.0-RELEASE at home and the
 > problem still exists there...
 
 Is there any way you could try this on 4.3-RELEASE?  4.3-RELEASE
 represents a year's worth of development beyond 4.0-RELEASE.
 
 Best regards,
 Mike Barcroft
State-Changed-From-To: feedback->closed 
State-Changed-By: sheldonh 
State-Changed-When: Fri Jan 18 08:14:39 PST 2002 
State-Changed-Why:  
Automatic feedback timeout.  If additional feedback that warrants 
the re-opening of this PR is available but not included in the 
audit trail, please include the feedback in a reply to this message 
(preserving the Subject line) and ask that the PR be re-opened. 

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