From owner-freebsd-multimedia@FreeBSD.ORG Wed Dec 28 07:39:38 2011 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F228C106566C; Wed, 28 Dec 2011 07:39:38 +0000 (UTC) (envelope-from joel@freebsd.org) Received: from mail.vnode.se (mail.vnode.se [62.119.52.80]) by mx1.freebsd.org (Postfix) with ESMTP id A14F98FC17; Wed, 28 Dec 2011 07:39:38 +0000 (UTC) Received: from mail.vnode.se (localhost [127.0.0.1]) by mail.vnode.se (Postfix) with ESMTP id 2441AE3F07A; Wed, 28 Dec 2011 08:21:39 +0100 (CET) X-Virus-Scanned: amavisd-new at vnode.se Received: from mail.vnode.se ([127.0.0.1]) by mail.vnode.se (mail.vnode.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AhSGst5ZSIGQ; Wed, 28 Dec 2011 08:21:35 +0100 (CET) Received: from goofy01.vnodelab.local (unknown [212.247.52.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.vnode.se (Postfix) with ESMTPSA id 3206AE3F079; Wed, 28 Dec 2011 08:21:32 +0100 (CET) Date: Wed, 28 Dec 2011 08:21:26 +0100 From: Joel Dahl To: Chris Rees Message-ID: <20111228072126.GH40260@goofy01.vnodelab.local> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: re@freebsd.org, rwatson@freebsd.org, multimedia@freebsd.org, Jung-uk Kim Subject: Re: Enabling sound by default (Was: svn commit: r222980 - in head/sys: amd64/conf i386/conf) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 07:39:39 -0000 On 27-12-2011 11:51, Chris Rees wrote: > Hi all, > > While I can certainly see the strong argument for sound 'working out > of the box', it unfortunately causes panics if one then tries to > kldload osscore.ko from audio/oss. > > I've found that it's definitely due to the compiled in sound.ko; no > panic if I remove those options from my kernel config (which > unfortunately means I can no longer use freebsd-update for my kernel) > > I'm not overly concerned about my own position, but there are two > options for how we could fix this: > > - Revert r222980 and go back to requiring people to kldload the > correct drivers (ouch :() > > - Add a note to pkg-message (perhaps even require confirmation-- > panics aren't good!) about the need to compile a kernel with no sound > driver added I had to give this some thought before replying because I haven't used audio/oss since 2007 (we've had our own audio sub-system for 15 years after all :-). Anyway, I remember me and ariff@ talking about how OSS had become close to invisible back in 2006, and shortly after that they released the code and triple licensed it in a last desperate move. Now, it took us more than 6 months (after it was enabled in GENERIC) to notice that OSS didn't work, which I suspect is some kind of proof that almost no one is using it anymore. I also suspect it requires some re-engineering, because I don't think it can co-exist with our own in it's current form (it's a completely different audio sub-system after all, and not just a bunch of drivers). Anyway, if anyone wants it they can recompile their kernel. My opinion is that it's more important that everyone has working audio. I'm not a ports committer, but maybe your suggestion about requiring confirmation while installing the port is a good idea. Anyway, I'd be happy to contribute to such a solution here. :-) -- Joel