Android re-detect microSD card as mmc1 and system crash on imx53loco
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Android |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
After a suspend(seems to be), microSD card is reported removed but it doesn't, then the card is recognized as mmc1, system crashes. see log.
Environment:
android 11.08 milestone build, #5
Log:
# [ 159.378779] PM: Syncing filesystems ... done.
[ 159.432291] mmc0: card 0fe7 removed
[ 159.477039] Freezing user space processes ...
[ 159.482275] Freezing of user space aborted
[ 159.486931]
[ 159.488490] Restarting tasks ... done.
[ 159.616061] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 159.627992] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 159.635235] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 159.657365] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 159.664411] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 160.570782] mmc0: new high speed SDHC card at address 0fe7
[ 160.578386] mmcblk1: mmc0:0fe7 SD04G 3.69 GiB
[ 160.587369] mmcblk1: p1 p2 p3 p4 < p5 p6 p7 >
[ 160.741602] FAT: IO charset iso8859-1 not found
echo $PATH[ 175.678101] EXT4-fs error (device mmcblk0p6): ext4_find_
[ 175.690417] EXT4-fs error (device mmcblk0p6): ext4_read_
[ 175.705043] EXT4-fs error (device mmcblk0p6) in ext4_new_
[ 175.712369] EXT4-fs (mmcblk0p6): previous I/O error to superblock detected
[ 175.740695] EXT4-fs (mmcblk0p6): previous I/O error to superblock detected
[ 175.747855] EXT4-fs error (device mmcblk0p6): ext4_find_
[ 175.790812] alarm_release: clear alarm, pending 0
[ 175.795634] alarm_release: clear alarm, pending 0
[ 175.800345] alarm_release: clear alarm, pending 0
[ 175.831425] init: untracked pid 121 exited
[ 175.857090] EXT4-fs error (device mmcblk0p6): ext4_read_
[ 175.871389] EXT4-fs error (device mmcblk0p6): ext4_discard_
[ 175.883829] init: untracked pid 122 exited
/sbin:/
ystem/bin:
# [ 176.524889] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 176.532008] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 176.557211] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 176.574879] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 176.596869] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 176.620590] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 176.646926] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 176.654027] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 176.676804] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 176.694843] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 176.716299] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 176.727919] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 176.740479] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 176.747676] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 176.874110] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 176.881275] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.287696] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.294755] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.306309] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.313358] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.324870] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.331934] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.343298] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.355556] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.366964] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.374053] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.385485] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.392528] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.403929] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.411082] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.422376] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.429529] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.440797] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.447955] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.459471] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.467546] init: untracked pid 388 exited
[ 177.472206] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.484451] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.492522] init: untracked pid 365 exited
[ 177.497047] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.509340] init: untracked pid 401 exited
[ 177.514516] init: untracked pid 379 exited
[ 177.519303] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.527451] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.539842] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.547924] init: untracked pid 323 exited
[ 177.552333] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.563612] EXT4-fs error (device mmcblk0p6): ext4_read_
[ 177.577887] EXT4-fs error (device mmcblk0p6): ext4_discard_
[ 177.724113] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.731328] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.759919] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.767103] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.778225] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.785355] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.851330] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 177.858496] EXT4-fs error (device mmcblk0p3): ext4_find_
[ 177.869632] EXT4-fs error (device mmcblk0p6): ext4_read_
[ 177.883898] EXT4-fs error (device mmcblk0p6): ext4_discard_
[ 177.941411] init: untracked pid 428 exited
[ 177.965161] init: untracked pid 427 exited
[ 178.205784] init: untracked pid 265 exited
[ 178.215508] init: untracked pid 308 exited
[ 178.230676] init: untracked pid 352 exited
# [ 178.346060] init: untracked pid 204 exited
[ 178.368847] init: untracked pid 221 exited
# [ 181.065162] Aborting journal on device mmcblk0p6-8.
[ 181.070152] JBD2: I/O error detected when updating journal superblock for mmcblk0p6-8.
#
# [ 181.431737] init: untracked pid 436 exited
[ 181.455044] init: untracked pid 437 exited
df
[ 182.149133] EXT4-fs (mmcblk0p3): previous I/O error to superblock detected
[ 182.156374] EXT4-fs error (device mmcblk0p3): ext4_find_
df: not found
# df
df: not found
# [ 186.512211] init: untracked pid 446 exited
[ 186.535121] init: untracked pid 445 exited
[ 191.576442] init: untracked pid 456 exited
[ 191.580610] init: untracked pid 457 exited
[ 196.656287] init: untracked pid 465 exited
[ 196.660503] init: untracked pid 466 exited
# [ 201.728815] init: untracked pid 475 exited
[ 201.755211] init: untracked pid 474 exited
[ 206.793773] init: untracked pid 483 exited
[ 206.815040] init: untracked pid 484 exited
[ 211.850250] init: untracked pid 492 exited
[ 211.854418] init: untracked pid 493 exited
[ 216.920012] init: untracked pid 502 exited
[ 216.945250] init: untracked pid 501 exited
[ 222.006274] init: untracked pid 511 exited
[ 222.025214] init: untracked pid 510 exited
[ 226.090132] init: untracked pid 519 exited
[ 226.094299] init: untracked pid 520 exited
[ 231.159280] init: untracked pid 528 exited
[ 231.163449] init: untracked pid 529 exited
[ 236.227850] init: untracked pid 537 exited
[ 236.232020] init: untracked pid 538 exited
[ 241.307988] init: untracked pid 546 exited
[ 241.312155] init: untracked pid 547 exited
[ 246.382194] init: untracked pid 555 exited
[ 246.405053] init: untracked pid 556 exited
[ 251.446305] init: untracked pid 564 exited
[ 251.450472] init: untracked pid 565 exited
[ 256.512172] init: untracked pid 574 exited
[ 256.535115] init: untracked pid 573 exited
[ 261.588830] init: untracked pid 582 exited
[ 261.593000] init: untracked pid 583 exited
[ 266.651988] init: untracked pid 592 exited
[ 266.675120] init: untracked pid 591 exited
[ 271.719316] init: untracked pid 600 exited
[ 271.723485] init: untracked pid 601 exited
[ 276.783279] init: untracked pid 610 exited
[ 276.805114] init: untracked pid 609 exited
[ 281.845577] init: untracked pid 618 exited
[ 281.849793] init: untracked pid 619 exited
[ 286.889242] init: untracked pid 627 exited
[ 286.893410] init: untracked pid 628 exited
[ 291.970395] init: untracked pid 636 exited
[ 291.974562] init: untracked pid 637 exited
[ 296.040264] init: untracked pid 646 exited
[ 296.065262] init: untracked pid 645 exited
summary: |
- Android re-detect MMC card as mmc1 on imx53loco + Android re-detect microSD card as mmc1 and system crash on imx53loco |
This issue can be reproduced if USB host driver is enabled.