Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522172 - AdminCD fails to load USB modules and thus fails to boot
Summary: AdminCD fails to load USB modules and thus fails to boot
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-05 04:14 UTC by Patrick Lauer
Modified: 2017-02-02 17:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2014-09-05 04:14:00 UTC
On this machine the admincd (admincd-amd64-20130620.iso) fails to find any USB device and thus boot can't succeed. Running dmesg from shell shows no reasonable USB handling.


# lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (external gfx0 port B) (rev 02)
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (external gfx0 port B)
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD/ATI] RD990 I/O Memory Management Unit (IOMMU)
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RD990 I/O Memory Management Unit (IOMMU)
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port B)
        Kernel driver in use: pcieport
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (external gfx1 port A)
        Kernel driver in use: pcieport
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
        Subsystem: Gigabyte Technology Co., Ltd Device b002
        Kernel driver in use: ahci
        Kernel modules: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
        Subsystem: Gigabyte Technology Co., Ltd Device 5004
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
        Subsystem: Gigabyte Technology Co., Ltd Device 5004
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
        Subsystem: Gigabyte Technology Co., Ltd Device 5004
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
        Subsystem: Gigabyte Technology Co., Ltd Device 5004
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
        Subsystem: Gigabyte Technology Co., Ltd Device 5004
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci
00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
        Subsystem: Gigabyte Technology Co., Ltd Device 5004
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci
00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
        Subsystem: Gigabyte Technology Co., Ltd Device 5004
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
        Subsystem: Hightech Information System Ltd. Device 2291
        Kernel driver in use: radeon
        Kernel modules: radeon
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300 Series]
        Subsystem: Hightech Information System Ltd. Device aa68
02:00.0 RAID bus controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)
        Subsystem: Silicon Image, Inc. Device 7132
        Kernel driver in use: sata_sil24
        Kernel modules: sata_sil24
03:06.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) (rev 11)
        Subsystem: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11)
        Kernel driver in use: skge
        Kernel modules: skge
03:07.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) (rev 11)
        Subsystem: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11)
        Kernel driver in use: skge
        Kernel modules: skge
Comment 1 lkd-gentoo 2015-05-27 07:25:55 UTC
Possible corroboration.

Autobuild installers since around April 2015 are missing xhci_pci, even though xhci_hcd can't operate without it.

--- BEGIN xzcat gentoo.igz | cpio --list -v ---
drwxr-xr-x   2 root     root            0 May 21 06:28 lib/modules/3.18.12-gentoo/kernel/drivers/usb/host
-rw-r--r--   1 root     root       135267 May 21 06:28 lib/modules/3.18.12-gentoo/kernel/drivers/usb/host/xhci-hcd.ko
-rw-r--r--   1 root     root        36631 May 21 06:28 lib/modules/3.18.12-gentoo/kernel/drivers/usb/host/uhci-hcd.ko
-rw-r--r--   1 root     root        34288 May 21 06:28 lib/modules/3.18.12-gentoo/kernel/drivers/usb/host/ohci-hcd.ko
-rw-r--r--   1 root     root        19529 May 21 06:28 lib/modules/3.18.12-gentoo/kernel/drivers/usb/host/sl811-hcd.ko
drwxr-xr-x   2 root     root            0 May 21 06:28 lib/modules/3.18.12-gentoo/kernel/drivers/pcmcia
--- END xzcat gentoo.igz | cpio --list -v ---

--- BEGIN scripts/extract-ikconfig gentoo ---
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
CONFIG_USB_XHCI_HCD=m
CONFIG_USB_XHCI_PCI=m
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_PCI=y
# CONFIG_USB_EHCI_HCD_PLATFORM is not set
# CONFIG_USB_OXU210HP_HCD is not set
CONFIG_USB_ISP116X_HCD=m
# CONFIG_USB_ISP1760_HCD is not set
# CONFIG_USB_ISP1362_HCD is not set
# CONFIG_USB_FUSBH200_HCD is not set
# CONFIG_USB_FOTG210_HCD is not set
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_OHCI_HCD_PCI=m
# CONFIG_USB_OHCI_HCD_SSB is not set
# CONFIG_USB_OHCI_HCD_PLATFORM is not set
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_U132_HCD=m
CONFIG_USB_SL811_HCD=m
# CONFIG_USB_SL811_HCD_ISO is not set
CONFIG_USB_SL811_CS=m
CONFIG_USB_R8A66597_HCD=m
# CONFIG_USB_HCD_BCMA is not set
# CONFIG_USB_HCD_SSB is not set
# CONFIG_USB_HCD_TEST_MODE is not set

--- END scripts/extract-ikconfig gentoo ---

Virtually certain that:
- xhci-pci.ko
- ohci-pci.ko

are supposed to be on the initrd but are missing
Comment 2 lkd-gentoo 2015-05-27 07:27:15 UTC
(In reply to lkd-gentoo from comment #1)

(sorry, hit enter early)

Pretty sure the result is: if the system is booted from a USB device, it can't find image.squashfs properly once the initrd has started running.
Comment 3 Ben Kohler gentoo-dev 2017-02-02 17:52:04 UTC
I'm fairly confident that this was fixed a good while ago but please re-open if you are still experiencing this problem