Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321825 - net-wireless/ndiswrapper: crashs with BCM4312 802.11b/g driver
Summary: net-wireless/ndiswrapper: crashs with BCM4312 802.11b/g driver
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 13:10 UTC by DaggyStyle
Modified: 2010-06-07 12:00 UTC (History)
5 users (show)

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


Attachments
emerge --info (em.in,4.75 KB, text/plain)
2010-05-28 13:14 UTC, DaggyStyle
Details
broadcom-sta error (wl.err,2.34 KB, text/plain)
2010-05-28 13:19 UTC, DaggyStyle
Details
ndiswrapper error (ndis.err,2.25 KB, text/plain)
2010-05-28 13:31 UTC, DaggyStyle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DaggyStyle 2010-05-28 13:10:03 UTC
I have a dell 1535 laptop with the following wireless card: 0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
it worked well until on day when I try either ndiswrapper and broacdom-sta on kernels >2.6.32 it crashes with similar dump, with lower kernel is just doesn't work.
I have tried with windows xp, ubuntu 9.10, 10.04 and opensuse 11.3-Milestone7 in linux and ubuntu the card works without any problems and with opensuse it doesn't crash. what leads me to believe this might be a gentoo issue. I'm attaching my info.

Reproducible: Always
Comment 1 DaggyStyle 2010-05-28 13:14:23 UTC
Created attachment 233265 [details]
emerge --info
Comment 2 DaggyStyle 2010-05-28 13:19:15 UTC
Created attachment 233267 [details]
broadcom-sta error
Comment 3 DaggyStyle 2010-05-28 13:31:41 UTC
Created attachment 233271 [details]
ndiswrapper error
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2010-06-02 14:10:00 UTC
Thank you for report. Could you tell us what drivers have you used in ubuntu? ndiswrapper?
Comment 5 DaggyStyle 2010-06-02 15:17:30 UTC
(In reply to comment #4)
> Thank you for report. Could you tell us what drivers have you used in ubuntu?
> ndiswrapper?
> 
haven't tried ndiswrapper but under ubuntu 10.04 I've used broadcom-sta from the repository and on opensuse, I've used the latest from the company (like gentoo uses)
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2010-06-02 18:54:11 UTC
Ok, then what version of broadcom-sta is there and what kernel ubuntu use?
Comment 7 DaggyStyle 2010-06-02 21:42:02 UTC
(In reply to comment #6)
> Ok, then what version of broadcom-sta is there and what kernel ubuntu use?
> 
the driver version is 5.10.91 I think, kernel was 2.6.32 but when tried with opensuse at kernel 2.6.34 and latest broadcom driver, it didn't seg faulted when I've mod probed it, so did ndiswrapper
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2010-06-03 06:19:34 UTC
Ok, so basically we have two bugs here.

For ndiswrapper could you to try 1.56 version. It's not in portage, so you'll have to bump it manually. Just `cp ndiswrapper-1.55-r1.ebuild ndiswrapper-1.56.ebuild`, then edit ebuild and drop epatch line and then run `repoman manifest`.

For broadcom-sta. Following page suggests to use in-kernel drivers:
http://en.opensuse.org/HCL/Network_Adapters_(Wireless)/Broadcom_BCM43xx

site:
"It is strongly recommended to use this driver rather than the Broadcom STA drivers which are reported to have stability and error-checking issues."

Are you sure that you've used broadcom-sta drivers and not native in opensuse? If yes, could you check kernel version you've used? I doubt opensuse manages to provide 2.6.34 kernel since it was released on 16 May and following page suggests:
http://en.opensuse.org/Package_List/11.2/KDE4-LiveCD-i686
that in most recent release they still use 2.6.31 kernel (and this means that yes, you have to use broadcom-sta driver since native support is not available for your chipset at that kenrel). So I suggest you to try broadcom-sta with most recent 2.6.32 kernel.

Could you try suggested options here and report results, please?
Comment 9 DaggyStyle 2010-06-03 07:44:18 UTC
(In reply to comment #8)
> Ok, so basically we have two bugs here.
> 
> For ndiswrapper could you to try 1.56 version. It's not in portage, so you'll
> have to bump it manually. Just `cp ndiswrapper-1.55-r1.ebuild
> ndiswrapper-1.56.ebuild`, then edit ebuild and drop epatch line and then run
> `repoman manifest`.
> 
will try and report

> For broadcom-sta. Following page suggests to use in-kernel drivers:
> http://en.opensuse.org/HCL/Network_Adapters_(Wireless)/Broadcom_BCM43xx
> 

the b43 never worked for me, have no idea how to even start configuring it.
I did used that how to when I've tried the broadcom-sta on opensuse
> site:
> "It is strongly recommended to use this driver rather than the Broadcom STA
> drivers which are reported to have stability and error-checking issues."
> 
> Are you sure that you've used broadcom-sta drivers and not native in opensuse?
> If yes, could you check kernel version you've used? I doubt opensuse manages to
> provide 2.6.34 kernel since it was released on 16 May and following page
> suggests:
> http://en.opensuse.org/Package_List/11.2/KDE4-LiveCD-i686
> that in most recent release they still use 2.6.31 kernel (and this means that
> yes,
I've used the developer nightly build (milestone-7) livecd which runs kernel 2.6.34 here http://software.opensuse.org/developer/en

> you have to use broadcom-sta driver since native support is not available
> for your chipset at that kenrel). So I suggest you to try broadcom-sta with
> most recent 2.6.32 kernel.
> 
when I tried with kernel 32, both drivers won't crash but they don't make the adapter visible, dmesg shows no abnormal output.


> Could you try suggested options here and report results, please?
> 

will try latest ndiswrapper
Comment 10 DaggyStyle 2010-06-03 12:07:40 UTC
no go with ndiswrapper-1.56, still crashes, will post trace later, I'm trying b34 now
Comment 11 DaggyStyle 2010-06-04 06:35:45 UTC
ok, tried b43, after hard work, it seems to work.
but still have problems to connect with the rc scripts, I need to run wpa_supplicant from cli, will try later t fix it and report.
Comment 12 DaggyStyle 2010-06-04 08:55:08 UTC
it boots fine now, still what should I do with this bug?
Comment 13 Peter Volkov (RETIRED) gentoo-dev 2010-06-07 12:00:13 UTC
Since broadcom-sta is known for being buggy and as I read this bug you haven't tried ndsiwapper in ubuntu/suse and thus it may crash there too, I guess there is nothing we can do at the moment. You could try to report ndiswrpapper issue upstream (and we'll borrow fixes with next release ;)) and broadcom-sta is also upstream issue. So resolving this bug as upstream. Still CC'ing developers just to check if interested.