Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Gentoo is not recognizing any USB devices
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ilexite
n00b
n00b


Joined: 06 Mar 2022
Posts: 10
Location: Earth

PostPosted: Sun Mar 06, 2022 10:25 pm    Post subject: [SOLVED] Gentoo is not recognizing any USB devices Reply with quote

I recently installed Windows 10 on a new partition and I tried to add it to GRUB. I installed GRUB incorrectly, and it was causing Gentoo to panic. I recompiled Gentoo a few times and eventually I reinstalled GRUB correctly. After this, Gentoo did not recognize my keyboard, my mouse, or the livecd USB drive which I had plugged in. I tried to recompile the kernel again, with a different config; Here's my current config.

(Maybe) useful stuff:
Code:
ilexite@gentoo ~ $ lspci | grep -i usb
01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller (rev 01)
08:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1)
08:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
09:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host controller

Code:
ilexite@gentoo ~ $ uname -a
Linux gentoo 5.15.16-gentoo-x86_64 #1 SMP Mon Feb 28 19:39:50 -00 2022 x86_64 AMD Ryzen 7 2700X Eight-Core Processor AuthenticAMD GNU/Linux


Last edited by ilexite on Mon Mar 07, 2022 6:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5353
Location: Bavaria

PostPosted: Sun Mar 06, 2022 10:51 pm    Post subject: Reply with quote

ilexite,

Welcome to Gentoo Forums !


Please elaborate your current problem.

Do you have a black window ? Do you have some error messages ? Do you have a terminal and cant type in your logon ?

Please describe also your system (Model, systemd or OpenRC ? UEFI boot or CSM boot ? Grub2 or stub-kernel ? ... ) and what you have installed so far.

As far as I can see you have all needed modules for USB and for an USB keyboard and mouse, but you are missing a frame buffer configuration (maybe a black window ?):

Code:
# CONFIG_FB is not set


Please use for future informations "lscpi -v".
Back to top
View user's profile Send private message
ilexite
n00b
n00b


Joined: 06 Mar 2022
Posts: 10
Location: Earth

PostPosted: Sun Mar 06, 2022 10:56 pm    Post subject: Reply with quote

pietinger,

I do not have a black screen, Gentoo boots normally, I can see openrc logs, it prompts me to log in but I can't.

lspci -v:
Code:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex
   Subsystem: ASUSTeK Computer Inc. Family 17h (Models 00h-0fh) Root Complex
   Flags: fast devsel

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit
   Subsystem: ASUSTeK Computer Inc. Family 17h (Models 00h-0fh) I/O Memory Management Unit
   Flags: fast devsel, IRQ 25
   Capabilities: [40] Secure device <?>
   Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
   Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
   Flags: fast devsel, IOMMU group 0

00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0, IRQ 26, IOMMU group 1
   Bus: primary=00, secondary=01, subordinate=07, sec-latency=0
   I/O behind bridge: 0000e000-0000efff [size=4K]
   Memory behind bridge: f6500000-f66fffff [size=2M]
   Prefetchable memory behind bridge: [disabled]
   Capabilities: [50] Power Management version 3
   Capabilities: [58] Express Root Port (Slot+), MSI 00
   Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [c0] Subsystem: ASUSTeK Computer Inc. Family 17h (Models 00h-0fh) PCIe GPP Bridge
   Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
   Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
   Capabilities: [150] Advanced Error Reporting
   Capabilities: [270] Secondary PCI Express
   Capabilities: [2a0] Access Control Services
   Capabilities: [370] L1 PM Substates
   Capabilities: [3c4] Designated Vendor-Specific: Vendor=1022 ID=0001 Rev=1 Len=44 <?>
   Kernel driver in use: pcieport

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
   DeviceName:  Onboard IGD
   Flags: fast devsel, IOMMU group 2

00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
   Flags: fast devsel, IOMMU group 3

00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0, IRQ 27, IOMMU group 4
   Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
   I/O behind bridge: 0000d000-0000dfff [size=4K]
   Memory behind bridge: f5000000-f60fffff [size=17M]
   Prefetchable memory behind bridge: 00000000e0000000-00000000f20fffff [size=289M]
   Capabilities: [50] Power Management version 3
   Capabilities: [58] Express Root Port (Slot+), MSI 00
   Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [c0] Subsystem: ASUSTeK Computer Inc. Family 17h (Models 00h-0fh) PCIe GPP Bridge
   Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
   Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
   Capabilities: [150] Advanced Error Reporting
   Capabilities: [270] Secondary PCI Express
   Capabilities: [2a0] Access Control Services
   Capabilities: [370] L1 PM Substates
   Capabilities: [3c4] Designated Vendor-Specific: Vendor=1022 ID=0001 Rev=1 Len=44 <?>
   Kernel driver in use: pcieport

00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
   Flags: fast devsel, IOMMU group 5

00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
   Flags: fast devsel, IOMMU group 6

00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0, IRQ 28, IOMMU group 7
   Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
   I/O behind bridge: [disabled]
   Memory behind bridge: f6200000-f64fffff [size=3M]
   Prefetchable memory behind bridge: [disabled]
   Capabilities: [50] Power Management version 3
   Capabilities: [58] Express Root Port (Slot-), MSI 00
   Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [c0] Subsystem: ASUSTeK Computer Inc. Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
   Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
   Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
   Capabilities: [150] Advanced Error Reporting
   Capabilities: [270] Secondary PCI Express
   Capabilities: [2a0] Access Control Services
   Kernel driver in use: pcieport

00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
   Flags: fast devsel, IOMMU group 8

00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0, IRQ 30, IOMMU group 9
   Bus: primary=00, secondary=0a, subordinate=0a, sec-latency=0
   I/O behind bridge: [disabled]
   Memory behind bridge: f6700000-f67fffff [size=1M]
   Prefetchable memory behind bridge: [disabled]
   Capabilities: [50] Power Management version 3
   Capabilities: [58] Express Root Port (Slot-), MSI 00
   Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [c0] Subsystem: ASUSTeK Computer Inc. Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
   Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
   Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
   Capabilities: [150] Advanced Error Reporting
   Capabilities: [270] Secondary PCI Express
   Capabilities: [2a0] Access Control Services
   Kernel driver in use: pcieport

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
   Subsystem: ASUSTeK Computer Inc. FCH SMBus Controller
   Flags: 66MHz, medium devsel, IOMMU group 10
   Kernel driver in use: piix4_smbus
   Kernel modules: i2c_piix4, sp5100_tco

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
   Subsystem: ASUSTeK Computer Inc. FCH LPC Bridge
   Flags: bus master, 66MHz, medium devsel, latency 0, IOMMU group 10

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0
   Flags: fast devsel, IOMMU group 11

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1
   Flags: fast devsel, IOMMU group 11

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2
   Flags: fast devsel, IOMMU group 11

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3
   Flags: fast devsel, IOMMU group 11
   Kernel driver in use: k10temp
   Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4
   Flags: fast devsel, IOMMU group 11

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5
   Flags: fast devsel, IOMMU group 11

00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6
   Flags: fast devsel, IOMMU group 11

00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7
   Flags: fast devsel, IOMMU group 11

01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller (rev 01) (prog-if 30 [XHCI])
   Subsystem: ASMedia Technology Inc. 400 Series Chipset USB 3.1 XHCI Controller
   Flags: fast devsel, IRQ 24, IOMMU group 12
   Memory at f66a0000 (64-bit, non-prefetchable) [size=32K]
   Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
   Capabilities: [68] MSI-X: Enable- Count=8 Masked-
   Capabilities: [78] Power Management version 3
   Capabilities: [80] Express Legacy Endpoint, MSI 00
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [200] Secondary PCI Express
   Capabilities: [300] Latency Tolerance Reporting
   Capabilities: [400] L1 PM Substates
   Kernel modules: xhci_pci

01:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller (rev 01) (prog-if 01 [AHCI 1.0])
   Subsystem: ASMedia Technology Inc. 400 Series Chipset SATA Controller
   Flags: bus master, fast devsel, latency 0, IRQ 40, IOMMU group 12
   Memory at f6680000 (32-bit, non-prefetchable) [size=128K]
   Expansion ROM at f6600000 [disabled] [size=512K]
   Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [78] Power Management version 3
   Capabilities: [80] Express Legacy Endpoint, MSI 00
   Capabilities: [100] Advanced Error Reporting
   Kernel driver in use: ahci
   Kernel modules: ahci

01:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge (rev 01) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0, IRQ 32, IOMMU group 12
   Bus: primary=01, secondary=02, subordinate=07, sec-latency=0
   I/O behind bridge: 0000e000-0000efff [size=4K]
   Memory behind bridge: f6500000-f65fffff [size=1M]
   Prefetchable memory behind bridge: [disabled]
   Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [78] Power Management version 3
   Capabilities: [80] Express Upstream Port, MSI 00
   Capabilities: [c0] Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Bridge
   Capabilities: [100] Advanced Error Reporting
   Kernel driver in use: pcieport

02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0, IRQ 33, IOMMU group 12
   Bus: primary=02, secondary=03, subordinate=03, sec-latency=0
   I/O behind bridge: 0000e000-0000efff [size=4K]
   Memory behind bridge: f6500000-f65fffff [size=1M]
   Prefetchable memory behind bridge: [disabled]
   Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [78] Power Management version 3
   Capabilities: [80] Express Downstream Port (Slot+), MSI 00
   Capabilities: [c0] Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Port
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [200] Secondary PCI Express
   Capabilities: [400] L1 PM Substates
   Kernel driver in use: pcieport

02:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0, IRQ 35, IOMMU group 12
   Bus: primary=02, secondary=04, subordinate=04, sec-latency=0
   I/O behind bridge: [disabled]
   Memory behind bridge: [disabled]
   Prefetchable memory behind bridge: [disabled]
   Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [78] Power Management version 3
   Capabilities: [80] Express Downstream Port (Slot+), MSI 00
   Capabilities: [c0] Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Port
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [200] Secondary PCI Express
   Capabilities: [400] L1 PM Substates
   Kernel driver in use: pcieport

02:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0, IRQ 36, IOMMU group 12
   Bus: primary=02, secondary=05, subordinate=05, sec-latency=0
   I/O behind bridge: [disabled]
   Memory behind bridge: [disabled]
   Prefetchable memory behind bridge: [disabled]
   Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [78] Power Management version 3
   Capabilities: [80] Express Downstream Port (Slot+), MSI 00
   Capabilities: [c0] Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Port
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [200] Secondary PCI Express
   Capabilities: [400] L1 PM Substates
   Kernel driver in use: pcieport

02:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0, IRQ 37, IOMMU group 12
   Bus: primary=02, secondary=06, subordinate=06, sec-latency=0
   I/O behind bridge: [disabled]
   Memory behind bridge: [disabled]
   Prefetchable memory behind bridge: [disabled]
   Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [78] Power Management version 3
   Capabilities: [80] Express Downstream Port (Slot+), MSI 00
   Capabilities: [c0] Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Port
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [200] Secondary PCI Express
   Capabilities: [400] L1 PM Substates
   Kernel driver in use: pcieport

02:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0, IRQ 39, IOMMU group 12
   Bus: primary=02, secondary=07, subordinate=07, sec-latency=0
   I/O behind bridge: [disabled]
   Memory behind bridge: [disabled]
   Prefetchable memory behind bridge: [disabled]
   Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [78] Power Management version 3
   Capabilities: [80] Express Downstream Port (Slot+), MSI 00
   Capabilities: [c0] Subsystem: ASMedia Technology Inc. 400 Series Chipset PCIe Port
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [200] Secondary PCI Express
   Capabilities: [400] L1 PM Substates
   Kernel driver in use: pcieport

03:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
   Subsystem: ASUSTeK Computer Inc. I211 Gigabit Network Connection
   Flags: bus master, fast devsel, latency 0, IRQ 29, IOMMU group 12
   Memory at f6500000 (32-bit, non-prefetchable) [size=128K]
   I/O ports at e000 [size=32]
   Memory at f6520000 (32-bit, non-prefetchable) [size=16K]
   Capabilities: [40] Power Management version 3
   Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
   Capabilities: [70] MSI-X: Enable+ Count=5 Masked-
   Capabilities: [a0] Express Endpoint, MSI 00
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [140] Device Serial Number 24-4b-fe-ff-ff-dd-df-3f
   Capabilities: [1a0] Transaction Processing Hints
   Kernel driver in use: igb
   Kernel modules: igb

08:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Gigabyte Technology Co., Ltd TU116 [GeForce GTX 1660 SUPER]
   Flags: bus master, fast devsel, latency 0, IRQ 71, IOMMU group 13
   Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
   Memory at e0000000 (64-bit, prefetchable) [size=256M]
   Memory at f0000000 (64-bit, prefetchable) [size=32M]
   I/O ports at d000 [size=128]
   Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
   Capabilities: [60] Power Management version 3
   Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [78] Express Legacy Endpoint, MSI 00
   Capabilities: [100] Virtual Channel
   Capabilities: [258] L1 PM Substates
   Capabilities: [128] Power Budgeting <?>
   Capabilities: [420] Advanced Error Reporting
   Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
   Capabilities: [900] Secondary PCI Express
   Capabilities: [bb0] Physical Resizable BAR
   Kernel driver in use: nvidia
   Kernel modules: nouveau, nvidia_drm, nvidia

08:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
   Subsystem: Gigabyte Technology Co., Ltd TU116 High Definition Audio Controller
   Flags: bus master, fast devsel, latency 0, IRQ 68, IOMMU group 13
   Memory at f6080000 (32-bit, non-prefetchable) [size=16K]
   Capabilities: [60] Power Management version 3
   Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [78] Express Endpoint, MSI 00
   Capabilities: [100] Advanced Error Reporting
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel

08:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1) (prog-if 30 [XHCI])
   Subsystem: Gigabyte Technology Co., Ltd TU116 USB 3.1 Host Controller
   Flags: bus master, fast devsel, latency 0, IRQ 24, IOMMU group 13
   Memory at f2000000 (64-bit, prefetchable) [size=256K]
   Memory at f2040000 (64-bit, prefetchable) [size=64K]
   Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [78] Express Endpoint, MSI 00
   Capabilities: [b4] Power Management version 3
   Capabilities: [100] Advanced Error Reporting
   Kernel modules: xhci_pci

08:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
   Subsystem: Gigabyte Technology Co., Ltd TU116 USB Type-C UCSI Controller
   Flags: bus master, fast devsel, latency 0, IRQ 64, IOMMU group 13
   Memory at f6084000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [78] Express Endpoint, MSI 00
   Capabilities: [b4] Power Management version 3
   Capabilities: [100] Advanced Error Reporting
   Kernel driver in use: nvidia-gpu
   Kernel modules: i2c_nvidia_gpu

09:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function
   Subsystem: ASUSTeK Computer Inc. Zeppelin/Raven/Raven2 PCIe Dummy Function
   Flags: fast devsel, IOMMU group 14
   Capabilities: [48] Vendor Specific Information: Len=08 <?>
   Capabilities: [50] Power Management version 3
   Capabilities: [64] Express Endpoint, MSI 00
   Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
   Capabilities: [150] Advanced Error Reporting
   Capabilities: [270] Secondary PCI Express
   Capabilities: [2a0] Access Control Services

09:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor
   Subsystem: ASUSTeK Computer Inc. Family 17h (Models 00h-0fh) Platform Security Processor
   Flags: bus master, fast devsel, latency 0, IRQ 65, IOMMU group 15
   Memory at f6300000 (32-bit, non-prefetchable) [size=1M]
   Memory at f6400000 (32-bit, non-prefetchable) [size=8K]
   Capabilities: [48] Vendor Specific Information: Len=08 <?>
   Capabilities: [50] Power Management version 3
   Capabilities: [64] Express Endpoint, MSI 00
   Capabilities: [a0] MSI: Enable- Count=1/2 Maskable- 64bit+
   Capabilities: [c0] MSI-X: Enable+ Count=2 Masked-
   Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
   Capabilities: [150] Advanced Error Reporting
   Capabilities: [2a0] Access Control Services
   Kernel driver in use: ccp
   Kernel modules: ccp

09:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host controller (prog-if 30 [XHCI])
   Subsystem: ASUSTeK Computer Inc. Zeppelin USB 3.0 Host controller
   Flags: fast devsel, IRQ 25, IOMMU group 16
   Memory at f6200000 (64-bit, non-prefetchable) [size=1M]
   Capabilities: [48] Vendor Specific Information: Len=08 <?>
   Capabilities: [50] Power Management version 3
   Capabilities: [64] Express Endpoint, MSI 00
   Capabilities: [a0] MSI: Enable- Count=1/8 Maskable- 64bit+
   Capabilities: [c0] MSI-X: Enable- Count=8 Masked-
   Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
   Capabilities: [150] Advanced Error Reporting
   Capabilities: [2a0] Access Control Services
   Kernel modules: xhci_pci

0a:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function
   Subsystem: ASUSTeK Computer Inc. Zeppelin/Renoir PCIe Dummy Function
   Flags: fast devsel, IOMMU group 17
   Capabilities: [48] Vendor Specific Information: Len=08 <?>
   Capabilities: [50] Power Management version 3
   Capabilities: [64] Express Endpoint, MSI 00
   Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
   Capabilities: [150] Advanced Error Reporting
   Capabilities: [270] Secondary PCI Express
   Capabilities: [2a0] Access Control Services

0a:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51) (prog-if 01 [AHCI 1.0])
   Subsystem: ASUSTeK Computer Inc. FCH SATA Controller [AHCI mode]
   Flags: bus master, fast devsel, latency 0, IRQ 42, IOMMU group 18
   Memory at f6708000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [48] Vendor Specific Information: Len=08 <?>
   Capabilities: [50] Power Management version 3
   Capabilities: [64] Express Endpoint, MSI 00
   Capabilities: [a0] MSI: Enable+ Count=16/16 Maskable- 64bit+
   Capabilities: [d0] SATA HBA v1.0
   Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
   Capabilities: [150] Advanced Error Reporting
   Capabilities: [2a0] Access Control Services
   Kernel driver in use: ahci
   Kernel modules: ahci

0a:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
   Subsystem: ASUSTeK Computer Inc. Family 17h (Models 00h-0fh) HD Audio Controller
   Flags: bus master, fast devsel, latency 0, IRQ 70, IOMMU group 19
   Memory at f6700000 (32-bit, non-prefetchable) [size=32K]
   Capabilities: [48] Vendor Specific Information: Len=08 <?>
   Capabilities: [50] Power Management version 3
   Capabilities: [64] Express Endpoint, MSI 00
   Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
   Capabilities: [150] Advanced Error Reporting
   Capabilities: [2a0] Access Control Services
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
Back to top
View user's profile Send private message
ilexite
n00b
n00b


Joined: 06 Mar 2022
Posts: 10
Location: Earth

PostPosted: Sun Mar 06, 2022 10:58 pm    Post subject: Reply with quote

I use UEFI + GPT and GRUB2.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5353
Location: Bavaria

PostPosted: Sun Mar 06, 2022 11:21 pm    Post subject: Reply with quote

Ok. You have booted with a minimal CD (or another) and did a "lspci -v" from a working configuration. Here you see all kernel modules used. For example:
Code:
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
   Subsystem: ASUSTeK Computer Inc. FCH SMBus Controller
   Flags: 66MHz, medium devsel, IOMMU group 10
   Kernel driver in use: piix4_smbus
   Kernel modules: i2c_piix4, sp5100_tco


You have in your kernel config:
Code:
CONFIG_I2C_I801=y

# CONFIG_I2C_PIIX4 is not set


... you see ... ? (sp5100_tco is not important at this time; its only your watchdog)

Maybe there are more problems in your kernel config. How have you done it ?

For more help, we really need more informations. System, chipset, exact name of model ....
Back to top
View user's profile Send private message
ilexite
n00b
n00b


Joined: 06 Mar 2022
Posts: 10
Location: Earth

PostPosted: Mon Mar 07, 2022 3:42 pm    Post subject: Reply with quote

Hello again,

Sorry for the late response but it was late and I had to go; I am back now. I tried to recompile Gentoo with CONFIG_I2C_PIIX4=y but it made no difference.

My specifications:

  • Kernel: Gentoo 5.15.16
  • Arch: x86_64
  • CPU: AMD Ryzen 7 2700x
  • GPU: NVIDIA GTX 1660 SUPER
  • Motherboard: ROG STRIX B450-F
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54799
Location: 56N 3W

PostPosted: Mon Mar 07, 2022 3:53 pm    Post subject: Reply with quote

ilexite,

Code:
09:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host controller (prog-if 30 [XHCI])
   Subsystem: ASUSTeK Computer Inc. Zeppelin USB 3.0 Host controller
   Kernel modules: xhci_pci


That xhci_pci is the PCIe bus interface to your USB3 controller. Its required but not sufficient.
You also need
Code:
xhci_hcd


Code:
$ grep -i xhci_hcd /usr/src/linux/.config
CONFIG_USB_XHCI_HCD=y

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ilexite
n00b
n00b


Joined: 06 Mar 2022
Posts: 10
Location: Earth

PostPosted: Mon Mar 07, 2022 3:58 pm    Post subject: Reply with quote

I have that set to y in my config, is that correct?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54799
Location: 56N 3W

PostPosted: Mon Mar 07, 2022 4:06 pm    Post subject: Reply with quote

ilexite,

Yes, that's correct,

Put your entire kernel .config file onto a pastebin please.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ilexite
n00b
n00b


Joined: 06 Mar 2022
Posts: 10
Location: Earth

PostPosted: Mon Mar 07, 2022 4:08 pm    Post subject: Reply with quote

it's already in the original post, i'll send it again: https://pastebin.com/dTzcAFYv
Back to top
View user's profile Send private message
ilexite
n00b
n00b


Joined: 06 Mar 2022
Posts: 10
Location: Earth

PostPosted: Mon Mar 07, 2022 4:13 pm    Post subject: Reply with quote

Looking through the config, I found
Code:

#
# USB port drivers
#
# CONFIG_USB_SERIAL is not set


I will try this and update you on it.

UPDATE: it didn't
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54799
Location: 56N 3W

PostPosted: Mon Mar 07, 2022 4:31 pm    Post subject: Reply with quote

ilexite,

Your kernel looks OK. CONFIG_USB_SERIAL is a menu option for USB to RS-232 converters.
Most people don't need that.

Are you sure you are running the kernel you think you are?

Can you log in using ssh and run
Code:
uname -a
or look at the date/time in the first line of dmesg output?
Both show the build date/time of the running kernel.
We can do this by analysis if we have do but the direct route is better.

Have you ever edited the .config file by hand?
If so its probably in an illegal state as you will hove missed the Depends On: and Selects: that the config tools obey without telling you.
The fix is to throw away the .config and start again.

Such kernels often look OK but don't work in hard to diagnose ways.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ilexite
n00b
n00b


Joined: 06 Mar 2022
Posts: 10
Location: Earth

PostPosted: Mon Mar 07, 2022 4:36 pm    Post subject: Reply with quote

Hmm, it says the kernel was built on 18/02. I don't know why that is.
Items in /boot are from 29/01, I guess I did something wrong.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54799
Location: 56N 3W

PostPosted: Mon Mar 07, 2022 4:50 pm    Post subject: Reply with quote

ilexite,

You have two places on your system that look like boot.

One that I will write /boot (with the leading /) is the /boot directory on the root filesystem.
The other, boot (no leading /) is the boot partition. It must be mounted at /boot when you install a new kernel.

When boot (the partition) is not mounted, /boot should be empty.
With boot mounted at /boot, you see what grub sees at boot time.

Its very easy to forget to mount the boot partition, then correctly install the kernel to the wrong place.
You don't get any error messages.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ilexite
n00b
n00b


Joined: 06 Mar 2022
Posts: 10
Location: Earth

PostPosted: Mon Mar 07, 2022 4:55 pm    Post subject: Reply with quote

I mounted /boot with
Code:
mount /dev/sda1 /mnt/gentoo/boot
(along with the other things I needed to mount) before installing the kernel, is this what you mean or is it something else?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5353
Location: Bavaria

PostPosted: Mon Mar 07, 2022 5:01 pm    Post subject: Reply with quote

@Neddy: OP told that he pasted the old config again, so pls dont get confused. I will answer in some minutes.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5353
Location: Bavaria

PostPosted: Mon Mar 07, 2022 5:14 pm    Post subject: Reply with quote

ilexite,

do you edit your .config manually ? I miss some parts, you should have when you enable some options in "make menuconfig". Do you know why it is important to use only "make menuconfig" ? Many modules DEPENDS and/or SELECTS other modules. If you just edit some lines with "y" you dont have enabled needed others.

BTW: Neddy asked for your actual configuration, expecting to see your changes you told us: "I tried to recompile Gentoo with CONFIG_I2C_PIIX4=y but it made no difference.".

A quick look shows me a wrong ethernet module (lspci -k said "igb"):
Code:
CONFIG_NET_VENDOR_INTEL=y
CONFIG_E100=y
CONFIG_E1000=y
CONFIG_E1000E=y
CONFIG_E1000E_HWTS=y
# CONFIG_IGB is not set


Missing firmware:
Code:
CONFIG_EXTRA_FIRMWARE=""


Wrong graphics adapter:
Code:
# CONFIG_DRM_NOUVEAU is not set
CONFIG_DRM_I915=y

# CONFIG_FB is not set


More missing modules:
Code:
i2c_nvidia_gpu


and maybe some other problems. At the moment I am not sure if this is really your working kernel config.

Let me quote famous words from Neddy:
Quote:
Horrible things happen if you use a text editor on the kernel .config file.
If you are lucky, you will get a kernel that won't build. If not, it may be broken in ways that nobody has ever seen before.

Use menuconfig and its search. Press /
If the symbol you want is not found, press the 'z' key to toggle the display of hidden symbols.
Search again.

The search will find it but you still can't select it. Read the help on the menu option.
Pay attention to the Depends on: That boolean expression must be true before the item can be selected.
Select other things so that your symbol can be selected.

Read the Selects: too. Now ask yourself if you would have got that right with your text editor?

The usual advice to someone who has used a text editor on the .config file is to throw it away and start it again.

(from https://forums.gentoo.org/viewtopic-p-8686380.html#8686380)

So, you dont have to answer how you did your kernel config, but let me recommend to throw it away and do it correct:

1. Boot with Gentoo minimal CD
2. Do a "lspci -k" and write down all modules
3. Do a "lsmod" and write down all other modules
4. Do a "make distclean" and then a "make menuconfig" and enable all needed modules. Search with / in make menuconfig for them. Our AMD64 Intallation handbook will help you: https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel



(A complete list of all links into our Gentoo Wiki for configuring the kernel you will find in my (german) post: https://forums.gentoo.org/viewtopic-t-1112778.html
Back to top
View user's profile Send private message
ilexite
n00b
n00b


Joined: 06 Mar 2022
Posts: 10
Location: Earth

PostPosted: Mon Mar 07, 2022 6:15 pm    Post subject: Reply with quote

It worked, thanks!
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3489

PostPosted: Mon Mar 07, 2022 9:44 pm    Post subject: Reply with quote

Quote:
Do you know why it is important to use only "make menuconfig" ? Many modules DEPENDS and/or SELECTS other modules. If you just edit some lines with "y" you dont have enabled needed others.

Well, yeah, many modules select or require other modules.
Doesn't make oldconfig fix that though?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54799
Location: 56N 3W

PostPosted: Mon Mar 07, 2022 10:08 pm    Post subject: Reply with quote

szatox,

Not always, no. it does its best but the Depends and Selects in the kernel are not always correct.
That''s a bug of course ... there is always one more bug ...
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum