Bug 17634

Summary: Non-deterministic PnP sound device config at boot-time
Product: Base System Reporter: ocl3 <ocl3>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   

Description ocl3 2000-03-28 12:30:00 UTC
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.

Fix: 

I dont know. I think the code will have to be changed. :(
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.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-03-28 14:17:31 UTC
Responsible Changed
From-To: freebsd-bugs->cg

Cameron, could you take a look at this one? 
Comment 2 greid freebsd_committer freebsd_triage 2001-04-08 22:59:21 UTC
Responsible Changed
From-To: cg->freebsd-bugs

Not sound related
Comment 3 Mike Barcroft freebsd_committer freebsd_triage 2001-07-22 01:53:52 UTC
State Changed
From-To: open->feedback


Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE?
Comment 4 Mike Barcroft freebsd_committer freebsd_triage 2001-07-25 17:27:01 UTC
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
Comment 5 Sheldon Hearn freebsd_committer freebsd_triage 2002-01-18 16:14:39 UTC
State Changed
From-To: feedback->closed

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.