From owner-freebsd-questions Fri Jul 26 14:30:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45AF737B400 for ; Fri, 26 Jul 2002 14:30:40 -0700 (PDT) Received: from smtprelay3.dc3.adelphia.net (smtprelay3.dc3.adelphia.net [24.50.78.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id B117943E31 for ; Fri, 26 Jul 2002 14:30:39 -0700 (PDT) (envelope-from mwvw@adelphia.net) Received: from mswolf ([68.70.220.91]) by smtprelay3.dc3.adelphia.net (Netscape Messaging Server 4.15) with SMTP id GZVL320A.K0O; Fri, 26 Jul 2002 17:30:38 -0400 Message-ID: <005d01c234eb$82489930$0a01a8c0@mswolf> From: "Michael Wells" To: "Kent Stewart" Cc: "Andrew Boothman" , References: <00b001c234c9$af0d4af0$0a01a8c0@mswolf> <3D41A033.4050109@owt.com> Subject: Re: Kernel Failure Date: Fri, 26 Jul 2002 14:29:22 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michael Wells wrote: > > >>>Michael Wells wrote: > >>> > >>> > >>>>Hello, > >>>> > >>>>I am getting a bunch of link errors when I try > >>>>and rebuild my kernel. I just did cvsup and a > >>>>make build/install world and was trying to rebuild the kernel > >>>>as suggested. I didn't make any changes to > >>>>the kernel but it started complaining about things > >>>>it never had before. It was complaining about devices > >>>>that didn't exist on my system (raid stuff) so I removed > >>>>them. The build seems to go fine until link time. > >>>>I am attaching the link part of the output. If any > >>>>one has ideas I would appreciate your input greatly! > >>>> > >>>> > >>>This kind of problem is exactly why it is generally recommened that you > >>>buildworld and buildkernel before installkernel-ing and installworld-ing > >>>and finally mergemaster. It sound like your system is currently running > >>>a mismatched kernel and world? This is often the cause of problems. My > >>>preferred order is > >>> > >>>make buildworld > >>>make buildkernel > >>>make installkernel > >>>reboot into single-user (ensure new kernel boots correctly) > >>>make installworld > >>>mergemaster > >>>reboot > >>> > >>>Anyway, with reguard to your spacific problem - you don't tell us what > >>>version of FreeBSD you cvsuped to? If it is a development branch > >>>(-current or -stable) then those lists are likely to have the best > >>>people to answer your question. If it is a -RELEASE then you clearly > >>>have something else going on.... > >>> > >>>Andrew. > >>> > >>> > >>Yikes, I made a really stupid mistake. My Cvsup file had the 4_5 tag > >>instead > >>of the 4_6! Crossing my fingers and hoping I can pull out of this one. > >> > >> > > Well I am not having an easy time with this one. I am following the "What > > is something > > goes wrong" section of the handbook. I cusp's my files with the correct > > tag, > > but I wonder if it's to late? unnamed -a reports Frees 4.6 #4, but this was > > after > > I made build after cvsuping the wrong files (4_5). I am currently not able > > to build with the "correct" source. It seems to be failing in the modules > > section > > particularly Pam_ssh. I say seems because I tried to capture the output but > > it was huge and wouldn't save. (there is a command that will only write the > > last number of lines you specify, but I don't know it at the moment). Well > > I am > > determined to rescue this system just because I think it's a good exercise. > > I am > > not particularly worried about the data (why I don't have a backup) as it's > > only > > been up a week anyways. Anyone have some ideas? THANKS!! > > > If you are still getting the same failure messages, you have commented > too much out in your kernel config file. Check options like scbus and da. > > Kent > > Thanks Kent you were right about the kernel config file. I was able to rebuild the kernel and install it with no problem. The problem with build world still occurs though: o/openssh -c /usr/src/lib/libpam/modules/pam_ssh/pam_ssh.c -o pam_ssh.So building shared library pam_ssh.so /usr/obj/usr/src/i386/usr/libexec/elf/ld: cannot find -lssh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message