8.1. | I would like to customize my kernel. Is it difficult? |
Not at all! Check out the kernel config section of the Handbook. Σημείωση:We recommend that you make a dated snapshot of
your new | |
8.2. | My kernel compiles fail because
|
You probably removed | |
8.3. | Why is my kernel so big (over 10MB)? |
Chances are, you compiled your kernel in debug mode. Kernels built in debug mode contain many symbols that are used for debugging, thus greatly increasing the size of the kernel. Note that there will be little or no performance decrease from running a debug kernel, and it is useful to keep one around in case of a system panic. However, if you are running low on disk space, or you simply do not want to run a debug kernel, make sure that both of the following are true:
Either of the above settings will cause your kernel to be built in debug mode. As long as you make sure you follow the steps above, you can build your kernel normally, and you should notice a fairly large size decrease; most kernels tend to be around 1.5MB to 2MB. | |
8.4. | Why do I get interrupt conflicts with multi-port serial code? |
When I compile a kernel with multi-port serial code, it tells me that only the first port is probed and the rest skipped due to interrupt conflicts. How do I fix this? The problem here is that FreeBSD has code built-in to keep the kernel from getting trashed due to hardware or software conflicts. The way to fix this is to leave out the IRQ settings on all but one port. Here is an example: #
# Multiport high-speed serial line - 16550 UARTS
#
device sio2 at isa? port 0x2a0 tty irq 5 flags 0x501 vector siointr
device sio3 at isa? port 0x2a8 tty flags 0x501 vector siointr
device sio4 at isa? port 0x2b0 tty flags 0x501 vector siointr
device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr | |
8.5. | Why does every kernel I try to build fail to compile, even GENERIC? |
There are a number of possible causes for this problem. They are, in no particular order:
| |
8.6. | How can I verify which scheduler is in use on a running system? |
If you are running FreeBSD version 5.2.1 or earlier, check for
the existence of the % sysctl kern.quantum
kern.sched.quantum: 99960If the % sysctl kern.sched.quantum
sysctl: unknown oid 'kern.sched.quantum'In FreeBSD version 5.3-RELEASE and later, the name of the
scheduler currently being used is directly available as the value
of the % sysctl kern.sched.name
kern.sched.name: 4BSD | |
8.7. | What is |
| |
8.8. | What is |
See Ε: 8.7 |
Αυτό το κείμενο, και άλλα κείμενα, μπορεί να βρεθεί στο ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/
Για ερωτήσεις σχετικά με το FreeBSD, διαβάστε την
τεκμηρίωση πριν να επικοινωνήσετε με την
<questions@FreeBSD.org>.
Για ερωτήσεις σχετικά με αυτή την τεκμηρίωση, στείλτε e-mail στην
<doc@FreeBSD.org>.