From owner-freebsd-questions@FreeBSD.ORG Sun Feb 24 23:21:57 2008 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 343CD16A401 for ; Sun, 24 Feb 2008 23:21:57 +0000 (UTC) (envelope-from ecerejo@optonline.net) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1E213C459 for ; Sun, 24 Feb 2008 23:21:56 +0000 (UTC) (envelope-from ecerejo@optonline.net) Received: from ecerejo.netgear.com (ool-44c03822.dyn.optonline.net [68.192.56.34]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with SMTP id <0JWR00HDZNKGRK80@mta5.srv.hcvlny.cv.net> for FreeBSD-questions@FreeBSD.org; Sun, 24 Feb 2008 18:21:53 -0500 (EST) Date: Sun, 24 Feb 2008 18:21:52 -0500 From: "E. J. Cerejo" In-reply-to: <20080224230040.GA72173@owl.midgard.homeip.net> To: Erik Trulsson Message-id: <20080224182152.bbb8395c.ecerejo@optonline.net> MIME-version: 1.0 X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.8; i386-portbld-freebsd7.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <47C1F0EC.5040604@optonline.net> <20080224230040.GA72173@owl.midgard.homeip.net> Cc: FreeBSD-questions@FreeBSD.org Subject: Re: Compiling new kernel fails on 7.0RC3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2008 23:21:57 -0000 On Mon, 25 Feb 2008 00:00:40 +0100 Erik Trulsson wrote: > On Sun, Feb 24, 2008 at 05:34:20PM -0500, E. J. Cerejo wrote: > > After having a few problems with Fbsd 6.3 stable I decided to try 7.0 which > > impressed me right away because I noticed right away that it performed > > better on my computer. Now I decided to build my own custom kernel and > > after running the first command: > > > > %buildkernel KERNCONF=mykernel > > > > I get this error after it runs for about 15 minutes: > > > > linking kernel.debug > > vpo.o(.text+0x6b): In function `vpo_attach': > > /usr/src/sys/dev/ppbus/vpo.c:159: undefined reference to `cam_simq_alloc' > > vpo.o(.text+0xc2):/usr/src/sys/dev/ppbus/vpo.c:164: undefined reference to > > `cam_sim_alloc' > [snip] > > > umass.o(.text+0x24ba): In function `umass_cam_rescan': > > /usr/src/sys/dev/usb/umass.c:2644: undefined reference to `xpt_periph' > > umass.o(.text+0x24c9):/usr/src/sys/dev/usb/umass.c:2644: undefined > > reference to `xpt_create_path' > > umass.o(.text+0x24f7):/usr/src/sys/dev/usb/umass.c:2651: undefined > > reference to `xpt_setup_ccb' > > umass.o(.text+0x2514):/usr/src/sys/dev/usb/umass.c:2655: undefined > > reference to `xpt_action' > [snip} > > > > > Can anyone make anything out of this? My USB section on my kernel file > > looks like this: > > > > # USB support > > device uhci # UHCI PCI->USB interface > > device ohci # OHCI PCI->USB interface > > device usb # USB Bus (required) > > device udbp # USB Double Bulk Pipe devices > > device ugen # Generic > > device uhid # "Human Interface Devices" > > device ukbd # Keyboard > > device ulpt # Printer > > device umass # Disks/Mass storage - Requires scbus and da > ^^^^^^^^^^^^^^^^^^^^ > > Well, do you have 'device scbus' and 'device da' in your kernel config? > If not, I suggest you add them back. You were right! I deleted them by mistake! I just edited the kernel file and added them in, now do I have to clean any directory or just run the buildkernel KERNCONF=mykernel again?