From owner-freebsd-current@FreeBSD.ORG Thu Jan 10 02:14:59 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 2B26516A418 for ; Thu, 10 Jan 2008 02:14:59 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id A64FC13C461 for ; Thu, 10 Jan 2008 02:14:58 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so508694fgg.35 for ; Wed, 09 Jan 2008 18:14:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=KJBQEnyjcaBGYi6IG5SoGVMr6lqXCOjLmbrOekItvVE=; b=hl4k39IdUz0GSyKoa7a3Z8GT97KO1FISgXV++x7abdFw+6EZ1TdIBzZxtZLUg2OV9mYV2QO+8dFA52+ZfAWXQDqszDq7PcJ8wubRfGjmIr09Hbos0JK4sLLRPED1L0cKdvfMtSU3WreTzxyuvFu8vFXbFudb3m8Z4v3zB3QsaPw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hoV3qYHJNSWcE8DiZPDxN1UzJXKLSwZOjc+j2K/5pxwhnnKM1ToZmuAPC9jlyKu3KbhPhbEsjmkTK/uMENL3WF0t1se0eROq0SOEOcEbanfgwRPdD9zGD5Lmndh7feVbJ43uKItatH9FwP/vRGj9Ltju9Epn34JMdOh5DxPYuec= Received: by 10.86.50.8 with SMTP id x8mr1294139fgx.30.1199931297269; Wed, 09 Jan 2008 18:14:57 -0800 (PST) Received: by 10.86.3.20 with HTTP; Wed, 9 Jan 2008 18:14:57 -0800 (PST) Message-ID: <790a9fff0801091814r7ea68ff5t8fdb79e80434e0d8@mail.gmail.com> Date: Wed, 9 Jan 2008 20:14:57 -0600 From: "Scot Hetzel" To: Darran In-Reply-To: <000a01c852fc$6aacb9c0$6501a8c0@Vostro> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <319b588b0801060139m5e99e857of3a8f44ab3d2e078@mail.gmail.com> <003401c85059$581790f0$6501a8c0@Vostro> <790a9fff0801061034x79c6eec0sc6220247b3cb76fd@mail.gmail.com> <000a01c852fc$6aacb9c0$6501a8c0@Vostro> Cc: freebsd-current@freebsd.org Subject: Re: Hung laptop now will not boot 7.0-RC1 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, 10 Jan 2008 02:14:59 -0000 On 1/9/08, Darran wrote: > Hi Scot, > > Thanks for your advice, unfortunately it didn't work as I had the 64 bit > driver and it appears that it causes major problems and so I rebuilt it. > Now I have a completely different problem, I have done make buildworld and > it appeared to build ok (this is a fresh install) I edited my > /usr/src/sys/amd64/KERNELCONF and called it MYKERNEL and setup a link from > my root folder, I did make buildkernel from usr/src and it failed with : > > MAKE=make sh /usr/src/sys/conf/newvers.sh GENERIC > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=athlon64 > -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include > opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 > --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone > -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -Werror vers.c > linking kernel.debug > uipc_syscalls.o(.text+0x3e1): In function `sctp_generic_recvmsg': > /usr/src/sys/kern/uipc_syscalls.c:2600: undefined reference to > `sctp_sorecvmsg' > uipc_syscalls.o(.text+0x22ad): In function `sctp_generic_sendmsg_iov': > /usr/src/sys/kern/uipc_syscalls.c:2478: undefined reference to > `sctp_lower_sosend' > uipc_syscalls.o(.text+0x2599): In function `sctp_generic_sendmsg': > /usr/src/sys/kern/uipc_syscalls.c:2371: undefined reference to > `sctp_lower_sosend' > uipc_syscalls.o(.text+0x271f): In function `sctp_peeloff': > /usr/src/sys/kern/uipc_syscalls.c:2238: undefined reference to > `sctp_can_peel_off' > uipc_syscalls.o(.text+0x28e4):/usr/src/sys/kern/uipc_syscalls.c:2279: > undefined reference to `sctp_do_peeloff' > rtsock.o(.text+0xc36): In function `rt_newaddrmsg': > /usr/src/sys/net/rtsock.c:897: undefined reference to `sctp_addr_change' > in_proto.o(.data+0x150): undefined reference to `sctp_input' > in_proto.o(.data+0x160): undefined reference to `sctp_ctlinput' > in_proto.o(.data+0x168): undefined reference to `sctp_ctloutput' > in_proto.o(.data+0x178): undefined reference to `sctp_init' > in_proto.o(.data+0x190): undefined reference to `sctp_drain' > in_proto.o(.data+0x198): undefined reference to `sctp_usrreqs' > in_proto.o(.data+0x1b8): undefined reference to `sctp_input' > in_proto.o(.data+0x1c8): undefined reference to `sctp_ctlinput' > in_proto.o(.data+0x1d0): undefined reference to `sctp_ctloutput' > in_proto.o(.data+0x1f8): undefined reference to `sctp_drain' > in_proto.o(.data+0x200): undefined reference to `sctp_usrreqs' > in_proto.o(.data+0x220): undefined reference to `sctp_input' > in_proto.o(.data+0x230): undefined reference to `sctp_ctlinput' > in_proto.o(.data+0x238): undefined reference to `sctp_ctloutput' > in_proto.o(.data+0x260): undefined reference to `sctp_drain' > in_proto.o(.data+0x268): undefined reference to `sctp_usrreqs' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/MYKERNEL. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > I have some files on my web site that might be needed and I can get any more > if needed : > > FreeBSD 7.0-RC1 FreeBSD 7.0-RC1 #1: Tue Jan 8 18:11:41 GMT 2008 > root@:/usr/obj/usr/src/sys/GENERIC amd64 > > The full build script is at www.deejc.net/freebsd/kernelbuild > Demsg = www.deejc.net/freebsd/dmesg > Make.conf = www.deejc.net/freebsd/make > Kernel conf - www.deejc.net/freebsd/MYKERNEL options INET # InterNETworking #options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol Here is the error in your kernel config file. The SCTP option requires both INET and INET6. Scot