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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_1 v5_1-pre1 xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 94769ab was 94769ab, checked in by Tushar Teredesai <tushar@…>, 21 years ago

udftools fix

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1866 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 ../linux-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.