Re: can't build kernel [with CONFIG this time]

From: /dev/null <null_at_dnswatch.com>
Date: Wed, 27 Apr 2005 02:21:25 -0700 (PDT)
Read on...
> * /dev/null <null_at_dnswatch.com> [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
<src-all>, 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 <src-all>, 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    <wash_at_wananchi.com>
> 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.
////////////////////////////////////////////////////
Received on Wed Apr 27 2005 - 07:21:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:33 UTC