From owner-freebsd-current@FreeBSD.ORG Wed Apr 27 06:27:20 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C56B816A4CE for ; Wed, 27 Apr 2005 06:27:20 +0000 (GMT) Received: from fast.dnswatch.com (fast.dnswatch.com [216.177.243.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2277343D49 for ; Wed, 27 Apr 2005 06:27:20 +0000 (GMT) (envelope-from null@dnswatch.com) Received: from fast.dnswatch.com (localhost.dnswatch.com [127.0.0.1]) by fast.dnswatch.com (8.12.6/8.12.6) with ESMTP id j3R6RGsm062549; Tue, 26 Apr 2005 23:27:19 -0700 (PDT) (envelope-from null@dnswatch.com) Received: (from www@localhost) by fast.dnswatch.com (8.12.6/8.12.6/Submit) id j3R6RFsc062548; Tue, 26 Apr 2005 23:27:16 -0700 (PDT) (envelope-from null@dnswatch.com) X-Authentication-Warning: fast.dnswatch.com: www set sender to null@dnswatch.com using -f Received: from demon.dnswatch.com ([216.177.243.42]) (DNSwatch.com_WebMail authenticated user null) by webmail.dnswatch.com with HTTP; Tue, 26 Apr 2005 23:27:14 -0700 (PDT) Message-ID: <55065.216.177.243.42.1114583234.localmail@webmail.dnswatch.com> In-Reply-To: <20050427060414.GA54657@ns2.wananchi.com> References: <63349.216.177.243.42.1114575288.localmail@webmail.dnswatch.com> <20050427060414.GA54657@ns2.wananchi.com> Date: Tue, 26 Apr 2005 23:27:14 -0700 (PDT) From: "/dev/null" To: "Odhiambo Washington" , freebsd-current@freebsd.org User-Agent: DNSwatch.com_WebMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: Re: can't build kernel [with CONFIG this time] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 27 Apr 2005 06:27:20 -0000 Odhiambo Washington, Thank you for your thoughtful reply. According to the documentation located at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html ... For example: # cd /usr/src/sys/i386/conf # mkdir /root/kernels # cp GENERIC /root/kernels/MYKERNEL # ln -s /root/kernels/MYKERNEL ... So, in case it is not yet apparent, DEMON01 is located in /root/krenels and the link is located in /usr/src/sys/i386/conf (yes I re-created it after re-installing src). Are we on the same page yet. ;) -Chris > Read the documentation again! > > You did rm -rf /usr/src. > So where the fuck is DEMON01 ;) > Anyway, b4 compiling a kernel, you must buildworld 1st. > > > cd /usr/src > make buildworld > make kernel KERNCONF=DEMON01 BTW, I think that unless something new has happened since I read the docs a couple of hrs. ago, the sequence you provide here is missing a couple of steps - make install, mergemaster, etc... > make installwolrd (only after you have booted the new kernel) > > > > > * /dev/null [20050427 08:28]: wrote: >> Hello, >> Just got a new CPU today. Running 5.4-RC3 on GENERIC until the new CPU >> showed up. Installed the CPU drafted a new config for the kernel cd'd to >> /usr/src, typed "make buildkernel KERNCONF=DEMON01", build process went >> as >> expected. But before the build process completed the machine froze for >> no >> apparent reason at the sound driver part. Couldn't ssh into it from >> another >> box, so hit the reset button, chose 4 from the menu (single user mode). >> Performed a fsck -f. Rebooted and attempted to rebuild. But it barfed. >> So I performed an rm -fr /usr/src. >> Then /stand/sysinstall > install entire src tree and tried another >> "make buildkernel KERNCONF=DEMON01" in /usr/src. >> It barfed with the following: >> .... >> rm -f .depend GPATH GRTAGS GSYMS GTAGS >> ===> rp >> rm -f /usr/src/sys/modules/rp/export_syms rp.ko rp.kld rp.o rp_pci.o @ >> machine s >> ymb.tmp tmp.o opt_compat.h pci_if.h bus_if.h device_if.h >> rm -f .depend GPATH GRTAGS GSYMS GTAGS >> ===> rue >> ".depend", line 1: Need an operator >> ".depend", line 3: Need an operator >> ".depend", line 4: Need an operator >> ".depend", line 5: Need an operator >> ".depend", line 6: Need an operator >> ".depend", line 9: Need an operator >> ".depend", line 18: Need an operator >> ".depend", line 20: Need an operator >> ".depend", line 21: Need an operator >> ".depend", line 25: Need an operator >> ".depend", line 43: Need an operator >> make: fatal errors encountered -- cannot continue >> *** Error code 1 >> >> Stop in /usr/src/sys/modules. >> *** Error code 1 >> >> Stop in /usr/obj/usr/src/sys/DEMON01. >> *** Error code 1 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> >> /usr/src >> >> ... >> ============================================================ >> >> dmesg -a is @: http://www.dnswatch.com/kern/dmesg#1 >> >> acpidump -t -d is @: http://www.dnswatch.com/kern/acpidump#1 >> >> sysctl -a is @: http://www.dnswatch.com/kern/sysctl#1 >> >> DEMON01 is @: http://www.dnswatch.com/kern/DEMON01 >> >> ============================================================= >> >> Please help and thank you. >> >> >> //////////////////////////////////////////////////// >> If only Western Electric had found a way to offer >> binary licenses for the UNIX system back in 1974, >> the UNIX system would be running on all PC's today >> rather than DOS/Windows. >> //////////////////////////////////////////////////// >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org" >> >> _______________________________________________ >> 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" > > -Wash > > http://www.netmeister.org/news/learn2quote.html > > -- > +======================================================================+ > |\ _,,,---,,_ | Odhiambo Washington > Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com > |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 > '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 > +======================================================================+ > I often quote myself; it adds spice to my conversation. > -- George Bernard Shaw > //////////////////////////////////////////////////// If only Western Electric had found a way to offer binary licenses for the UNIX system back in 1974, the UNIX system would be running on all PC's today rather than DOS/Windows. ////////////////////////////////////////////////////