2003-06-30 11:38:06 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of the kernel patch</title>
|
|
|
|
|
|
|
|
<para>Install the kernel patch by running the following commands from
|
|
|
|
the kernel source directory:</para>
|
|
|
|
|
|
|
|
<screen><userinput><command>patch -Np1 -i ../packet-2.4.20.patch</command></userinput></screen>
|
|
|
|
|
|
|
|
<para>In the kernel configuration, check your setting with those listed
|
2003-09-28 02:46:10 +08:00
|
|
|
here:</para>
|
2003-06-30 11:38:06 +08:00
|
|
|
|
|
|
|
<screen>Block devices
|
|
|
|
Packet writing on CD/DVD media: Y or M
|
|
|
|
File Systems
|
|
|
|
UDF filesystems support (read only): Y
|
2003-09-28 02:46:10 +08:00
|
|
|
UDF write support (DANGEROUS) Y</screen>
|
2003-06-30 11:38:06 +08:00
|
|
|
|
|
|
|
<para>If necessary, recompile the kernel with
|
|
|
|
<screen><userinput><command>make dep &&
|
|
|
|
make bzImage&&
|
|
|
|
make modules &&
|
|
|
|
make modules_install</command></userinput></screen>
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and
|
|
|
|
<filename>/usr/src/linux/System.map</filename> to
|
2003-09-25 04:01:14 +08:00
|
|
|
<filename class="directory">/boot</filename>. If you utilize
|
|
|
|
<application>LILO</application> edit <filename>/etc/lilo.conf</filename>
|
2003-06-30 11:38:06 +08:00
|
|
|
appropriately and run <command>lilo</command>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>If you build packet writer as a module, add the following to
|
|
|
|
<filename>/etc/modules.conf</filename>:
|
|
|
|
<screen><userinput>alias block-major-97 pktcdvd</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Finally, create the packet driver device nodes in <filename
|
|
|
|
class="directory">/dev</filename>, add one node for every CD-RW drive you
|
2003-09-28 02:46:10 +08:00
|
|
|
want to support:</para>
|
2003-06-30 11:38:06 +08:00
|
|
|
<screen><userinput><command>mknod /dev/pktcdvd0 b97 0
|
2003-09-28 02:46:10 +08:00
|
|
|
mknod /dev/pktcdvd1 b 97 1</command></userinput></screen>
|
2003-06-30 11:38:06 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|