Commit | Line | Data |
---|---|---|
89ed80ea | 1 | 6.0 Kernel Configuration |
e952dd5e GCI |
2 | |
3 | 6.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 | ||
7 | The problem here is that FreeBSD has code built-in to keep the kernel from | |
8 | getting trashed due to hardware or software conflicts. The way to fix this | |
9 | is to leave out the irq settings on other ports besides the first. Here is | |
10 | a example: | |
11 | ||
12 | # | |
13 | # Multiport high-speed serial line - 16550 UARTS | |
14 | # | |
15 | device sio2 at isa? port 0x2a0 tty irq 5 flags 0x501 vector siointr | |
16 | device sio3 at isa? port 0x2a8 tty flags 0x501 vector siointr | |
17 | device sio4 at isa? port 0x2b0 tty flags 0x501 vector siointr | |
18 | device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr | |
19 | ||
20 | You 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 | ||
24 | 6.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 | ||
27 | You need to uncomment the following line in the generic config file (or add | |
28 | it to your config file) and recompile. | |
29 | ||
30 | controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr | |
31 | disk fd0 at fdc0 drive 0 | |
32 | disk fd1 at fdc0 drive 1 | |
33 | #tape ft0 at fdc0 drive 2 | |
34 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
35 | ||
36 | ||
37 | 6.0.3: Does FreeBSD support SYSV IPC, shared memory, etc? | |
38 | ||
39 | Yes, FreeBSD supports SYSV IPC. This includes shared memory, messages and | |
40 | semaphores. You need to add the following lines to your kernel config to | |
41 | enable them. | |
42 | ||
43 | options SYSVSHM | |
44 | options "SHMMAXPGS=64" # 256Kb of sharable memory | |
45 | options SYSVSEM # enable for semaphores | |
46 | options SYSVMSG # enable for messaging | |
47 | ||
48 | Recompile and install. | |
49 | ||
50 | ||
51 |