improving compiled modules of kernel - per-user (was Reasons Why Jaunty Will Not Ship With 2.6.29)

Scott James Remnant scott at canonical.com
Thu Feb 12 14:48:11 UTC 2009


On Thu, 2009-02-12 at 11:15 +0000, (``-_-ยดยด) -- BUGabundo wrote:

> On Thursday 12 February 2009 00:17:51 Scott James Remnant wrote:
> > This is most likely simply a difference between *your* 2.6.29 config and
> > the Ubuntu 2.6.28 one - I expect you compiled in many of the drivers
> > your computer needed, and omitted those you didn't
> 
> Hope I dont start a flame war here, but is there any *easy* way for non-devel-but-somewhat-advanced-users to pick the _current_ installed kernel and optimise it to there machine in an *automated* way?
> 
No.

That would be a worthwhile project for a prospective developer.

I'd do something like:

 - iterate /sys, looking for the devices
 - track to their drivers (either by looking at what's loaded, or
   comparing modalias to MODULE_DEVICE_TABLE)
 - figure out the CONFIG entry
 - spit out a config

Scott
-- 
Scott James Remnant
scott at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20090212/74fe4b83/attachment.sig>


More information about the Ubuntu-devel-discuss mailing list