Epia MII 10000, 2.6.13-mm2,
cs: pcmcia_socket0: unable to apply power
Sander
sander at humilis.net
Wed Sep 14 07:21:46 EDT 2005
Dominik Brodowski wrote (ao):
> On Tue, Sep 13, 2005 at 11:20:41AM +0200, Sander wrote:
> > I've installed pcmciautils-008
> > I believe there is no such thing as 'cardmgr' in pcmciautils, correct?
>
> Yes. However, I thought you were upgrading from an earlier kernel, and
> as pcmciautils is really new, I thought you might still have a
> pcmcia-cs based setup...
Unfortunately not, as this was the first kernel I compiled with PCMCIA
support for this server.
If it helps I can install pcmcia-cs, but on the other hand this might be
a good opportunity to let me help with getting pcmciautils up to speed.
What is the status of pcmciautils anyway? The number suggest alpha.
> > # dmesg | tail
> > [42949462.930000] Yenta: CardBus bridge found at 0000:00:0a.0 [1106:aa01]
> > [42949463.070000] Yenta: ISA IRQ mask 0x0c08, PCI irq 5
> > [42949463.070000] Socket status: 30000410
> > [42949463.070000] ACPI: PCI Interrupt 0000:00:0a.1[B] -> Link [LNKB] -> GSI 12 (level, low) -> IRQ 12
> > [42949463.070000] Yenta: CardBus bridge found at 0000:00:0a.1 [1106:aa01]
> > [42949463.210000] Yenta: ISA IRQ mask 0x0c08, PCI irq 12
> > [42949463.210000] Socket status: 30000006
> > [42949541.030000] cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xdffff 0xf0000-0xfffff
> > [42949541.040000] cs: memory probe 0x60000000-0x60ffffff: clean.
> > [42949541.040000] cs: memory probe 0xa0000000-0xa0ffffff: clean.
> >
> >
> > Now that seems good news!! But pcmcia-socket-startup is not mentioned at
> > http://kernel.org/pub/linux/utils/kernel/pcmcia/howto.html
> > or
> > http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
> >
> > and not even in the pcmciautils-008 source.
>
> Actually, it should be called by the hotplug system automagically upon
> modprobe yenta_socket, with the socket number as argument.
Aha, ic. The thing is though that this is a basic fileserver. I would
love not to have to use hotplug. Is that doable? I think it should be,
but correct me if I'm wrong.
There is not going to be any plugging of the card anyway.
> > Do you happen to know how I should use it? It is kinda strange that it
> > doens't work without argument, and seems to make the system move with a
> > seemingly unrelated argument.
>
> Actually, it expects one argument, the socket number. It doesn't do any
> argument checking, so it simply tries to convert "--help" to a number. That
> results in the number "0", so the socket numbered "0" is started. I've fixed
> pcmcia-socket-startup to start _all_ sockets if no argument is given.
> This'll be part of pcmciautils-009 which I hope to release soon.
Thanks both for the explanation and the fix :-)
> > Have to go now, but will test if the card works later today. It
> > needs CIS so that might be another obstacle.
>
> You need to get the CIS file from pcmcia-cs it's in etc/cis/, named ".dat",
> and needs to be re-named to ".cis" and put into /lib/firmware, IIRC.
You are correct (of course). That I all had set up according to the
howto before the "unable to apply power" struck.
But how do I know it uses the CIS file? I have:
/lib/firmware/SW_7xx_SER.cis
and:
# config.opts
card "Sierra Wireless AC710/AC750 GPRS Network Adapter R1"
manfid 0x0192, 0x0710
cis "/lib/firmware/SW_7xx_SER.cis"
bind "serial_cs"
and I get garbage when I cat /sys/class/pcmcia_socket/pcmcia_socket0/cis
So I assume it does load the CIS file.
But no extra serial port shows up (in dmesg), which should IIRC.
(I used the card long time ago on my (dead) vaio notebook). It was easy
to set up back then with this manual (sorry for the lengthy url):
http://mycusthelp.com/sierrawireless/supportkbitem.asp?sSessionID=&Inc=192&sFilA=FAQ%20Category&sFilB=Products&sFilC=&KEY=Linux
With minicom I can't talk to ttyS{0-4}, so it seems not to be available.
Btw, I bought a Conceptronic PCMCIA to PCI card. Would it be useful to
try instead of the onboard PCMCIA slot? If it would, I'd still like to
get the onboard one working, as these Epia boards are quite populair
among Linux users.
I'll try a 3Com NIC too, but need a kernel recompile for that to work.
Thanks a bunch again!!
With kind regards, Sander
FWIW, the relevant modules I have loaded:
Module Size Used by
serial_cs 16676 0
pcmcia 23432 1 serial_cs
firmware_class 7456 1 pcmcia
yenta_socket 22316 4
rsrc_nonstatic 9568 1 yenta_socket
pcmcia_core 34512 3 pcmcia,yenta_socket,rsrc_nonstatic
--
Humilis IT Services and Solutions
http://www.humilis.net
More information about the linux-pcmcia
mailing list