various breakages with 3.x kernels -- patches

Bug #1323895 reported by Paul McClay
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
martian-modem (Ubuntu)
New
Undecided
Unassigned

Bug Description

(for other readers: The martian-modem-source package delivers source for the martian_dev kernel module required to make the martian-modem package useful. It is not source for the martian-modem package.)

3.x kernels have introduced a few obstacles to building the martian-dev module for "martian" modems. The attached patch file reflects fixes that worked with kernel 3.13 for me. I tried to not not break compatibility with earlier kernels but didn't test any of that. Things broken/fixed for me:

. with kernel 3.8 a bunch of __dev* macros went away
. kernel 3.10 introduced procfs changes
. post-2.6 kernels get the .o object file instead of .ko

Adding a link martian-modem-source -> default.sh in /usr/share/modass/packages/ makes this package visible to module-assistant. Mention that? Maybe in control.modules.in? (not in patch)

Matt Schultz had this almost solved in January: http://linmodems.org/cgi-bin/ezmlm-cgi?1:mss:38424:201401

Debian bug 696500 is a subset of this.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696500
(this reported here because reportbug said to use ubuntu-bug)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: martian-modem-source 20080625-2 [modified: usr/src/martian-modem.tar.bz2]
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: i386
CurrentDesktop: LXDE
Date: Tue May 27 19:18:58 2014
InstallationDate: Installed on 2014-05-21 (6 days ago)
InstallationMedia: Lubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140416.2)
SourcePackage: martian-modem
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Paul McClay (pmc-b) wrote :
Revision history for this message
Paul McClay (pmc-b) wrote :

bug 577709 - against the martian-modem package (not martian-modem-source) - describes how the martian-modem package almost delivers the link that would make module-assistant see this. Seems it would make more sense to include that link (corrected) in the martian-modem-source package. But is that fair play, for either package, if the package does not have module-assistant as a dependency?

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "martian-modem-source.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
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.