[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#762634: [armhf] mounting rootfs on USB disk fails / some USB host controller drivers missing in initramfs



* Karsten Merker [Tue Sep 23, 2014 at 11:22:32PM +0200]:

> running Debian with the root filesystem on a USB mass storage
> device (such as a USB harddisk) requires that the driver modules
> for the USB host controllers of the system are available in the
> initramfs.  If they are missing, the root filesystem cannot be
> mounted, which currently happens on a number of armhf systems.

> On i386/amd64, the OHCI/EHCI host controllers are PCI devices
> which are supported by the ohci-pci and ehci-pci modules.  On
> many armhf systems the USB host controllers are
> OHCI/EHCI-compatible, but implemented as a platform device, so
> they are not supported by ohci-pci and ehci-pci.  Instead these
> systems need the following platform device driver modules:

> - ohci-platform
> - ehci-platform

> and in the case of armhf/sunxi-based systems an additional
> USB phy driver module:

> - phy-sun4i-usb

> These modules are not included in the initramfs built by
> initramfs-tools (even if MODULES=most is set in initramfs.conf),
> which makes it impossible to boot with the rootfs on a USB disk
> on such systems.

> Please always include ohci-platform, ehci-platform and
> phy-sun4i-usb into the initramfs if they are provided by the
> kernel for which the initramfs is built.

Does this look like it would provide what you're asking for?
http://anonscm.debian.org/cgit/kernel/initramfs-tools.git/commit/?h=mika/bug_762634&id=3b835665015c0a9287284c2548b12ab7c8cabc78

regards,
-mika-

Attachment: signature.asc
Description: Digital signature


Reply to: