[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 Wed, 2016-02-03 at 15:43 -0800, Vagrant Cascadian wrote:
> On 2016-01-25, Ben Hutchings wrote:
> > 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.
> ...
> > > 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.
> 
> Attached is a log of the above command with /etc/initramfs-tools/modules
> cleared out.

Oh, so the MODULES=most case is bust and we need to list more host
controller drivers (or include all modules under drivers/usb/host/).
How about MODULES=dep; does that work now?

Ben.

-- 
Ben Hutchings
Beware of bugs in the above code;
I have only proved it correct, not tried it. - Donald Knuth

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


Reply to: