Ubuntu

Mismatch between running kernel and linux-headers packages pulled in by bcmwl and dkms

Reported by Scott Kitterman on 2012-04-21
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bcmwl (Ubuntu)
High
Scott Kitterman
Precise
High
Scott Kitterman
dkms (Ubuntu)
Medium
Scott Kitterman
Precise
Medium
Scott Kitterman

Bug Description

Because bcmwl and dkms weren't updated for the i386 switch to prefer the pae kernel, they would pull in the wrong linux-headers-* package. bcmwl is fixed and a fix for dkms has been uploaded for precise-proposed. This may, or may not, land pre-elease.

TEST CASE (for dkms): On an i386 machine using a pae kernel - Starting without dkms or any linux-headers-* packages (linux-headers-generic, linux-headers-generic-pae, linux-headers-3.2.0-23-generic, or linux-headers-3.2.0-23-generic-pae) installed, install dkms.

See linux-headers-generic and linux-headers-3.2.0-23-generic installed.

Remove all of the above packages.

Repeat the installation with the -proposed package.

See linux-headers-generic-pae and linux-headers-3.2.0-23-generic-pae installed.

Scott Kitterman (kitterman) wrote :
Scott Kitterman (kitterman) wrote :

Making this RC because it affects the ability to get internet during install (which is the recommended install configuration) so the fix needs to be on the CD.

Changed in jockey (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-12.04
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/986475

tags: added: iso-testing
Scott Kitterman (kitterman) wrote :

Tried a second time with a wired connection active and it succeeded.

Updated log attached.

Scott Kitterman (kitterman) wrote :

Also fails when doing an actual install and adding extra drivers be includeded in the install. Jockey log for that attached. Same hardware as the earlier comments about the live session.

summary: - Jockey-kde failed to install broadcom STA wifi drivers from Kubuntu live
- session
+ Jockey-kde failed to install broadcom STA wifi drivers from Kubuntu
+ Desktop ISO

Not a jockey bug. Due to bcmwl-kernel-source dependency not being updated for the switch to pae, the right linux source package isn't pulled into live-ship.

Changed in jockey (Ubuntu):
assignee: nobody → Scott Kitterman (kitterman)
affects: jockey (Ubuntu) → bcmwl (Ubuntu)
Changed in bcmwl (Ubuntu):
assignee: Scott Kitterman (kitterman) → nobody
Changed in bcmwl (Ubuntu Precise):
status: New → Fix Committed
assignee: nobody → Scott Kitterman (kitterman)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bcmwl - 5.100.82.38+bdcom-0ubuntu6

---------------
bcmwl (5.100.82.38+bdcom-0ubuntu6) precise; urgency=high

  * Update to match switch to PAE kernel by default in precise for i386
    (LP: #986475)
    - Depend on linux-headers-generic-pae on i386 instead of
      linux-headers-generic so that the right headers are available to build
      the driver
  * Drop long obsolete lpia specific depends on linux-headers-lpia
 -- Scott Kitterman <email address hidden> Sat, 21 Apr 2012 02:09:32 -0400

Changed in bcmwl (Ubuntu Precise):
status: Fix Committed → Fix Released
Scott Kitterman (kitterman) wrote :

The recommends ordering in DKMS isn't helping here either.

Changed in dkms (Ubuntu Precise):
assignee: nobody → Scott Kitterman (kitterman)
importance: Undecided → Medium
status: New → In Progress
Changed in dkms (Ubuntu Precise):
status: In Progress → Fix Committed
description: updated
summary: - Jockey-kde failed to install broadcom STA wifi drivers from Kubuntu
- Desktop ISO
+ Mismatch between running kernel and linux-headers packages pulled in by
+ bcmwll and dkms
summary: Mismatch between running kernel and linux-headers packages pulled in by
- bcmwll and dkms
+ bcmwl and dkms

Hello Scott, or anyone else affected,

Accepted dkms into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Scott Kitterman (kitterman) wrote :

Old DKMS:

$ sudo apt-get install dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  fakeroot linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic linux-headers-generic
The following NEW packages will be installed:
  dkms fakeroot linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic linux-headers-generic
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.4 MB/12.5 MB of archives.
After this operation, 67.9 MB of additional disk space will be used.
Do you want to continue [Y/n]?

New DKMS

$ sudo apt-get install dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  fakeroot linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic-pae linux-headers-generic-pae
The following NEW packages will be installed:
  dkms fakeroot linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic-pae linux-headers-generic-pae
0 upgraded, 5 newly installed, 0 to remove and 14 not upgraded.
Need to get 12.5 MB of archives.
After this operation, 68.0 MB of additional disk space will be used.
Do you want to continue [Y/n]?

Bug is fixed as the corred headers package is now installed.

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dkms - 2.2.0.3-1ubuntu3

---------------
dkms (2.2.0.3-1ubuntu3) precise-proposed; urgency=low

  * Add linux-headers-generic-pae to recommended headers packages so that i386
    installs get the right headers (LP: #986475)
 -- Scott Kitterman <email address hidden> Sat, 21 Apr 2012 15:01:27 -0400

Changed in dkms (Ubuntu Precise):
status: Fix Committed → Fix Released

Hi! Can this be backported to previous versions? A've seen this problem on oneiric and maverick (and even lucid afair)

You may have seen similar problems, but you didn't see this exact one as we
only switched to PAE by default in precise.

Trying to get all the depends/recommends aligned for the various packages
needing the headers and getting them to match the current kernel is a
Sisyphean task. Sometimes you just have to install the right one by hand. I
don't think it's worth going back to try and fix.

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

Other bug subscribers