source: multimedia/cdwriteutils/udftools/udftools-kernel-inst.xml@ c8ccba7

10.0 10.1 11.0 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb v5_1 v5_1-pre1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since c8ccba7 was c8ccba7, checked in by Larry Lawrence <larry@…>, 18 years ago

update udftools patch to linux-2.4.25

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1858 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.9 KB
Line 
1<sect2>
2<title>Installation of the kernel patch</title>
3
4<warning>
5<para>Note that this patch can permenantly damage your CD drive if it is
6from one of the few mentioned at
7<ulink url="http://slashdot.org/article.pl?sid=03/10/25/1737244"/>. Do
8not apply the patch without first checking out the article.</para>
9</warning>
10
11<para>Install the kernel patch by running the following commands from
12the kernel source directory:</para>
13
14<screen><userinput><command>patch -Np1 -i ../kernel-2.4.25-packet.patch</command></userinput></screen>
15
16<para>In the kernel configuration, check your setting with those listed
17here:</para>
18
19<screen>Block devices
20 Packet writing on CD/DVD media: Y or M
21File Systems
22 UDF filesystems support (read only): Y
23 UDF write support (DANGEROUS) Y</screen>
24
25<para>If necessary, recompile the kernel with</para>
26<screen><userinput><command>make CC=/opt/gcc-2.95.3/bin/gcc dep &amp;&amp;
27make CC=/opt/gcc-2.95.3/bin/gcc bzImage &amp;&amp;
28make CC=/opt/gcc-2.95.3/bin/gcc modules &amp;&amp;
29make CC=/opt/gcc-2.95.3/bin/gcc modules_install</command></userinput></screen>
30<para>
31Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and
32<filename>/usr/src/linux/System.map</filename> to
33<filename class="directory">/boot</filename>. If you utilize
34<application>LILO</application> edit <filename>/etc/lilo.conf</filename>
35appropriately and run <command>lilo</command>.
36</para>
37
38<para>If you build packet writer as a module, add the following to
39<filename>/etc/modules.conf</filename>:</para>
40<screen><userinput>alias block-major-97 pktcdvd</userinput></screen>
41
42<para>Finally, create the packet driver device nodes in <filename
43class="directory">/dev</filename>, add one node for every
44<acronym>CD</acronym>-<acronym>RW</acronym> drive you
45want to support:</para>
46<screen><userinput><command>mknod /dev/pktcdvd0 b 97 0
47mknod /dev/pktcdvd1 b 97 1</command></userinput></screen>
48
49</sect2>
50
Note: See TracBrowser for help on using the repository browser.