Linux wireless drivers development
 help / color / mirror / Atom feed
* Re: BUG: b43: ssb init failed with pcmcia bus
@ 2022-08-08 15:51 Yatao Li
  2022-08-08 17:47 ` Yatao Li
  0 siblings, 1 reply; 4+ messages in thread
From: Yatao Li @ 2022-08-08 15:51 UTC (permalink / raw)
  To: linux-wireless

On 7/4/22 14:55, Larry Finger wrote:
>On 7/4/22 07:54, 尤晓杰 wrote:
>> 
>> I got 802.11b card debian sid(Linux debian 5.18.0-2-686-pae #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1 (2022-06-16) i686 GNU/Linux
>> ) reconised it. But ssb could not be reconised
>> dmesg:
>> [ 1268.029113] pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
>> [ 1268.029646] pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 21)
>> [ 1268.117186] ssb: Failed to switch to core 0
>> [ 1268.117225] ssb-pcmcia 0.0: Initialization failed (0, -16)
>> [ 1268.117232] ssb-pcmcia: probe of 0.0 failed with error -16
>> allan@debian:~$
>
>That combination of outputs and the -EBUSY (-16) error means that the driver was 
>unable to read or write a configuration variable at SSB_PCMCIA_ADDRESSX, where X 
>is 0, 1, or 2.
>
>There is a possibility that your card is broken. Please post the portion of the 
>output of the command 'sudo lspci -nn -xxx' that describes the b43 device.
>
>Larry
I'm encountering a similar issue. It's a Summit SDC-CF10G CompactFlash
WiFi card. (http://url6924.yatao.info/ls/click?upn=ZzU3A6Y3aWFtn4aD2u-2FBwbEq46EcTw8hKN7GGRjFv-2F1WUxFrRaacpRjX-2BppM38Z1RZWTFfXewuYqW8Nnv564nw-3D-3DR6DP_6pwKHJ8Ph1XTyv7ONZlOBOinZyu77Ix3HWUiu18xV0L3uSyMV6rU6SMAhQ33IJM2wJd2p1qgFX70jtzxE78Bic9U9VM4uaHAGq8Y2z4nXzsBrnCA-2BEJxidxXoTjqSX5JhPdGPz27iBdsFlHRMb6oNfEWDfNzT6lxlDURcfl5OoAzrBro2PfB7LyxzBrY2q3DanhP8kUyZ8w6n8cOIP9lLaudyfzwvgAIpY9R5yIIG-2FE-3D
`pccardctl info` gives:
```
PRODID_1="SummitDC"
PRODID_2="802.11g SC CF"
PRODID_3="4.0"
PRODID_4=""
MANFID=02d0,0448
FUNCID=6
```
MANFID matches lookup table in the code.
The host is a Sharp SL-C3100 running Linux alarm 5.4.193, bridging from
`pxa2xx-pcmcia`.

I did some simple manual tracing, and the problem happens early:
```
ssb_host_pcmcia_probe (Initialization failed res=0,err=-EBUSY)
  `->...(res=0)
  `->ssb_bus_pcmciabus_register (err=-EBUSY)
    `->ssb_bus_register
      `->ssb_bus_scan
        `->ssb_pcmcia_switch_coreidx (matching errmsg)
          `->ssb_pcmcia_cfg_write (maybe)
          `->ssb_pcmcia_cfg_read (maybe)
```

Any suggestions?

Thanks,
Yatao

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <107e64a6.54f2.181c946ea99.Coremail.yxj790222@163.com>]

end of thread, other threads:[~2022-08-09  9:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-08 15:51 BUG: b43: ssb init failed with pcmcia bus Yatao Li
2022-08-08 17:47 ` Yatao Li
2022-08-09  9:10   ` Yatao Li
     [not found] <107e64a6.54f2.181c946ea99.Coremail.yxj790222@163.com>
2022-07-04 14:55 ` Larry Finger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox