* [gentoo-user] Identifying missing modules...
@ 2011-01-23 18:08 meino.cramer
2011-01-23 20:03 ` [gentoo-user] " walt
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: meino.cramer @ 2011-01-23 18:08 UTC (permalink / raw
To: Gentoo
Hi,
when doing as root
lspci -vk
I get all pci devices and "bus inhabitants" listed.
Additionally there are often two lines added to each
device saying similiar things like:
Kernel driver in use: >XYZ>
Kernel modules: <XYZ>
and there other devices do not have similiar entries.
My question is: How can I distinguish devices/entities,
which do not need any driver to work and those, which
need a driver but in the current setup the driver wasn't
compiled in/compiled as module?
Thank you very much in advance for any help!
Best regards,
mcc
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: Identifying missing modules...
2011-01-23 18:08 [gentoo-user] Identifying missing modules meino.cramer
@ 2011-01-23 20:03 ` walt
2011-01-24 3:25 ` meino.cramer
2011-01-23 20:03 ` [gentoo-user] " Alan McKinnon
2011-01-23 22:13 ` Mark Knecht
2 siblings, 1 reply; 6+ messages in thread
From: walt @ 2011-01-23 20:03 UTC (permalink / raw
To: gentoo-user
On 01/23/2011 10:08 AM, meino.cramer@gmx.de wrote:
>
> Hi,
> My question is: How can I distinguish devices/entities,
> which do not need any driver to work and those, which
> need a driver but in the current setup the driver wasn't
> compiled in/compiled as module?
Well, this is quick and dirty and you won't learn much about
kernel modules, but it will most likely work very easily.
Get the latest gentoo installation CD (it really can be any
linux install CD as long as it's recent) and boot it in the
machine you're having trouble with.
The reasoning is the install CD will already have *every*
driver available, and the kernel will load the drivers it
needs for your particular machine.
So, once the CD is booted, just figure out how to get a
console going and type lsmod. Write down anything that
looks related to sound, and build your own kernel with
those drivers enabled.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Identifying missing modules...
2011-01-23 18:08 [gentoo-user] Identifying missing modules meino.cramer
2011-01-23 20:03 ` [gentoo-user] " walt
@ 2011-01-23 20:03 ` Alan McKinnon
2011-01-23 22:13 ` Mark Knecht
2 siblings, 0 replies; 6+ messages in thread
From: Alan McKinnon @ 2011-01-23 20:03 UTC (permalink / raw
To: gentoo-user
Apparently, though unproven, at 20:08 on Sunday 23 January 2011,
meino.cramer@gmx.de did opine thusly:
> Hi,
>
> when doing as root
>
> lspci -vk
>
> I get all pci devices and "bus inhabitants" listed.
> Additionally there are often two lines added to each
> device saying similiar things like:
>
> Kernel driver in use: >XYZ>
> Kernel modules: <XYZ>
>
> and there other devices do not have similiar entries.
>
> My question is: How can I distinguish devices/entities,
> which do not need any driver to work and those, which
> need a driver but in the current setup the driver wasn't
> compiled in/compiled as module?
lspci won't show you the info you request. That's a function known only the
the kernel, not to userspace. What lspci does is find stuff on the pci bus,
then go looking for modules that are attached to it.
Note that it looks for modules (via some kernel<->userspace interface), not
any kernel code driving the device.
Your question is an entirely different beast. I think your best bet is google,
or to find some web site showing a kernel/hardware/module compatibility list.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Identifying missing modules...
2011-01-23 18:08 [gentoo-user] Identifying missing modules meino.cramer
2011-01-23 20:03 ` [gentoo-user] " walt
2011-01-23 20:03 ` [gentoo-user] " Alan McKinnon
@ 2011-01-23 22:13 ` Mark Knecht
2011-01-25 4:13 ` James Wall
2 siblings, 1 reply; 6+ messages in thread
From: Mark Knecht @ 2011-01-23 22:13 UTC (permalink / raw
To: gentoo-user
On Sun, Jan 23, 2011 at 10:08 AM, <meino.cramer@gmx.de> wrote:
>
> Hi,
>
> when doing as root
>
> lspci -vk
>
> I get all pci devices and "bus inhabitants" listed.
> Additionally there are often two lines added to each
> device saying similiar things like:
>
> Kernel driver in use: >XYZ>
> Kernel modules: <XYZ>
>
> and there other devices do not have similiar entries.
>
> My question is: How can I distinguish devices/entities,
> which do not need any driver to work and those, which
> need a driver but in the current setup the driver wasn't
> compiled in/compiled as module?
>
> Thank you very much in advance for any help!
> Best regards,
> mcc
Devices that need a driver are listed as 'Kernel driver in use:'
whether the driver is compiled in or not.
Devices that have their driver compiled in do not have the line
'Kernel modules:'
Devices that have neither line are controlled by the kernel but don't
need anything from the driver section.
I suppose there is the possibility that lspci could find a PCI device
which hasn't had a driver selected as module or builtin and then not
show anything. In this case I expect that the device wouldn't
function.
Hope this helps,
Mark
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: Identifying missing modules...
2011-01-23 20:03 ` [gentoo-user] " walt
@ 2011-01-24 3:25 ` meino.cramer
0 siblings, 0 replies; 6+ messages in thread
From: meino.cramer @ 2011-01-24 3:25 UTC (permalink / raw
To: gentoo-user
walt <w41ter@gmail.com> [11-01-24 04:05]:
> On 01/23/2011 10:08 AM, meino.cramer@gmx.de wrote:
> >
> >Hi,
>
> >My question is: How can I distinguish devices/entities,
> >which do not need any driver to work and those, which
> >need a driver but in the current setup the driver wasn't
> >compiled in/compiled as module?
>
> Well, this is quick and dirty and you won't learn much about
> kernel modules, but it will most likely work very easily.
>
> Get the latest gentoo installation CD (it really can be any
> linux install CD as long as it's recent) and boot it in the
> machine you're having trouble with.
>
> The reasoning is the install CD will already have *every*
> driver available, and the kernel will load the drivers it
> needs for your particular machine.
>
> So, once the CD is booted, just figure out how to get a
> console going and type lsmod. Write down anything that
> looks related to sound, and build your own kernel with
> those drivers enabled.
>
>
Is the CD equipped with a linux 2.6.37.* kernel?
Best regards,
mcc
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Identifying missing modules...
2011-01-23 22:13 ` Mark Knecht
@ 2011-01-25 4:13 ` James Wall
0 siblings, 0 replies; 6+ messages in thread
From: James Wall @ 2011-01-25 4:13 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/23/11 16:13, Mark Knecht wrote:
> On Sun, Jan 23, 2011 at 10:08 AM, <meino.cramer@gmx.de> wrote:
>>
>> Hi,
>>
>> when doing as root
>>
>> lspci -vk
>>
>> I get all pci devices and "bus inhabitants" listed.
>> Additionally there are often two lines added to each
>> device saying similiar things like:
>>
>> Kernel driver in use: >XYZ>
>> Kernel modules: <XYZ>
>>
>> and there other devices do not have similiar entries.
>>
>> My question is: How can I distinguish devices/entities,
>> which do not need any driver to work and those, which
>> need a driver but in the current setup the driver wasn't
>> compiled in/compiled as module?
>>
>> Thank you very much in advance for any help!
>> Best regards,
>> mcc
>
> Devices that need a driver are listed as 'Kernel driver in use:'
> whether the driver is compiled in or not.
>
> Devices that have their driver compiled in do not have the line
> 'Kernel modules:'
>
> Devices that have neither line are controlled by the kernel but don't
> need anything from the driver section.
>
> I suppose there is the possibility that lspci could find a PCI device
> which hasn't had a driver selected as module or builtin and then not
> show anything. In this case I expect that the device wouldn't
> function.
>
> Hope this helps,
> Mark
>
Check out http://www.kernel-seeds.org for a walkthrough of kernel
configuration or dump the results of lspci -n into
http://kmuto.jp/debian/hcl/ for a list of modules
James Wall
- --
No trees were harmed in the sending of this message. However, a large
number of electrons were terribly inconvenienced.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNPk3zAAoJEISPTA/exVD8/WgH/114CSqMLPm0us9gOnUJmJZM
8bvpZDa1x5xWCjLcI4zn0fwqo8UZpQBGjFYDtrrGnSwXpZSbN4H0mCCZOVZDoNFZ
0szNemJwF68oMm8u71D5LFBianCZfCQmsMAf5bC0nG4SJe80YnREDPJVRt9xvl91
lBRrBDvV1ZxOzOl/gBIA3si8aiKWQ6V+WeoQi7nO1zaCWMw1p8LuyoONuPModl+U
sjt67czGRE6bnC8Y5Lu48v4zJU6jKM20zjdTaTPcrLOce0kzYNqBFRnDCWRO2TRu
jr+Se9JNcq97IQOWSiwPcCUW1Q3a9p2+WAz045FUwrKkT/08OvRKDw4S9rdSLa0=
=77yQ
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-01-25 4:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-23 18:08 [gentoo-user] Identifying missing modules meino.cramer
2011-01-23 20:03 ` [gentoo-user] " walt
2011-01-24 3:25 ` meino.cramer
2011-01-23 20:03 ` [gentoo-user] " Alan McKinnon
2011-01-23 22:13 ` Mark Knecht
2011-01-25 4:13 ` James Wall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox