From: Christoph Hellwig <hch@lst.de>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Robin Murphy <robin.murphy@arm.com>,
Ard Biesheuvel <ard.biesheuvel@linaro.org>,
Christoph Hellwig <hch@lst.de>, Rob Herring <robh+dt@kernel.org>,
Frank Rowand <frowand.list@gmail.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Stefan Agner <stefan@agner.ch>, Fugang Duan <fugang.duan@nxp.com>
Subject: Re: [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask)
Date: Fri, 27 Jul 2018 16:04:48 +0200 [thread overview]
Message-ID: <20180727140448.GA29001@lst.de> (raw)
In-Reply-To: <CAJKOXPfageiBVXddtdJRBS+092O3QfD0yoS_Mk+PoX7+qNYNUA@mail.gmail.com>
On Fri, Jul 27, 2018 at 03:18:14PM +0200, Krzysztof Kozlowski wrote:
> On 27 July 2018 at 15:11, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> > Hi,
> >
> > On today's next, the bisect pointed commit
> > ff33d1030a6ca87cea9a41e1a2ea7750a781ab3d as fault for my boot failures
> > with NFSv4 root on Toradex Colibri VF50 (Iris carrier board).
> >
> > Author: Robin Murphy <robin.murphy@arm.com>
> > Date: Mon Jul 23 23:16:12 2018 +0100
> > OF: Don't set default coherent DMA mask
> >
> > Board: Toradex Colibri VF50 (NXP VF500, Cortex A5, serial configured
> > with DMA) on Iris Carrier.
> >
> > It looks like problem with Freescale Ethernet driver:
> > [ 15.458477] fsl-edma 40018000.dma-controller: coherent DMA mask is unset
> > [ 15.465284] fsl-lpuart 40027000.serial: Cannot prepare cyclic DMA
> > [ 15.472086] Root-NFS: no NFS server address
> > [ 15.476359] VFS: Unable to mount root fs via NFS, trying floppy.
> > [ 15.484228] VFS: Cannot open root device "nfs" or
> > unknown-block(2,0): error -6
> > [ 15.491664] Please append a correct "root=" boot option; here are
> > the available partitions:
> > [ 15.500188] 0100 16384 ram0
> > [ 15.500200] (driver?)
> > [ 15.506406] Kernel panic - not syncing: VFS: Unable to mount root
> > fs on unknown-block(2,0)
> > [ 15.514747] ---[ end Kernel panic - not syncing: VFS: Unable to
> > mount root fs on unknown-block(2,0) ]---
> >
> > Attached - defconfig and full boot log.
> >
> > Any hints?
> > Let me know if you need any more information.
>
> My Exynos boards also fail to boot on missing network:
> https://krzk.eu/#/builders/21/builds/799/steps/10/logs/serial0
>
> As expected there are plenty of "DMA mask not set" warnings... and
> later dwc3 driver fails with:
> dwc3: probe of 12400000.dwc3 failed with error -12
> which is probably the answer why LAN attached to USB is not present.
Looks like all the drivers failed to set a dma mask and were lucky.
next prev parent reply other threads:[~2018-07-27 14:04 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-27 13:11 [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask) Krzysztof Kozlowski
2018-07-27 13:18 ` Krzysztof Kozlowski
2018-07-27 14:04 ` Christoph Hellwig [this message]
2018-07-28 16:58 ` Guenter Roeck
2018-07-30 9:23 ` Christoph Hellwig
2018-07-30 14:38 ` Robin Murphy
2018-07-31 0:50 ` Guenter Roeck
2018-07-31 8:19 ` Stefan Agner
2018-07-31 12:32 ` Robin Murphy
2018-07-31 13:26 ` Guenter Roeck
2018-07-31 14:09 ` Robin Murphy
2018-07-31 15:43 ` Guenter Roeck
2018-07-31 15:58 ` Robin Murphy
2018-07-31 17:38 ` Guenter Roeck
2018-08-01 16:33 ` Robin Murphy
2018-08-01 18:23 ` Guenter Roeck
2018-07-31 15:53 ` Stefan Agner
2018-07-31 16:29 ` Robin Murphy
2018-07-31 19:02 ` Stefan Agner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180727140448.GA29001@lst.de \
--to=hch@lst.de \
--cc=ard.biesheuvel@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=frowand.list@gmail.com \
--cc=fugang.duan@nxp.com \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=robin.murphy@arm.com \
--cc=stefan@agner.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).