DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st March 2016
jjstorm jjstorm is offline
Package Pilot
 
Join Date: Nov 2014
Location: Buenos Aires, AR
Posts: 144
Default kernel build failure

I am running 5_8_release amd64 platform on virtual machine

The procedure I followed to download source tree:

Code:
$ cd /usr
I set the CVSROOT variable to the server and then:

to follow -stable

Code:
$ cvs -d$CVSROOT checkout -rOPENBSD_5_8 -P src
then to build the kernel:

Code:
$ cd /usr/src/sys/arch/$(machine)/conf
$ config GENERIC
$ cd ../compile/GENERIC
$ make clean && make
    [...lots of output...]
# make install
the output I received from shell:

Code:
cmp -s bsd /bsd || ln -f /bsd /obsd
cp bsd /nbsd
mv /nbsd /bsd
I entered the above output and tried again with the same result:

Could something have gone wrong while downloading source tree?
Reply With Quote
  #2   (View Single Post)  
Old 1st March 2016
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

And?
What is wrong?
Actually I don't see anything unusual.

Makefile for "make install" command saves older kernel as a backup as /obsd. Newer is /bsd.
If one would reboot and /bsd is fine, he/she will boot system with newer kernel. If something goes wrong, that person could manually type path to /obsd and will boot system with older (compiled earlier) kernel.
Reply With Quote
  #3   (View Single Post)  
Old 1st March 2016
jjstorm jjstorm is offline
Package Pilot
 
Join Date: Nov 2014
Location: Buenos Aires, AR
Posts: 144
Default

Quote:
Originally Posted by e1-531g View Post
And?
What is wrong?
Actually I don't see anything unusual.

Makefile for "make install" command saves older kernel as a backup as /obsd. Newer is /bsd.
If one would reboot and /bsd is fine, he/she will boot system with newer kernel. If something goes wrong, that person could manually type path to /obsd and will boot system with older (compiled earlier) kernel.
Got it,

I wasn't sure. It's been a while for me, but I am starting to get back into it. I appreciate your input.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
build a kernel philo_neo71 NetBSD General 12 18th December 2015 04:58 AM
Build kernel & userland as root? hanzer OpenBSD Installation and Upgrading 5 24th July 2015 06:52 PM
Guide to build a modular kernel. tolstoi NetBSD Installation and Upgrading 0 4th February 2013 07:10 AM
commands to build a kernel desreguard FreeBSD General 2 4th June 2011 05:20 PM
BitchX build failure mahoney FreeBSD Ports and Packages 1 8th May 2008 07:48 AM


All times are GMT. The time now is 11:58 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick