Modify

Opened 5 years ago

Last modified 18 months ago

#10045 reopened defect

wifi detect doesn't output anything

Reported by: vhann3000+openwrt@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

On my WRT300N v1 router (serial number: CNP01...) 'wifi detect' outputs nothing successfully (it returns 0).

I have installed kmod-b43 and kmod-b43legacy. Both are loaded (as shown in lsmod's output). I am unable to bring the wireless interface up in any way.

Attachments (0)

Change History (10)

comment:1 Changed 5 years ago by nbd

  • Resolution set to invalid
  • Status changed from new to closed

you need to install the proprietary broadcom driver instead, b43 does not support this hardware.

comment:2 Changed 5 years ago by Zajec

  • Resolution invalid deleted
  • Status changed from closed to reopened

Give us at least:

dmesg | egrep 'ssb|bcma|b43'

Compiling with B43_DEBUG can give a good hint. b43 can support that card.

comment:3 Changed 5 years ago by nbd

  • Resolution set to no_response
  • Status changed from reopened to closed

comment:4 Changed 5 years ago by vhann3000+openwrt@…

  • Resolution no_response deleted
  • Status changed from closed to reopened

Hi Zajec,

sorry if I haven't replied, I thought I would get an email if there was an update on this (I didn't receive any). I am still struggling with this.

Here is the output requested if that is still relevant:
root@Matrix:~# dmesg | egrep 'ssb|bcma|b43'
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 4 => 4
ssb: set_irq: core 0x0806, irq 5 => 5
ssb: set_irq: core 0x0808, irq 6 => 2
ssb: set_irq: core 0x0804, irq 2 => 6
ssb: after irq reconfiguration
ssb: core 0x0800, irq : 2(S) 3* 4 5 6 D I
ssb: core 0x0806, irq : 2(S) 3 4* 5 6 D I
ssb: core 0x0806, irq : 2(S) 3 4 5* 6 D I
ssb: core 0x0808, irq : 2(S)* 3 4 5 6 D I
ssb: core 0x0804, irq : 2(S) 3 4 5 6* D I
ssb: core 0x0816, irq : 2(S)* 3 4 5 6 D I
ssb: core 0x0807, irq : 2(S)* 3 4 5 6 D I
ssb: core 0x080b, irq : 2(S)* 3 4 5 6 D I
ssb: core 0x080f, irq : 2(S) 3 4 5 6 D I*
ssb: Sonics Silicon Backplane found at address 0x18000000
ssb: PCIcore in host mode found
ssb: CardBus slot detected
root@Matrix:~#

comment:5 Changed 5 years ago by Olivier <vhann3000+openwrt@…>

Here it is, formatted this time:

root@Matrix:~# dmesg | egrep 'ssb|bcma|b43'
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 4 => 4
ssb: set_irq: core 0x0806, irq 5 => 5
ssb: set_irq: core 0x0808, irq 6 => 2
ssb: set_irq: core 0x0804, irq 2 => 6
ssb: after irq reconfiguration
ssb: core 0x0800, irq : 2(S)  3* 4  5  6  D  I 
ssb: core 0x0806, irq : 2(S)  3  4* 5  6  D  I 
ssb: core 0x0806, irq : 2(S)  3  4  5* 6  D  I 
ssb: core 0x0808, irq : 2(S)* 3  4  5  6  D  I 
ssb: core 0x0804, irq : 2(S)  3  4  5  6* D  I 
ssb: core 0x0816, irq : 2(S)* 3  4  5  6  D  I 
ssb: core 0x0807, irq : 2(S)* 3  4  5  6  D  I 
ssb: core 0x080b, irq : 2(S)* 3  4  5  6  D  I 
ssb: core 0x080f, irq : 2(S)  3  4  5  6  D  I*
ssb: Sonics Silicon Backplane found at address 0x18000000
ssb: PCIcore in host mode found
ssb: CardBus slot detected
root@Matrix:~#


comment:6 Changed 5 years ago by Olivier <vhann3000+openwrt@…>

This is weird: I receive email notifications when I post, but not when you guys do, is this normal?

comment:7 Changed 5 years ago by vhann3000+openwrt@…

Ok, I finally solved this problem and added corresponding infos to the wiki page (it is as simple as installing kmod-brcm-wl-mimo in 10.03.1).

Now, here's what I gathered during my journey towards getting around this issue:
-Right now, I can connect to the router via wireless, but using WPA, authentication times out (I'll open a new bug for this if I can't solve it);
-I tried compiling my own firmware (to test the B43_DEBUG thing). Compiling is easy and all (well, I have a bit of experience with kernel compiling), but actually installing the firmware is quite a bit of trouble: the compilation produces a .bin file which neither sysupgrade nor mtd accept (they want .trx). The FAQ and every resource I read said it was ignorant to convert a .bin to a .trx.
It seems the only option I have is to make a serial cable and flash my custom firmware on the router through it. I am still unsure where exactly to plug the serial cable (is it directly into the WAN port or do I need to solder something to the PCB?). I didn't see a header close to the WAN port on the PCB.

-I can not seem to be able to reclose the bug. Please close it as the initial problem now has a solution.

comment:8 Changed 4 years ago by nbd

  • Resolution set to worksforme
  • Status changed from reopened to closed

comment:9 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:10 Changed 18 months ago by dioo_

  • Resolution worksforme deleted
  • Status changed from closed to reopened

Hi, after a long while putting this device away, I'm back at it.

Both of the following attempts are with Chaos Calmer r45227:

I tried the Broadcom proprietary driver with jow's help on IRC (disabling everything else, etc), but it didn't work: wl and wl_glue are loaded in lsmod, but no wireless in ifconfig -a.

Then I reread Zajec's comment above and tried the following:

  1. select b43 (CONFIG_TARGET_brcm47xx_legacy_Broadcom-b43)
  2. Disable all Broadcom stuff: (kmod-brcm-wl, kmod-brcm-wl-mini)
  3. Enable kmod-b43
  4. Set CONFIG_B43_FW_SQUASH_PHYTYPES to G,LP,N (added N)
  5. Enable CONFIG_PACKAGE_B43_PHY_N
  6. Enable CONFIG_PACKAGE_B43_DEBUG

Still no luck:

root@OpenWrt:~#  dmesg | egrep 'ssb|bcma|b43'
[    0.000000] bcm47xx: using ssb bus
[    0.000000] ssb: Found chip with id 0x4704, rev 0x09 and package 0x00
[    0.000000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x03, vendor 0x4243)
[    0.000000] ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
[    0.000000] ssb: Core 2 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
[    0.000000] ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243)
[    0.000000] ssb: Core 4 found: PCI (cc 0x804, rev 0x08, vendor 0x4243)
[    0.000000] ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x03, vendor 0x4243)
[    0.000000] ssb: Core 6 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
[    0.000000] ssb: Core 7 found: IPSEC (cc 0x80B, rev 0x00, vendor 0x4243)
[    0.000000] ssb: Core 8 found: MEMC SDRAM (cc 0x80F, rev 0x02, vendor 0x4243)
[    0.000000] ssb: chipcommon status is 0x0
[    0.000000] ssb: Initializing MIPS core...
[    0.000000] ssb: set_irq: core 0x0806, irq 4 => 4
[    0.000000] ssb: set_irq: core 0x0806, irq 5 => 5
[    0.000000] ssb: after irq reconfiguration
[    0.000000] ssb: core 0x0800, irq : 2(S)  3* 4  5  6  D  I 
[    0.000000] ssb: core 0x0806, irq : 2(S)  3  4* 5  6  D  I 
[    0.000000] ssb: core 0x0806, irq : 2(S)  3  4  5* 6  D  I 
[    0.000000] ssb: core 0x0808, irq : 2(S)* 3  4  5  6  D  I 
[    0.000000] ssb: core 0x0804, irq : 2(S)  3  4  5  6* D  I 
[    0.000000] ssb: core 0x0816, irq : 2(S)* 3  4  5  6  D  I 
[    0.000000] ssb: core 0x0807, irq : 2(S)* 3  4  5  6  D  I 
[    0.000000] ssb: core 0x080b, irq : 2(S)* 3  4  5  6  D  I 
[    0.000000] ssb: core 0x080f, irq : 2(S)  3  4  5  6  D  I*
[    0.000000] ssb: Sonics Silicon Backplane found at address 0x18000000
[    0.770000] b44 ssb0:0: attached PHY driver [Broadcom B53 (1)] (mii_bus:phy_addr=1:1e)
[    0.780000] b44 ssb0:0 eth0: Broadcom 44xx/47xx 10/100 PCI ethernet driver 00:18:f8:e6:18:f8
[    0.800000] b44 ssb0:1: could not find PHY at 4, use fixed one
[    0.800000] b44 ssb0:1: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00)
[    0.810000] b44 ssb0:1 eth1: Broadcom 44xx/47xx 10/100 PCI ethernet driver 00:88:88:88:00:2a
[    4.640000] b44 ssb0:0 eth0: Link is up at 100 Mbps, half duplex
[    4.650000] b44 ssb0:0 eth0: Flow control is off for TX and off for RX
[    5.780000] b44 ssb0:0 eth0: Link is Up - 100Mbps/Full - flow control off
[   15.410000] b44 ssb0:0 eth0: powering down PHY
[   15.780000] b44 ssb0:0 eth0: Link is Down
[   26.560000] b44 ssb0:0 eth0: Link is up at 100 Mbps, full duplex
[   26.570000] b44 ssb0:0 eth0: Flow control is off for TX and off for RX
[   27.790000] b44 ssb0:0 eth0: Link is Up - 100Mbps/Full - flow control off
[   35.270000] b44 ssb0:0 eth0: powering down PHY
[   35.310000] b44 ssb0:0 eth0: Link is up at 100 Mbps, full duplex
[   35.320000] b44 ssb0:0 eth0: Flow control is off for TX and off for RX
[   35.420000] b44 ssb0:1 eth1: Link is up at 100 Mbps, half duplex
[   35.430000] b44 ssb0:1 eth1: Flow control is off for TX and off for RX
[   36.890000] b44 ssb0:1 eth1: Link is Up - 100Mbps/Full - flow control off
root@OpenWrt:~#
root@OpenWrt:~# lsmod | head -n 4
arc4                    1312  0 
b43                   356356  0 
cfg80211              213249  2 b43
compat                  1628  3 b43
root@OpenWrt:~# 

Add Comment

Modify Ticket

Action
as reopened .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.