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

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



On Thu, 12 Nov 2015 09:49:33 +0000 Ian Campbell <ijc@hellion.org.uk> wrote:
> On Wed, 2015-11-11 at 18:46 -0600, Vagrant Cascadian wrote:
[...]
> > 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.
> 
> I think Ben essentially did this in #762042[0], which ends up adding any
> phy-* which are currently loaded to the initramfs. That change appears to
> be in v0.119 while Jessie has v0.120 so perhaps something else is going on.
> 
> ci-* isn't covered by this logic, so that might be it in the first case.
> What is ci-*?

Thaose are the chipidea USB controller drivers, which should get found
through sysfs.

Please can you clear out /etc/initramfs-tools/modules (temporarily) and
run:

    sh -x /usr/sbin/mkinitramfs -o /dev/null 3.16.0-4-armmp >mkinitramfs.log 2>&1

Then send the log so we can see how this is going wrong.

Ben.

-- 
Ben Hutchings
Klipstein's 4th Law of Prototyping and Production:
                                    A fail-safe circuit will destroy others.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: