From owner-freebsd-bugs Mon Aug 10 16:50:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA22306 for freebsd-bugs-outgoing; Mon, 10 Aug 1998 16:50:09 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA22227 for ; Mon, 10 Aug 1998 16:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA20996; Mon, 10 Aug 1998 16:50:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21214; Mon, 10 Aug 1998 16:44:58 -0700 (PDT) (envelope-from nobody) Message-Id: <199808102344.QAA21214@hub.freebsd.org> Date: Mon, 10 Aug 1998 16:44:58 -0700 (PDT) From: dwhite@resnet.uoregon.edu To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: i386/7564: MAKEDEV won't make symlinks for snd >0 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7564 >Category: i386 >Synopsis: MAKEDEV won't make symlinks for snd >0 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 10 16:50:01 PDT 1998 >Last-Modified: >Originator: Doug White >Organization: UO CS NRL >Release: 2.2-STABLE >Environment: FreeBSD gable.nrl.cs.uoregon.edu 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: Tue Jun 2 13:33:32 PDT 1998 dwhite@gable.nrl.cs.uoregon.edu:/usr/src/sys/compile/G ABLE i386 >Description: A long time ago, in a galaxy far, far away, someone made the (bonehead) decision to limit the sound driver to one device. With Luigi's pcm driver, the unit number for the PnP detected cards is nearly always 1, and so you can't create the symlinks that will make your sound work. >How-To-Repeat: Take a stock 2.2.[67] system with a supported soundcard, compile in pcm support, and try to cat a sound file to /dev/audio. You get the message: pcm0: unit not configured, perhaps you want pcm1 ? and no sound comes out. Sometimes you get a message timeout flushing dbuf_out, chan 1 cnt 0xccb4 flags 0x00000441 >Fix: Apply patch to src/etc/etc.i386/MAKEDEV --- /dev/MAKEDEV Tue Mar 24 17:56:49 1998 +++ MAKEDEV Mon Aug 10 16:43:06 1998 @@ -972,7 +972,6 @@ snd_security_hole=0 # XXX umask $snd_security_hole - if [ $unit = "0" ] ; then ln -fs mixer$unit mixer ln -fs sequencer$unit sequencer ln -fs dsp$unit dsp @@ -980,7 +979,6 @@ ln -fs dspW$unit dspW ln -fs music$unit music ln -fs pss$unit pss - fi mknod mixer$unit c $chr `expr $unit '*' 16 + 0` mknod sequencer$unit c $chr `expr $unit '*' 16 + 1` I can commit this if you trust me to do it right. :-) >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message