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


Groups > linux.debian.kernel > #51293

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

Path csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
From Ian Campbell <ijc@hellion.org.uk>
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 Thu, 12 Nov 2015 11:00:02 +0100
Message-ID <qtWPE-7f8-13@gated-at.bofh.it> (permalink)
References <o3FOP-4sp-21@gated-at.bofh.it> <o3G89-4Th-7@gated-at.bofh.it> <o4azf-2bC-5@gated-at.bofh.it> <o4bOH-3ZV-37@gated-at.bofh.it> <o4eCS-8h8-27@gated-at.bofh.it> <o4fyW-1ls-25@gated-at.bofh.it> <o4nwu-5of-9@gated-at.bofh.it> <o4nZw-5Yo-33@gated-at.bofh.it> <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> <qtOp3-1Nx-1@gated-at.bofh.it>
X-Original-To Vagrant Cascadian <vagrant@debian.org>, Ben Hutchings <ben@decadent.org.uk>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Nov 12 09:51:09 2015
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.644
Reply-To Ian Campbell <ijc@hellion.org.uk>, 762634@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian kernel team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 762634
X-Debian-Pr-Package initramfs-tools
X-Debian-Pr-Source initramfs-tools
X-Spam-Bayes score:0.0000 Tokens: new, 17; hammy, 149; neutral, 152; spammy, 1. spammytokens:0.995-1--ci* hammytokens:0.000-+--armhf, 0.000-+--H*F:U*ijc, 0.000-+--H*f:sk:2014092, 0.000-+--H*rp:U*ijc, 0.000-+--rootfs
Content-Type text/plain; charset="UTF-8"
X-Mailer Evolution 3.18.1-1
MIME-Version 1.0
Content-Transfer-Encoding 8bit
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1224563
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 58
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc peter green <plugwash@p10link.net>, Cyril Brulebois <kibi@debian.org>, 762634@bugs.debian.org, Michael Prokop <mika@debian.org>, debian-arm@lists.debian.org, debian-boot@lists.debian.org
X-Original-Date Thu, 12 Nov 2015 09:49:33 +0000
X-Original-Message-ID <1447321773.18450.43.camel@hellion.org.uk>
X-Original-References <20140923212232.GA5236@excalibur.cnev.de> <2014-09-23T23-41-33@devnull.michael-prokop.at> <20140925061548.GA9422@excalibur.cnev.de> <2014-09-25T09-19-47@devnull.michael-prokop.at> <20140925103222.GG2653@mraw.org> <2014-09-25T13-29-00@devnull.michael-prokop.at> <20140925200457.GA5873@excalibur.cnev.de> <20140925203849.GO2653@mraw.org> <20140925211309.GC5873@excalibur.cnev.de> <54249535.5010008@p10link.net> <1411686515.3659.39.camel@decadent.org.uk> <1412061597.17796.27.camel@hellion.org.uk> <1412076848.9388.94.camel@decadent.org.uk> <87pozgdoxt.fsf@aikidev.net>
Xref csiph.com linux.debian.bugs.dist:693830 linux.debian.ports.arm:8647 linux.debian.maint.boot:46313 linux.debian.kernel:51293

Cross-posted to 4 groups.

Show key headers only | View raw


On Wed, 2015-11-11 at 18:46 -0600, Vagrant Cascadian wrote:
> 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.

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-*?

Ian.

[0] 6ba2e937271770576fb88f4e16cb5adb3094517b in intiramfs-tools.git

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next 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