Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cardmgr not recognizing pcmcia sockets
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
hol9000
n00b
n00b


Joined: 04 Oct 2002
Posts: 45
Location: Berlin/Germany

PostPosted: Sat Jul 23, 2005 10:16 am    Post subject: cardmgr not recognizing pcmcia sockets Reply with quote

Hello all,

recently a pcmcia problem sneaked into my configuration and I don't know, at which point. Either I must have overwritten a config file without noticing while emerging or I must have misconfigured the kernel (while I just imported old working kernel configurations from the ck-series with make .oldconfig, so I didn't change any fancy stuff here), or, third option, there is a bug in one of the scripts or tools having to do with pcmcia (while I doubt that).

The problem:
Code:

existenz pcmcia # /etc/init.d/pcmcia start
 * PCMCIA support detected
 * Starting pcmcia ...
cardmgr[4939]: no sockets found!
 * cardmgr failed to start.  Make sure that you have PCMCIA
 * modules built or support compiled into the kernel                      [ !! ]


The situation:

  • Dell Inspiron 4100, running 2.6.11-ck10
  • pcmcia is started in runlevel default
  • options in /etc/conf.d/pcmcia:
    Code:

    CARDMGR_OPTS="-f"
    SCHEME="home"
    PCIC="yenta_socket"
    # every other option is empty ("")

  • relevant lines from /usr/src/linux/.config:
    Code:

    #
    # PCCARD (PCMCIA/CardBus) support
    #
    CONFIG_PCCARD=y
    # CONFIG_PCMCIA_DEBUG is not set
    CONFIG_PCMCIA=m
    CONFIG_CARDBUS=y

    #
    # PC-card bridges
    #
    CONFIG_YENTA=m
    CONFIG_PD6729=m
    CONFIG_I82092=m
    CONFIG_TCIC=m
    CONFIG_PCCARD_NONSTATIC=m

  • pcmcia module is loaded (checked with lsmod)

I checked what's going on in /etc/init.d/pcmcia when starting:
As you can see from the above output, the check
Code:

if [[ -e /proc/bus/pccard ]]; then
                einfo "PCMCIA support detected"

finds PCMCIA support, but the cardmgr doesn't find it. This also happens when I try to start the cardmgr manually.

I also tried to re-emerge pcmcia-cs, and other PCIC options in /etc/conf.d/pcmcia, which didn't help.

Does anybody have a hint or an idea what is going wrong here?

Greetings,
Holger
Back to top
View user's profile Send private message
hol9000
n00b
n00b


Joined: 04 Oct 2002
Posts: 45
Location: Berlin/Germany

PostPosted: Sun Jul 24, 2005 8:22 pm    Post subject: Solved... Reply with quote

Hello all,

I found a solution. Obviously I didn't import kernel configs 100%. yenta_socket was compiled into the kernel before, now it's a module. After modprobing yenta_socket everything works again as it should.

Cheers,
Holger
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