From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] About to attempt EFI install, which modules to compile?
Date: Thu, 26 Feb 2015 21:33:34 -0600 [thread overview]
Message-ID: <54EFE58E.7080100@gmail.com> (raw)
In-Reply-To: <20150226220236.86380f90bf91cdce3e769179@gmail.com>
German wrote:
> Hi people. I am about to try today an EFI gentoo install with sysrecuecd. It is all more or less clear to me in the install docs, however I am not sure how to gather info about my hardware, which modules should be compiled when installing kernel manually. Is there a way to gather this info? What command should be issued to accomplish that? Also, I am sort of reluctant to compile kernel manually. Is this possible to use genkernel to install system in EFI mode or I must to use manual compilation? Thank you for your advice and suggestions.
>
I have no experience with EFI, yet. I think this will help with one
part of your post tho. You can use lsmod while booted with sysrescue
and get a list of what modules are being used. I've done that before.
It helps.
Another command that can help and may be better. lspci -k. That should
look like this snippet:
01:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio Controller
(rev a1)
Subsystem: NVIDIA Corporation Device 069a
Kernel driver in use: snd_hda_intel
02:00.0 USB controller: VIA Technologies, Inc. Device 3483 (rev 01)
Subsystem: Gigabyte Technology Co., Ltd Device 5007
Kernel driver in use: xhci_hcd
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Subsystem: Gigabyte Technology Co., Ltd Motherboard
Kernel driver in use: r8169
04:06.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet 100/10
MBit (rev 31)
Subsystem: ARCHTEK TELECOM Corp Device 0008
Kernel driver in use: dmfe
What you are really looking for is the "Kernel driver in use:" part. If
you are making your own kernel, you use that info to find the module to
enable, either built in or as a module. I sometimes cheat and use this
command:
lspci -k | grep Kernel
Make sure that K is upper case OR add the -i option to grep. That
command only lists the part I am really interested in and the driver
name sometimes tells what it is for anyway. Plus, it's generally best
to enable the hardware you got.
Maybe someone else can come along and shine some light on the rest.
Dale
:-) :-)
next prev parent reply other threads:[~2015-02-27 3:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 3:02 [gentoo-user] About to attempt EFI install, which modules to compile? German
2015-02-27 3:33 ` Dale [this message]
2015-02-27 3:54 ` German
2015-02-27 4:57 ` Matti Nykyri
2015-02-27 6:09 ` Matti Nykyri
2015-02-27 6:30 ` Mick
2015-02-27 11:23 ` Alec Ten Harmsel
2015-02-28 10:56 ` Matti Nykyri
2015-02-27 11:42 ` German
2015-02-27 12:08 ` Neil Bothwick
2015-02-27 19:35 ` Mick
2015-02-27 9:06 ` Neil Bothwick
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=54EFE58E.7080100@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