Problem with yenta_socket (unable to map card memory) - WORKING
Jeff Morrow
jmorrow at jmorrow.org
Mon Jul 12 02:05:37 EDT 2004
> There are additional messages from cardmgr wherever you saw the
> "watching 1 socket" message, probably /var/log/messages.
That's all that got displayed in /var/log/messages. But thanks for
making me look more closely. /var/log/syslog was far more helpful:
Jul 10 20:44:15 lanparty kernel: Linux Kernel Card Services
Jul 10 20:44:15 lanparty kernel: options: [pci] [cardbus] [pm]
Jul 10 20:44:15 lanparty kernel: Yenta: CardBus bridge found at
0000:01:0a.0 [0000:0000]
Jul 10 20:44:15 lanparty kernel: Yenta: ISA IRQ mask 0x0000, PCI irq 10
Jul 10 20:44:15 lanparty kernel: Socket status: 30000086
Jul 10 20:44:15 lanparty cardmgr[6361]: watching 1 socket
Jul 10 20:44:15 lanparty kernel: cs: IO port probe 0x0100-0x04ff:
excluding 0x290-0x297 0x4d0-0x4d7
Jul 10 20:44:15 lanparty kernel: cs: IO port probe 0x0800-0x08ff: clean.
Jul 10 20:44:15 lanparty kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Jul 10 20:44:15 lanparty kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Jul 10 20:44:15 lanparty kernel: cs: IO port probe 0xa000-0xbfff: clean.
Jul 10 20:44:15 lanparty cardmgr[6362]: starting, version is 3.2.5
Jul 10 20:44:47 lanparty kernel: cs: pcmcia_socket0: voltage
interrogation timed out.
Jul 10 20:45:15 lanparty kernel: cs: memory probe 0xe4000000-0xe4ffffff:
excluding 0xe4000000-0xe40fffff
Jul 10 20:45:15 lanparty cardmgr[6362]: socket 0: Bromax OEM 11Mbps
802.11b WLAN Card (Prism 3)
Jul 10 20:45:15 lanparty cardmgr[6362]: executing: 'modprobe prism2_cs'
Jul 10 20:45:15 lanparty cardmgr[6362]: + FATAL: Module prism2_cs not found.
Jul 10 20:45:15 lanparty cardmgr[6362]: modprobe exited with status 1
Jul 10 20:45:15 lanparty cardmgr[6362]: module
/lib/modules/2.6.7-1-k7/pcmcia/prism2_cs.o not available
Jul 10 20:45:15 lanparty cardmgr[6362]: bind 'prism2_cs' to socket 0
failed: Invalid argument
Knowing that that was the wrong place for it to be looking for modules
(and the wrong module to be looking for, for that matter), I tracked it
down to /etc/pcmcia/wlan-ng.opts. Back in the day, I tried installing
linux-wlan-ng before I realized that the kernel support was all I
needed. Well, wlan-ng.opts thought that my card was a "Bromax OEM
11Mbps 802.11b WLAN Card (Prism 3)" and was trying to bind the prism2_cs
driver, which I don't have, since I uninstalled linux-wlan-ng once I
realized that I didn't need it.
So I moved wlan-ng.conf to wlan-ng.conf.old so that it wouldn't get
sourced by /etc/pcmcia/config.
Then I changed hermes.conf as specified at
http://linux.oldcrank.com/tips/wpc11/.
Then I put my wireless config stuff in /etc/pcmcia/wireless.opts, and my
network config stuff in /etc/pcmcia/network.opts.
Voila!
Thanks very much for all the help.
Jeff
PS-Russell: if you'd still like me to help you pursue the PCI issue we
submitted, let me know. But everything seems to be working now.
More information about the linux-pcmcia
mailing list