This same card works on an x86 and on this wl500gp (bcm4704) w/ asus code. If I flash the same image on a bcm5352 (whr-hp-g54), the driver loads, the firmware loads and I get scan results.

Both the x86 and the wl500gp used the same ssb code and b43 code and firmware. I'm using yesterday's wireless-testing.

The first oops was in b43/main.c:b43_phy_versioning at the read from B43_MMIO_RADIO_DATA_HIGH. I used logic similar to that used for the 4317 to set the radio info to what I got from the x86 and got a little further.

The second oops was at ssb/main.c:1034 at the read from SSB_IDLOW. The output is attached.

Any idea why some of these reads give bus errors?

Steve
b43-phy0: Broadcom 4318 WLAN found
b43-phy0 debug: Found PHY: Analog 3, Type 2, Revision 7
b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision 8
Data bus error, epc == 80115b68, ra == 8015817c
Oops[#1]:
Cpu 0
$ 0   : 00000000 10009800 81c56454 00000002
$ 4   : c0000ff8 81c56454 00000001 00000000
$ 8   : 80261ef0 003d08bd e586ae00 003d08bd
$12   : 00000000 00000000 80260000 802a0000
$16   : 81c56454 81c56454 200c0000 81d11400
$20   : 00000002 00000007 00000008 00000001
$24   : 81c45b60 000186a0
$28   : 81c44000 81c45c40 81ef5ce0 8015817c
Hi    : 00000083
Lo    : 95827000
epc   : 80115b68 ioread32+0x0/0xc     Not tainted
ra    : 8015817c ssb_tmslow_reject_bitmask+0x18/0xa8
Status: 10009803    KERNEL EXL IE
Cause : 0080001c
PrId  : 00029006 (Broadcom BCM3302)
Modules linked in: b43(+) nf_nat_tftp nf_conntrack_tftp nf_nat_irc 
nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ppp_async ppp_generic slhc 
crc_ccitt mac80211 cfg80211 sha1_generic md5 hmac des_generic arc4 aes_generic 
deflate ecb cbc crypto_blkcipher crypto_hash cryptomgr crypto_algapi 
switch_robo switch_core diag
Process insmod (pid: 646, threadinfo=81c44000, task=81c4f9a8, tls=00000000)
Stack : fffeeabd 801fd038 81c56454 81c56454 8015824c 80158238 00000000 00200200
        fffeeabd 800301dc 81c4f9a8 802a6940 81c56454 200c0000 200c0000 8015962c
        00000002 80025a14 20070000 80030154 81d11418 80030000 200c0000 c013c024
        00000002 c013c1ac 00004318 81ef50e4 81d11418 81d11400 00002050 0000017f
        c013d420 c013d330 c0107000 800cca64 0000017f 00002050 00000008 00000000
        ...
Call Trace:
[<80115b68>] ioread32+0x0/0xc
[<8015817c>] ssb_tmslow_reject_bitmask+0x18/0xa8
[<8015824c>] ssb_device_disable+0x40/0x10c
[<8015962c>] ssb_device_enable+0x20/0x124
[<c013c024>] b43_wireless_core_reset+0x3c/0x158 [b43]
[<c013d420>] b43err+0xa40/0xe2c [b43]


Code: 94820000  03e00008  3042ffff <8c820000> 03e00008  00000000  308400ff  
a0a40000  03e00008
Segmentation fault
[EMAIL PROTECTED]:/#

===============================

(gdb) break *0x8015817c
Breakpoint 1 at 0x8015817c: file drivers/ssb/main.c, line 1030.
(gdb) break *0x8015824c
Breakpoint 2 at 0x8015824c: file drivers/ssb/main.c, line 1140.

===============================

CPU revision is: 00029006 (Broadcom BCM3302)
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x03, vendor 0x4243)
ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
ssb: Core 2 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243)
ssb: Core 4 found: PCI (cc 0x804, rev 0x08, vendor 0x4243)
ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x03, vendor 0x4243)
ssb: Core 6 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
ssb: Core 7 found: IPSEC (cc 0x80B, rev 0x00, vendor 0x4243)
ssb: Core 8 found: MEMC SDRAM (cc 0x80F, rev 0x02, vendor 0x4243)
ssb: Initializing MIPS core...
ssb: set_irq: core 0x0806, irq 2 => 2
ssb: set_irq: core 0x0806, irq 3 => 3
ssb: set_irq: core 0x0804, irq 0 => 4
ssb: Sonics Silicon Backplane found at address 0x18000000


ssb: PCIcore in host mode found
Registering a PCI bus after boot
PCI: Fixing up bridge 0000:00:00.0
PCI: Fixing up device 0000:00:00.0
PCI: Fixing latency timer of device 0000:00:00.0 to 168
PCI: Enabling device 0000:00:02.0 (0000 -> 0002)
PCI: Fixing up device 0000:00:02.0
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
ssb: Sonics Silicon Backplane found on PCI device 0000:00:02.0

=====================
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to