Error appear while building my custom kernel

marcel marcel.plouf at gmail.com
Tue Jun 27 12:50:59 UTC 2017


Le Mon, 26 Jun 2017 12:03:15 -0400,
"Littlefield, Tyler" <tyler at tysdomain.com> a écrit :

> On 6/26/2017 6:53 AM, marcel wrote:
> > Hi,
> >
> > I tried to build the kernel from the FreeBSD 11 stable source,
> > following this chapter form the Handbook :
> > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
> >
> > So, I've checked the source with subversion in /usr/src and then
> > I've edited the GENERIC config file and I have an error when I did
> > 'make buildkernel KERNCONF=MYKERNEL' .
> >
> > Here is my kernel config file and the logs:
> > https://bpaste.net/show/8d0b2e755142  
> 
> Things that stand out:
> #device		scbus			# SCSI bus
> (required for ATA/SCSI) The comment makes it pretty clear.
> #device		da			# Direct Access
> (disks) again kind of important.
> #device		ppbus			# Parallel port
> bus (required) This says required, so I'm not sure if disabling is
> the best solution. I don't know if there's code that relies on it,
> and once you have a working kernel it wouldn't be a bad idea to
> comment it to find out if it is actually required.
> 
> I'm confused what you're going for here. I initially thought it was a
> slim kernel, but you disable disks and then leave tons of ethernet
> cards to compile.

Yeah, sorry, I should have to read slower, I have not try to comment
required device yet but I have now a working kernel by uncommenting
those required device. Thanks for the answer.

> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
> 
> 



More information about the freebsd-questions mailing list