All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grygorii Strashko <grygorii.strashko@ti.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>,
	Tony Lindgren <tony@atomide.com>,
	Ulf Hansson <ulf.hansson@linaro.org>,
	linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Lokesh Vutla <lokeshvutla@ti.com>,
	Kishon Vijay Abraham I <kishon@ti.com>,
	Sekhar Nori <nsekhar@ti.com>
Subject: Re: All OMAP platforms: MMC is broken
Date: Thu, 24 Sep 2015 15:51:35 -0700	[thread overview]
Message-ID: <56047E77.5030301@ti.com> (raw)
In-Reply-To: <20150924090048.GA21626@n2100.arm.linux.org.uk>

Hi Russell,

+Cc: Lokesh

On 09/24/2015 02:00 AM, Russell King - ARM Linux wrote:
> Nightly testing has revealed that both the OMAP3430 LDP and the OMAP4430
> SDP fail to boot due to lack of working MMC.  Both platforms fail to
> find their rootfs, which is on a SD card.
> 
> The breakage occurred somewhere between trees of September 9th (commit
> 4e4adb2f4628) and September 12th (commit b0a1ea51bda4), so during the
> merge window.
> 
> Diffing those two trees show no changes to OMAP platform code, but
> substantial changes in the MMC code:
> 

[...]

> 
> So this probably results from the MMC update during the merge window:
> 
> 85579ad7f1df Merge tag 'mmc-v4.3' of git://git.linaro.org/people/ulf.hansson/mmc
> 
> The OMAP4430 reports this during it's boot log:
> 
> mmc0: new high speed MMC card at address 0001
> mmcblk0: mmc0:0001 SEM08G 7.39 GiB
> mmcblk0boot0: mmc0:0001 SEM08G partition 1 1.00 MiB
> mmcblk0boot1: mmc0:0001 SEM08G partition 2 1.00 MiB
> ...
> VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -6
> b300         7757824 mmcblk0  driver: mmcblk
> b310            1024 mmcblk0boot1  (driver?)
> b308            1024 mmcblk0boot0  (driver?)
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
> 
> whereas previous kernels reported:
> 
> mmc0: host does not support reading read-only switch, assuming write-enable
> mmc0: new high speed SD card at address 0002
> mmcblk0: mmc0:0002 00000 971 MiB
>   mmcblk0: p1 p2
> Waiting 2 sec before mounting root device...
> mmc1: new high speed MMC card at address 0001
> mmcblk1: mmc1:0001 SEM08G 7.39 GiB
> mmcblk1boot0: mmc1:0001 SEM08G partition 1 1.00 MiB
> mmcblk1boot1: mmc1:0001 SEM08G partition 2 1.00 MiB
> ...
> VFS: Mounted root (ext3 filesystem) on device 179:2.
> 
> OMAP3430 only reports:
> 
> VFS: Cannot open root device "mmcblk0p2" or unknown-block(0,0): error -6
> 
> where previous kernels reported:
> 
> mmc0: host does not support reading read-only switch, assuming write-enable
> mmc0: new high speed SD card at address 0002
> mmcblk0: mmc0:0002 00000 971 MiB
>   mmcblk0: p1 p2
> ...
> VFS: Mounted root (ext2 filesystem) on device 179:2.
> 

It looks like mmcX enumeration problem, which is not new, I think :(
Most probably with the last DT+code changes probing of MMC which handles SD
is deferred and as result it will get different ID.

I think Lokesh can comment more on this as he fixed it by switching uboot to 
UUIDs instead of partition names.

http://git.ti.com/ti-u-boot/ti-u-boot/commit/5e31eb59f03a424371c605448b6bbc2f93da787b   

-- 
regards,
-grygorii

WARNING: multiple messages have this Message-ID (diff)
From: grygorii.strashko@ti.com (Grygorii Strashko)
To: linux-arm-kernel@lists.infradead.org
Subject: All OMAP platforms: MMC is broken
Date: Thu, 24 Sep 2015 15:51:35 -0700	[thread overview]
Message-ID: <56047E77.5030301@ti.com> (raw)
In-Reply-To: <20150924090048.GA21626@n2100.arm.linux.org.uk>

Hi Russell,

+Cc: Lokesh

On 09/24/2015 02:00 AM, Russell King - ARM Linux wrote:
> Nightly testing has revealed that both the OMAP3430 LDP and the OMAP4430
> SDP fail to boot due to lack of working MMC.  Both platforms fail to
> find their rootfs, which is on a SD card.
> 
> The breakage occurred somewhere between trees of September 9th (commit
> 4e4adb2f4628) and September 12th (commit b0a1ea51bda4), so during the
> merge window.
> 
> Diffing those two trees show no changes to OMAP platform code, but
> substantial changes in the MMC code:
> 

[...]

> 
> So this probably results from the MMC update during the merge window:
> 
> 85579ad7f1df Merge tag 'mmc-v4.3' of git://git.linaro.org/people/ulf.hansson/mmc
> 
> The OMAP4430 reports this during it's boot log:
> 
> mmc0: new high speed MMC card at address 0001
> mmcblk0: mmc0:0001 SEM08G 7.39 GiB
> mmcblk0boot0: mmc0:0001 SEM08G partition 1 1.00 MiB
> mmcblk0boot1: mmc0:0001 SEM08G partition 2 1.00 MiB
> ...
> VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -6
> b300         7757824 mmcblk0  driver: mmcblk
> b310            1024 mmcblk0boot1  (driver?)
> b308            1024 mmcblk0boot0  (driver?)
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
> 
> whereas previous kernels reported:
> 
> mmc0: host does not support reading read-only switch, assuming write-enable
> mmc0: new high speed SD card at address 0002
> mmcblk0: mmc0:0002 00000 971 MiB
>   mmcblk0: p1 p2
> Waiting 2 sec before mounting root device...
> mmc1: new high speed MMC card at address 0001
> mmcblk1: mmc1:0001 SEM08G 7.39 GiB
> mmcblk1boot0: mmc1:0001 SEM08G partition 1 1.00 MiB
> mmcblk1boot1: mmc1:0001 SEM08G partition 2 1.00 MiB
> ...
> VFS: Mounted root (ext3 filesystem) on device 179:2.
> 
> OMAP3430 only reports:
> 
> VFS: Cannot open root device "mmcblk0p2" or unknown-block(0,0): error -6
> 
> where previous kernels reported:
> 
> mmc0: host does not support reading read-only switch, assuming write-enable
> mmc0: new high speed SD card at address 0002
> mmcblk0: mmc0:0002 00000 971 MiB
>   mmcblk0: p1 p2
> ...
> VFS: Mounted root (ext2 filesystem) on device 179:2.
> 

It looks like mmcX enumeration problem, which is not new, I think :(
Most probably with the last DT+code changes probing of MMC which handles SD
is deferred and as result it will get different ID.

I think Lokesh can comment more on this as he fixed it by switching uboot to 
UUIDs instead of partition names.

http://git.ti.com/ti-u-boot/ti-u-boot/commit/5e31eb59f03a424371c605448b6bbc2f93da787b   

-- 
regards,
-grygorii

  reply	other threads:[~2015-09-24 22:52 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-24  9:00 All OMAP platforms: MMC is broken Russell King - ARM Linux
2015-09-24  9:00 ` Russell King - ARM Linux
2015-09-24 22:51 ` Grygorii Strashko [this message]
2015-09-24 22:51   ` Grygorii Strashko
2015-09-24 22:53   ` Russell King - ARM Linux
2015-09-24 22:53     ` Russell King - ARM Linux
2015-09-24 23:37 ` Tony Lindgren
2015-09-24 23:37   ` Tony Lindgren
2015-09-25  1:13   ` Tony Lindgren
2015-09-25  1:13     ` Tony Lindgren
2015-09-26  2:54     ` Nishanth Menon
2015-09-26  2:54       ` Nishanth Menon
2015-10-01  9:33   ` Russell King - ARM Linux
2015-10-01  9:33     ` Russell King - ARM Linux
2015-10-01  9:50     ` Ulf Hansson
2015-10-01  9:50       ` Ulf Hansson
2015-10-01 10:03       ` Russell King - ARM Linux
2015-10-01 10:03         ` Russell King - ARM Linux
2015-10-05 11:23         ` Tony Lindgren
2015-10-05 11:23           ` Tony Lindgren
2015-10-05 14:35           ` Tony Lindgren
2015-10-05 14:35             ` Tony Lindgren
2015-10-05 14:51             ` Tony Lindgren
2015-10-05 14:51               ` Tony Lindgren
2015-10-05 17:11               ` Tony Lindgren
2015-10-05 17:11                 ` Tony Lindgren
2015-10-05 18:38                 ` Russell King - ARM Linux
2015-10-05 18:38                   ` Russell King - ARM Linux
2015-10-06  9:00                   ` Russell King - ARM Linux
2015-10-06  9:00                     ` Russell King - ARM Linux
2015-10-06  9:44                     ` Tony Lindgren
2015-10-06  9:44                       ` Tony Lindgren
2015-10-06 10:11                       ` Ulf Hansson
2015-10-06 10:11                         ` Ulf Hansson
2015-10-06 10:36                         ` Kishon Vijay Abraham I
2015-10-06 10:36                           ` Kishon Vijay Abraham I
2015-10-06 15:07                           ` Russell King - ARM Linux
2015-10-06 15:07                             ` Russell King - ARM Linux
2015-10-06 19:29                             ` Kishon Vijay Abraham I
2015-10-06 19:29                               ` Kishon Vijay Abraham I
2015-10-06 19:57                               ` Russell King - ARM Linux
2015-10-06 19:57                                 ` Russell King - ARM Linux
2015-10-08  0:46                                 ` Kishon Vijay Abraham I
2015-10-08  0:46                                   ` Kishon Vijay Abraham I
2015-10-06 15:00                       ` Russell King - ARM Linux
2015-10-06 15:00                         ` Russell King - ARM Linux
2015-10-06 15:37                         ` Tony Lindgren
2015-10-06 15:37                           ` Tony Lindgren
2015-10-07 12:45                           ` Russell King - ARM Linux
2015-10-07 12:45                             ` Russell King - ARM Linux
2015-10-07 13:26                             ` Tony Lindgren
2015-10-07 13:26                               ` Tony Lindgren
2015-10-07 13:41                               ` Ulf Hansson
2015-10-07 13:41                                 ` Ulf Hansson
2015-10-07 15:52                                 ` Tony Lindgren
2015-10-07 15:52                                   ` Tony Lindgren
2015-10-07 19:40                                   ` Ulf Hansson
2015-10-07 19:40                                     ` Ulf Hansson
2015-10-07 23:13                                     ` Kishon Vijay Abraham I
2015-10-07 23:13                                       ` Kishon Vijay Abraham I
2015-10-08  8:40                                       ` Tony Lindgren
2015-10-08  8:40                                         ` Tony Lindgren
2015-10-08  9:35                                         ` Russell King - ARM Linux
2015-10-08  9:35                                           ` Russell King - ARM Linux
2015-10-08  9:56                                           ` Tony Lindgren
2015-10-08  9:56                                             ` Tony Lindgren
2015-10-08 10:00                                             ` Russell King - ARM Linux
2015-10-08 10:00                                               ` Russell King - ARM Linux
2015-10-07 17:53                                 ` Russell King - ARM Linux
2015-10-07 17:53                                   ` Russell King - ARM Linux

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=56047E77.5030301@ti.com \
    --to=grygorii.strashko@ti.com \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=lokeshvutla@ti.com \
    --cc=nsekhar@ti.com \
    --cc=tony@atomide.com \
    --cc=ulf.hansson@linaro.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.