From: Greg KH <greg@kroah.com>
To: Nathaniel McCallum <nathaniel@natemccallum.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Exposing device ids and driver names
Date: Thu, 1 Oct 2009 11:05:31 -0700 [thread overview]
Message-ID: <20091001180531.GA3199@kroah.com> (raw)
In-Reply-To: <4AC4E07E.8040707@natemccallum.com>
On Thu, Oct 01, 2009 at 01:01:50PM -0400, Nathaniel McCallum wrote:
> On 10/01/2009 12:42 PM, Greg KH wrote:
> > On Thu, Oct 01, 2009 at 12:40:05PM -0400, Nathaniel McCallum wrote:
> >> Please CC me on any responses as I'm not subscribed to lkml.
> >>
> >> I have the aim at creating two tools helpful to linux. The first tool
> >> is a driver regression test of sorts. I want to be able to create
> >> essentially a time line of hardware support as they appear in distros.
> >> The second tool, related to the first, is a program which runs on
> >> Windows and scans for a user's hardware and tells them which distro will
> >> best support their hardware.
> >
> > That's going to be interesting, as all distros pretty much use the same
> > kernel, it will just depend on who is "newer" at the moment, right?
>
> Mostly yes. I intend to also trace id diffs against mainline to see if
> distros have picked up patches that are not upstream.
That should be easier to do by just looking at the diff from mainline to
their kernel. All distros should be providing this already so it
shouldn't be that hard to run a static code analyzer on it if needed.
> >> I already have a working prototype of these two tools. It currently
> >> uses the data exported by modinfo. This however does not provide
> >> transparency for drivers compiled into the kernel.
> >
> > Most distros don't build drivers into the kernel, so you should be fine
> > with what you have today, right? Or have you run into problems with
> > this?
>
> I've run into specific problems. This is obviously the case on
> specialized distros (which I *do* want to measure). However, even a
> quick diff on configs will show differences on major distros with some
> devices being compiled into the kernel. It is also often true that ACPI
> devices are built into the kernel.
Yes, and look at the Moblin builds, we put lots of stuff into the kernel
directly for speed at boot issues.
> > Why not just use the baseline kernel as a model for this. Do a 'make
> > allmodconfig' and then extract the data and publish it that way. No
> > kernel changes are needed, and then any distro can be easily matched up
> > by this based on what they are using. That will save you time in
> > downloading zillions of distro releases, and provide a nice easy way to
> > show what the kernel.org releases support.
>
> Unfortunately, I would not be able to track changes to the kernel in
> this model. Since this is one of my explicit goals (to make sure that
> distro kernel changes get upstream), I think a non-invasive kernel
> modification would be worth the effort.
But this was an invasive modification, it added space to the kernel
images for no real benifit other than for your tracking tools. That's
not going to fly unless you can find another good use for the change.
thanks,
greg k-h
next prev parent reply other threads:[~2009-10-01 18:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-01 16:40 Exposing device ids and driver names Nathaniel McCallum
2009-10-01 16:42 ` Greg KH
2009-10-01 17:01 ` Nathaniel McCallum
2009-10-01 18:05 ` Greg KH [this message]
2009-10-01 18:35 ` Nathaniel McCallum
2009-10-01 18:40 ` Greg KH
2009-10-01 18:56 ` Nathaniel McCallum
2009-10-01 19:07 ` Greg KH
2009-10-01 19:17 ` Nathaniel McCallum
2009-10-01 21:36 ` Nathaniel McCallum
2009-10-01 17:47 ` Stefan Richter
2009-10-01 18:02 ` Nathaniel McCallum
2009-10-01 18:23 ` Stefan Richter
2009-10-01 18:28 ` Nathaniel McCallum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091001180531.GA3199@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nathaniel@natemccallum.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox