Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Issue 6677181: Blacklist brcm* drivers from preload-wifi-driver (Closed)

Created:
9 years, 8 months ago by kliegs
Modified:
9 years ago
Reviewers:
ggg, jrbarnette
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

If a Broadcom wireless driver is pre-loaded, the entire system state can become indeterminate (other driver modules are not properly loaded by the kernel). This behavior has been seen on multiple broadcom drivers (brcmfmac and brcmsmac) on multiple platforms (both x86 and ARM). BUG=chromium-os:13152 TEST=Add debugging logic to file and restart udev with brcmfmac in preload-wifie-driver Restart udev without it Observe in both cases the proper execution path (skipping or performing preload) Burnt a fresh image with the change. Rebooted multiple times and observed correct behavior each reboot Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=c85e54f

Patch Set 1 #

Patch Set 2 : Fixed logic for non-bash environments #

Patch Set 3 : Move blacklisting to udev-addon.conf #

Total comments: 4

Patch Set 4 : Addressed nits #

Patch Set 5 : Added -f to rm #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M udev-addon.conf View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
kliegs
9 years, 8 months ago (2011-04-06 16:35:21 UTC) #1
jrbarnette
Can we put this blacklisting behavior into udev-addon.conf, where it's not taking cycles from getting ...
9 years, 8 months ago (2011-04-06 18:18:09 UTC) #2
kliegs
Yah, I can move it. Had wanted it in udev.conf to cover boards which had ...
9 years, 8 months ago (2011-04-06 18:34:04 UTC) #3
ggg
On Wed, Apr 6, 2011 at 11:33 AM, Jonathan Kliegman <kliegs@chromium.org> wrote: > Yah, I ...
9 years, 8 months ago (2011-04-06 18:45:22 UTC) #4
kliegs
9 years, 8 months ago (2011-04-06 19:43:35 UTC) #5
ggg
I'm not able to reproduce the failure on Seaboard with this CL: http://codereview.chromium.org/6802002/ I've rebooted ...
9 years, 8 months ago (2011-04-06 20:28:31 UTC) #6
kliegs
We saw it on Lenovo S10-3T bcm4313 (x86 + brcmsmac) as well. I'll test the ...
9 years, 8 months ago (2011-04-06 20:39:48 UTC) #7
ggg
LGTM even though I can not reproduce this on ARM. Please documentation (e.g. bug reports) ...
9 years, 8 months ago (2011-04-06 21:56:35 UTC) #8
jrbarnette
Two nits, LGTM otherwise. Thanks! http://codereview.chromium.org/6677181/diff/5002/udev-addon.conf File udev-addon.conf (right): http://codereview.chromium.org/6677181/diff/5002/udev-addon.conf#newcode36 udev-addon.conf:36: # Blacklist brcm drivers ...
9 years, 8 months ago (2011-04-06 22:20:51 UTC) #9
kliegs
http://codereview.chromium.org/6677181/diff/5002/udev-addon.conf File udev-addon.conf (right): http://codereview.chromium.org/6677181/diff/5002/udev-addon.conf#newcode36 udev-addon.conf:36: # Blacklist brcm drivers On 2011/04/06 22:20:51, jrbarnette wrote: ...
9 years, 8 months ago (2011-04-06 22:30:12 UTC) #10
jrbarnette
9 years, 8 months ago (2011-04-06 23:08:53 UTC) #11
LGTM!  Thanks!


On 2011/04/06 22:30:12, kliegs wrote:
> http://codereview.chromium.org/6677181/diff/5002/udev-addon.conf
> File udev-addon.conf (right):
> 
> http://codereview.chromium.org/6677181/diff/5002/udev-addon.conf#newcode36
> udev-addon.conf:36: # Blacklist brcm drivers
> On 2011/04/06 22:20:51, jrbarnette wrote:
> > Can you add a TODO here?  I want to make sure it's clear that we
> > know this is a hack, and to put a boundary around the reason why
> > we need it.
> 
> Done.
> 
> http://codereview.chromium.org/6677181/diff/5002/udev-addon.conf#newcode38
> udev-addon.conf:38: [ -s $drvfile ] && rm $drvfile
> On 2011/04/06 22:20:51, jrbarnette wrote:
> > Ugh.  I'm not fond of this idiom.  This will work equivalently:
> >     rm -f $drvfile
> 
> Done.

Powered by Google App Engine
This is Rietveld 408576698