From owner-freebsd-multimedia@FreeBSD.ORG Wed Dec 28 11:36:17 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 62C321065673; Wed, 28 Dec 2011 11:36:17 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id E9EDB8FC15; Wed, 28 Dec 2011 11:36:16 +0000 (UTC) Received: by iadj38 with SMTP id j38so27188374iad.13 for ; Wed, 28 Dec 2011 03:36:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=1wp0ChKZdvyUkAaEYvq/WEpDGqni3LhBKcqwth/MZDo=; b=Aaxw4uKTTrciDd6nKsWPMhk0p4aea5M5K2RqiISypZIRWZrkAMF0sTfc13RqxSmjG9 RbpVkgvvsNGXcjRGSfGrgNck+vFDyAqg6Ov3CARutD23kC1U5UieaceshTiaZXpsAc1n 5VkW46fY5g5VKgHKstY9zfk4sorJNQHsXUttI= Received: by 10.43.51.69 with SMTP id vh5mr36979583icb.32.1325072176273; Wed, 28 Dec 2011 03:36:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.207.7 with HTTP; Wed, 28 Dec 2011 03:35:45 -0800 (PST) In-Reply-To: <20111228072126.GH40260@goofy01.vnodelab.local> References: <20111228072126.GH40260@goofy01.vnodelab.local> From: Chris Rees Date: Wed, 28 Dec 2011 11:35:45 +0000 Message-ID: To: Joel Dahl Content-Type: text/plain; charset=ISO-8859-1 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 11:36:17 -0000 On 28 December 2011 07:21, Joel Dahl wrote: > 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. :-) I think you're right. It's the panics I take issue with here. S'ok though, I'm learning how to hack kernel modules as we speak, so I'll talk to hackers@ on how to check for sound.ko before loading osscore.ko :) Chris