public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Kernel drivers and modules list
Date: Sun, 17 May 2020 16:34:30 -0500	[thread overview]
Message-ID: <226b97bd-7ab7-4772-c2c3-09a46d76dddd@gmail.com> (raw)
In-Reply-To: <CAA8stUn4cK_qz=r7Dfu5ced10Um6WawoPZZbSL6TO90WCagGNQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2537 bytes --]

Raphael MD wrote:
> Hello everyone,
>
> I’ve booted my system with a gentoo live cd, just to figure out my
> system drivers and modules to configure the kernel, because it’s
> difficult to realize what drive my intel Ethernet card uses and many
> others.
>
> Are there  some command to extract that list to configure the kernel?
>
> In fact, are there some manual to help to configure the kernel in the
> best way?
>
>  Usually I configure my Zen processor, put my schedule, and set
> preemptive kernel to low latency and put out every other drive.
>
> Thanks!
>
> -- 
> M.S. Raphael Mejias Dias
> ​Nuclear Engineer | Reactors
>
> Secure e-mail: raphael.mejias.dias@protonmail.com
> <mailto:raphael.mejias.dias@protonmail.com>
> PGP Key for raphaxx@gmail.com <mailto:raphaxx@gmail.com>:
> https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951


Generally a person installs from some sort of Linux bootable device, CD,
DVD, USB stick or something.  If everything works as it should, the
easiest way I know to get a list of drivers, lspci -k should work.  If
you want to narrow down to the drivers themselves, you can do it like this:


root@fireball / # lspci -k | grep driver
        Kernel driver in use: pcieport
        Kernel driver in use: pcieport
        Kernel driver in use: pcieport
        Kernel driver in use: ahci
        Kernel driver in use: ohci-pci
        Kernel driver in use: ehci-pci
        Kernel driver in use: ohci-pci
        Kernel driver in use: ehci-pci
        Kernel driver in use: piix4_smbus
        Kernel driver in use: snd_hda_intel
        Kernel driver in use: ohci-pci
        Kernel driver in use: pcieport
        Kernel driver in use: ohci-pci
        Kernel driver in use: ehci-pci
        Kernel driver in use: k10temp
        Kernel driver in use: fam15h_power
        Kernel driver in use: nvidia
        Kernel driver in use: snd_hda_intel
        Kernel driver in use: xhci_hcd
        Kernel driver in use: r8169
        Kernel driver in use: dmfe
        Kernel driver in use: ahci
root@fireball / #


At that point, you can use those names to search for the driver and
enable them.  That's the way I've done it in the past and it gives you a
very high chance of a working kernel for all hardware.  If you want to
see what each driver drives, just leave off the grep part.

Hope that helps.

Dale

:-)  :-) 

[-- Attachment #2: Type: text/html, Size: 5572 bytes --]

      parent reply	other threads:[~2020-05-17 21:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 17:47 [gentoo-user] Kernel drivers and modules list Raphael MD
2020-05-17 17:58 ` Mark Knecht
2020-05-17 18:33 ` Volker Schneider
2020-05-18 10:20   ` Dr Rainer Woitok
2020-05-17 20:34 ` Ashley Dixon
2020-05-17 21:34 ` Dale [this message]

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=226b97bd-7ab7-4772-c2c3-09a46d76dddd@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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