From owner-freebsd-current@FreeBSD.ORG Thu Jul 17 14:25:23 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D0131065680; Thu, 17 Jul 2008 14:25:23 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8854E8FC13; Thu, 17 Jul 2008 14:25:22 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m6HEOvFX032292; Thu, 17 Jul 2008 10:25:16 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 17 Jul 2008 09:23:52 -0400 User-Agent: KMail/1.9.7 References: <486FD2BA.8050505@telenix.org> <20080705220254.I51796@fledge.watson.org> <48701AA2.3010907@telenix.org> In-Reply-To: <48701AA2.3010907@telenix.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807170923.52408.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Thu, 17 Jul 2008 10:25:16 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7736/Thu Jul 17 09:11:09 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Robert Watson , Chuck Robey Subject: Re: kernel modules wont load X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 14:25:23 -0000 On Saturday 05 July 2008 09:06:42 pm Chuck Robey wrote: > Robert Watson wrote: > > > > On Sat, 5 Jul 2008, Chuck Robey wrote: > > > >> I can't get my oss sound to load, and the first error I get is this: > >> > >> osscore.ko: depends on kernel - not available > >> > >> That came from both the oss logging file and dmesg. I don't > >> understand what "depends on kernel" means, could I get a hint on > >> that? I think it's the reason that later oss modules don't load > >> correctly. > >> > >> Thanks for any help on this, I'd like to get my sound working again. > > > > In HEAD, we're currently building all modules with an automatic version > > dependency on the version of the kernel they are intended to run in. > > The error message should be telling you need version X but it found > > version Y, but doesn't, unfortunately. Rebuilding the module should get > > it working. I seem to recall printing the error better is awkward > > because the dependency failure is generated somewhere deep in the > > linker, and the error is printed on the surface, but should be fixable. > > Umm. OK, I'm pleased to hear about it, but just a touch skeptical that's my > problem, because I recompiled the osscore 2 hours ago, and the kernel is less > than 2 weeks old. It is possible, though, and I really appreciate the answer > (I'd never have tracked that one down, from your description). It probably means your world is newer than your kernel somehow as the osscore module build will use the __FreeBSD_version from /usr/include/sys/param.h while the kernel will support 800000 - the version in it's build tree's -- John Baldwin