Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2003 18:28:06 -0500
From:      "Danny" <lists@brenius.com>
To:        "Giorgos Keramidas" <keramida@ceid.upatras.gr>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: 4.7R - Kernel Compile (old way)  "Error code 1"
Message-ID:  <037301c2c400$40b17150$b701a8c0@BRENIUS.NET>
References:  <000701c2c3f8$720d86b0$b701a8c0@BRENIUS.NET> <20030124224539.GB84745@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Giorgos Keramidas" <keramida@ceid.upatras.gr>
> There is nothing wrong with the "old way" if you haven't touched the
> sources since your last buildworld.

I think you read that wrong. I was not implying that the "old way"
was bad in anyway, I was just qouting the handbook reference to
being the "old way".

> You are obviously missing stuff that is required for SCSI support.

I do not have any SCSI, USB, PCMCIA, and RAID hardware, so
I removed all that stuff, which could be part of the problem-o. :)

Some of these, (even if one does not have the hardware) must be
required no matter what, then?

> Right now, it seems that you're missing at least "device pass" and
> related stuff...  I'd recommend starting over by:
> 
> # cd /usr/src/sys/i386/conf
> # cp GENERIC RANCID
> 
> then make a few modifications to RANCID and build your kernel:
> 
> # vi RANCID
> # config -d /usr/obj/usr/src/sys/RANCID RANCID
> # cd /usr/obj/usr/src/sys/RANCID
> # make depend && make clean && make all

Another user suggested:

# cd /usr/src/sys/compile
# rm -R name_of_kernel_dir

To remove reminisce of the partial make?

Now back to start:

# cd /usr/src/sys/i386/conf
# cp GENERIC MYKERNEL
Edit lightly
# ee MYKERNEL
# /usr/sbin/config MYKERNEL
# cd ../.../compile/MYKERNEL
# make depend
# make
# make install

Could you please elaborate on your differences? I am new to most of
this, so I am interested in different users experiences.

Thank you!

Danny


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?037301c2c400$40b17150$b701a8c0>