Description
If you do an fdisk -l (the letter 'L' in lowercase) you get the following errors
[ 1052.076943] jz4780-bch jz4780-bch.0: uncorrectable errors when do request from jz4780-nand.0
[ 1052.093560] jz4780-bch jz4780-bch.0: uncorrectable errors when do request from jz4780-nand.0
[ 1052.110466] jz4780-bch jz4780-bch.0: uncorrectable errors when do request from jz4780-nand.0
[ 1052.127171] jz4780-bch jz4780-bch.0: uncorrectable errors when do request from jz4780-nand.0
[ 1052.143722] nand_do_read_ops: return -EBADMSG!
[ 1052.156056] end_request: I/O error, dev mtdblock0, sector 24
[ 1052.169310] Buffer I/O error on device mtdblock0, logical block 3
[ 1052.184283] jz4780-bch jz4780-bch.0: uncorrectable errors when do request from jz4780-nand.0
[ 1052.200971] jz4780-bch jz4780-bch.0: uncorrectable errors when do request from jz4780-nand.0
more detailed log here
Reproduced on 3.0.8 kernel compile boot from mmc. rootfs on mmc.
Reproduced on booting 3.0.8 from nand.
looks like when fdisk -l runs it probes devices.
it can probe the mmc driver correctly. but probing the nand device fails with dmesg outputs.