This file is indexed.

/usr/share/doc/HOWTO/ja-html/Module-HOWTO-2.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
 <TITLE>Linux Module-HOWTO: $B%b%8%e!<%k%f!<%F%#%j%F%#(B</TITLE>
 <LINK HREF="Module-HOWTO-3.html" REL=next>
 <LINK HREF="Module-HOWTO-1.html" REL=previous>
 <LINK HREF="Module-HOWTO.html#toc2" REL=contents>
</HEAD>
<BODY>
<A HREF="Module-HOWTO-3.html">$B<!$N%Z!<%8(B</A>
<A HREF="Module-HOWTO-1.html">$BA0$N%Z!<%8(B</A>
<A HREF="Module-HOWTO.html#toc2">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s2">2.</A> <A HREF="Module-HOWTO.html#toc2">$B%b%8%e!<%k%f!<%F%#%j%F%#(B</A></H2>

<P>     $B%b%8%e!<%k%f!<%F%#%j%F%#$O!"%b%8%e!<%k$r;HMQ$9$k$?$a$KI,MW$J0lO"(B
$B$N%W%m%0%i%`$G$9!#$3$NJ8=q$r=q$$$F$$$k;~E@$G$N:G?7HG%b%8%e!<%k%f!<(B
$B%F%#%j%F%#$O(B <CODE>modules-2.0.0.tar.gz</CODE> $B$G$9!#:G?7HG$N>pJs$O(B 
<CODE>http://www.pi.se/blox</CODE> $B$K$"$j$^$9!#(B</P>
<P>$B$3$N>pJs$O!"(B<CODE>/usr/src/linux/Documentation/modules.txt</CODE> $BFb(B
$B$N!"(BJacques Gelinas $B;a(B (<CODE>jacques@solucorp.qc.ca</CODE>) $B$H(B 
Bj&ouml;rn Ekwall $B;a(B (<CODE>bj0rn@blox.se</CODE>) $B$N5-=R$r$b$H$K:n@.$5$l(B
$B$^$7$?!#(B</P>

<H2><A NAME="ss2.1">2.1</A> <A HREF="Module-HOWTO.html#toc2.1">$B%b%8%e!<%k$N:n@.(B</A>
</H2>

<P><CODE>linux/README</CODE> $B$K=q$$$F$"$k$h$&$K!"$^$:%+!<%M%k$r%3%s%Q%$(B
$B%k$7$J$1$l$P$J$j$^$;$s!#$U$D$&<!$N$h$&$K$7$^$9!#(B
<UL>
<LI>    make config</LI>
<LI>    make dep</LI>
<LI>    make clean</LI>
<LI>    make zImage $B$b$7$/$O(B make zlilo</LI>
</UL>
</P>
<P><CODE>make config</CODE> $BCf$G!"%+!<%M%k$K(B<EM>$BFbB"(B</EM>$B$5$;$k5!G=$H%m!<%@%V%k%b%8%e!<(B
$B%k$K$9$k5!G=$rA*Br$7$^$9!#%V!<%H$9$k$?$a$KI,MW$J!":G>.8B$N%+!<%M%k$KFbB"(B
$B$9$Y$-5!G=$O<!$N$b$N$G$9!#(B</P>
<P>
<UL>
<LI>  $B%k!<%H%Q!<%F%#%7%g%s$N%U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E>
make modules
</CODE></BLOCKQUOTE>
</P>
<P>$B$3$l$r<B9T$9$k$H!"$9$Y$F$N%b%8%e!<%k$r%3%s%Q%$%k$7!"%G%#%l%/%H%j(B 
<CODE>linux/modules</CODE> $B$r99?7$7$^$9!#$3$N%G%#%l%/%H%j$K$O!"%+!<%M%k%D%j!<(B
$BFb$NMM!9$J%*%V%8%'%/%H%U%!%$%k$X$N%7%s%\%j%C%/%j%s%/$,B8:_$7$^$9!#(B</P>

<P>$B$9$Y$F$N%b%8%e!<%k$r@8@.$7$?$i!"<!$N$h$&$K$7$J$1$l$P$J$j$^$;$s!#(B
<BLOCKQUOTE><CODE>
make modules_install
</CODE></BLOCKQUOTE>
</P>

<P>$B$3$NA`:n$O!"?7$7$/:n@.$5$l$?%b%8%e!<%k$r!"(B
<CODE>/lib/modules/kernel_release</CODE> $BFb$N%5%V%G%#%l%/%H%j$K%3%T!<$7$^$9!#(B
$B$3$3$G(B <CODE>kernel_release</CODE> $B$H$$$&$N$O(B 2.0.1 $B$N$h$&$J8=:_$N%+!<%M%k%P!<%8%g(B
$B%s$G$9!#(B</P>

<P>$B?7$7$$%+!<%M%k$G%j%V!<%H$7$?$i!"(B<CODE>insmod</CODE> $B$H(B <CODE>rmmod</CODE> $B$H$$$&%f!<(B
$B%F%#%j%F%#$r;H$C$F!"$9$0$K%b%8%e!<%k$r%$%s%9%H!<%k(B($BAH$_9~$_(B)$B$7$?$j%j%`!<(B
$B%V(B($B<h$j30$7(B)$B$7$?$j$G$-$^$9!#(B<CODE>insmod</CODE> $B$N%^%K%e%"%k$rFI$a$P!"(B
<CODE>insmod</CODE> $B$9$k;~$K%b%8%e!<%k$r@_Dj$9$k$N$,$I$s$J$K4JC1$+$o$+$k$G$7$g$&(B
($B%R%s%H!'(Bsymbol=value)$B!#(B</P>

<H2><A NAME="ss2.2">2.2</A> <A HREF="Module-HOWTO.html#toc2.2">$B3HD%%f!<%F%#%j%F%#(B <CODE>modprobe</CODE> $B$H(B <CODE>depmod</CODE> </A>
</H2>

<P><CODE>modprobe</CODE> $B$H(B <CODE>depmod</CODE> $B$H$$$&(B 2 $B$D$N%f!<%F%#%j%F%#$b;H$&$3$H$,$G$-(B
$B$^$9!#(B<CODE>modprobe</CODE> $B$O(B <CODE>insmod</CODE> $B$N(B<EM>$B%i%C%Q!<(B</EM>($B$b$7$/$O3HD%(B)$B$G$9!#$3(B
$B$l$i$N%f!<%F%#%j%F%#$O!"8=:_$N%+!<%M%k$,MxMQ$G$-$k%b%8%e!<%k$9$Y$F(B
(<CODE>/lib/modules</CODE> $B0J2<(B)$B$H!"$=$l$i$NAj8_0MB84X78$r5-=R$7$?%U%!%$%k72(B
$B$r;HMQ(B($B$b$7$/$O4IM}(B)$B$7$^$9!#(B</P>

<P>modprobe $B%f!<%F%#%j%F%#$r;H$($P!"<!$N$h$&$K$7$F%b%8%e!<%k$r%m!<%I$G$-(B
$B$^$9!#(B
<BLOCKQUOTE><CODE>
/sbin/modprobe module
</CODE></BLOCKQUOTE>
</P>
<P>$B$3$NJ}K!$r$D$+$&$H!"F0:n$7$F$$$k%+!<%M%k$,2?$G$"$k$+5$$K$7$J$/$F$b$h(B
$B$/!"$^$?!"$=$N%b%8%e!<%k$,0MB8$7$F$$$kB>$N%b%8%e!<%k$,2?$J$N$+$b5$$K$7$J(B
$B$/$F$b$h$/$J$j$^$9!#(B</P>

<P>modprobe $B$N@_Dj%U%!%$%k$G$"$k(B <CODE>/etc/conf.modules</CODE> $B$r;H$($P!"(B
modprobe $B$NF0:n$r?'!9$HD4@0$9$k$3$H$,$G$-$^$9!#3F%b%8%e!<%kMQ$N(B insmod 
$B%*%W%7%g%s$N<+F0@_Dj$r$9$k$3$H$b$G$-$^$9!#$s!A!"$=$NJ}K!$O(B <EM>$B%^%K%e%"(B
$B%k(B</EM> $B$K$9$Y$F=q$$$F$"$j$^$9!D!#(B</P>
<P>modprobe $B$r$&$^$/;H$&$K$O!"(B<CODE>/etc/rc.d.rc.S</CODE> $B%9%/%j%W%H$K<!$N$h$&(B
$B$J%3%^%s%I$r=q$$$F$*$/$N$,IaDL$G$9(B[$BLuCm!'(BSlackware $B$N>l9g!#(BSysvinit $B$r;H$C(B
$B$F$$$k%Q%C%1!<%8(B(RedHat$B!"(BDebian $BEy(B)$B$G$O!"(B/sbin/init.d/modules $BEy$r:n$j!"(B
/sbin/rc.d/rc?.d/S???modules -> /sbin/init.d/pcmcia $B$J$I$H$7$^$9!#>\$7$/(B
$B$O(B sysvinit $B$N%^%K%e%"%k$r;2>H(B]$B!#(B($B%b%8%e!<%k%f!<%F%#%j%F%#(B 
<CODE>modules-x.y.z.tar.gz</CODE> $B$N(B <CODE>rc.hints</CODE> $B%U%!%$%k$K$5$i$J$k>pJs$,=q$$(B
$B$F$"$j$^$9!#(B)
<BLOCKQUOTE><CODE>
/sbin/depmod -a
</CODE></BLOCKQUOTE>
</P>
<P>$B>e5-$N%3%^%s%I$O!"%b%8%e!<%k4V$N0MB84X78$rD4$Y$^$9!#<jF0$G9T$&$K$O!"(B
$B2<$NNc$r;29M$K$7$F$/$@$5$$!#(B
<BLOCKQUOTE><CODE>
/sbin/modprobe umsdos
</CODE></BLOCKQUOTE>

<CODE>umsdos</CODE> $B%b%8%e!<%k$O(B <CODE>msdos</CODE> $B%b%8%e!<%k>e$GF0$/$?$a!"$3$NNc$G$O!"(B
<CODE>msdos</CODE> $B%b%8%e!<%k$H(B <CODE>umsdos</CODE> $B%b%8%e!<%k$,(B<EM>$BN>J}$H$b(B</EM>$B<+F0E*$K%m!<(B
$B%I$5$l$^$9!#(B</P>


<H2><A NAME="ss2.3">2.3</A> <A HREF="Module-HOWTO.html#toc2.3">$B5f6K$N%f!<%F%#%j%F%#(B</A>
</H2>

<P>$B$5$F!"$3$3$^$GFI$s$G$-$F!"$b$&==J,$K46F0$7$?$3$H$G$7$g$&!D!#$=$l$G$O$3$3(B
$B$G!"%m!<%@%V%k%b%8%e!<%k$N%$%s%9%H!<%k$H%j%`!<%V$r$9$C$+$jK:$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N%+!<%M(B
$B%k$O!"B?>/$H$b%O!<%I%&%'%"@_Dj$K0MB8$9$k$3$H$,8:$j$^$9!#(B<EM>$B2>A[E*$J(B</EM>$B%+!<(B
$B%M%k$N>uBV$O!"%^%7%s$*$h$S%+!<%M%k$N8=:_$N;HMQ>uBV$H!"@_Dj%U%!%$%k$K$h$C(B
$B$F@)8f$5$l$^$9!#(B</P>

<P>$B$3$l$O!"%G%#%9%H%j%S%e!<%7%g%s$N4IM}<T$d!"J#?t$N%^%7%s$N4IM}<T$K$ONI(B
$B$$%K%e!<%9$G$9!#(B</P>

<P>$B$"$^$j(B<EM>$B9|$r@^$i$:(B</EM>$B$K(B kerneld $B$r;H$&$K$O!"%+!<%M%k$KBP1~$7$?:G?7$@(B
$B$H9M$($i$l$k(B modprobe $B$d!"(Bmodprobe $B$N@_Dj%U%!%$%k(B 
(<CODE>/etc/conf.modules</CODE>) $B$,I,MW$G$9!#(B</P>
<P>modprobe $B$O$[$H$s$I$N%b%8%e!<%k$K$D$$$F4{$K$o$+$C$F$$$k$N$G!":G>.@_Dj(B
$B$N%U%!%$%k$O<!$N$h$&$K$J$k$G$7$g$&!#(B
<BLOCKQUOTE><CODE>
<PRE>
        alias scsi_hostadapter aha1542  # $B$b$7$/$O<+J,$N(B SCSI $B%"%@%W%?(B
        alias eth0 3c509                # $B$b$7$/$O<+J,$N%M%C%H%o!<%/%"%@%W%?(B


        # "options" $B9T$,I,MW$J%"%@%W%?$b$"$k$+$b$7$l$^$;$s!'(B
        options 3c509 io=0x300 irq=10

        # "options" $B9T$,I,MW$J%b%8%e!<%k$,$"$k$+$b$7$l$^$;$s!'(B
        options cdu31a cdu31a_port=0x1f88 sony_pas_init=1
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B2<$N$h$&$J9T$r2C$($F$b$h$$$G$9$,!"$?$@$N(B<EM>$B$*$^$8$J$$(B</EM>$B$G$9!'(B[$BLuCm!'(B
$B$3$l$r$7$F$*$+$J$$$H!"5/F0;~$K(B modprobe $B$,!V(BCan't locate module net-pf-4$B!W(B
$BEy$HJ86g$r$$$$$^$9!#5U$K!"J86g$r8@$o$l$?$i$3$N$h$&$K$7$F$_$^$7$g$&!#(B]
<BLOCKQUOTE><CODE>
<PRE>
        alias net-pf-3 off      # a25 $B%b%8%e!<%k$O$^$@L$%5%]!<%H(B
        alias net-pf-4 off      # ipx $B%b%8%e!<%k$r;H$o$J$$$N$J$i(B
        alias net-pf-5 off      # appletalk module $B$r;H$o$J$$$N$J$i(B
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B:G8e$K!"=c@5<g5A<T$X!#(Bmodprobe $B$N@_Dj%U%!%$%k$O!"(B
<CODE>/etc/conf.modules</CODE> $B$G$b(B <CODE>/etc/modules.conf</CODE> $B$G$b$h$$$G$9!#(B
modprobe $B$O$I$A$i$N>l9g$G$b2?$r$d$k$Y$-$+$o$+$C$F$$$^$9$+$i!D!#(B</P>

<HR>
<A HREF="Module-HOWTO-3.html">$B<!$N%Z!<%8(B</A>
<A HREF="Module-HOWTO-1.html">$BA0$N%Z!<%8(B</A>
<A HREF="Module-HOWTO.html#toc2">$BL\<!$X(B</A>
</BODY>
</HTML>