Well, I'm finally making progress on a PCMCIA LRP package. I am
doing everything the hard way, not using any pre-compiled stuff,
so that I can actually learn how it all works..if I'm going to be
the official LEAF PCMCIA support maintainer, I'll need to understand
it well. ;)
I've compiled everything on a slink box [did I announce that slink r5
ISOs are available at http://www.c0wz.com/iso/ ?]. I've copied over
all the files; originally, I tried just copying what I thought was
required, but in my attempts to make it work...
Now, here's what I do: I insmod the pcmcia_core, i82365, and ds
modules; then I load cardmgr [first I tried by hand, then I tried
using the script that comes with it]. The cardmgr detects my two
cards, a WaveLan and a NE2000, as follows [taken from /var/log/messages]:
Feb 27 09:02:54 myrouter cardmgr[7631]: socket 0: Anonymous Memory
Feb 27 09:02:54 myrouter cardmgr[7631]: executing: 'insmod /lib/modules/p\
cmcia/memory_cs.o'
Feb 27 09:02:54 myrouter kernel: memory_cs: mem0: anonymous: unknown size
Feb 27 09:02:54 myrouter cardmgr[7631]: executing: './memory start mem0'
Feb 27 09:02:55 myrouter cardmgr[7631]: initializing socket 1
Feb 27 09:02:55 myrouter cardmgr[7631]: socket 1: Anonymous Memory
Feb 27 09:02:55 myrouter cardmgr[7631]: executing: './memory start mem1'
Feb 27 09:02:55 myrouter kernel: memory_cs: mem1: anonymous: unknown size
I think it detects them this way because of this:
myrouter# dump_cis
Socket 0:
no CIS present
Socket 1:
no CIS present
I got the idea to look at that from section 4.7 of the PCMCIA howto,
which says this:
Normally, cardmgr will assume that any
card that lacks a CIS is a simple memory card, and load the memory_cs
driver. Thus, a common side effect of a general card identification
problem is that other types of cards may be misdetected as memory
cards.
...and indeed, cardmgr loads memory_cs which (of course)
accomplishes nothing.
I've tried increasing the cis_speed argument to pcmcia_core to 600
and 1200, which is suggested by section 2.3 of the PCMCIA Howto:
The pcmcia_core module has the cis_speed parameter for changing the
memory speed used for accessing a card's Card Information Structure
(CIS). On some systems with fast bus clocks, increasing this
parameter (i.e., slowing down card accesses) may be beneficial for
card recognition problems.
What else can I try? The motherboard I'm using is similar to
http://www.c0wz.com/vns486a7.pdf
but is a "VNS586", for which I was unable to find documentation. The
PCMCIA controller is detected as follows (from /var/log/messages):
Feb 27 09:01:10 myrouter kernel: Intel PCIC probe:
Feb 27 09:01:10 myrouter kernel: Cirrus PD672x rev 00 ISA-to-PCMCIA\
at port 0x3e0 ofs 0x00
Feb 27 09:01:10 myrouter kernel: host opts [0]: [ring] [65/6/3] [1/15/3]
Feb 27 09:01:10 myrouter kernel: host opts [1]: [ring] [65/6/3] [1/15/3]
Feb 27 09:01:10 myrouter kernel: ISA irqs (default) = 3,4,5,7,10,\
11,12,14 polling interval = 1000 ms
Suggestions, anybody? Any other info I can provide? If you're really
bored, I could set it up so we could work together where we both
login to the same shell (through the magic of 'screen -x'), so I can
see how you fix it (or you can see what I do to get where I am).
--
rick -- A mind is like a parachute... it only works when it's open.
ICQ# 1590117 [EMAIL PROTECTED] (home)
Help with LRP: http://lrp.c0wz.com Home page: http://www.c0wz.com
_______________________________________________
Leaf-hardware mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-hardware