Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 512304

Summary: net-wireless/broadcom-sta-6.30.223.248-r1 with kernel 3.16.1 - segmentation fault in wl.ko at wlc_ioctl()
Product: Gentoo Linux Reporter: Constantin Baranov <const>
Component: [OLD] Core systemAssignee: Matt Turner <mattst88>
Status: RESOLVED FIXED    
Severity: major CC: gottlieb, kernel, proxy-maint, rliaonau
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 513156    
Bug Blocks:    
Attachments: picture of kernel panic

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.