[PATCH] Detect kernel bugs using drivers from staging
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Binary package hint: apport
The linux kernel has a set of drivers technically maintained in the kernel but they really are held in a staging area. The goal for a driver in staging is to eventually be included in the main kernel tree and not just the staging area. The Ubuntu kernel team enables many of the drivers in staging to get wider exposure and testing of these drivers so that developmental improvements can be made to eventually help bring these drivers closer to mainline inclusion.
As a result, the Ubuntu kernel team would find it helpful and beneficial if kernel bug reports filed with apport could detect and tag kernel bugs which are using a staging driver(s). Attached is a patch to the linux package hook to tag bugs with "staging" if a staging driver is in use and also include a list of the staging drivers in use. I've also inlined the patch below. Please consider including. Thanks in advance.
=== modified file 'data/package-
--- data/package-
+++ data/package-
@@ -92,6 +92,13 @@
attach_
attach_
+ staging_drivers = re.findall("(\w+): module is from the staging directory", report[
+ staging_
+ if staging_drivers:
+ staging_drivers = list(set(
+ report[
+ report['Tags'] += ' staging'
+
attach_
ProblemType: Bug
Architecture: i386
CheckboxSubmission: 27199aa7e30bbcb
CheckboxSystem: 8baff8f3b5cdd90
CrashReports:
600:0:
600:0:
600:1000:
Date: Thu Feb 18 16:38:28 2010
DistroRelease: Ubuntu 10.04
Package: apport 1.12-0ubuntu5 [modified: usr/share/
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apport
Uname: Linux 2.6.32-13-generic i686
description: | updated |
tags: | added: patch |
Changed in apport (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in apport (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
Changed in apport (Ubuntu): | |
status: | Triaged → Fix Committed |
I've also pushed this to a branch if that's easier.
https:/ /code.edge. launchpad. net/~leannogasa wara/ubuntu/ lucid/apport/ ubuntu
http:// bazaar. launchpad. net/~leannogasa wara/ubuntu/ lucid/apport/ ubuntu/ revision/ 1625