Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #51289

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

From Vagrant Cascadian <vagrant@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.ports.arm, linux.debian.maint.boot, linux.debian.kernel
Subject Bug#762634: initramfs-tools: [armhf] mounting rootfs on USB disk fails / some USB host controller drivers missing in initramfs
Date 2015-11-12 02:00 +0100
Message-ID <qtOp3-1Nx-1@gated-at.bofh.it> (permalink)
References (8 earlier) <o4oCd-73s-5@gated-at.bofh.it> <o4pHX-lQ-1@gated-at.bofh.it> <o4qkF-1o6-17@gated-at.bofh.it> <o602L-Rm-19@gated-at.bofh.it> <o63WF-6Yn-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 4 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2014-09-30, Ben Hutchings wrote:
> On Tue, 2014-09-30 at 08:19 +0100, Ian Campbell wrote:
>> On Fri, 2014-09-26 at 00:08 +0100, Ben Hutchings wrote:
>> > However, at the moment initramfs-tools won't include PHY drivers even in
>> > that configuration.
>> 
>> I spent some time last week hunting for a sysfs link between a device
>> and the phys which it is using, without success. Do you have any ideas?
>
> I suspect they're not visible there yet.
>
> I think you could include all PHY drivers (drivers/phy and
> drivers/usb/phy) when MODULES=most, and only the currently loaded
> drivers if MODULES=dep.
>
> USB non-generic PHY drivers don't appear in the device model at all
> (ugh!) so in the MODULES=dep case you may have to bodge it by checking
> for modules with names beginning with "phy-" (check both /sys/module
> and /lib/modules/$(uname -r)/modules.builtin).

Would definitely like to see this, with a recent install on a Wandboard
Dual with a USB2 sata disk for the rootfs. It installed fine with
jessie's debian-installer, but failed on initial boot.

I worked around it by adding to /etc/initramfs-tools/modules:

  ci_hdrc_imx
  phy_mxs_usb

I haven't yet verified if only adding "phy_mxs_usb" instead of both will
work.

Had a similar problem with an Odroid-XU4 install (which isn't yet
supported by debian-installer), and worked around it similarly, although
haven't narrowed down exactly which modules are needed, though I
suspect one or both of:

  phy_exynos_usb2
  phy_exynos5_usbdrd


Something that pulls in all the phy-* modules would likely fix the issue
in a generic way, rather than playing whack-a-mole with various phy
types.


live well,
  vagrant

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#762634: initramfs-tools: [armhf] mounting rootfs on USB disk fails / some USB host controller drivers missing in initramfs Vagrant Cascadian <vagrant@debian.org> - 2015-11-12 02:00 +0100
  Bug#762634: initramfs-tools: [armhf] mounting rootfs on USB disk fails / some USB host controller drivers missing in initramfs Ian Campbell <ijc@hellion.org.uk> - 2015-11-12 11:00 +0100
    Bug#762634: initramfs-tools: [armhf] mounting rootfs on USB disk fails / some USB host controller drivers missing in initramfs Ben Hutchings <ben@decadent.org.uk> - 2016-01-25 16:30 +0100
      Bug#762634: initramfs-tools: [armhf] mounting rootfs on USB disk fails / some USB host controller drivers missing in initramfs Ben Hutchings <ben@decadent.org.uk> - 2016-02-04 17:00 +0100
        Bug#762634: initramfs-tools: [armhf] mounting rootfs on USB disk fails / some USB host controller drivers missing in initramfs Vagrant Cascadian <vagrant@debian.org> - 2016-02-24 23:40 +0100
          Bug#762634: initramfs-tools: [armhf] mounting rootfs on USB disk fails / some USB host controller drivers missing in initramfs Vagrant Cascadian <vagrant@debian.org> - 2016-02-25 00:10 +0100
            Bug#762634: initramfs-tools: [armhf] mounting rootfs on USB disk fails / some USB host controller drivers missing in initramfs Rick Thomas <rbthomas@pobox.com> - 2016-03-04 19:40 +0100
              Bug#762634: initramfs-tools: [armhf] mounting rootfs on USB disk fails / some USB host controller drivers missing in initramfs Ben Hutchings <ben@decadent.org.uk> - 2016-04-17 02:30 +0200

csiph-web