Bug 26430 - dkms-ndiswrapper does not compile
Summary: dkms-ndiswrapper does not compile
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 26434
Blocks:
  Show dependency treegraph
 
Reported: 2020-04-03 19:13 CEST by Elmar Stellnberger
Modified: 2020-04-05 22:32 CEST (History)
1 user (show)

See Also:
Source RPM: ndiswrapper-1.62-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Elmar Stellnberger 2020-04-03 19:13:08 CEST
I am using the i586 kernel on an old PIV and I need ndiswrapper to get my wlan driver working. However the kernel module does not compile; make.log says:

DKMS make.log for ndiswrapper-1.62-1.mga7 for kernel 5.5.14-desktop-1.mga7 (i586)
Sat Apr  4 01:04:49 PST 2020
make: Entering directory '/var/lib/dkms/ndiswrapper/1.62-1.mga7/build'
/usr/src/kernel-5.5.14-desktop-1.mga7/.config:2: *** target pattern contains no '%'.  Stop.
make: Leaving directory '/var/lib/dkms/ndiswrapper/1.62-1.mga7/build'
Elmar Stellnberger 2020-04-03 19:13:58 CEST

Source RPM: (none) => ndiswrapper-1.62-1.mga7.src.rpm

Comment 1 Lewis Smith 2020-04-03 21:14:33 CEST
Thank you for the report.
Assigning to DavidG for ndiswrapper (you have seen it before!); CC'ing Thomas for DKMS. Not sure who is the most relevant. Note i586.

Assignee: bugsquad => geiger.david68210
CC: (none) => tmb

Comment 2 Thomas Backlund 2020-04-03 22:28:58 CEST
Hm,
seems I've disabled NDISWRAPPER in the kernel in mga7 by mistake :(

TODO++

Assignee: geiger.david68210 => kernel

Comment 3 Elmar Stellnberger 2020-04-04 09:42:56 CEST
Can you fix that at last till the next weekend? I would need it badly because I wanna present that notebook to someone else.
Comment 4 Thomas Backlund 2020-04-04 10:20:03 CEST
You can uninstall the dkms-ndiswrapper package and install the kernel-5.5.15-2.mga7 from updates_testing. it has ndiswrapper fixed and built again
Comment 5 Elmar Stellnberger 2020-04-04 10:44:12 CEST
Unfortunately my machine does not even boot with kernel 5.1.14, the default kernel shipped with Mageia 7.1. Later kernels do no more have the ndiswrapper.ko module (5.5.9, 5.5.14).
Comment 6 Thomas Backlund 2020-04-04 10:54:43 CEST
The kernel-5.5.15-2.mga7 in Core Updates Testing has ndiswrapper.ko


Of course if you want to use dkms-ndiswrapper, you can install the dkms-ndiswrapper-1.62-3.mga7 package (also in Core Updates Testing) that is also fixed so it builds with all kernels including the upcoming 5.6 series kernels...
Thomas Backlund 2020-04-04 11:43:57 CEST

Depends on: (none) => 26434

Comment 7 Thomas Backlund 2020-04-05 19:51:40 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2020-0162.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 8 Elmar Stellnberger 2020-04-05 21:49:08 CEST
My Wifi modules works with ndiswrapper and wpa_supplicant -Dwext though -Dndis would be recommended. Apparently wpa_supplicant has been compiled without explicit ndiswrapper support. On the second trial it also worked with -Dwext. You need to invoke wpa_supplicant explicitly; connecting via the GUI did not work that Wifi module (for usb1.1 wifi it does).
Comment 9 Elmar Stellnberger 2020-04-05 22:28:51 CEST
I wanna download the core update repo for offline install. Otherwise there would be no way to get network access. I hope the kernel package will be in core update until next Friday/Saturday. Can you provide this?
Comment 10 Thomas Backlund 2020-04-05 22:32:35 CEST
The kernel and ndiswrapper updates started mirroring out to public mirrors some 2,5 hours ago, so they are already available on some public mirrors and the others will catch up too

Note You need to log in before you can comment on or make changes to this bug.