From owner-freebsd-current@FreeBSD.ORG Wed Apr 27 09:21:33 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 3842B16A4CE for ; Wed, 27 Apr 2005 09:21:33 +0000 (GMT) Received: from fast.dnswatch.com (fast.dnswatch.com [216.177.243.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DF3843D5A for ; Wed, 27 Apr 2005 09:21:32 +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 j3R9LRsm063662; Wed, 27 Apr 2005 02:21:31 -0700 (PDT) (envelope-from null@dnswatch.com) Received: (from www@localhost) by fast.dnswatch.com (8.12.6/8.12.6/Submit) id j3R9LQSj063661; Wed, 27 Apr 2005 02:21:26 -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; Wed, 27 Apr 2005 02:21:25 -0700 (PDT) Message-ID: <61364.216.177.243.42.1114593685.localmail@webmail.dnswatch.com> In-Reply-To: <20050427083649.GC6929@ns2.wananchi.com> References: <63349.216.177.243.42.1114575288.localmail@webmail.dnswatch.com> <20050427060414.GA54657@ns2.wananchi.com> <55065.216.177.243.42.1114583234.localmail@webmail.dnswatch.com> <20050427083649.GC6929@ns2.wananchi.com> Date: Wed, 27 Apr 2005 02:21:25 -0700 (PDT) From: "/dev/null" To: freebsd-current@freebsd.org, "Odhiambo Washington" 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 09:21:33 -0000 Read on... > * /dev/null [20050427 09:27]: wrote: >> 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. ;) > > I have been compiling kernels for the last 8 years, so I am not gonna > read the documentation again about how to do it, but as sure as day > follows night, the "ln -s /root/kernels/MYKERNEL" is a useless step! O.K. I don't want to be argumentative here, or do I ;) But seriously, I just performed surgery on a P2B-AE motherboard. What I have done is simply provided support for the bus speeds that the boards timer is capable of providing, but that ASUS removed for SONY. This is a mobo that ASUS used for in-house R&D and later sold to SONY who sent it out as a VAIO. As it (the board) was the proto for the ASUS P3B-1394, I am using that BIOS image as opposed to the one that SONY provided. Of course this required some soldering and other witchcraft. ANYWAY, to the point; After all this voodoo I followed the instructions as described *verbatum* and it runs like a top. Built as expected, ran as expected. Now this one which required *no* voodoo won't build at all! SO, (not to discount the value of your shared wisdom, and years of experience) what I intend to do, is: cd /, rm -fr . Then with 5.4-RC3 in the CDROM, reboot, newfs, install, reboot and see what happens after a cvsup -g -L 2 , make buildworld, make buildkernel KERNCONF=CUSTKERN, make installkernel KERNCONF=CUSTKERN, reboot, boot -s, /etc/rc.d/preseedrandom, mergmaster -p, make installworld, mergemaster, reboot, boot kernel. Why you may ask? Because I performed a rm -fr /usr/src, downloaded/unpacked 5.4-RC3 src. cvsup -g -L2 , make buildworld. And it froze again before finishing. After rebooting to single user mode and performing: fsck -f and rebooting, then running make buildworld, it PANICED, then REBOOTED, and I SAID !!!ENOUGH!!! I hope I have been concise enough that there is no doubt or confusion on any of this. :) -Chris P.S. Thanks for taking the time to follow and assist on this. > > Better follow my step ;) > > What I normally do: > > 1. get the latest sources > 2. make buildworld > 3. make kernel KERNCONF=MYKERNEL > 4. Reboot > 5. cd /usr/src > 6. make installworld > 7. mergemaster > > You can split the "make kernel" into "make buildkernel and make > installkernel" but I always don't split them. However, (1) and (2) are > mandatory to me, and many others. It's from the handbook, no? > > > > -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'm a Lisp variable -- bind me! > //////////////////////////////////////////////////// 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. ////////////////////////////////////////////////////