PCMCIA modem not found... resume/suspend helps some times... magic is not found

Yaroslav Halchenko kernel at onerussian.com
Wed Jul 5 17:49:43 EDT 2006


Dear PCMCIA People,

Unfortunately for me I've just now discovered proper mailing list to
acquire about my problem with PCMCIA modem I am trying to make work
under 2.6.17-mm4

The issue is that it is not found at all:

> pccardctl status
Socket 0:
  5.0V 16-bit PC Card
  Subdevice 0 (function 0) [unbound]
> pccardctl info
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255

only once after I've done way too many dancing around, suspend/resume
sequenece brought it online. I could not bring it up any time after.
Now I am just getting following debug information without proper
identification of the card, and thus no binding to serial_cs which is
loaded. Please advise where should I look to figure out "why?". Thank
you in advance

cs: pcmcia_socket0: insert done
cs: pcmcia_socket0: send_event(event 4, pri 0, callback 0xf9d48c9c)
cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0x0, 2)
cs: pcmcia_socket0:   0x01 0x00 0x00 0xc0 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0x2, 2)
cs: pcmcia_socket0:   0x41 0x7d 0x00 0xb8 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0x81, 2)
cs: pcmcia_socket0:   0x05 0x34 0x00 0xb8 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0xb7, 2)
cs: pcmcia_socket0:   0x7d 0x7d 0x00 0xb8 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0x136, 2)
cs: pcmcia_socket0:   0x7f 0xff 0x00 0xb8 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
pcmcia: registering new device pcmcia0.0
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(0, 0x0, 5)
cs: pcmcia_socket0:   0x12 0x12 0x12 0x12 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0x4, 125)
cs: pcmcia_socket0:   0x32 0x16 0x7e 0x17 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0x83, 52)
cs: pcmcia_socket0:   0x9a 0xb2 0xd2 0x97 ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0xb9, 125)
cs: pcmcia_socket0:   0xff 0xff 0xff 0xff ...
cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0x138, 255)
cs: pcmcia_socket0:   0xff 0xff 0xff 0xff ...


> modinfo pcmcia_core
filename:       /lib/modules/2.6.17-mm4-vaio/kernel/drivers/pcmcia/pcmcia_core.ko
author:         David Hinds <dahinds at users.sourceforge.net>
description:    Linux Kernel Card Services
license:        GPL
vermagic:       2.6.17-mm4-vaio preempt mod_unload PENTIUM4 REGPARM gcc-4.1
depends:        
parm:           cis_width:int
parm:           pc_debug:int
parm:           cis_speed:int
parm:           unreset_limit:int
parm:           unreset_check:int
parm:           unreset_delay:int
parm:           reset_time:int
parm:           vcc_settle:int
parm:           shutdown_delay:int
parm:           resume_delay:int
parm:           setup_delay:int


----- Forwarded message from Yaroslav Halchenko <kernel at onerussian.com> -----

Date: Wed, 5 Jul 2006 16:00:23 -0400
From: Yaroslav Halchenko <kernel at onerussian.com>
To: linux-kernel at vger.kernel.org
Subject: Re: PCMCIA modem not found... resume/suspend helps some times... magic is not found

Dear Kernel People,

Since nobody followed up I've decided to provide additional information
which might help to pin point the problem.
I've loaded pcmcia_core with pc_debug=255

Troublesome lines for me are:

Jul  5 15:52:25 vaio kernel: pcmcia: registering new device pcmcia0.0
Jul  5 15:52:25 vaio kernel: cs: pcmcia_socket0: cs: overrun in pcmcia_get_next_tuple
Jul  5 15:52:26 vaio kernel: cs: pcmcia_socket0: cs: overrun in pcmcia_get_next_tuple

Full kern.log is available from
http://www.onerussian.com/Linux/bugs/pcmcia.modem/kern.log.debug

Please advise what else could I do to revive this modem to life

Thank you in advance

On Sat, 24 Jun 2006, Yaroslav Halchenko wrote:

> Dear Kernel People,

> Before my long trip abroad I decided to make my pcmcia modem work under
> fresh 2.6.17-rc6-mm2.

> It wasn't found at all... after some dancing around it started to
> to appear after pccardctl suspend, pccardctl resume calls.
> After reboot it stopped to do that... now max I could make it is to find
> it partially without binding to loaded serial_cs:

> > sudo pccardctl status
> Socket 0:
> 5.0V 16-bit PC Card
> Subdevice 0 (function 0) [unbound]

> Some information from magic successful initialization is available
> in my bug failed on Debian:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374742

> and modem was found to be
>     SUBSYSTEM=="pcmcia"
>     SYSFS{modalias}=="pcmcia:m016Cc0001f02fn00pfn00paF5F025C2pb200E6E61pc26477DB8pdC5F4D6FD"
>     SYSFS{prod_id4}=="V8.041"
>     SYSFS{prod_id3}=="56K+Fax"
>     SYSFS{prod_id2}=="Gold Card Global 56K+Fax"
>     SYSFS{prod_id1}=="Psion Dacom"
>     SYSFS{card_id}=="0x0001"
>     SYSFS{manf_id}=="0x016c"
>     SYSFS{func_id}=="0x02"
>     SYSFS{pm_state}=="on"
>     SYSFS{function}=="0x00"

> information on current system where I can't make it work any more
> http://www.onerussian.com/Linux/bugs/pcmcia.modem/

> Here are the results of suspend/resume sequence:

> *> sudo pccardctl eject
> *> sudo pccardctl insert
> > sudo pccardctl status
> Socket 0:
> 5.0V 16-bit PC Card
> > sudo pccardctl suspend
> > sudo pccardctl status
> Socket 0:
> X.XV 16-bit PC Card [suspended]
> > sudo pccardctl resume
> > sudo pccardctl status
> Socket 0:
> 5.0V 16-bit PC Card
> Subdevice 0 (function 0) [unbound]

> Please advise!
-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
Student  Ph.D. @ CS Dept. NJIT



More information about the linux-pcmcia mailing list