Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PCMCIA wont start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
foolish_gambit
n00b
n00b


Joined: 13 Oct 2003
Posts: 12

PostPosted: Tue Apr 20, 2004 8:22 pm    Post subject: PCMCIA wont start Reply with quote

Hopefully this is the right forum for this question. Im migrating to 2.6 and can't get PCMCIA to work. It looks like Im missing something in my kernel but I don't know what. Heres what I get:

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

any suggestions?
_________________
"It's not our fault....we're outnumbered by stupid people 10-1"
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Wed Apr 21, 2004 8:02 am    Post subject: Reply with quote

What's your lspci output?
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
foolish_gambit
n00b
n00b


Joined: 13 Oct 2003
Posts: 12

PostPosted: Wed Apr 21, 2004 5:08 pm    Post subject: lspci Reply with quote

root@herman:/>> lspci
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)

00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 460 Go] (rev a3)
02:06.0 USB Controller: NEC Corporation USB (rev 41)
02:06.1 USB Controller: NEC Corporation USB (rev 41)
02:06.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 33)
02:0d.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 05)
_________________
"It's not our fault....we're outnumbered by stupid people 10-1"
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Wed Apr 21, 2004 5:39 pm    Post subject: Reply with quote

hmm... I have the same symptoms, but I can't see anything in common .
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
Enderson
Retired Dev
Retired Dev


Joined: 12 Nov 2003
Posts: 141
Location: Arapiraca/Maceió, AL, Brazil

PostPosted: Thu Apr 22, 2004 1:59 am    Post subject: Reply with quote

How is your kernel configuration?

The carbus modules are up?

Tell us more!
_________________
--
Nothing to say here!
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Thu Apr 22, 2004 2:56 pm    Post subject: Reply with quote

My problem is that my ancient laptop uses a PCI->PCMCIA bridge . It's a Cirrus Logic PD6729 and it's not supported under 2.6 kernels. It works just fine under 2.4 and pcmcia-cs
Code:
Module                  Size  Used by
nfsd                   58536  8
exportfs                4896  1 nfsd
lockd                  43688  2 nfsd
sunrpc                120264  2 nfsd,lockd
pd6729                  9204  0

I did find a patch to add PD6729 support under 2.6 and applied that, but still no go. I get this in dmesg:

Code:
PCI: Enabling device 0000:00:0d.0 (0080 -> 0081)
PCI: No IRQ known for interrupt pin A of device 0000:00:0d.0.
pd6729: Cirrus PD6729 PCI to PCMCIA Bridge.
pd6729: configured as a 2 socket device.
pd6729: Enabling PCI_COMMAND_MEMORY.
pd6729: Failed to register IRQ 0, aborting
pd6729: probe of 0000:00:0d.0 failed with error -16
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
svc: unknown version (3)
spurious 8259A interrupt: IRQ7.

PCMCIC support is compiled into kernel rather than as modules, since that seemed to offer less scope for thingsto go wrong, and since the pcmcia-cs package modules won't work under 2.6 anyway.

The bridge module itself is a module. Here's some relevant configs:



Code:
#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_LEGACY_PROC=y
CONFIG_PCI_NAMES=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set


#
# PCMCIA/CardBus support
#
CONFIG_PCMCIA=y
# CONFIG_PCMCIA_DEBUG is not set
# CONFIG_YENTA is not set
CONFIG_PD6729=m
# CONFIG_I82092 is not set
# CONFIG_I82365 is not set
# CONFIG_TCIC is not set
CONFIG_PCMCIA_PROBE=y

#
# PCMCIA network device support
#
CONFIG_NET_PCMCIA=y
# CONFIG_PCMCIA_3C589 is not set
# CONFIG_PCMCIA_3C574 is not set
# CONFIG_PCMCIA_FMVJ18X is not set
CONFIG_PCMCIA_PCNET=y
# CONFIG_PCMCIA_NMCLAN is not set
# CONFIG_PCMCIA_SMC91C92 is not set
# CONFIG_PCMCIA_XIRC2PS is not set
# CONFIG_PCMCIA_AXNET is not set

The network card itself is FA411

I hope something suggests itself to you out of all this, because I'm pretty much stumped
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Fri Apr 23, 2004 7:05 am    Post subject: Reply with quote

boroshan wrote:
My problem is that my ancient laptop uses a PCI->PCMCIA bridge . It's a Cirrus Logic PD6729 and it's not supported under 2.6 kernels. It works just fine under 2.4 and pcmcia-cs


FYI: there is work going on porting the PD driver to 2.6.
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Fri Apr 23, 2004 7:16 am    Post subject: good news Reply with quote

brodo wrote:

FYI: there is work going on porting the PD driver to 2.6.


Good news indeed:)

Is there a forum somewhere where I can follow developments? After putting in all this effort I feel like I'd like to track developments
_________________
Don't let THEM immanentize the Eschaton!
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Fri Apr 23, 2004 8:44 am    Post subject: Re: good news Reply with quote

boroshan wrote:
brodo wrote:

FYI: there is work going on porting the PD driver to 2.6.


Good news indeed:)

Is there a forum somewhere where I can follow developments? After putting in all this effort I feel like I'd like to track developments


Forum not, but the following quite low-traffic mailing list:
http://lists.infradead.org/mailman/listinfo/linux-pcmcia

current status:
http://lists.infradead.org/pipermail/linux-pcmcia/2004-April/000747.html
http://lkml.org/lkml/2004/2/1/15

AFAICS, it'd be great if you could help porting + testing the driver.
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Fri Apr 23, 2004 8:47 am    Post subject: Reply with quote

Back to the original problem: does your kernel config include CONFIG_YENTA _SOCKET = "y" ? try out latest 2.6. kernel (2.6.6-rc2+), as it contains some IRQ fixes for your socket. anything of interest in dmesg?
Back to top
View user's profile Send private message
K-Dawg
Apprentice
Apprentice


Joined: 06 Jan 2004
Posts: 186
Location: Denver, Colorado

PostPosted: Fri Apr 23, 2004 2:08 pm    Post subject: Reply with quote

EDIT ...wrong info
Back to top
View user's profile Send private message
foolish_gambit
n00b
n00b


Joined: 13 Oct 2003
Posts: 12

PostPosted: Sun Apr 25, 2004 4:55 pm    Post subject: Reply with quote

<*> PCMCIA/CardBus support

My CONFIG_YENTA was not set, that may well solve my problem. Ill try it later today.

I see nothing PCMCIA related in my dmesg. Probably because of the former problem, the kernel isnt seeing my CardBus Socket.

Thanks!
_________________
"It's not our fault....we're outnumbered by stupid people 10-1"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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