Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127569 - stable ndiswrapper does not work with 2.6.16 kernels
Summary: stable ndiswrapper does not work with 2.6.16 kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 126829 129364
Blocks:
  Show dependency tree
 
Reported: 2006-03-25 14:26 UTC by Petteri Räty (RETIRED)
Modified: 2006-04-30 15:10 UTC (History)
8 users (show)

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


Attachments
Make it works without the "usb" flag (ndiswrapper-1.13-urbs.patch,564 bytes, patch)
2006-04-12 08:47 UTC, Neil Dökkalfar
Details | Diff
ndiswrapper-1.2-kernel-2.6.16.patch (ndiswrapper-1.2-kernel-2.6.16.patch,600 bytes, patch)
2006-04-19 03:56 UTC, Daniel Drake (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2006-03-25 14:26:57 UTC
The stable ndiswrapper does not compile with 2.6.16 kernel and versions before 1.9 have not proven stable enough. Let's see how 1.11 does but we need a stable versions that works before 2.6.16 goes stable.
Comment 1 Vincent Paeder 2006-04-08 10:05:18 UTC
I can confirm there are odd problems with 2.6.16 and ndiswrapper (1.2 and 1.9 at least). But I wonder if it comes also partly from ndiswrapper since v1.9 doesn't work with 2.6.15 either (should say, partly works since I can connect to my router, and some restricted websites only).
Comment 2 Vincent Paeder 2006-04-08 10:50:56 UTC
tried ndiswrapper 1.11 and it works flawlessly with kernel 2.6.16.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2006-04-09 00:05:23 UTC
(In reply to comment #2)
> tried ndiswrapper 1.11 and it works flawlessly with kernel 2.6.16.
> 

Arch teams: I just unmasked this today but I have had reports from several users on both x86 and amd64 that ndiswrapper-1.11 works for them. I recommend we mark this version just before 2.6.16 goes stable to give it as much time in ~arch as possible.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2006-04-09 10:23:03 UTC
1.13 is out with bugfixes so probably better to target that after I get the bump done. Release early and release often I guess. 
Comment 5 Neil Dökkalfar 2006-04-12 08:47:22 UTC
Created attachment 84512 [details, diff]
Make it works without the "usb" flag

A small commenting-patch by giri on #ndiswrapper@irc.freenode.net making the 1.13 version work with
Comment 6 Chris White (RETIRED) gentoo-dev 2006-04-12 09:04:04 UTC
I'd like to get a comment from the patch author on why they commented out instead of removing. It seems like removing that would also remove the need for the else conditional that utilizes it, as well as reworking/removal of any if/else if statements before it.
Comment 7 Vincent Paeder 2006-04-14 16:32:09 UTC
well ... 1.11 works but 1.13 doesn't.
Comment 8 Wim van Dorst 2006-04-16 02:53:54 UTC
(In reply to comment #7)
> well ... 1.11 works but 1.13 doesn't.

During emerging I get warnings about the two urbs things, but it does compile. But it fails to start up with these same two warnings. Commenting out as suggested by Neil would probably make it work, but I just reverted back to 1.11.

Reference: running gcc-3.3.5-0050130 on Linux 2.6.11-gentoo-r6 on a Pentium M environment.

Met vriendelijke groeten, Wim van Dorst

Comment 9 Guillaume Ayoub 2006-04-16 08:19:03 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > well ... 1.11 works but 1.13 doesn't.
> 
> During emerging I get warnings about the two urbs things, but it does compile.
> But it fails to start up with these same two warnings. Commenting out as
> suggested by Neil would probably make it work, but I just reverted back to
> 1.11.
> 
I had the same problem, but adding "usb" to USE flags works. Quite strange, should be fixed quickly...
Comment 10 Vincent Paeder 2006-04-16 16:20:00 UTC
Tried with the usb USE flag but in my case 1.13 still doesn't work. And I have a pcmcia card so I hardly think I need the usb flag :) ...
anyway ... sticking to 1.11 for now (am I sticky?).
Comment 11 Wim van Dorst 2006-04-17 09:37:15 UTC
(In reply to comment #9)
> I had the same problem, but adding "usb" to USE flags works. Quite strange,
> should be fixed quickly...


Thanks. That did the trick. I agree this needs fixing.

Reference: ndiswrapper for BCMWL5.
Comment 12 Daniel Drake (RETIRED) gentoo-dev 2006-04-19 03:56:15 UTC
Created attachment 84948 [details, diff]
ndiswrapper-1.2-kernel-2.6.16.patch

This patch allows ndiswrapper-1.2-r1 to compile on 2.6.16. I don't know if it works, but as long as it compiles it's better than nothing. I'll probably commit this later today, I hope that is OK. (2.6.16 stable request coming up very soon)
Comment 13 Daniel Drake (RETIRED) gentoo-dev 2006-04-19 12:32:52 UTC
Committed that patch to avoid compilation breakage in stable tree. Any success/failure reports with 1.2-r1 on 2.6.16 would be appreciated.
Comment 14 t35t0r 2006-04-23 08:01:46 UTC
ndiswrapper-1.13 breaks my bcmwl5 under 2.6.16. I get these messages in dmesg:

ndiswrapper: Unknown symbol wrap_suspend_urbs
ndiswrapper: Unknown symbol wrap_resume_urbs

Downgrading to 1.11 fixed the problem. Btw 1.15-rc1 and 1.14 stable have been released by ndiswrapper.
Comment 15 t35t0r 2006-04-23 08:08:21 UTC
can someone update the subject to ndiswrapper-1.14 stable and ndiswrapper-1.15_rc1 released ?
Comment 16 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-23 08:13:00 UTC
No.  Daniel asked to have 1.2-r1 tested.  We really aren't concerned about updating the version in stable until absolutely necessary, and after it has undergone the proper testing.
Comment 17 Mark Loeser (RETIRED) gentoo-dev 2006-04-29 20:10:35 UTC
I don't think x86 needs to be on this bug any longer since the current stable version should compile and work.  Re-add us if necessary.
Comment 18 Raymond Lewis Rebbeck 2006-04-29 20:34:22 UTC
ndiswrapper-1.2-r1 appears to be working fine on my x86 laptop with a WG511 pcmcia card. I'm using gentoo-sources-2.6.16-r3 and wpa_supplicant-0.4.8 I am using it to post this comment.
Comment 19 Petteri Räty (RETIRED) gentoo-dev 2006-04-30 15:10:35 UTC
(In reply to comment #18)
> ndiswrapper-1.2-r1 appears to be working fine on my x86 laptop with a WG511
> pcmcia card. I'm using gentoo-sources-2.6.16-r3 and wpa_supplicant-0.4.8 I am
> using it to post this comment.
> 

Closing this as fixed then.