ndiswrapper doesn't work with some amd64 drivers (patch attached)

Bug #66498 reported by Andreas Gnau
6
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
linux-source-2.6.17 (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

ndiswrapper 1.22, which is included in edgy, does not work with several amd64-drivers.

The attached patch to win2lin_stubs.S by giri (ndiswrapper-developer) fixes this.

Quote: "When copying function arguments 7 through 12 in win2lin functions, registers
rsi and rdi are used. These registers are also used to pass arguments 1 and
2 for Linux function. To avoid overwriting arguments 1 and 2, first copy
the arguments on stack and then copy arguments in registers, so Linux
function gets them correctly"

This should definitely be fixed before the final release of edgy due to the fact that many users will use the included ndiswrapper module in linux-source instead of compiling a newer version. Especially those who upgrade will wonder why their driver does no longer work.

Revision history for this message
Andreas Gnau (rondom) wrote :
Simon Law (sfllaw)
Changed in linux-source-2.6.17:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

I am assigning this bug to the 'ubuntu-kernel-team' per their bug policy. For future reference you can learn more about their bug policy at https://wiki.ubuntu.com/KernelTeamBugPolicies .

Changed in linux-source-2.6.17:
assignee: nobody → ubuntu-kernel-team
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Hardy Heron Alpha series is currently under development and contains an updated version of the kernel. It would be helpful if you could test the latest Hardy Alpha release: http://www.ubuntu.com/testing . You should be able to then test the new kernel via the LiveCD. If you can, please verify if this bug still exists or not and report back your results. We'll keep this report open against the actively developed kernel bug against 2.6.17 this will be closed. Thanks.

Changed in linux:
status: New → Incomplete
Changed in linux-source-2.6.17:
status: Confirmed → Won't Fix
Revision history for this message
Andreas Gnau (rondom) wrote :

Completely forgot this. Of course this is fixed, as hardy has ndiswrapper 1.52

Changed in linux:
status: Incomplete → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.