From owner-freebsd-questions Fri Jul 26 14:37:49 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 A6F4637B400 for ; Fri, 26 Jul 2002 14:37:41 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE02243E4A for ; Fri, 26 Jul 2002 14:37:40 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id OAA29089; Fri, 26 Jul 2002 14:37:35 -0700 Message-ID: <3D41C11F.5050105@owt.com> Date: Fri, 26 Jul 2002 14:37:35 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Michael Wells Cc: Andrew Boothman , freebsd-questions@FreeBSD.ORG Subject: Re: Kernel Failure References: <00b001c234c9$af0d4af0$0a01a8c0@mswolf> <3D41A033.4050109@owt.com> <005d01c234eb$82489930$0a01a8c0@mswolf> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: > >>>>>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 If I remember correctly on this, you have not cvsup'ed src-all and are missing the sys-crypto files. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message