On Mon, Apr 21, 2008 at 3:24 PM, Michael Buesch <mb@xxxxxxxxx> wrote:>> On Monday 21 April 2008 20:50:06 Miles Lane wrote:> > On Mon, Apr 21, 2008 at 7:57 AM, Johannes Berg> > <johannes@xxxxxxxxxxxxxxxx> wrote:> > > Hi,> > >> > > Miles described a b43 speed problem in the thread> > >> > > 2.6.25-rc9 -- bcm4306 performance is in the toilet> > >> > > (over 2.6.24) and not being able to see anything from his logs/packet> > > captures/... I asked him to bisect. This resulted in> > >> > > commit 61bca6eb85c863603d6054530e2f65c3b9aba85b> > > Author: Stefano Brivio <stefano.brivio@xxxxxxxxx>> > > Date: Tue Nov 6 22:49:05 2007 +0100> > >> > > b43: rewrite A PHY initialization> > >> > > which is a huge commit and hence a bit of a problem. Does anyone have> > > suggestions how to proceed?> > >> > > I have very similar hardware, maybe this card is affected by the> > > boardflags problems we found recently? Miles, can you give us> > > * lspci -vn -s 01:06.0> > > * the kernel init messages when ssb is built with debugging> >> > Here you go:> >> > # lspci -vn -s 01:06.0> > 01:06.0 0280: 14e4:4320 (rev 03)> > Subsystem: 1057:7110> > Flags: bus master, fast devsel, latency 16, IRQ 5> > Memory at ed000000 (32-bit, non-prefetchable) [size=8K]> >> > [ 3.977930] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x04, vendor 0x4243)> > [ 3.977942] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x05,> > vendor 0x4243)> > [ 3.977952] ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x02, vendor 0x4243)> > [ 3.977962] ssb: Core 3 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)> > [ 3.977971] ssb: Core 4 found: PCI (cc 0x804, rev 0x09, vendor 0x4243)> > [ 3.993965] ssb: SPROM revision 2 detected.> > [ 3.994816] ssb: Sonics Silicon Backplane found on PCI device 0000:01:06.0> >> > Thanks,> > Miles> >>> Can you also provide an SPROM dump?> cat $(find /sys -name ssb_sprom) # cat $(find /sys -name ssb_sprom)014000001071571020430080020002000010001800000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFF0C0053E53E2CFFFFFFFFFFFFFFFFFFFFFFFFFFFF3410A21585FA89FEFFFFFFFF4C00FFFFFFFFFFFF3E00490A02FF535510FFFFFFFFFF0225 [ 38.678023] b43-phy0: Broadcom 4306 WLAN found[ 38.701952] b43-phy0 debug: Found PHY: Analog 2, Type 2, Revision 2[ 38.701977] b43-phy0 debug: Found Radio: Manuf 0x17F, Version0x2050, Revision 2[ 38.726943] phy0: Selected rate control algorithm 'pid'[ 39.268369] Broadcom 43xx driver loaded [ Features: PR, Firmware-ID: FW13 ][ 39.353043] wlan0 renamed to eth2[ 39.353771] udev: renamed network interface wlan0 to eth2[ 55.319666] input: b43-phy0 as /devices/virtual/input/input4[ 55.682836] b43-phy0: Loading firmware version 351.126 (2006-07-29 05:54:02)[ 55.683407] b43-phy0 warning: You are using an old firmware image.Support for old firmware will be removed in July 2008.[ 55.683992] b43-phy0 warning: You must go tohttp://linuxwireless.org/en/users/Drivers/b43#devicefirmware anddownload the latest firmware (version 4). NOTE: I see the same slowdown with the newer firmware. [ 55.795143] b43-phy0 debug: Chip initialized[ 55.797086] b43-phy0 debug: 30-bit DMA initialized[ 55.801727] b43-phy0 debug: Wireless interface started[ 55.801737] b43-phy0 debug: Adding Interface type 2[ 112.652322] eth2: Initial auth_alg=0[ 112.652333] eth2: authenticate with AP 00:1b:2f:0e:ed:ba[ 112.659665] eth2: RX authentication from 00:1b:2f:0e:ed:ba (alg=0transaction=2 status=0)[ 112.659673] eth2: authenticated[ 112.659678] eth2: associate with AP 00:1b:2f:0e:ed:ba[ 112.670019] eth2: RX AssocResp from 00:1b:2f:0e:ed:ba (capab=0x431status=0 aid=8)[ 112.670028] eth2: associated[ 112.670050] eth2: switched to short barker preamble (BSSID=00:1b:2f:0e:ed:ba)[ 112.906233] padlock: VIA PadLock not detected.[ 112.964017] b43-phy0 debug: Using hardware based encryption forkeyidx: 0, mac: 00:1b:2f:0e:ed:ba[ 112.964043] b43-phy0 debug: Using hardware based encryption forkeyidx: 1, mac: ff:ff:ff:ff:ff:ff��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f