Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems installing pcmcia network card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Sat Oct 29, 2005 9:50 am    Post subject: Problems installing pcmcia network card Reply with quote

Hi. I'm following the Gentoo guide to install a pcmcia network card on a Toshiba laptop. I followed the steps but I blocked when trying to understand which modules I need. My card is 32-bit, so I selected that mode in the kernel. The only bus available is the yenta socket. Should I use that one? In the guide it's written in most cases either i82365 or i82092 is needed. But in my kernel version 2.6.13-r3 I can't see the first one, I found it searching but I can't see it in the list, while the other one is present only if I select 16-bit cardbus. Then, I tried the yenta socket which is the only available for me. The problem is that after rebooting I tried modprobing it and got:

Code:
pluca linux # modprobe yenta_socket
WARNING: Error inserting rsrc_nonstatic (/lib/modules/2.6.13-gentoo-r3/kernel/drivers/pcmcia/rsrc_nonstatic.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting yenta_socket (/lib/modules/2.6.13-gentoo-r3/kernel/drivers/pcmcia/yenta_socket.ko): Unknown symbol in module, or unknown parameter (see dmesg)


and with dmesg I see:

Code:
rsrc_nonstatic: Unknown symbol release_cis_mem
rsrc_nonstatic: Unknown symbol pcmcia_socket_list
rsrc_nonstatic: Unknown symbol pccard_validate_cis
rsrc_nonstatic: Unknown symbol destroy_cis_cache
rsrc_nonstatic: Unknown symbol pcmcia_socket_list_rwsem
rsrc_nonstatic: Unknown symbol pcmcia_socket_class
yenta_socket: Unknown symbol dead_socket
yenta_socket: Unknown symbol pcmcia_register_socket
yenta_socket: Unknown symbol pcmcia_socket_dev_resume
yenta_socket: Unknown symbol pcmcia_parse_events
yenta_socket: Unknown symbol pcmcia_socket_dev_suspend
yenta_socket: Unknown symbol pccard_nonstatic_ops
yenta_socket: Unknown symbol pcmcia_unregister_socket


Is there someone who could tell me what I sould do? Thanks for any hint guys.
Back to top
View user's profile Send private message
dxq
n00b
n00b


Joined: 21 Aug 2005
Posts: 60

PostPosted: Sat Oct 29, 2005 4:04 pm    Post subject: Re: Problems installing pcmcia network card Reply with quote

Are you currently using a Genkernel built kernel ?

If so, then run

Code:
# lsmod


and see if yenta_socket is loaded.

If you are configuring the 2.6.13-r3 kernel then you should see 5 PC-Card Bridges.
If you are not sure which one to use then build all of them as modules.

If you are in the kernel config use the "Help" on an item and it will tell you what the module will be named.
_________________
.
"The known is finite, the unknown is infinite; intellectually we stand on an islet in the midst of an
illimitable ocean of inexplicability. Our business in every generation is to reclaim a little more land."
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Sat Oct 29, 2005 4:20 pm    Post subject: Re: Problems installing pcmcia network card Reply with quote

dxq wrote:
Are you currently using a Genkernel built kernel ?

If so, then run

Code:
# lsmod

and see if yenta_socket is loaded.


No, I'm configuring the kernel without genkernel.

dxq wrote:
If you are configuring the 2.6.13-r3 kernel then you should see 5 PC-Card Bridges.
If you are not sure which one to use then build all of them as modules.


I see 4 bridges only if I select 16-bit too. Otherwise I see one bridge only. If I select 16-bit PCMCIA support as well as 32-bit I have this:

Code:
PCCARD (PCMCIA/CardBus) support ->
...
--- PC-card bridges
<M> Cardbus yenta-compatible bridge support
<M> Cirrus PD6729 compatible bridge support (NEW)
<M> i82092 compatible bridge support (NEW)
<M>Databook TCIC host bridge support (NEW)


dxq wrote:
If you are in the kernel config use the "Help" on an item and it will tell you what the module will be named.


Yes, that I did. But there is only one bridge for 32-bit cards. And it is the yenta_socket. The problem is that it gives me those errors.
During boot I see:

Code:
... can't load module yenta_socket
missing kernel or user mode driver yenta_socket [OK]


What could there be wrong?
Thanks.
Back to top
View user's profile Send private message
linuxtuxhellsinki
l33t
l33t


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Sat Oct 29, 2005 4:49 pm    Post subject: Re: Problems installing pcmcia network card Reply with quote

Luc484 wrote:
My card is 32-bit, so I selected that mode in the kernel. The only bus available is the yenta socket. Should I use that one? In the guide it's written in most cases either i82365 or i82092 is needed. But in my kernel version 2.6.13-r3 I can't see the first one, I found it searching but I can't see it in the list, while the other one is present only if I select 16-bit cardbus..


So your card is 32-bit ?? But you supposed to choose that bridge in your laptop (not card).
Check lspci -vv or lshw maybe you'll find some info of that bus.
_________________
1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread.
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Sat Oct 29, 2005 5:13 pm    Post subject: Reply with quote

Could be this?

Code:
0000:02:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
        Subsystem: Toshiba America Info Systems: Unknown device ff10
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin A routed to IRQ 255
        Region 0: Memory at 0c001000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
        I/O window 0: 00000000-00000003
        I/O window 1: 00000000-00000003
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite-
        16-bit legacy interface ports at 0001


Thanks.
Back to top
View user's profile Send private message
linuxtuxhellsinki
l33t
l33t


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Sat Oct 29, 2005 5:19 pm    Post subject: Re: Problems installing pcmcia network card Reply with quote

Code:
PCCARD (PCMCIA/CardBus) support ->
...
--- PC-card bridges
<M> Cardbus yenta-compatible bridge support
<M> Cirrus PD6729 compatible bridge support (NEW)
<M> i82092 compatible bridge support (NEW)
<M>Databook TCIC host bridge support (NEW)


Have you tried to modprobe all of those one by one ? (maybe some of 'em works?)
_________________
1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread.
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Sat Oct 29, 2005 5:52 pm    Post subject: Reply with quote

With everyone I get the same error I reported before:

Code:
pluca linux # modprobe yenta_socket
WARNING: Error inserting rsrc_nonstatic (/lib/modules/2.6.13-gentoo-r3/kernel/drivers/pcmcia/rsrc_nonstatic.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting yenta_socket (/lib/modules/2.6.13-gentoo-r3/kernel/drivers/pcmcia/yenta_socket.ko): Unknown symbol in module, or unknown parameter (see dmesg)


with the respective name. What kind of error is it?
Thanks.
Back to top
View user's profile Send private message
dxq
n00b
n00b


Joined: 21 Aug 2005
Posts: 60

PostPosted: Sat Oct 29, 2005 10:25 pm    Post subject: Re: Problems installing pcmcia network card Reply with quote

Start from the beginning again.

Go back into the Kernel config set the below:

<*> PC Card support
[*] 32-bit Card bus support
<M> Cardbus Yenta support

run a make && make modules_install && make install

watch for any warnings

Then try booting into that kernel again.
_________________
.
"The known is finite, the unknown is infinite; intellectually we stand on an islet in the midst of an
illimitable ocean of inexplicability. Our business in every generation is to reclaim a little more land."
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Sat Oct 29, 2005 10:59 pm    Post subject: Reply with quote

Ok. I did it. Followed every step and thank you for your help. I still got the same responses from the system. If I try to start pcmcia I get:

Code:
pluca luca # /etc/init.d/pcmcia start
 * 'modprobe yenta_socket' failed
 * Trying alternative PCIC driver: i82365
 * Starting pcmcia ...
cardmgr[10438]: no pcmcia driver in /proc/devices
 * cardmgr failed to start.  Make sure that you have PCMCIA
 * modules built or support compiled into the kernel                                  [ !! ]


and modprobing yenta_socket still gives me the same output as before. Is there anything else I could check to see what's wrong in here?
Thanks again to each of you.
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Sun Oct 30, 2005 6:16 am    Post subject: Reply with quote

I tried with another kernel version but the behaviour is always the same. What could it be the problem?
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sun Oct 30, 2005 6:31 am    Post subject: Reply with quote

Have you tried loading the 'pcmcia' kernel module?
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Sun Oct 30, 2005 7:52 am    Post subject: Reply with quote

You gotcha. I compiled pcmcia_core as module and then modprobed it. No errors. Then I re-tried with yenta_socket and now it modprobes without errors.
The pcmcia service still doesn't start. It says "no pcmcia driver in /proc/devices". Now I should compile in the kernel a driver for the wireless card? How can I know now which one to put? I found the drivers in Device drivers -> Network device support -> Wireless LAN, should I select something in there?
Thanks for your help.
Back to top
View user's profile Send private message
Havin_it
Veteran
Veteran


Joined: 17 Jul 2005
Posts: 1272
Location: Edinburgh, UK

PostPosted: Fri Nov 11, 2005 9:42 pm    Post subject: Reply with quote

HI, I'm just getting up to speed on this myself, but it looks like there is a change in PCMCIA handling, with there now being userspace tools (emerge pcmciautils) to do the jobs of cardmgr and pcmcia-cs.

I'm just trying to rebuild my kernel with no builtin PCMCIA/Cardbus support and see if that does it. I'll post what transpires...

EDIT: confirmed. With pcmciautils installed, you can

rc-update delete pcmcia default

You'll no longer get the startup messages, and [for example] my Cardbus wifi card still starts up perfectly.

EDIT EDIT: This applies to the 2.6.13 kernel and up.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum