my kernel is not build/install
Kent Stewart
kstewart at owt.com
Fri Jun 26 21:01:33 UTC 2009
On Friday 26 June 2009 01:25:58 pm fomin at pisem.net wrote:
> On Friday 26 June 2009 12:50:22 pm Rolf G Nielsen wrote:
> > Кирилл А. Фомин wrote:
> > > Здравствуйте, Rolf.
> > >
> > > In my first mail i attach my config file. Latest i attach full console
> > > output.
> > >
> > > Вы писали 26 июня 2009 г., 23:35:14:
> > >> Brent Bloxam wrote:
> > >>> fomin at pisem.net wrote:
> > >>>> When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith
> > >>>> **** Error code 1
> > >>>
> > >>> According to Chapter 8.5 of the handbook
>
>
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html):
> > >>>> 1.
> > >>>> Change to the /usr/src directory:
> > >>>> # cd /usr/src
> > >>>>
> > >>>> 2.
> > >>>> Compile the kernel:
> > >>>> # make buildkernel KERNCONF=MYKERNEL
> > >>>>
> > >>>> 3.
> > >>>> Install the new kernel:
> > >>>> # make installkernel KERNCONF=MYKERNEL
> > >>>
> > >>> You need to use `make buildkernel`, not `make kernel`
> > >>> _______________________________________________
> > >>> freebsd-questions at freebsd.org mailing list
> > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > >>> To unsubscribe, send any mail to
> > >>> "freebsd-questions-unsubscribe at freebsd.org"
> > >>
> > >> According to the makefile, "make kernel" does "make buildkernel" +
> > >> "make installkernel", so that shouldn't be the problem. Your question
> > >> is very vague. Could you please attach the complete output (or at
> > >> least the last portion of it, e.g. 10-15 lines or so).
> >
> > First, please do not reply to me only. Put the list on CC, in case
> > somebody else has some insight on the matter.
> >
> > I looked at the kernel config file, but it is pretty difficult to see
> > what is wrong, without either knowing all the options by heart or
> > comparing it to the NOTES files. Moreover, I am sorry, but I cannot find
> > the console output that you say you attached. Either I am blind or it
> > got stripped somewhere on the way.
>
> He has umass
>
> # USB support
> device uhci # UHCI PCI->USB interface
> device ohci # OHCI PCI->USB interface
> device ehci # EHCI PCI->USB interface (USB 2.0)
> device usb # USB Bus (required)
> #device udbp # USB Double Bulk Pipe devices
> device ugen # Generic
> device uhid # "Human Interface Devices"
> device ukbd # Keyboard
> device ulpt # Printer
> device umass # Disks/Mass storage - Requires scbus and da
>
> But in his "SCSI peripherals" he has scbus and da commented out.
>
> Kent
>May be Kent Stewart wright, cose http://dumpz.org/10103/. I try compile the
>my kernel whith the all "SCSI peripherals" uncomment.
You need to add the error messages. You got stdout and what was wrong was
still missing.
I have a script that I use to do a build[world, kernel] that
uses /var/log/build. I added build to ..\log. It does nothing more than
make buildkernel KERNCONF=FREEBSD1 2>&1 |
tee /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log
It leaves a complete log everytime I build a kernel. Your options would be
different and I also use csh.
Kent
--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html
More information about the freebsd-questions
mailing list