From owner-freebsd-stable Fri Mar 16 17:38:26 2001 Delivered-To: freebsd-stable@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id 4C04E37B71A for ; Fri, 16 Mar 2001 17:38:21 -0800 (PST) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id RAA02268; Fri, 16 Mar 2001 17:37:41 -0800 (PST) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [162.62.64.10]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id RAA28586; Fri, 16 Mar 2001 17:29:28 -0800 (PST) Received: from btcexc01.btc.adaptec.com (btcexc01 [162.62.147.10]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id SAA17322; Fri, 16 Mar 2001 18:37:35 -0700 (MST) Received: by btcexc01.btc.adaptec.com with Internet Mail Service (5.5.2650.21) id ; Fri, 16 Mar 2001 18:37:36 -0700 Message-ID: <06228E4B0919D511BB5B0000D11ABE921A3A8E@btcexc01.btc.adaptec.com> From: "Long, Scott" To: "'vladimir@math.uic.edu'" , freebsd-stable@freebsd.org Subject: RE: maestro3 driver Date: Fri, 16 Mar 2001 18:37:35 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There was a problem in -stable that prevented any sound driver from being loaded as a module. This was fixed about 3 weeks ago if I remember correctly, so please update and try again. Scott > -----Original Message----- > From: vladimir@math.uic.edu [mailto:vladimir@math.uic.edu] > Sent: Friday, March 16, 2001 7:46 AM > To: freebsd-stable@freebsd.org > Subject: maestro3 driver > > > On Feb 8, I've reported maestro3 driver broken (please see > a copy of a message below for details). I was wondering > if anyone had a chance to have a look at this problem (it would > be nice to have it working by the time 4.3 comes out). > > Many thanks, > Vladimir > ******************************************************* > > Date: 2001-02-08 11:00:36 PST > > > From: vladimir@math.uic.edu [[14]mailto:vladimir@math.uic.edu] > > Sent: Thursday, February 08, 2001 10:29 AM > > To: freebsd-stable@freebsd.org > > Subject: maestro3 driver broken? > > > > I had no luck compiling a recently-committed driver for > > maestro3 sounds cards. The system is 4.2-STABLE, source > > cvsup'ed on Feb 7, 2001. Running 'make depend; make' > > in /usr/src/sys/modules/sound/driver/maestro3 > > produces the output attached below. > > > > I have emailed to Darrell Anderson , > > who seems to have written this driver, but just want to confirm > > that I am not doing something wrong. Has anyone else run > > into the same problem? I could compile the driver > > before I did an upgrade (I believe my old sources were from > > Jan 15, 2001, but I am not sure). > > 4.2-STABLE recently had the kobj changes from 5.0-CURRENT > backported. I am > moving to Scott Long's 5.0-CURRENT version, which should work > in the STABLE > now: > > http://people.freebsd.org/~scottl/maestro3/ > > That said, it doesn't work yet. It compiles cleanly and the > module loads, > but the attach fails. > > The driver's m3_pci_attach() calls pcm_addchan(), which in turn calls > chn_init(). Then chn_init() calls CHANNEL_INIT(), but it > doesn't invoke > the driver's m3_pchan_init() as it should. The sound buf is never > allocated, so chn_init() returns ENOMEM. > > I haven't had time to play with it much yet. The driver > works in CURRENT; > is there something different in the new method/class pcm > framework between > CURRENT and STABLE? > > -Darrell > > -- > Department of Computer Science, Duke University, Durham, NC 27708-0129 > Darrell Anderson, anderson -at- cs.duke.edu, > [16]http://www.cs.duke.edu/~anders > on > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message