On Sunday 14 September 2008, Ling Xiaoheng wrote:
> Hey,guys:
>
> In NetBSD its have adjustkernel perl script can custom your kernel
> configuration file,how about OpenBSD?
> I custom my OpenBSD kernel configuration and rebuild it,but in the
> dmesg I found
>
> OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
>
> I rename my configuration file to OpenBSD,but in dmesg its also
> GENERIC,how can I change it?
>
> linyin

linyin,

First of all, you are running an old version, "OpenBSD 4.2" --The
current version of OpenBSD is 4.3.

>From your previous post with the subject of "Newbie some problem with
OpenBSD," it is obvious you are just starting to learn OpenBSD. All
users are strongly encouraged to run the GENERIC (or GENERIC.MP)
kernel. The GENERIC kernel should be sufficient for most all systems
and situations.

There are only three situations where anyone should run a custom kernel:

1.) Development/Testing
2.) Resolving Conflicts
3.) Needed Functionality

In situation #1, people are developing or testing new kernel level
functionality and obviously have a verifiable need to run a custom
kernel on their dev/test machine.

In situation #2, using a custom kernel is required to get past a
conflict caused by your hardware. There are situations where some
hardware misrepresents itself, or is misidentified, or conflicts with
other drivers/hardware. The only way to get past the conflict and/or
misidentification problem is to disable and/or enable support for the
actual hardware you have. Even when you have conflicts, often you do
not need to build a custom kernel since you can reconfigure the GENERIC
kernel through the config(8) utility. (see `man config`)

In situation #3, you have a specific need for functionality not included
in the GENERIC kernel. A good example is if you have a real need to
support the NTFS file system, you would need to build a custom kernel
with the NTFS support enabled. --The main reason why many seldom used
features are not enabled by default in the GENERIC kernel is to keep
the kernel small.


Unless you have a verifiable need to run a modified kernel, you should
always be running GENERIC (or GENERIC.MP). If you insist on messing
around with the kernel, no one on these will help you, and mainly
because they cannot help you without knowing exactly what tweaks and
modifications you're actually running.

Even if you are an absolute expert with computer systems and operating
system design, running the default GENERIC (or GENERIC.MP) kernel
whenever possible is always the very best way to manage your OpenBSD
system properly.

Kind Regards,
JCR

Reply via email to