Summary

Implement a testing and debugging strategy that will allow faster response to hardware regressions. These regressions cannot be prevented, but with the proper infrastructure, can be caught faster, and thus fixed in a smaller timeframe.

It is also hoped that the hwdb can be used to preemptively call for testing of specific drivers against users who are known to have such hardware, and are willing to test these upgrades.

Rationale

We frequently have regressions in the kernel regarding hardware support. Drivers will stop working, or crash. Hardware will suddenly not be recognized, or fail to work as well as it did before. This all happens during the development phase. Assuming this, our goal is to make sure that all regressions are fixed prior to the release, so that someone upgrading from one release to the next will continue to have working hardware.

At the very least, release upgrades should work as well as the last. In some cases we want them to work better, such as supporting hardware that was not supported before.

The hope is that a proper testing and debugging strategy, in addition to educating those users that follow the development cycle, will enable us to react more quickly and with better results to the regressions.

Scope

This spec addresses kernel testing. It should not be confused with generic hardware testing. Each regression is important and testing on all possible setups is vital for kernel stability. No single subsystem is more important than another. Any regression is important. Again, this is not a spec for general hardware testing. It does not cover cases where a driver was always broken, or the hardware was never supported.

Use cases

Implementation

Code

Outstanding issues

Most of the time we can't prevent breakage, but we can detect it earlier and try to fix it more quickly.

We don't want to ask users to install dapper too early, as we don't support it. The live CD would be a very good tool for testing but it requires the kernel in the archive (plus propagation to the CD) and it is an expensive operation for a simple round of testing. Also some people think the live CD is too big to download.

Comments


CategorySpec

PreventingHardwareSupportRegressions (last edited 2008-08-06 16:28:35 by localhost)