From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 28 20:12:48 2005 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E8DE16A4CE for ; Mon, 28 Mar 2005 20:12:48 +0000 (GMT) Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [194.45.71.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6131043D46 for ; Mon, 28 Mar 2005 20:12:46 +0000 (GMT) (envelope-from pmc@citylink.dinoex.sub.org) Received: from uucp.dinoex.sub.de (uucp@uucp.dinoex.sub.de [194.45.71.2] (may be forged)) by uucp.dinoex.sub.de (8.13.3/8.13.3) with ESMTP id j2SKCShV002748 for ; Mon, 28 Mar 2005 22:12:29 +0200 (CEST) (envelope-from pmc@citylink.dinoex.sub.org) X-MDaemon-Deliver-To: Received: from citylink.dinoex.sub.org (uucp@localhost)j2SKCSvP002747 for freebsd-multimedia@freebsd.org; Mon, 28 Mar 2005 22:12:28 +0200 (CEST) (envelope-from pmc@citylink.dinoex.sub.org) Received: from gate.oper.dinoex.org (gate-e [192.168.98.2]) j2SJGghg057304 for ; Mon, 28 Mar 2005 21:16:42 +0200 (CEST) (envelope-from peter@gate.oper.dinoex.org) Received: from gate.oper.dinoex.org (gate-e [192.168.98.2]) by gate.oper.dinoex.org (8.13.1/8.13.1) with ESMTP id j2SJFvGn057238 for ; Mon, 28 Mar 2005 21:15:57 +0200 (CEST) (envelope-from peter@gate.oper.dinoex.org) Received: (from peter@localhost) by gate.oper.dinoex.org (8.13.1/8.13.1/Submit) id j2SJFv4U057237 for freebsd-multimedia@freebsd.org; Mon, 28 Mar 2005 21:15:57 +0200 (CEST) (envelope-from peter) Date: Mon, 28 Mar 2005 21:15:57 +0200 From: Peter Much To: freebsd-multimedia@freebsd.org Message-ID: <20050328191557.GA54512@gate.oper.dinoex.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Milter: Spamilter (Reciever: uucp.dinoex.sub.de; Sender-ip: 194.45.71.2; Sender-helo: uucp.dinoex.sub.de;) Subject: 5.2.1+5.3 sound worsening: now no devices at all! X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 20:12:48 -0000 Hi all, beforehand: my soundcard worked just fine with Release 4.4. When upgrading to 5.2.1, there was a problem with aviplay. Other playback operations worked ok, but with aviplay the sound was extremly distorted, and the status of the sound system showed LOTS of buffer underruns. This was not related to cpu load, because it was nearly as bad when the video output from aviplay was switched off. But then, without video, the sound was ok as long as one would _move_ the mouse over the aviplay window. Obviousely an event handling problem. So I decided to upgrade everything to 5.3 before starting further investigations. But now the sound does not work at all. I load sound.ko, and it gives me /dev/sndstat. Then I load snd_sbc.ko, and I see it recognizing the card (device.hints are present) the same way as ever: sbc1: at port 0x330-0x331,0x388-0x38b,0x220-0x22f irq 5 drq 0,1 on isa0 sbc1: [GIANT-LOCKED] but there are no devicenodes created in /dev, and /dev/sndstat shows no devices installed. In the ps output, I see interrupt 5 correctly assigned to sbc1. I tried to compile both drivers into the kernel, same result. If loaded with kldload, I can unload the snd_sbc.ko, but I cannot unload sound.ko (Device busy) after it has been loaded. Why is that thing busy when it doesnt work?? Should this be that way? I found no errors reported anywhere, and no Debug switches that I could turn on. How is this ought to be debugged? PMc