From owner-freebsd-bugs Tue Mar 28 3:30: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0BD1A37B5C6 for ; Tue, 28 Mar 2000 03:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA07342; Tue, 28 Mar 2000 03:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) 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 ; 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 Reply-To: ocl3@columbia.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/17634: Non-deterministic PnP sound device config at boot-time Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17634 >Category: kern >Synopsis: Non-deterministic PnP sound device config at boot-time >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 28 03:30:00 PST 2000 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message