Skip to content

SD/MMC hotplug issue in 3.0.8 #11

Closed
@ZubairLK

Description

@ZubairLK

Boot the default debian from NAND.

Plug in an SD card before powering on. It mounts and works.

Remove SD card. Plug in again. Try mounting. And you get errors.

http://pastebin.com/ZPYVnkGM

[ 848.991832] jzmmc jzmmc.0: err1 cmd18 iflg00002204 status1F000942
[ 848.998335] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.004742] mmcblk0: error -1 sending status command, retrying
[ 849.010875] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.017515] mmcblk0: error -1 sending status command, retrying
[ 849.023623] jzmmc jzmmc.0: err1 cmd13 iflg00002305 status1F001843
[ 849.030302] mmcblk0: error -1 sending status command, aborting
[ 849.036461] end_request: I/O error, dev mmcblk0, sector 4096
[ 849.042659] jzmmc jzmmc.0: err1 cmd18 iflg00002204 status1F000942
[ 849.049121] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.055486] mmcblk0: error -1 sending status command, retrying
[ 849.061553] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.068079] mmcblk0: error -1 sending status command, retrying
[ 849.074579] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.080926] mmcblk0: error -1 sending status command, aborting
[ 849.087279] end_request: I/O error, dev mmcblk0, sector 4096
[ 849.095229] jzmmc jzmmc.0: err1 cmd18 iflg00002204 status1F000942
[ 849.101611] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.108067] mmcblk0: error -1 sending status command, retrying
[ 849.114182] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.120772] mmcblk0: error -1 sending status command, retrying
[ 849.127123] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.133514] mmcblk0: error -1 sending status command, aborting
[ 849.139730] end_request: I/O error, dev mmcblk0, sector 4098
[ 849.145803] EXT4-fs (mmcblk0p1): unable to read superblock
[ 849.195142] jzmmc jzmmc.0: err1 cmd18 iflg00002204 status1F000942
[ 849.201525] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.208031] mmcblk0: error -1 sending status command, retrying
[ 849.214579] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.220952] mmcblk0: error -1 sending status command, retrying
[ 849.227637] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.233984] mmcblk0: error -1 sending status command, aborting
[ 849.240122] end_request: I/O error, dev mmcblk0, sector 4098
[ 849.246091] EXT4-fs (mmcblk0p1): unable to read superblock
[ 849.285107] jzmmc jzmmc.0: err1 cmd18 iflg00002204 status1F000942
[ 849.291490] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.297897] mmcblk0: error -1 sending status command, retrying
[ 849.304285] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.310735] mmcblk0: error -1 sending status command, retrying
[ 849.316949] jzmmc jzmmc.0: err1 cmd13 iflg00002204 status1F000942
[ 849.323263] mmcblk0: error -1 sending status command, aborting
[ 849.329375] end_request: I/O error, dev mmcblk0, sector 4098
[ 849.335312] EXT4-fs (mmcblk0p1): unable to read superblock
[ 849.375039] jzmmc jzmmc.0: err1 cmd17 iflg00002204 status1F000942
[ 849.381404] jzmmc jzmmc.0: err1 cmd13 iflg00002205 status1F001842
[ 849.387869] mmcblk0: error -1 sending status command, retrying
[ 849.393940] jzmmc jzmmc.0: err1 cmd13 iflg00002205 status1F001842
[ 849.400492] mmcblk0: error -1 sending status command, retrying
[ 849.406707] jzmmc jzmmc.0: err1 cmd13 iflg00002205 status1F001842
[ 849.413026] mmcblk0: error -1 sending status command, aborting
[ 849.419198] end_request: I/O error, dev mmcblk0, sector 4096
[ 849.425140] FAT-fs (mmcblk0p1): unable to read boot sector
mount: /dev/mmcblk0p1: can't read superblock

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions