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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c8ccba78 was c8ccba78, checked in by Larry Lawrence <larry@…>, 20 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
RevLine 
[6a79eeb1]1<sect2>
2<title>Installation of the kernel patch</title>
3
[07660716]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
[6a79eeb1]11<para>Install the kernel patch by running the following commands from
12the kernel source directory:</para>
13
[c8ccba78]14<screen><userinput><command>patch -Np1 -i ../kernel-2.4.25-packet.patch</command></userinput></screen>
[6a79eeb1]15
16<para>In the kernel configuration, check your setting with those listed
[a75063d4]17here:</para>
[6a79eeb1]18
19<screen>Block devices
20 Packet writing on CD/DVD media: Y or M
21File Systems
22 UDF filesystems support (read only): Y
[a75063d4]23 UDF write support (DANGEROUS) Y</screen>
[6a79eeb1]24
[a4acd463]25<para>If necessary, recompile the kernel with</para>
[8604d92f]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>
[6a79eeb1]30<para>
31Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and
32<filename>/usr/src/linux/System.map</filename> to
[64a25d5]33<filename class="directory">/boot</filename>. If you utilize
34<application>LILO</application> edit <filename>/etc/lilo.conf</filename>
[6a79eeb1]35appropriately and run <command>lilo</command>.
36</para>
37
38<para>If you build packet writer as a module, add the following to
[a4acd463]39<filename>/etc/modules.conf</filename>:</para>
40<screen><userinput>alias block-major-97 pktcdvd</userinput></screen>
[6a79eeb1]41
42<para>Finally, create the packet driver device nodes in <filename
[8604d92f]43class="directory">/dev</filename>, add one node for every
44<acronym>CD</acronym>-<acronym>RW</acronym> drive you
[a75063d4]45want to support:</para>
[2ab68bb]46<screen><userinput><command>mknod /dev/pktcdvd0 b 97 0
[a75063d4]47mknod /dev/pktcdvd1 b 97 1</command></userinput></screen>
[6a79eeb1]48
49</sect2>
50
Note: See TracBrowser for help on using the repository browser.