On boot, wlan0 fails to come up. After login,
> sudo ifup wlan0
works.
> uname -a
Linux zd7000 2.6.32-5-686 #1 SMP Sun Sep 23 09:49:36 UTC 2012 i686 GNU/Linux
> cat /etc/rc.local
/sbin/modprobe -r b43
/sbin/modprobe b43
/sbin/ifup wlan0
exit 0
But, the b43-pci-bridge driver is still in use.
Why do these commands not work?
> lspci -vnn
<snip>
02:03.0 Network controller [0280]: Broadcom Corporation BCM4306
802.11b/g Wireless LAN Controller [14e4:4320] (rev 03)
Subsystem: Hewlett-Packard Company Broadcom 802.11b/g WLAN
[103c:12f4]
Flags: bus master, fast devsel, latency 32, IRQ 21
Memory at d2004000 (32-bit, non-prefetchable) [size=8K]
Kernel driver in use: b43-pci-bridge
After boot, wlan0 is not up.
However, from the command line,
> sudo ifup wlan0
> sudo ifconfig
<snip>
wlan0 Link encap:Ethernet HWaddr 00:90:4b:52:82:8a
inet addr:192.168.2.10 Bcast:192.168.2.255 \
Mask:255.255.255.0
inet6 addr: fe80::290:4bff:fe52:828a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:505 errors:0 dropped:0 overruns:0 frame:0
TX packets:239 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:54845 (53.5 KiB) TX bytes:67723 (66.1 KiB)
and, networking works.
I enabled verbose in /etc/init.d/rc.local and see the proper message on
the console.
... "Running local boot scripts (/etc/rc.local)"
followed by lots of ioctl[SIOC...] messages
And, there are lots of failure messages in /var/log/kern.log
Feb 23 01:07:16 zd7000 kernel: [ 10.219719] b43: disagrees about
version of symbol ssb_device_is_enabled
etc.
at Feb 23 01:30:40 unloaded b43-pci-bridge and then loaded b43
> sudo modprobe -r b43
and, the b43-pci-bridge driver is gone
> sudo modprobe b43
> sudo ifup wlan0
and, there are no error messages in /var/log/kern.log and networking works.
> sudo tail -40 /var/log/kern.log
Feb 23 01:07:37 zd7000 kernel: [ 37.591944] synaptics: using relaxed
packet validation
Feb 23 01:08:22 zd7000 kernel: [ 83.220024] b43-phy0: dc775de4
Feb 23 01:08:22 zd7000 kernel: [ 83.285726] ADDRCONF(NETDEV_UP):
wlan0: link is not ready
Feb 23 01:08:25 zd7000 kernel: [ 85.524678] wlan0: authenticate with
08:86:3b:d6:f5:c8
Feb 23 01:08:25 zd7000 kernel: [ 85.537165] wlan0: send auth to
08:86:3b:d6:f5:c8 (try 1/3)
Feb 23 01:08:25 zd7000 kernel: [ 85.538698] wlan0: authenticated
Feb 23 01:08:25 zd7000 kernel: [ 85.541025] wlan0: associate with
08:86:3b:d6:f5:c8 (try 1/3)
Feb 23 01:08:25 zd7000 kernel: [ 85.543648] wlan0: RX AssocResp from
08:86:3b:d6:f5:c8 (capab=0x411 status=0 aid=2)
Feb 23 01:08:25 zd7000 kernel: [ 85.544215] wlan0: associated
Feb 23 01:08:25 zd7000 kernel: [ 85.544267] ADDRCONF(NETDEV_CHANGE):
wlan0: link becomes ready
Feb 23 01:08:25 zd7000 kernel: [ 85.886507] padlock: VIA PadLock not
detected.
Feb 23 01:08:26 zd7000 kernel: [ 86.426030] wlan0: IPv6 duplicate
address fe80::290:4bff:fe52:828a detected!
Feb 23 01:30:27 zd7000 kernel: [ 1407.875138] wlan0: deauthenticating
from 08:86:3b:d6:f5:c8 by local choice (reason=3)
Feb 23 01:30:27 zd7000 kernel: [ 1407.909054] cfg80211: Calling CRDA for
country: TW
Feb 23 01:30:40 zd7000 kernel: [ 1420.841198] b43-pci-bridge
0000:02:03.0: PCI INT A disabled
Feb 23 01:30:51 zd7000 kernel: [ 1431.655150] Compat-drivers backport
release: compat-drivers-v3.7.6-1
Feb 23 01:30:51 zd7000 kernel: [ 1431.655156] Backport based on
linux.git v3.7.6
Feb 23 01:30:51 zd7000 kernel: [ 1431.655159] compat.git: linux.git
Feb 23 01:30:51 zd7000 kernel: [ 1431.927850] b43-pci-bridge
0000:02:03.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
Feb 23 01:30:51 zd7000 kernel: [ 1431.927910] ssb: Found chip with id
0x4306, rev 0x03 and package 0x00
Feb 23 01:30:51 zd7000 kernel: [ 1431.927919] ssb: Core 0 found:
ChipCommon (cc 0x800, rev 0x04, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927930] ssb: Core 1 found: IEEE
802.11 (cc 0x812, rev 0x05, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927940] ssb: Core 2 found: PCMCIA
(cc 0x80D, rev 0x02, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927949] ssb: Core 3 found: V90 (cc
0x807, rev 0x02, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927959] ssb: Core 4 found: PCI (cc
0x804, rev 0x09, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.931928] ssb: Sonics Silicon
Backplane found on PCI device 0000:02:03.0
Feb 23 01:30:51 zd7000 kernel: [ 1431.960576] cfg80211: Calling CRDA to
update world regulatory domain
Feb 23 01:30:51 zd7000 kernel: [ 1431.999205] b43-phy0: dc4b9ea4
Feb 23 01:30:51 zd7000 kernel: [ 1432.021018] b43-phy0: dc4b9e50
Feb 23 01:30:51 zd7000 kernel: [ 1432.045117] Broadcom 43xx driver
loaded [ Features: PMNLS ]
Feb 23 01:30:51 zd7000 kernel: [ 1432.059967] ieee80211 phy0: Selected
rate control algorithm 'minstrel_ht'
Feb 23 01:30:51 zd7000 kernel: [ 1432.061916] Registered led device:
b43-phy0::tx
Feb 23 01:30:51 zd7000 kernel: [ 1432.062031] Registered led device:
b43-phy0::rx
Feb 23 01:30:51 zd7000 kernel: [ 1432.062092] Registered led device:
b43-phy0::radio
Feb 23 01:31:06 zd7000 kernel: [ 1447.112036] b43-phy0: d65bdde4
Feb 23 01:31:06 zd7000 kernel: [ 1447.165333] ADDRCONF(NETDEV_UP):
wlan0: link is not ready
Feb 23 01:31:08 zd7000 kernel: [ 1449.340699] wlan0: authenticate with
08:86:3b:d6:f5:c8
Feb 23 01:31:08 zd7000 kernel: [ 1449.353178] wlan0: send auth to
08:86:3b:d6:f5:c8 (try 1/3)
Feb 23 01:31:08 zd7000 kernel: [ 1449.354793] wlan0: authenticated
Feb 23 01:31:08 zd7000 kernel: [ 1449.360026] wlan0: associate with
08:86:3b:d6:f5:c8 (try 1/3)
Feb 23 01:31:08 zd7000 kernel: [ 1449.362396] wlan0: RX AssocResp from
08:86:3b:d6:f5:c8 (capab=0x411 status=0 aid=2)
Feb 23 01:31:08 zd7000 kernel: [ 1449.362961] wlan0: associated
Feb 23 01:31:08 zd7000 kernel: [ 1449.363010] ADDRCONF(NETDEV_CHANGE):
wlan0: link becomes ready
Feb 23 01:31:09 zd7000 kernel: [ 1450.154186] wlan0: IPv6 duplicate
address fe80::290:4bff:fe52:828a detected!
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51288f00.8060...@speakeasy.org