public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stefan Wahren <stefan.wahren@i2se•com>
To: Mark Brown <broonie@kernel•org>, Eric Anholt <eric@anholt•net>,
	Kevin Hilman <khilman@kernel•org>,
	clabbe@baylibre•com
Cc: linux-next@vger•kernel.org, linux-rpi-kernel@lists•infradead.org,
	linux-arm-kernel@lists•infradead.org,
	kernel-build-reports@lists•linaro.org
Subject: Re: next/master boot: 171 boots: 6 failed, 162 passed with 3 offline (next-20180724)
Date: Thu, 26 Jul 2018 09:09:18 +0200	[thread overview]
Message-ID: <6b5a8c5c-8483-22f1-cc09-e12bd7740f10@i2se.com> (raw)
In-Reply-To: <20180725161151.GA340@sirena.org.uk>

Hi Mark,

thanks for forwarding. Unfortunately i don't have the time for real 
investigation until next week, so here some remote diagnostics.


Am 25.07.2018 um 18:11 schrieb Mark Brown:
> On Tue, Jul 24, 2018 at 09:46:38AM -0700, kernelci.org bot wrote:
>
> For a little while now the RPi B has been failing to boot using the
> bcm2835 defconfig in -next:
>
>>      bcm2835_defconfig:
>>          bcm2835-rpi-b:
>>              lab-baylibre-seattle: failing since 5 days (last pass: next-20180718 - first fail: next-20180719)
>>          bcm2837-rpi-3-b:
>>              lab-baylibre: failing since 5 days (last pass: next-20180718 - first fail: next-20180719)
> It's working fine on arm64, whatever's going on appears to be specific
> to this config (it's not getting booted with any other 32 bit configs).
> Full info and boot logs for one of the boards here:
>
>     https://kernelci.org/boot/id/5b58416759b514139596baae/
>
> it looks like it hangs somewhere shortly after or during initializing
> MMC so never makes it to the console, the tail of the failing logs looks
> like:
>
> | 09:18:36.332120  [    1.459801] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
> | 09:18:36.345711  [    1.467585] mmcblk0: mmc0:59b4 USD   7.51 GiB
> | 09:18:36.346169  [    1.474834]  mmcblk0: p1
> | 09:18:36.410184  [    1.539600] random: fast init done
> | 09:18:36.458065  [    1.578056] mmc1: new high speed SDIO card at address 0001
> | 09:20:39.745370  ShellCommand command timed out.: Sending # in case of corruption. Connection timeout 00:04:10, retry in 00:02:05
> | 09:20:39.846848  #
>
> but like I say the same -next boots with arm64 defconfig.
>

There is at least 1 difference between bcm2835_defconfig and arm64 
defconfig. bcm2835_defconfig uses DMA

[ 1.265671] sdhost-bcm2835 3f202000.mmc: loaded - DMA enabled (>1)

while arm64 defconfig uses PIO mode for SD interface mmc0 (please ignore 
mmc1 since it's the onboard wifi and it uses a different driver):

[ 1.907766] sdhost-bcm2835 3f202000.mmc: unable to initialise DMA 
channel. Falling back to PIO
[ 1.995407] sdhost-bcm2835 3f202000.mmc: loaded - DMA disabled

The reason for this output is expected, because the DMA driver isn't 
build-in for this config.

I think this issue is DMA related.

Regards Stefan

  reply	other threads:[~2018-07-26  7:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5b5757ee.1c69fb81.411a5.52e2@mx.google.com>
2018-07-25 16:11 ` next/master boot: 171 boots: 6 failed, 162 passed with 3 offline (next-20180724) Mark Brown
2018-07-26  7:09   ` Stefan Wahren [this message]
2018-07-31 15:52   ` Mark Brown
2018-07-31 17:00     ` Robin Murphy
2018-07-31 21:35       ` Stefan Wahren

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=6b5a8c5c-8483-22f1-cc09-e12bd7740f10@i2se.com \
    --to=stefan.wahren@i2se$(echo .)com \
    --cc=broonie@kernel$(echo .)org \
    --cc=clabbe@baylibre$(echo .)com \
    --cc=eric@anholt$(echo .)net \
    --cc=kernel-build-reports@lists$(echo .)linaro.org \
    --cc=khilman@kernel$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=linux-rpi-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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