Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512304 - net-wireless/broadcom-sta-6.30.223.248-r1 with kernel 3.16.1 - segmentation fault in wl.ko at wlc_ioctl()
Summary: net-wireless/broadcom-sta-6.30.223.248-r1 with kernel 3.16.1 - segmentation f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on: 513156
Blocks:
  Show dependency tree
 
Reported: 2014-06-03 17:08 UTC by Constantin Baranov
Modified: 2015-01-27 19:53 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
picture of kernel panic (wl-panic.png,30.53 KB, image/png)
2014-06-03 17:08 UTC, Constantin Baranov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Constantin Baranov 2014-06-03 17:08:31 UTC
Created attachment 378180 [details]
picture of kernel panic

I guess the panic is caused by accessing /proc/brcm_monitor0 file. Patch around proc handling was changed in r1, perhaps incorrectly. Version 6.30.223.141 works fine (well, doesn't crash). Kernel version 3.14.5-gentoo.
Comment 1 M. B. 2014-06-06 16:39:35 UTC
I restored the old patch-structure in my overlay, tbc. If you want you can use that, or stick with the old ebuild, as the update in the ebuild was minimal.
I will need to do a few more tests, then ask someone to commit it.
Comment 2 Constantin Baranov 2014-08-17 20:51:41 UTC
Reopening the ticket for new versions. Sympthoms are the same. Works fine until somebody reads /proc/brcm_monitor0 - then it hangs.
Comment 3 Roman Leonov 2015-01-04 08:14:40 UTC
net-wireless/broadcom-sta-6.30.223.248-r2
sys-kernel/gentoo-sources-3.17.7 and sys-kernel/gentoo-sources-3.18.1
kernel panic can be reproduced by reading /proc/brcm_monitor0
Comment 4 Matt Turner gentoo-dev 2015-01-27 19:53:41 UTC
The patch I've applied to broadcom-sta-6.30.223.248-r3 basically disables /proc/brcm_monitor0 by always returning 0. That seems unideal, but if it wasn't working before either... well at least it can't bring your system down now.