From owner-freebsd-current@FreeBSD.ORG Fri Nov 5 21:47:02 2010 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 A9E84106564A; Fri, 5 Nov 2010 21:47:02 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2001:470:9a47::1]) by mx1.freebsd.org (Postfix) with ESMTP id 24C988FC18; Fri, 5 Nov 2010 21:47:01 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [IPv6:::1]) by acme.spoerlein.net (8.14.4/8.14.4) with ESMTP id oA5Ll12u065514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 5 Nov 2010 22:47:01 +0100 (CET) (envelope-from uqs@spoerlein.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spoerlein.net; s=dkim200908; t=1288993621; bh=PaT6VMSkrlJ8cO8Y2z7hDKNhmDzWbFo4MRenxVVZdfI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=m0wCFSAPsP34p7HKPrU6fw/RfZrOexu0lK9th32tmS7DLsiLMZ01tZcKteaMYB9q7 e8dypB4pDruSzfklJTVRLWHPRdjQwSUQG18z6mvNbUp6l2AP54cu+VIzOgxE9AElrG sAvHMmIp751Rc1irq/qslOLd4oH0ELUcm+u/4Hk0= Received: (from uqs@localhost) by acme.spoerlein.net (8.14.4/8.14.4/Submit) id oA5Ll1uu065513; Fri, 5 Nov 2010 22:47:01 +0100 (CET) (envelope-from uqs@spoerlein.net) Date: Fri, 5 Nov 2010 22:47:01 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Alexander Best Message-ID: <20101105214700.GT85693@acme.spoerlein.net> Mail-Followup-To: Alexander Best , freebsd-current@freebsd.org References: <20101030232244.GA35209@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101030232244.GA35209@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org Subject: Re: issue with "options DDB" 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: Fri, 05 Nov 2010 21:47:02 -0000 On Sat, 30.10.2010 at 23:22:44 +0000, Alexander Best wrote: > hi there, > > with "options DDB" in my kernel conf i run into the following issue with my > kernel modules: > > link_elf_lookup_symbol: missing symbol hash table > KLD file snd_hda.ko is missing dependencies > KLD file sound.ko is missing dependencies > KLD file nvidia.ko is missing dependencies > KLD file linux.ko is missing dependencies > KLD file ng_ubt.ko is missing dependencies > KLD file ng_hci.ko is missing dependencies > KLD file ng_bluetooth.ko is missing dependencies > KLD file netgraph.ko is missing dependencies > link_elf_lookup_symbol: missing symbol hash table > > removing the option solves the issue. any advice? > > cheers. > alex > > ps: i'm running HEAD (r214542; amd64). You failed to mention the command that you run. I assume 'buildkernel'? Please note that you need and update-to-date "buildworld" for the kernel tools to be there, so please try the following (with options DDB): cd /usr/src make clean; make cleandir; make clean make buildworld make buildkernel KERNCONF=YOURKERNEL If it fails again, try env __MAKE_CONF=/dev/null make buildkernel KERNCONF=YOURKERNEL Oh, and the actual kernel config might help as well. hth Uli