[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling an OBSD kernel
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Compiling an OBSD kernel
- From: Kenneth R Westerback <kwesterback_(_at_)_home_(_dot_)_com>
- Date: Wed, 6 Sep 2000 20:39:15 -0400
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
This is just plain wrong. I have never replaced any of the
'?'s as you suggest and I have compiled hundreds of times and
customized a number of different kernels for various machines.
The '?'s indicate information that will be discovered at boot
time, as was done to generate the messages in /var/log/messages.
And if you are looking for this information, you can more
easily check /var/run/dmesg.boot, which holds the messages
generated during the boot process, but no others.
.... Ken
On Wed, Sep 06, 2000 at 06:18:56PM -0600, PC Drew wrote:
> This is a great place to start:
>
> http://www.openbsd.org/faq/faq5.html
>
> Also note (I don't think it says this), part of your Kernel
> Configuration task is to replace all of the "?"s in the file with the
> exact numbers of the devices. To do this, open another window with
> your /var/log/messages file in it. Here's an example:
>
> A line from my GENERIC kernel:
>
> pchb* at pci? dev ? function ? # PCI-Host bridges
>
> This entry was in my /var/log/messages file:
>
> pchb0 at pci0 dev 0 function 0 "VLSI Technology 82C592 CPU" rev 0x00
>
> So I changed the line in my kernel config to look like this:
>
> pchb0 at pci0 dev 0 function 0 # PCI-Host bridges
>
> Also, if there are things in your GENERIC kernel config that don't
> show up in your /var/log/messages file, then comment them out of your
> kernel config file.
>
> --
> PC Drew
>
>
> Thus spake Chris Cameron on Wednesday, September 06, 2000, 6:00:42 PM:
>
> CC> Can someone point me to documentation on compiling a new kernel?
> CC> I've tried finding stuff in the man pages, but that's helped little.
>
> CC> THanks,
> CC> Chris
>
>
>
Visit your host, monkey.org