Added entry about the CVS Tree Mirror (ctm-src-cur).
[unix-history] / contrib / FAQ / FAQ-06
CommitLineData
89ed80ea 16.0 Kernel Configuration
e952dd5e
GCI
2
36.0.1: When I compile a kernel with multi-port serial code, it tells me
4 that only the first port is probed and the rest skiped due to
5 interupt conflicts. How do I fix this?
6
7The problem here is that FreeBSD has code built-in to keep the kernel from
8getting trashed due to hardware or software conflicts. The way to fix this
9is to leave out the irq settings on other ports besides the first. Here is
10a example:
11
12#
13# Multiport high-speed serial line - 16550 UARTS
14#
15device sio2 at isa? port 0x2a0 tty irq 5 flags 0x501 vector siointr
16device sio3 at isa? port 0x2a8 tty flags 0x501 vector siointr
17device sio4 at isa? port 0x2b0 tty flags 0x501 vector siointr
18device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr
19
20You may also want to look at the multi-port serial FAQ in
89ed80ea 21/usr/src/contrib/FAQ/OTHER-FAQS/multi-port.serial.FAQ.
e952dd5e
GCI
22
23
246.0.2: FreeBSD is supposed to come with support for QIC-40/80 drives but
25 when I look, I can't find it.
26
27You need to uncomment the following line in the generic config file (or add
28it to your config file) and recompile.
29
30controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
31disk fd0 at fdc0 drive 0
32disk fd1 at fdc0 drive 1
33#tape ft0 at fdc0 drive 2
34^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
35
36
376.0.3: Does FreeBSD support SYSV IPC, shared memory, etc?
38
39Yes, FreeBSD supports SYSV IPC. This includes shared memory, messages and
40semaphores. You need to add the following lines to your kernel config to
41enable them.
42
43options SYSVSHM
44options "SHMMAXPGS=64" # 256Kb of sharable memory
45options SYSVSEM # enable for semaphores
46options SYSVMSG # enable for messaging
47
48Recompile and install.
49
50
51