Date: Sun, 24 Feb 2008 18:21:52 -0500 From: "E. J. Cerejo" <ecerejo@optonline.net> To: Erik Trulsson <ertr1013@student.uu.se> Cc: FreeBSD-questions@FreeBSD.org Subject: Re: Compiling new kernel fails on 7.0RC3 Message-ID: <20080224182152.bbb8395c.ecerejo@optonline.net> In-Reply-To: <20080224230040.GA72173@owl.midgard.homeip.net> References: <47C1F0EC.5040604@optonline.net> <20080224230040.GA72173@owl.midgard.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Feb 2008 00:00:40 +0100 Erik Trulsson <ertr1013@student.uu.se> 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080224182152.bbb8395c.ecerejo>