Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 335 — #361
i
i
i
i
i
i
i
i
16
Linux on Mobile Devices
Note
Loading Kernel Modules by Hand
Kernel and external PCMCIA cannot be used at the same
time, but they exist in parallel in SUSE LINUX. Keep this in
mind when loading kernel modules by hand. The modules
names of both PCMCIA systems are the same, but they are
located in different subdirectories under /lib/modules/
<kernelversion>. The subdirectories are pcmcia/ for kernel
PCMCIA and pcmcia-external/ for external PCMCIA. The
subdirectory must be specified when loading modules manually:
modprobe -t <directory> <modulename>
Note
First, find out if the problem is with the card or with the PCMCIA base
system. For this reason, always start the computer first without the card
inserted. Only insert the card when the base system appears to function
correctly. Use tail -f /var/log/messages to monitor the system log
while searching for the cause of the PCMCIA failure. With this approach,
the problem is narrowed down to one of the two following cases.
Nonfunctional PCMCIA Base System
If the system hangs at boot time showing the message "PCMCIA: Starting
services" or other strange things happen, PCMCIA can be prevented from
being started at the next system boot by entering NOPCMCIA=yes at the
boot prompt. To further isolate the error, load the three base modules of the
PCMCIA system with the following commands by hand (as user root).
For external PCMCIA, execute modprobe -t <dir> pcmcia_core and
modprobe -t pcmcia-external i82365. For kernel PCMCIA, execute
modprobe -t pcmcia yenta_socket instead of the second command.
In very rare cases, you may need to execute modprobe -t <dir> tcic
and modprobe -t <dir> ds. The critical modules are the first two.
If the error occurs while pcmcia_core is loaded, refer to the manual pages
for pcmcia_core for further information. Use the options described there
for a first testing with modprobe. For example, switch off the APM support
for the PCMCIA module. In a few cases, there could be problems with this.
Use the setting do_apm=0 to deactivate power management:
modprobe -t <dir> pcmciacore do_apm=0
335SUSE LINUX Enterprise Server










