cs: unable to map card memory!

Sam Tygier samtygier at yahoo.co.uk
Tue May 31 18:43:23 EDT 2005


hello

I am having problems with a pcmcia(or possibly cardbus, if there is a difference) modem card. Its a 3Com Megahertz 56K Cellular Modem PC Card with XJACK Connector, Model 3CXM556, FCC Reg 4X2USA-25318-M5-E. I am trying to use it on a Apple G4 Ti Powerbook.

When i insert it, it beeps. cardctl can see it

sam @ titania <http://lists.ubuntu.com/mailman/listinfo/ubuntu-users>:~$ cardctl ident
Socket 0:
 product info: "3Com", "3CXM/3CCM556", "Megahertz 56K Cell/Telephony Modem"
 manfid: 0x0101, 0x0034
 function: 2 (serial)

It was not listed in /etc/pcmcia/config, so i added this

card "Megahertz 56K Cell/Telephony Modem"
 manfid 0x0101, 0x0034
 bind "serial_cs"

but it still does not seem to be assined a device name. wvdial and the gnome network tool can't find it.

I think a clue to the problem is in dmesg, a kernel oops

cs: memory probe 0x80000000-0x80ffffff: excluding 0x80000000-0x800fffff
Oops: kernel access of bad area, sig: 11 [#1]
NIP: C0117980 LR: C011AD0C SP: EBED9430 REGS: ebed9380 TRAP: 0300    Not taintedMSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000014, DSISR: 40000000
TASK = e590d910[5358] 'cardmgr' THREAD: ebed8000
Last syscall: 54
GPR00: 00000000 EBED9430 E590D910 C0258588 C02FA008 00000000 EBED94F8 EDE554FC
GPR08: F237A000 00000000 C02FA008 00000000 42008484 100228F8 00000003 7FFFFB68
GPR16: 10020000 10020000 00000000 10010000 10020000 EC4E8E00 00000000 F2208D9C
GPR24: 00000000 EBED9520 00000000 EDE55540 C0258588 00000000 C02FA008 C02FA008
NIP [c0117980] uart_remove_one_port+0x38/0xdc
LR [c011ad0c] serial8250_register_port+0x6c/0x128
Call trace:
 [c011ad0c] serial8250_register_port+0x6c/0x128
 [f2206488] setup_serial+0x74/0x130 [serial_cs]
 [f22068a4] simple_config+0x270/0x37c [serial_cs]
 [f2206f70] serial_config+0x230/0x2ec [serial_cs]
 [f2207094] serial_event+0x68/0xfc [serial_cs]
 [f23fb29c] pcmcia_register_client+0x26c/0x2dc [pcmcia_core]
 [f22062d0] serial_attach+0xf8/0x180 [serial_cs]
 [f26af8a8] bind_request+0x12c/0x228 [pcmcia]
 [f26b05e8] ds_ioctl+0x53c/0x67c [pcmcia]
 [c0075f80] sys_ioctl+0xdc/0x2f4
 [c0004330] ret_from_syscall+0x0/0x4c

I think those strings of hex on the first line relate to

sam @ titania <http://lists.ubuntu.com/mailman/listinfo/ubuntu-users>:~$ cat /etc/pcmcia/config.opts

#snipped comments
include port 0x100-0x4ff
include port 0x1000-0x17ff
include memory 0x80000000-0x80ffffff

I dont really want to trial and error around with kernel memory addresses, that sounds like an easy way to crash a machine. i have had other pcmcia card work (cisco wireless)

the modem works in another computer, so its not broke

thanks

sam

ps, please reply to email thanks

	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com




More information about the linux-pcmcia mailing list