
• A 2.0.*, 2.1.*, or 2.2.* series kernel source tree.
• An appropriate set of module utilities.
• (Optional) the ``XForms'' X11 user interface toolkit.
You need to have a complete linux source tree for your kernel, not just an up−to−date kernel image. The
driver modules contain some references to kernel source files. While you may want to build a new kernel to
remove unnecessary drivers, installing PCMCIA does not require you to do so.
Current ``stable'' kernel sources and patches are available from ftp://sunsite.unc.edu/pub/Linux/kernel/v2.0,
or from ftp://tsx−11.mit.edu/pub/linux/sources/system/v2.0. Development kernels can be found in the
corresponding v2.1 subdirectories. Current module utilities can be found in the same locations.
In the Linux kernel source tree, the Documentation/Changes file describes the versions of all sorts of
other system components that are required for that kernel release. You may want to check through this and
verify that your system is up to date, especially if you have updated your kernel. If you are using a
development kernel, be sure that you are using the right combination of shared libraries and module tools.
When configuring your kernel, if you plan on using a PCMCIA ethernet card, you should turn on networking
support but turn off the normal Linux network card drivers, including the ``pocket and portable adapters''.
The PCMCIA network card drivers are all implemented as loadable modules. Any drivers compiled into your
kernel will only waste space.
If you want to use SLIP, PPP, or PLIP, you do need to either configure your kernel with these enabled, or use
the loadable module versions of these drivers. There is an unfortunate deficiency in the kernel config process
in 1.2.X kernels, in that it is not possible to set configuration options (like SLIP compression) for a loadable
module, so it is probably better to just link SLIP into the kernel if you need it.
In order to use a PCMCIA token ring adapter, your kernel should be configured with ``Token Ring driver
support'' (CONFIG_TR) enabled, though you should leave CONFIG_IBMTR off.
If you want to use a PCMCIA IDE adapter, your kernel should be configured with
CONFIG_BLK_DEV_IDE_PCMCIA enabled, for 2.0.* through 2.1.7 kernels. Older kernels do not support
removeable IDE devices; newer kernels do not require a special configuration setting.
If you will be using a PCMCIA SCSI adapter, then enable CONFIG_SCSI when configuring your kernel.
Also, enable any top level drivers (SCSI disk, tape, cdrom, generic) that you expect to use. All low−level
drivers for particular host adapters should be disabled, as they will just take up space.
If you want to modularize a driver that is needed for a PCMCIA device, you must modify
/etc/pcmcia/config to specify what modules need to be loaded for what card types. For example, if
the serial driver is modularized, then the serial device definition should be:
device "serial_cs"
class "serial" module "misc/serial", "serial_cs"
This package includes an X−based card status utility called cardinfo. This utility is based on a freely
distributed user interface toolkit called the XForms Library. This library is available as a separate package
with most Linux distributions. If you would like to build cardinfo, you should install XForms and all the
Linux PCMCIA HOWTO
1.8 Why don't you distribute binaries? 7
Kommentare zu diesen Handbüchern