BUILT_MODULE_NAME[#] required if linux-headers-* is installed/updated after the ndiswrapper-dkms package

Bug #978920 reported by Benedikt on 2012-04-11
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ndiswrapper (Ubuntu)
Undecided
Unassigned

Bug Description

During a Kernel Update dkms crashes with:
dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
Error! Bad conf file.
File:
does not represent a valid dkms.conf file.

I think this is because of the Problem that is mentioned in this Debian Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651973

dkms status reports the same Error message.

[Workaround]

Add this line in the file /usr/src/ndiswrapper-1.57/dkms.conf:
BUILT_MODULE_NAME[0]="ndiswrapper"

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dkms 2.2.0.3-1ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic-pae 3.2.14
Uname: Linux 3.2.0-22-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu1
Architecture: i386
Date: Wed Apr 11 15:25:20 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120328)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: dkms
UpgradeStatus: No upgrade log present (probably fresh install)

Benedikt (benedikt-klotz) wrote :
summary: BUILT_MODULE_NAME[#] required if linux-headers-* is installed/updated
- after the foo-dkms package
+ after the dkms package
summary: BUILT_MODULE_NAME[#] required if linux-headers-* is installed/updated
- after the dkms package
+ after the foo-dkms package
description: updated
description: updated
description: updated
Benedikt (benedikt-klotz) wrote :

Aha, the broken package is ndiswrapper-dkms. After I removed this package dkms status showed me no Error message anymore.

affects: dkms (Ubuntu) → ndiswrapper (Ubuntu)
summary: BUILT_MODULE_NAME[#] required if linux-headers-* is installed/updated
- after the foo-dkms package
+ after the ndiswrapper-dkms package
description: updated
Julian Andres Klode (juliank) wrote :

Somewhat known issue, yes. Sorry for that inconvenience. I don't think I can get that fixed today, so we'll have to do this after the final freeze, unless someone else uploads a fixed package directly to Ubuntu.

It appears that we also miss some MAKE[0] line and that ndiswrapper writes wrong configuration files not recognized with kernel 3.0 or something like this.

Changed in ndiswrapper (Ubuntu):
status: New → Confirmed
Julian Andres Klode (juliank) wrote :

I received the following patch for problems with ndiswrapper, if someone wants to build a new -1ubuntu1 version with this and upload it before final freeze, that's fine with me.

The attachment "ndiswrapper-1.57-fixes.diff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ndiswrapper - 1.57-1ubuntu1

---------------
ndiswrapper (1.57-1ubuntu1) precise; urgency=low

  * patch from Joerg Schirottke <email address hidden> to fix (LP: #978920)
   - patches/kernel-3-userspace-support.patch: Allow kernel 3.0+
   - Fix debian/ndiswrapper-dkms.dkms.in
 -- Oliver Grawert <email address hidden> Thu, 12 Apr 2012 16:16:51 +0200

Changed in ndiswrapper (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers