From owner-freebsd-questions@FreeBSD.ORG Mon Feb 25 18:54:44 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 119A616A404 for ; Mon, 25 Feb 2008 18:54:44 +0000 (UTC) (envelope-from lukejee@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.179]) by mx1.freebsd.org (Postfix) with ESMTP id C865B13C448 for ; Mon, 25 Feb 2008 18:54:43 +0000 (UTC) (envelope-from lukejee@gmail.com) Received: by el-out-1112.google.com with SMTP id r27so1468100ele.3 for ; Mon, 25 Feb 2008 10:54:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to:in-reply-to:content-type:x-mailer:mime-version:subject:content-transfer-encoding:date:cc; bh=U6ZJc/zAwVEWqstY0SjI2K4+dAo7rdpuLjk1OeHXSjc=; b=kGCLnBh2OV5KAnm63LreyR21CeiZSfL9AtKb+ZzK6peSkkUMWMLO1wVz3PMASRqewMTEm+ZyTGAoRqN3CrOFRVaP+dVUMAc8H6M+Zl3h0vcxi7kAF3Eb5rpeo9SQPodMqAchkIi8Pn/yZJW/XRias/9FtGxVNKMVIWADxGh+hUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type:x-mailer:mime-version:subject:content-transfer-encoding:date:cc; b=ZFa5woK925T0SLMIz/G6/bibTuUKL+LFDeshZHEii7x+XUvZcD7bQDwrfNjHB6rK4lrCJQR+436VGJjY1P1fPUSNxuOD48k8cEfsybLu3uf+gg41QpJISmiDuxTv7SHSlrrJ51bnyvBebmN0tloSEkXdF1Et4N3VONmVeHBhxwY= Received: by 10.114.197.1 with SMTP id u1mr4024293waf.61.1203964104415; Mon, 25 Feb 2008 10:28:24 -0800 (PST) Received: from ?192.168.0.184? ( [61.177.154.146]) by mx.google.com with ESMTPS id t1sm8887286poh.0.2008.02.25.10.28.19 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Feb 2008 10:28:23 -0800 (PST) References: <47C1F0EC.5040604@optonline.net> Message-Id: <54902766-C3DD-43B9-8833-6FA5934153EC@gmail.com> From: Luke Jee To: "E. J. Cerejo" In-Reply-To: <47C1F0EC.5040604@optonline.net> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes X-Mailer: iPhone Mail (4A93) Mime-Version: 1.0 (iPhone Mail 4A93) Content-Transfer-Encoding: quoted-printable Date: Tue, 26 Feb 2008 02:28:04 +0800 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: Mon, 25 Feb 2008 18:54:44 -0000 Did you comment device scbus and device da in your kernel config =20 file, device umass require them Luke Jee Prevantage Inc. On 2008-2-25, at =E4=B8=8A=E5=8D=886:34, "E. J. Cerejo" = =20 wrote: > After having a few problems with Fbsd 6.3 stable I decided to try =20 > 7.0 which impressed me right away because I noticed right away that =20= > it performed better on my computer. Now I decided to build my own =20 > custom kernel and after running the first command: > > %buildkernel KERNCONF=3Dmykernel > > 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 =20 > `cam_simq_alloc' > vpo.o(.text+0xc2):/usr/src/sys/dev/ppbus/vpo.c:164: undefined =20 > reference to `cam_sim_alloc' > vpo.o(.text+0xd1):/usr/src/sys/dev/ppbus/vpo.c:168: undefined =20 > reference to `cam_simq_free' > vpo.o(.text+0xef):/usr/src/sys/dev/ppbus/vpo.c:172: undefined =20 > reference to `xpt_bus_register' > vpo.o(.text+0x106):/usr/src/sys/dev/ppbus/vpo.c:173: undefined =20 > reference to `cam_sim_free' > vpo.o(.text+0x14d):/usr/src/sys/dev/ppbus/vpo.c:196: undefined =20 > reference to `xpt_periph' > vpo.o(.text+0x15c):/usr/src/sys/dev/ppbus/vpo.c:196: undefined =20 > reference to `xpt_create_path' > vpo.o(.text+0x18f):/usr/src/sys/dev/ppbus/vpo.c:203: undefined =20 > reference to `xpt_setup_ccb' > vpo.o(.text+0x1ac):/usr/src/sys/dev/ppbus/vpo.c:207: undefined =20 > reference to `xpt_action' > vpo.o(.text+0x422): In function `vpo_action': > /usr/src/sys/dev/ppbus/vpo.c:357: undefined reference to `xpt_done' > vpo.o(.text+0x463):/usr/src/sys/dev/ppbus/vpo.c:383: undefined =20 > reference to `xpt_done' > vpo.o(.text+0x48c):/usr/src/sys/dev/ppbus/vpo.c:396: undefined =20 > reference to `xpt_done' > vpo.o(.text+0x4af):/usr/src/sys/dev/ppbus/vpo.c:402: undefined =20 > reference to `xpt_done' > vpo.o(.text+0x4c3):/usr/src/sys/dev/ppbus/vpo.c:408: undefined =20 > reference to `xpt_done' > vpo.o(.text+0x57a):/usr/src/sys/dev/ppbus/vpo.c:434: more undefined =20= > references to `xpt_done' follow > udbp.o(.text+0x47): In function `ng_udbp_disconnect': > /usr/src/sys/dev/usb/udbp.c:857: undefined reference to =20 > `ng_rmnode_self' > udbp.o(.text+0xab): In function `udbp_detach': > /usr/src/sys/dev/usb/udbp.c:450: undefined reference to =20 > `ng_rmnode_self' > udbp.o(.text+0xc0):/usr/src/sys/dev/usb/udbp.c:452: undefined =20 > reference to `ng_unref_node' > udbp.o(.text+0x742): In function `udbp_attach': > /usr/src/sys/dev/usb/udbp.c:375: undefined reference to `ng_newtype' > udbp.o(.text+0x770):/usr/src/sys/dev/usb/udbp.c:381: undefined =20 > reference to `ng_make_node_common' > udbp.o(.text+0x7b7):/usr/src/sys/dev/usb/udbp.c:384: undefined =20 > reference to `ng_name_node' > udbp.o(.text+0x7cc):/usr/src/sys/dev/usb/udbp.c:385: undefined =20 > reference to `ng_unref_node' > udbp.o(.text+0x91f): In function `ng_udbp_rcvmsg': > /usr/src/sys/dev/usb/udbp.c:705: undefined reference to =20 > `M_NETGRAPH_MSG' > udbp.o(.text+0x9d9):/usr/src/sys/dev/usb/udbp.c:733: undefined =20 > reference to `ng_address_ID' > udbp.o(.text+0x9f2):/usr/src/sys/dev/usb/udbp.c:733: undefined =20 > reference to `ng_snd_item' > udbp.o(.text+0xa01):/usr/src/sys/dev/usb/udbp.c:733: undefined =20 > reference to `ng_free_item' > udbp.o(.text+0xa0d):/usr/src/sys/dev/usb/udbp.c:734: undefined =20 > reference to `M_NETGRAPH_MSG' > udbp.o(.text+0xa85): In function `udbp_in_transfer_cb': > /usr/src/sys/dev/usb/udbp.c:531: undefined reference to =20 > `ng_package_data' > udbp.o(.text+0xaaa):/usr/src/sys/dev/usb/udbp.c:531: undefined =20 > reference to `ng_address_hook' > udbp.o(.text+0xabe):/usr/src/sys/dev/usb/udbp.c:531: undefined =20 > reference to `ng_snd_item' > udbp.o(.text+0xc81): In function `ng_udbp_rmnode': > /usr/src/sys/dev/usb/udbp.c:815: undefined reference to =20 > `ng_unref_node' > udbp.o(.text+0xc94):/usr/src/sys/dev/usb/udbp.c:817: undefined =20 > reference to `ng_make_node_common' > udbp.o(.text+0xccd):/usr/src/sys/dev/usb/udbp.c:820: undefined =20 > reference to `ng_name_node' > udbp.o(.text+0xcde):/usr/src/sys/dev/usb/udbp.c:821: undefined =20 > reference to `ng_unref_node' > udbp.o(.text+0xd25): In function `ng_udbp_rcvdata': > /usr/src/sys/dev/usb/udbp.c:752: undefined reference to `ng_free_item' > udbp.o(.rodata+0x20): In function `ng_udbp_disconnect': > /usr/src/sys/dev/usb/udbp.c:851: undefined reference to =20 > `ng_parse_int32_type' > udbp.o(.rodata+0x3c):/usr/src/sys/dev/usb/udbp.c:855: undefined =20 > reference to `ng_parse_struct_type' > udbp.o(.rodata+0x64): In function `udbp_detach': > /usr/src/sys/dev/usb/udbp.c:434: undefined reference to =20 > `ng_parse_int32_type' > udbp.o(.rodata+0x70):/usr/src/sys/dev/usb/udbp.c:440: undefined =20 > reference to `ng_parse_int32_type' > umass.o(.text+0x1c): In function `umass_cam_detach_sim': > /usr/src/sys/dev/usb/umass.c:2694: undefined reference to =20 > `xpt_bus_deregister' > umass.o(.text+0x38):/usr/src/sys/dev/usb/umass.c:2695: undefined =20 > reference to `cam_sim_free' > umass.o(.text+0x40c): In function `umass_cam_quirk_cb': > /usr/src/sys/dev/usb/umass.c:3236: undefined reference to `xpt_done' > umass.o(.text+0x424):/usr/src/sys/dev/usb/umass.c:3245: undefined =20 > reference to `xpt_done' > umass.o(.text+0x449): In function `umass_cam_sense_cb': > /usr/src/sys/dev/usb/umass.c:3136: undefined reference to `xpt_done' > umass.o(.text+0x56b):/usr/src/sys/dev/usb/umass.c:3210: undefined =20 > reference to `xpt_done' > umass.o(.text+0x57c):/usr/src/sys/dev/usb/umass.c:3217: undefined =20 > reference to `xpt_done' > umass.o(.text+0x5aa):/usr/src/sys/dev/usb/umass.c:3043: more =20 > undefined references to `xpt_done' follow > umass.o(.text+0xcd2): In function `umass_cam_action': > /usr/src/sys/dev/usb/umass.c:2987: undefined reference to =20 > `cam_calc_geometry' > umass.o(.text+0xcda):/usr/src/sys/dev/usb/umass.c:2988: undefined =20 > reference to `xpt_done' > umass.o(.text+0xceb):/usr/src/sys/dev/usb/umass.c:2999: undefined =20 > reference to `xpt_done' > umass.o(.text+0xcfd):/usr/src/sys/dev/usb/umass.c:3011: undefined =20 > reference to `xpt_done' > umass.o(.text+0x1127): In function `umass_attach': > /usr/src/sys/dev/usb/umass.c:2587: undefined reference to =20 > `cam_simq_alloc' > umass.o(.text+0x117b):/usr/src/sys/dev/usb/umass.c:2591: undefined =20 > reference to `cam_sim_alloc' > umass.o(.text+0x118a):/usr/src/sys/dev/usb/umass.c:2600: undefined =20 > reference to `cam_simq_free' > umass.o(.text+0x11af):/usr/src/sys/dev/usb/umass.c:2604: undefined =20 > reference to `xpt_bus_register' > umass.o(.text+0x12c7): In function `umass_cam_rescan_callback': > /usr/src/sys/dev/usb/umass.c:2625: undefined reference to =20 > `xpt_free_path' > 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 =20 > reference to `xpt_create_path' > umass.o(.text+0x24f7):/usr/src/sys/dev/usb/umass.c:2651: undefined =20 > reference to `xpt_setup_ccb' > umass.o(.text+0x2514):/usr/src/sys/dev/usb/umass.c:2655: undefined =20 > reference to `xpt_action' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/mykernel. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > ---------------------------------------------------------=20 > x------------------------------------------------------------ > > > Can anyone make anything out of this? My USB section on my kernel =20 > 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 =20 > scbus and da > device ums # Mouse > #device urio # Diamond Rio 500 MP3 player > device uscanner # Scanners > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org=20 > "