*BSD News Article 68423


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!usenet.kornet.nm.kr!usenet.etri.re.kr!news.kreonet.re.kr!usenet.seri.re.kr!news.cais.net!bofh.dot!news.mathworks.com!news.kei.com!nntp.coast.net!lll-winken.llnl.gov!uwm.edu!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!in2p3.fr!swidir.switch.ch!scsing.switch.ch!news.rccn.net!titan.ci.ua.pt!zeus.ci.ua.pt!pgr
From: pgr@ci.ua.pt (Paulo Rodrigues)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: How to configure the kernel
Date: 13 May 1996 14:03:53 GMT
Organization: Universidade de Aveiro, Portugal
Lines: 27
Message-ID: <4n7fg9$4u2@titan.ci.ua.pt>
NNTP-Posting-Host: zeus.ci.ua.pt
X-Newsreader: TIN [version 1.2 PL2]

  Hi there!

  I've been trying to configure my own version of the kernel
but I have had some problems.
  In /usr/src/sys/i386/conf I made a copy of GENERIC to MYKERNEL.
As my machine has different irqs and IO ports I redefine them in
MYKERNEL. I also don't know the values of some constants like
IO_KBD so in that lines I put the correct values that match my
system, for example:

device  sc0  at  isa? port 0x0060 irq 1 vector scintr

and did the same for the devices I have and deleted all the other
lines. The problem is that I can't compile I because the compiler
stops claiming that some variables aren't defined.

  Do I have to use those constants (IO_KBD, etc)? And if there's
a conflict? Do I have to change isa.h in /usr/src/sys/isa?

  I even try to compile GENERIC as it is, but when I reboot my
machine hanged up.

  Thank you for your help!

---------------------
paulo.rodrigues@ua.pt
Portugala