pcmcia - what is first place to look for bug?
proski at gnu.org
Fri Mar 12 19:06:17 GMT 2004
On Fri, 12 Mar 2004, Jerry Walden wrote:
> I have a certain level of experience with Linux kernel hacking and with
> drivers etc... Not much with PCMCIA. So - I just went ahead and built
> the kernel with PCMCIA support and cross-compiled the utilities. Problem
> is - I'm trying to figure out where to start debugging. I have
> configured many other boards for PCMCIA support from the standpoint of
> modifying scripts etc. Problem is - I know what I have does not work - I
> just cannot tell where the first sign of a problem is.
dmesg and /var/log/messages are your best friends. Try doing everything
by hand (modprobe ds; modprobe yenta_socket; cardmgr) - what you attached
looks like an output from a script.
> Below is the output while my kernel is loading, and also the output from
> running cardmgr. We have a TI-PCI1520 cardbus controller with an
> alchemy 1500. I built the kernel with i82092 support.
You need Yenta support, not i82092.
> I have PCCARD (a CompactFlash adapter) in slot 0. It is obviously not
> being recognized. I cannot tell if my problem starts with the cardbus
> driver in the kernel (yenta_socket right?) or if it is a simpler config
> problem. What should I be seeing? Where should I start debugging?
See kernel messages. To make cardmgr run, edit /etc/pcmcia/config.opts
and set memory and address range appropriate for your platform. See
/proc/iomem and /proc/ioports for ideas. Try unused areas near used
More information about the linux-pcmcia