From: chris at martin.cc <chris@martin.cc>
To: b43-dev@lists.infradead.org
Subject: Switching to 4.174.64.19 firmware for G-PHY cards?
Date: Wed, 2 Mar 2011 23:14:52 +1100 [thread overview]
Message-ID: <AANLkTim4XtL9+2mw7Kx_Cu_LXak8Y6a_CgkwtrUHf_bo@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikmckvf3K-KEF7h0L-2mx-N5eQyapaF8fJiYrbs@mail.gmail.com>
2011/3/2 Rafa? Mi?ecki <zajec5@gmail.com>
>
> W dniu 2 marca 2011 04:30 u?ytkownik chris at martin.cc <chris@martin.cc> napisa?:
> > 2011/3/2 chris at martin.cc <chris@martin.cc>
> >>
> >> As one of the people why reported some of these issues, I am going to take it upon my self to
> >> test the current b43 firmware with an ASUS WL500pv2. ?This uses the Broadcom 5354 SoC and > has a LP-PHY with Both the stable(4.150.10.5) and experimental?(4.178.10.4)?firmware.
> >
> > OK. ?I managed that faster that I expected
> > I tested the latest (fresh checkout) of OpenWrt backfire 10.03
> > I can confirm that when using the broadcom 5354 SoC (LP-PHY) that the
> > experimental??(4.178.10.4)?firmware. causes "oom" errors.
> > I repeated tests with both stable and experimental with the same
> > configuration and the
> > experimental version always caused "oom"
> >
> > happy to test anything else as needed. ?I currently have the stable
> > version under a load test
> >
> > The following is the first "iteration" of the log - as up can see the
> > firmware is loaded.
> > The radio interface is added to the bridge and ?moved to the
> > forwarding state, then POW.
> >
> > b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
> > b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
> > device wlan0 entered promiscuous mode
> > br-lan: port 2(wlan0) entering forwarding state
> > hotplug2 invoked oom-killer: gfp_mask=0x80d0, order=0, oom_adj=0
>
> Thanks for your tests!
>
> I really need some help now. Does anyone have idea how changing
> firmware can cause out of memory on host? I try to imagine some
> reasons...
> 1) We detect some problem with hw/fw (correctly or not) and go into
> some infinity recursion
> 2) Newer firmware does sth differently with DMA, we allocate too much?
> OK, there is not even point "3" from me. I have no more ideas :|
>
> I could check than new vs. old firmware on my only LP-PHY, but how can
> I check for memory allocated by module? lsmod displays column "size"
> but I don't think it's about memory.
>
I did look in the source and found that there where 3 locations that
kmalloc() was called,
I added a printk(KERN_CRIT), just before each so I could determine so
that it would be displayed on the console.
But I didn't get anything. So it must be in a tight loop. And I'm
pretty sure that it is triggered by a packet being sent to the radio
from the bridge.
I did notice that there was some debug options so I will have a look
at that tomorrow.
----------------------------------------------------------
Chris Martin
m: +61 419 812 371
----------------------------------------------------------
next prev parent reply other threads:[~2011-03-02 12:14 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-07 12:21 Switching to 4.174.64.19 firmware for G-PHY cards? Rafał Miłecki
2010-12-07 12:28 ` Rafał Miłecki
2010-12-07 15:32 ` Larry Finger
2010-12-07 19:21 ` Hauke Mehrtens
2011-03-01 13:33 ` Rafał Miłecki
2011-03-02 0:11 ` chris at martin.cc
2011-03-02 0:20 ` Rafał Miłecki
2011-03-02 3:30 ` chris at martin.cc
2011-03-02 9:58 ` Rafał Miłecki
2011-03-02 10:52 ` Rafał Miłecki
2011-03-02 11:22 ` Jonas Gorski
2011-03-02 12:20 ` chris at martin.cc
2011-03-02 22:00 ` Larry Finger
2011-03-02 23:02 ` chris at martin.cc
2011-03-03 4:43 ` chris at martin.cc
2011-03-03 7:58 ` Rafał Miłecki
2011-03-03 11:50 ` Rafał Miłecki
2011-03-03 23:49 ` chris at martin.cc
2011-03-07 12:35 ` Rafał Miłecki
2011-03-04 0:37 ` chris at martin.cc
2011-03-07 12:26 ` Rafał Miłecki
2011-03-08 1:12 ` chris at martin.cc
2011-03-07 13:12 ` Rafał Miłecki
2011-03-07 16:41 ` Rafał Miłecki
2011-03-08 1:25 ` chris at martin.cc
2011-03-08 13:26 ` Rafał Miłecki
2011-03-09 0:44 ` chris at martin.cc
2011-03-09 0:47 ` Rafał Miłecki
2011-03-09 0:47 ` chris at martin.cc
2011-03-03 4:55 ` chris at martin.cc
2011-03-02 23:00 ` chris at martin.cc
2011-03-02 12:14 ` chris at martin.cc [this message]
2011-03-02 13:12 ` Rafał Miłecki
2011-03-02 23:12 ` Jonas Gorski
2011-03-03 3:40 ` chris at martin.cc
2011-03-03 7:55 ` Rafał Miłecki
2011-03-03 15:52 ` Larry Finger
2011-03-03 5:34 ` chris at martin.cc
2011-03-03 4:23 ` chris at martin.cc
2011-03-02 10:08 ` Rafał Miłecki
2011-03-02 12:17 ` chris at martin.cc
2011-03-03 3:44 ` chris at martin.cc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTim4XtL9+2mw7Kx_Cu_LXak8Y6a_CgkwtrUHf_bo@mail.gmail.com \
--to=chris@martin.cc \
--cc=b43-dev@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).