From owner-freebsd-questions@FreeBSD.ORG Sat Dec 6 07:17:37 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 D2171106564A for ; Sat, 6 Dec 2008 07:17:37 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 57B938FC0A for ; Sat, 6 Dec 2008 07:17:37 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so142570eyi.7 for ; Fri, 05 Dec 2008 23:17:36 -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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=SDrA1rq1R+46Dc4UccU27of0M8tYxjlqj40DpEWq8as=; b=IAM83XGAo3W1pCNcNqjRpPiDUBBGqR7D44mMJl0tT62LQW9tkx5sozkbxH/iBZhNLN 9YWKu7IWsfVjq/UY+F9SdQY2vea8v42eCXWV2VnHzVHYioYfQoOAid/kMVQq0ehi/AqJ +zL9mdRFFROI4kfSfrb9R6tlYElfNTcB+QrK4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=jOANRx45xnFrpzJ13eYT5U5MB/A3WXqXgY8bEXh0yEXLMEeT1obCIQBgfGwA30/p+R XmRi+wFbG9CpTPW9izgQTPz3IbMv/vBqPUAU1qB9VlgV1fqcYOsOuYD4jq8rix60HfKm ipkg2y53Z7Kx9io4fNu/Q2I6vrzM41Tq+f38Y= Received: by 10.210.10.8 with SMTP id 8mr913324ebj.7.1228547856070; Fri, 05 Dec 2008 23:17:36 -0800 (PST) Received: from atlantis.dyndns.org (athedsl-292186.home.otenet.gr [85.73.188.248]) by mx.google.com with ESMTPS id i4sm1709333nfh.60.2008.12.05.23.17.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Dec 2008 23:17:34 -0800 (PST) Message-ID: <493A270B.8040608@gmail.com> Date: Sat, 06 Dec 2008 09:17:31 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: PJ References: <4939D0FB.9090304@videotron.ca> <4939E1C9.8000701@videotron.ca> In-Reply-To: <4939E1C9.8000701@videotron.ca> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: nightrecon@verizon.net, freebsd-questions@freebsd.org Subject: Re: custom kernel 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: Sat, 06 Dec 2008 07:17:37 -0000 PJ wrote: > Michael Powell wrote: >> PJ wrote: >> >> [snip] >> >> Read carefully: >> >>> uvscom.o (.text+0x293): In function 'uvscom_attach' ; >>> :undefined reference to 'ucom_attach' etc..... >>> *** Error code 1 >> >> See further down at bottom. >> >>> did I do something wrong? system is still on and functioning but how do >>> I make the custom kernel? >> >> The canonical first thing to do is to see if your system will build >> GENERIC. >> If it does not you have done something to the OS. If GENERIC builds OK >> and your custom kernel config will not, there is something broken >> with your >> config file. Remember to cd /usr/obj and rm -rf usr or make clean >> first. Always clean out the stale leftovers prior to build. >> >>> this is my kernel file: >>> >>> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.7 2008/04/10 22:09:22 >>> rwatson Exp $ >> >> I'm at home and only have two GENERIC conf files to look at. >> RELENG_7: >> >> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.15 2008/11/24 >> 00:52:26 yongari Exp $ >> >> RELENG_7_0: >> >> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06 >> 03:24:28 scottl Exp $ >> >> >>> cpu I686_CPU >>> ident MYKERNEL >>> >>> # To statically compile in device wiring instead of /boot/device.hints >>> #hints "GENERIC.hints" # Default places to look for >>> devices. >> [snip] >>> # USB Serial devices >>> #device ucom # Generic com ttys >> [snip] >>> device uvscom # USB serial support for DDI pocket's PHS >> [snip] >> >> Read the error message. It is failing to build uvscom because uvscom >> depends on #device ucom and you have ucom commented out. >> >> -Mike >> >> >> >> _______________________________________________ >> 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" >> > > Can't u;nderstand where this stuff came from... I normally had that > stuff commented out. I even found the same error on the older, > functional machine's kernel which had compiled correctly.... there was > another error in that kernel at the very beginning - the SCHEDULE_4BSD > was SCHEDULE_UNO or something like that.. but it was commented > out...perhaps these glitches happened through some kind of accidental > typos in vi.... > > Anywasy, I think that will fix things... thank you for the observations. > Phil Jourdan Also, to avoid the next frustration: Either comment out options SCTP or, put back in: options INET6 or it will stop again :) Just a quick observation from reading your configuration file.