1 | <sect2>
|
---|
2 | <title>Installation of the kernel patch</title>
|
---|
3 |
|
---|
4 | <para>Install the kernel patch by running the following commands from
|
---|
5 | the kernel source directory:</para>
|
---|
6 |
|
---|
7 | <screen><userinput><command>patch -Np1 -i ../linux-2.4.20-packet.patch</command></userinput></screen>
|
---|
8 |
|
---|
9 | <para>In the kernel configuration, check your setting with those listed
|
---|
10 | here:</para>
|
---|
11 |
|
---|
12 | <screen>Block devices
|
---|
13 | Packet writing on CD/DVD media: Y or M
|
---|
14 | File Systems
|
---|
15 | UDF filesystems support (read only): Y
|
---|
16 | UDF write support (DANGEROUS) Y</screen>
|
---|
17 |
|
---|
18 | <para>If necessary, recompile the kernel with
|
---|
19 | <screen><userinput><command>make CC=/opt/gcc-2.95.3/bin/gcc dep &&
|
---|
20 | make CC=/opt/gcc-2.95.3/bin/gcc bzImage &&
|
---|
21 | make CC=/opt/gcc-2.95.3/bin/gcc modules &&
|
---|
22 | make CC=/opt/gcc-2.95.3/bin/gcc modules_install</command></userinput></screen>
|
---|
23 | </para>
|
---|
24 | <para>
|
---|
25 | Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and
|
---|
26 | <filename>/usr/src/linux/System.map</filename> to
|
---|
27 | <filename class="directory">/boot</filename>. If you utilize
|
---|
28 | <application>LILO</application> edit <filename>/etc/lilo.conf</filename>
|
---|
29 | appropriately and run <command>lilo</command>.
|
---|
30 | </para>
|
---|
31 |
|
---|
32 | <para>If you build packet writer as a module, add the following to
|
---|
33 | <filename>/etc/modules.conf</filename>:
|
---|
34 | <screen><userinput>alias block-major-97 pktcdvd</userinput></screen></para>
|
---|
35 |
|
---|
36 | <para>Finally, create the packet driver device nodes in <filename
|
---|
37 | class="directory">/dev</filename>, add one node for every
|
---|
38 | <acronym>CD</acronym>-<acronym>RW</acronym> drive you
|
---|
39 | want to support:</para>
|
---|
40 | <screen><userinput><command>mknod /dev/pktcdvd0 b 97 0
|
---|
41 | mknod /dev/pktcdvd1 b 97 1</command></userinput></screen>
|
---|
42 |
|
---|
43 | </sect2>
|
---|
44 |
|
---|