Changing /etc/pcmcia/config.opts?
Hi everyone, I'm on the last leg of my (seemingly hopeless) quest to get a Linksys CardBus card to work in Linux. After receiving advice from you guys I almost skipped ordering it, but Linksys had a link to a driver project for the cards (and that site claimed that their driver did infact work). Sadly, I haven't been able to figure out one of the most critical parts - how to get it to work. Apparently the problem is that the pcmcia card manager recognizes the card but it is not properly assigned an IRQ and I/O address. This results in an error when it the service tries to install it at boot, or via modprobe. The tulip driver people suggested that the problem was in /etc/pcmcia/config.opt's setting for IRQ's, but I'm at a loss at what I need to do. Does anyone have any suggestions? Thanks, Tim -- ----------------------------------------------------------------- Timothy R. Butler Universal Networks ICQ #12495932 AIM: Uninettm Christian Web Services Since 1996 tbutler@uninetsolutions.com http://www.uninetsolutions.com ============== "Information Powered by Innovation" ============== "AT&T: The pre-paid phone card. Jesus: The pre-paid life card."
On Wed, 21 Mar 2001, Timothy R.Butler said:
Hi everyone, I'm on the last leg of my (seemingly hopeless) quest to get a Linksys CardBus card to work in Linux. After receiving advice from you guys I almost skipped ordering it, but Linksys had a link to a driver project for the cards (and that site claimed that their driver did infact work). Sadly, I haven't been able to figure out one of the most critical parts - how to get it to work. Apparently the problem is that the pcmcia card manager recognizes the card but it is not properly assigned an IRQ and I/O address. This results in an error when it the service tries to install it at boot, or via modprobe. The tulip driver people suggested that the problem was in /etc/pcmcia/config.opt's setting for IRQ's, but I'm at a loss at what I need to do. Does anyone have any suggestions?
There is a utility which comes with the pcmcia pkg (or at least used to) called 'dump_cis'. Try it to see what information it can get from the card. I have a SMC8020 modem / ether combo that won't work because the mfr didn't build the card with the capability to answer system req's about IRQ and mem i/o addr. It is apparently an earlier design of the card, as it is listed as a compatible card for the pcmcia pkg. Others have had the same problem, so it's not just me. IOW, although others may be using cards of the same model as yours, your card might not work if the design was changed after yours was made. ---------------------------------------------------------------------- John Karns jkarns@csd.net
Hi John, Thanks for the reply! After I received your tip, I booted up my laptop to see what I could find. Here is the output of /sbin/dump_cis: ---OUTPUT--- Socket 0: manfid 0x13d1, 0xab02 funcid network_adapter [post] lan_technology ethernet lan_speed 10 mb/sec lan_speed 100 mb/sec lan_media unshielded_twisted_pair vers_1 5.0, "Linksys", "EtherFast Integrated 10/100 CardBus PC Card(PCM200)", "V1.0", "" config_cb base 0x002a last_index 0x01 BAR 1 size 256b [io] BAR 2 size 256b [mem] BAR 7 size 512b [mem] cftable_entry_cb 0x01 [default] Vcc Vnom 3300mV io_base 1> There is a utility which comes with the pcmcia pkg (or at least used
to) called 'dump_cis'. Try it to see what information it can get from the card. I have a SMC8020 modem / ether combo that won't work because the mfr didn't build the card with the capability to answer system req's about IRQ and mem i/o addr. It is apparently an earlier design of the card, as it is listed as a compatible card for the pcmcia pkg. Others have had the same problem, so it's not just me. IOW, although others may be using cards of the same model as yours, your card might not work if the design was changed after yours was made.
---------------------------------------------------------------------- John Karns jkarns@csd.net
-- ----------------------------------------------------------------- Timothy R. Butler Universal Networks Information Tech. Consultant Christian Web Services Since 1996 ICQ #12495932 AIM: Uninettm An Authorized IPSwitch Reseller tbutler@uninetsolutions.com http://www.uninetsolutions.com ============== "Information Powered by Innovation" ============== irq mask 0xfefc [level] [shared] mem_base 2 7 Socket 1: no CIS present ---OUTPUT--- I've added the following lines to my /etc/pcmcia/config file: card "ADMtek Centaur-C (Linksys)" manfid 0x0149, 0xc2ab bind "tulip_cb" The name that I have for the card is the one I noticed that xconsole reports when it says that the CardBus card won't be installed since there aren't any resources allocated for it. Apparently this helps somewhat, as I'm getting a different error message now. Modprobe now reports that the "Device is Busy", and suggests that it might be a misconfigured IRQ (a different error than before). Any suggestions? Thanks!!! -Tim -- ----------------------------------------------------------------- Timothy R. Butler Universal Networks Information Tech. Consultant Christian Web Services Since 1996 ICQ #12495932 AIM: Uninettm An Authorized IPSwitch Reseller tbutler@uninetsolutions.com http://www.uninetsolutions.com ============== "Information Powered by Innovation" ==============
Hi John, Thanks for the reply! After I received your tip, I booted up my laptop to see what I could find. Here is the output of /sbin/dump_cis: ---OUTPUT--- Socket 0: manfid 0x13d1, 0xab02 funcid network_adapter [post] lan_technology ethernet lan_speed 10 mb/sec lan_speed 100 mb/sec lan_media unshielded_twisted_pair vers_1 5.0, "Linksys", "EtherFast Integrated 10/100 CardBus PC Card(PCM200)", "V1.0", "" config_cb base 0x002a last_index 0x01 BAR 1 size 256b [io] BAR 2 size 256b [mem] BAR 7 size 512b [mem] cftable_entry_cb 0x01 [default] Vcc Vnom 3300mV io_base 1 irq mask 0xfefc [level] [shared] mem_base 2 7 Socket 1: no CIS present ---OUTPUT--- I've added the following lines to my /etc/pcmcia/config file: card "ADMtek Centaur-C (Linksys)" manfid 0x0149, 0xc2ab bind "tulip_cb" The name that I have for the card is the one I noticed that xconsole reports when it says that the CardBus card won't be installed since there aren't any resources allocated for it. Apparently this helps somewhat, as I'm getting a different error message now. Modprobe now reports that the "Device is Busy", and suggests that it might be a misconfigured IRQ (a different error than before). Any suggestions? Thanks!!! -Tim
On Thu, 22 Mar 2001, Timothy R. Butler said:
Hi John, Thanks for the reply! After I received your tip, I booted up my laptop to see what I could find. Here is the output of /sbin/dump_cis:
---OUTPUT--- Socket 0: manfid 0x13d1, 0xab02 funcid network_adapter [post] lan_technology ethernet lan_speed 10 mb/sec lan_speed 100 mb/sec lan_media unshielded_twisted_pair vers_1 5.0, "Linksys", "EtherFast Integrated 10/100 CardBus PC Card(PCM200)", "V1.0", "" config_cb base 0x002a last_index 0x01 BAR 1 size 256b [io] BAR 2 size 256b [mem] BAR 7 size 512b [mem] cftable_entry_cb 0x01 [default] Vcc Vnom 3300mV io_base 1
Disclaimer: I'm no expert at this. The following is just my educated guess. Is that the entire output? If so it would appear to me that you may be out of luck. Here's the output from one of my cards. Notice that it contains info about io and irq under the heading "cftable_entry 0x27 [default]" as in the two lines copied here: io 0x02e8-0x02ef [lines=10] [8bit] [16bit] [range] irq mask 0x8ebc [level] [pulse] [shared] ------------------------------------------------------ The dump_cis info is here:
dump_cis
Socket 0: no CIS present Socket 1: dev_info no_info attr_dev_info no_info vers_1 5.0, "Xircom", "CreditCard Ethernet 10/100 + Modem 56", "CEM56", "1.00" manfid 0x0105, 0x110a config base 0xff80 mask 0x0067 last_index 0x3f cftable_entry 0x27 [default] [rdybsy] [mwait] [pwrdown] Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 450mA timing wait 12ms ready 12ms io 0x02e8-0x02ef [lines=10] [8bit] [16bit] [range] irq mask 0x8ebc [level] [pulse] [shared] cftable_entry 0x1f io 0x03e8-0x03ef [lines=10] [8bit] [16bit] [range] cftable_entry 0x17 io 0x02f8-0x02ff [lines=10] [8bit] [16bit] [range] cftable_entry 0x0f io 0x03f8-0x03ff [lines=10] [8bit] [16bit] [range] cftable_entry 0x3f io 0x0000-0x0007 [lines=3] [8bit] [16bit] funcid serial_port serial_interface uart 16550 [space/mark/odd/even] [7/8] [1/2] serial_data_services data_rate 115200 modulation [Bell103] [V.21] [V.23] [V.22] [Bell212A] [V.22bis] [V.32] [V.32bis] [V.34] error_control [MNP2-4] [V.42/LAPM] compression [V.42bis] [MNP5] cmd_protocol [AT1] [AT2] [AT3] [MNP_AT] serial_fax_services [class=1] data_rate 115200 modulation [V.21-C2] [V.27ter] [V.17] features [T.4] funcid network_adapter lan_node_id 00 10 a4 d1 62 c1 ---------------------------------------------------------------------- John Karns jkarns@csd.net
participants (2)
-
John Karns
-
Timothy R.Butler