/usr/share/doc/HOWTO/ja-html/PCMCIA-HOWTO-7.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 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
<TITLE>Linux PCMCIA HOWTO: $B%G%P%C%0$N%R%s%H$H%W%m%0%i%`>pJs(B</TITLE>
<LINK HREF="PCMCIA-HOWTO-8.html" REL=next>
<LINK HREF="PCMCIA-HOWTO-6.html" REL=previous>
<LINK HREF="PCMCIA-HOWTO.html#toc7" REL=contents>
</HEAD>
<BODY>
<A HREF="PCMCIA-HOWTO-8.html">$B<!$N%Z!<%8(B</A>
<A HREF="PCMCIA-HOWTO-6.html">$BA0$N%Z!<%8(B</A>
<A HREF="PCMCIA-HOWTO.html#toc7">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s7">7.</A> <A HREF="PCMCIA-HOWTO.html#toc7">$B%G%P%C%0$N%R%s%H$H%W%m%0%i%`>pJs(B</A></H2>
<H2><A NAME="ss7.1">7.1</A> <A HREF="PCMCIA-HOWTO.html#toc7.1">$BM-1W$J%P%0%l%]!<%H$NAw$jJ}(B</A>
</H2>
<P>$B:G$b9%$^$7$$%P%0%l%]!<%H$NAw$jJ}$O!"(BLinux PCMCIA $B>pJs%5%$%H$K$"$k(B
HyperNews $B$N%a%C%;!<%8%j%9%H$r;H$&$3$H$G$9!#$3$NJ}K!$J$i!"8=>u$NLdBj(B
($B$=$7$F!"$b$7$"$l$P=$@5J}K!$d2sHrJ}K!(B)$B$,B>$N?M$K$b8+$($k$+$i$G$9!#(B
$B%P%0%l%]!<%H$KI,?\$N9`L\$r0J2<$K<($7$^$9(B:</P>
<P>
<UL>
<LI>$B$*;H$$$N%^%7%s$NIJL>$H%b%G%k(B</LI>
<LI>$B$*;H$$$N(B PCMCIA $B%+!<%I(B</LI>
<LI>Linux $B$N%+!<%M%k$N%P!<%8%g%s(B(``<CODE>uname -rv</CODE>'' $B$N<B9T7k2L(B)$B$H(B
PCMCIA $B$N%I%i%$%P$N%P!<%8%g%s(B(``<CODE>cardctl -V</CODE>'' $B$N<B9T7k2L(B)</LI>
<LI><CODE>/etc/pcmcia</CODE> $B$K$"$k5/F0%U%!%$%k$d(B PCMCIA $B5/F0%9%/%j%W%H(B
$B$K2C$($FJQ99A4$F(B</LI>
<LI>$B%7%9%F%`$N%m%0%U%!%$%k$K5-O?$5$l$?(B PCMCIA $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&$J(B
$B%U%)!<%k%H$r5/$3$7$?$H$7$^$9(B:</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
Unable to handle kernel NULL pointer dereference
current->tss.cr3 = 014c9000, %cr3 = 014c9000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c2026081>]
EFLAGS: 00010282
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B%U%)!<%k%H$,5/$-$?%"%I%l%9$O(B 0xc2026081 $B$G$9!#(B<CODE>System.map</CODE> $B$r8+$k$H!"(B
$B$3$N%"%I%l%9$O%+!<%M%k$N:G8e$N%"%I%l%9$r1[$($F$$$k$,J,$+$k$G$7$g$&!#$D(B
$B$^$j!"%U%)!<%k%H$O%+!<%M%k%b%8%e!<%k$G5/$-$F$$$k$N$G$9!#$I$N%b%8%e!<%k(B
$B$G%U%)!<%k%H$,5/$-$?$N$+$rD4$Y$k$?$a$K!"(B``<CODE>ksyms -m | sort</CODE>'' $B$N(B
$B=PNO$rD4$Y$^$7$g$&(B:</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
Address Symbol Defined by
c200d000 (35k) [pcmcia_core]
c200d10c register_ss_entry [pcmcia_core]
c200d230 unregister_ss_entry [pcmcia_core]
...
c2026000 (9k) [3c574_cs]
c202a000 (4k) [serial_cs]
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$7$?$,$C$F(B 0xc2026081 $B$O(B <CODE>3c574_cs</CODE> $B%b%8%e!<%k$NFbIt$G!"%b%8%e!<%k(B
$B$N@hF,$+$i$N%*%U%;%C%H$,(B 0x0081 $B$G$9!#(B<CODE>3c574_cs.o</CODE> $BFbIt$N$3$N%*%U%;%C%H(B
$B0LCV$r;2>H$9$kJ}K!$O:#$N$H$3$m$"$j$^$;$s!#%+!<%M%k$,%b%8%e!<%k$r%m!<%I(B
$B$7$?;~!"%+!<%M%k$O%b%8%e!<%k$r%m!<%I$7$?%"%I%l%9$N@hF,$K%X%C%@$rF~$l$k(B
$B$N$G!"<B:]$K%b%8%e!<%k$,;O$^$k0LCV$O(B <CODE>ksyms</CODE> $B$,<($9%"%I%l%9$+$i(B
$B%*%U%;%C%H$r<h$C$?0LCV$H$J$j$^$9!#%X%C%@$NBg$-$5$O%+!<%M%k$N%P!<%8%g%s(B
$B$4$H$K0[$J$j$^$9!#$*;H$$$N%+!<%M%k$G$N%X%C%@$NBg$-$5$rD4$Y$k$K$O!"(B
$B%7%s%\%k$r%(%/%9%]!<%H$7$F$$$k%b%8%e!<%k(B($BA0=R$N(B <CODE>pcmcia_core</CODE> $BEy(B)$B$r(B
$BD4$Y!"%7%s%\%k$$$:$l$+$N%"%I%l%9$r$=$N%7%s%\%k$KBP$9$k(B <CODE>nm</CODE> $B%3%^%s%I(B
$B$N=PNO$HHf3S$7$^$9!#$3$NNc$G$O!"(B<CODE>register_ss_entry</CODE> $B$O(B
0xc200d10c - 0xc200d000 = 0x010c $B$H$$$&%*%U%;%C%H0LCV$K%m!<%I$5$l$F$$(B
$B$^$9!#$3$3$G(B ``<CODE>nm pcmcia_core.o</CODE>'' $B$O(B 0x00c0 $B$H$$$&%*%U%;%C%H$r<((B
$B$7$F$$$^$9$+$i!"%X%C%@$NBg$-$5$O(B 0x010c - 0x00c0 = 0x004c $B$H$$$&$3$H$K(B
$B$J$j$^$9!#(B</P>
<P><CODE>3c574_cs</CODE> $B$NOC$KLa$k$H!"%U%)!<%k%H$,5/$-$?%*%U%;%C%H0LCV$O(B 0x0081
$B$J$N$G!"$3$l$+$i%X%C%@$NBg$-$5$G$"$k(B 0x004c $B$r0z$/$H!"%b%8%e!<%k$N<B:](B
$B$N0LCV$O(B 0x0035 $B$H$J$j$^$9!#$3$3$G(B ``<CODE>nm 3c574_cs.o | sort</CODE>'' $B$r(B
$B<B9T$9$k$H0J2<$N$h$&$J=PNO$H$J$j$^$9(B:</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
0000002c d if_names
0000002c t tc574_attach
00000040 d mii_preamble_required
00000041 d dev_info
</PRE>
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K;}$D(B <CODE>pc_debug</CODE> $B$H$$$&JQ?t$,@_Dj$5$l!"$3$NJQ?t$G%G%P%C%0(B
$B=PNO$N>\$7$5$r@)8f$G$-$^$9!#$3$NJQ?t$O%b%8%e!<%k$,%m!<%I$5$l$k:]$K@_Dj(B
$B$G$-$k$N$G!":F%3%s%Q%$%k$r9T$o$J$/$F$b%b%8%e!<%kJL$K%G%P%C%0=PNO$r@)8f(B
$B$9$k$3$H$,$G$-$^$9!#(B</P>
<P><CODE>syslogd</CODE> $B$N%G%U%)%k%H$N@_Dj$O!"%+!<%M%k$N%G%P%C%0%a%C%;!<%8$rL5;k(B
$B$9$k$h$&$K$J$C$F$$$k$+$b$7$l$^$;$s!#$3$l$r3N<B$K5-O?$9$k$?$a$K$O!"(B
<CODE>/etc/syslog.conf</CODE> $B$rJT=8$7$F!"(B``<CODE>kern.debug</CODE>'' $B%/%i%9$N(B
$B%a%C%;!<%8$,$I$3$+$K5-O?$5$l$k$h$&$K$7$^$9!#>\$7$/$O(B
``<CODE>man syslog.conf</CODE>'' $B$r$4Mw$/$@$5$$!#(B</P>
<P>PCMCIA $B%Q%C%1!<%8$N(B <CODE>debug_tools/</CODE> $B%G%#%l%/%H%j$K$O!"%G%P%C%0MQ(B
$B$N%D!<%k$,$$$/$D$+F~$C$F$$$^$9!#(B<CODE>dump_tcic</CODE> $B$H(B
<CODE>dump_i365</CODE> $B%3%^%s%I$O(B PCMCIA $B%3%s%H%m!<%i$N%l%8%9%?$rA4$F(B
$B%@%s%W$7!"B?$/$N%l%8%9%?>pJs$r%G%3!<%I$7$^$9!#$3$l$i$N%3%s%H%m!<%i(B
$B%A%C%W$N%G!<%?%7!<%H$r;2>H$G$-$k$J$i!"$3$N>pJs$OHs>o$KM-8z$G$7$g$&!#(B
<CODE>dump_cis</CODE>($B%P!<%8%g%s(B 3.0.2 $B0JA0$O(B <CODE>dump_tuples</CODE>)$B%3%^%s%I(B
$B$O!"%+!<%I$N(B CIS(Card Information Structure)$B$r=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$j$^$9$,!"0J2<$N(B
$B>pJs$NA4$F$"$k$$$O0lIt$r4^$s$G$$$k$H;W$$$^$9(B:</P>
<P>
<DL>
<DT><B><CODE>/proc/bus/pccard/{irq,ioport,memory}</CODE></B><DD><P>$B$3$l$i$N%U%!%$%k$,$"$k>l9g$K$O!"%+!<%M%k$NDL>o$N%j%=!<%9%F!<%V%k$rJd$&(B
$B$?$a$N%j%=!<%9$N3d$jEv$F>pJs$,=q$+$l$F$$$^$9!#:G6a$N%P!<%8%g%s$N(B
PCMCIA $B%7%9%F%`$O!"(B($B@_Dj$,$7$F$"$l$P(B)$BDI2C$N%j%=!<%9>pJs$r%W%i%0(B&$B%W(B
$B%l%$(B BIOS $B$+$i$G$-$^$9!#(B</P>
<DT><B><CODE>/proc/bus/pccard/drivers</CODE></B><DD><P>$B:G6a$N%j%j!<%9$G$O!"$3$N%U%!%$%k$K$O8=:_%m!<%I$5$l$F$$$k(B PCMCIA $B%/%i%$(B
$B%"%s%H%I%i%$%P$,Ns5s$5$l$F$$$^$9!#(B<CODE>/proc/modules</CODE> $B$H0[$J$j!"$3(B
$B$N%U%!%$%k$O%+!<%M%kFb$K@EE*$K%j%s%/$5$l$F$$$k$+$b$7$l$J$$%I%i%$%P$bNs(B
$B5s$7$^$9!#(B</P>
<DT><B><CODE>/proc/bus/pccard/*/info</CODE></B><DD><P>$B$=$l$>$l$N%=%1%C%H$K$D$$$F!"%=%1%C%H$N%[%9%H%3%s%H%m!<%i$H$=$N5!G=$r<((B
$B$7$^$9!#(B</P>
<DT><B><CODE>/proc/bus/pccard/*/exca</CODE></B><DD><P>$B$3$N%U%!%$%k$K$O!"%3%s%H%m!<%i$N(B ``ExCA'' Intel i82365sl $B8_49%l%8%9%?(B
$B%;%C%H$N%@%s%W$,4^$^$l$F$$$^$9!#(B</P>
<DT><B><CODE>/proc/bus/pccard/*/{pci,cardbus}</CODE></B><DD><P>CardBus $B%V%j%C%8$K$D$$$F$N!"%V%j%C%8$N(B PCI $B@_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ile</CODE> $B$+$i(B
$B%?!<%2%C%H(B <CODE>all</CODE> $B$H(B <CODE>install</CODE> $B$K$D$$$F<+F0E*$K8F$S=P$5$l$^$9!#(B
$B$3$N$h$&$J(B makefile $B$N:n$jJ}$NNc$r0J2<$K<($7$^$9(B:</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# Sample Makefile for contributed client driver
FILES = sample_cs.mk README.sample_cs \
modules/sample_cs.c modules/sample_cs.h \
etc/sample etc/sample.opts man/sample_cs.4
all:
$(MAKE) -C modules MODULES=sample_cs.o
install:
$(MAKE) -C modules install-modules MODULES=sample_cs.o
$(MAKE) -C etc install-clients CLIENTS=sample
$(MAKE) -C man install-man4 MAN4=sample_cs.4
dist:
tar czvf sample_cs.tar.gz $(FILES)
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$3$N(B makefile $B$G$O!"%P!<%8%g%s(B 2.9.10 $B0J9_$N(B PCMCIA $B%Q%C%1!<%8$GDj5A$5(B
$B$l$F$$$k%$%s%9%H!<%k%?!<%2%C%H$r;H$C$F$$$^$9!#$3$N(B makefile $B$K$O!"(B
$B%I%i%$%P:n<T$NMxJX$N$?$a$N(B ``dist'' $B%?!<%2%C%H$bF~$C$F$$$^$9!#:G=*E*$J(B
$B%Q%C%1!<%8$N%U%!%$%kL>$K$O%P!<%8%g%sHV9f$bF~$l$k$H$h$$$G$7$g$&(B(
<CODE>sample_cs-1.5.tar.gz</CODE> $BEy(B)$B!#40@.IJ$NG[I[%U%!%$%k$NFbMF$O0J2<$N$h$&(B
$B$K$J$j$^$9(B:</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
sample_cs.mk
README.sample_cs
modules/sample_cs.c
modules/sample_cs.h
etc/sample
etc/sample.opts
man/sample_cs.4
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$3$N%U%!%$%kG[CV$G$"$l$P!"4sIU$5$l$?%I%i%$%P$N%Q%C%1!<%8$rE83+$7$?;~$K!"(B
$B<B<AE*$K(B PCM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