Hi All,
This is referring to my problem - not able to mount MMC card. I
have some output from dmesg when I remove and put the card back (I
have changes the kernel config to include i.MX SPI and disabled the
generic SPI). DOes this give any clue as to why the MMC card is not
appaering in /proc/partions and /sysfs/block ?? Any help will of
great use. The output of dmesg is as follows. I have removed and
inserted the card twice.
<6>imx-mmc imx-mmc.0: card removed
<7>imx-mmc imx-mmc.0: clock 0 power 1 vdd 20 width 1
<7>imx-mmc imx-mmc.0: clock 150000 power 2 vdd 20 width 1
<7>imx-mmc imx-mmc.0: PERCLK2 265977856 MHz -> prescaler 5
<7>imx-mmc imx-mmc.0: MMC_CLK_RATE: 0x00000057
<7>imx-mmc imx-mmc.0: clock 150000 power 2 vdd 20 width 1
<7>imx-mmc imx-mmc.0: PERCLK2 265977856 MHz -> prescaler 5
<7>imx-mmc imx-mmc.0: MMC_CLK_RATE: 0x00000057
<7>MMC: starting cmd 00 arg 00000000 flags 00000040
<7>imx-mmc imx-mmc.0: CMD00 (0x00) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (00): 1: 00000000 00000000 00000000 00000000
<7>imx-mmc imx-mmc.0: clock 150000 power 2 vdd 20 width 1
<7>imx-mmc imx-mmc.0: PERCLK2 265977856 MHz -> prescaler 5
<7>imx-mmc imx-mmc.0: MMC_CLK_RATE: 0x00000057
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x80000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 80000000 00000000 00000000 00000000
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 01 arg 00000000 flags 00000061
<7>imx-mmc imx-mmc.0: CMD01 (0x01) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (01): 1: 00000000 00000000 00000000 00000000
<7>imx-mmc imx-mmc.0: clock 0 power 0 vdd 0 width 1
<6>imx-mmc imx-mmc.0: card inserted
<7>imx-mmc imx-mmc.0: clock 0 power 1 vdd 20 width 1
<7>imx-mmc imx-mmc.0: clock 150000 power 2 vdd 20 width 1
<7>imx-mmc imx-mmc.0: PERCLK2 265977856 MHz -> prescaler 5
<7>imx-mmc imx-mmc.0: MMC_CLK_RATE: 0x00000057
<7>imx-mmc imx-mmc.0: clock 150000 power 2 vdd 20 width 1
<7>imx-mmc imx-mmc.0: PERCLK2 265977856 MHz -> prescaler 5
<7>imx-mmc imx-mmc.0: MMC_CLK_RATE: 0x00000057
<7>MMC: starting cmd 00 arg 00000000 flags 00000040
<7>imx-mmc imx-mmc.0: CMD00 (0x00) mask set to 0x003b
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 0
<7>MMC: req done (00): 0: 00000000 00000000 00000000 00000000
<7>imx-mmc imx-mmc.0: clock 150000 power 2 vdd 20 width 1
<7>imx-mmc imx-mmc.0: PERCLK2 265977856 MHz -> prescaler 5
<7>imx-mmc imx-mmc.0: MMC_CLK_RATE: 0x00000057
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00008000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00008000 00000000 00000000 00000000
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 01 arg 00000000 flags 00000061
<7>imx-mmc imx-mmc.0: CMD01 (0x01) mask set to 0x003b
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 0
<7>MMC: req done (01): 0: 00000000 00000000 00000000 00000000
<7>imx-mmc imx-mmc.0: clock 0 power 0 vdd 0 width 1
<6>imx-mmc imx-mmc.0: card removed
<7>imx-mmc imx-mmc.0: clock 0 power 1 vdd 20 width 1
<7>imx-mmc imx-mmc.0: clock 150000 power 2 vdd 20 width 1
<7>imx-mmc imx-mmc.0: PERCLK2 265977856 MHz -> prescaler 5
<7>imx-mmc imx-mmc.0: MMC_CLK_RATE: 0x00000057
<7>imx-mmc imx-mmc.0: clock 150000 power 2 vdd 20 width 1
<7>imx-mmc imx-mmc.0: PERCLK2 265977856 MHz -> prescaler 5
<7>imx-mmc imx-mmc.0: MMC_CLK_RATE: 0x00000057
<7>MMC: starting cmd 00 arg 00000000 flags 00000040
<7>imx-mmc imx-mmc.0: CMD00 (0x00) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (00): 1: 00000000 00000000 00000000 00000000
<7>imx-mmc imx-mmc.0: clock 150000 power 2 vdd 20 width 1
<7>imx-mmc imx-mmc.0: PERCLK2 265977856 MHz -> prescaler 5
<7>imx-mmc imx-mmc.0: MMC_CLK_RATE: 0x00000057
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 01 arg 00000000 flags 00000061
<7>imx-mmc imx-mmc.0: CMD01 (0x01) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (01): 1: 00000000 00000000 00000000 00000000
<7>imx-mmc imx-mmc.0: clock 0 power 0 vdd 0 width 1
<6>imx-mmc imx-mmc.0: card inserted
<7>imx-mmc imx-mmc.0: clock 0 power 1 vdd 20 width 1
<7>imx-mmc imx-mmc.0: clock 150000 power 2 vdd 20 width 1
<7>imx-mmc imx-mmc.0: PERCLK2 265977856 MHz -> prescaler 5
<7>imx-mmc imx-mmc.0: MMC_CLK_RATE: 0x00000057
<7>imx-mmc imx-mmc.0: clock 150000 power 2 vdd 20 width 1
<7>imx-mmc imx-mmc.0: PERCLK2 265977856 MHz -> prescaler 5
<7>imx-mmc imx-mmc.0: MMC_CLK_RATE: 0x00000057
<7>MMC: starting cmd 00 arg 00000000 flags 00000040
<7>imx-mmc imx-mmc.0: CMD00 (0x00) mask set to 0x003b
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 0
<7>MMC: req done (00): 0: 00000000 00000000 00000000 00000000
<7>imx-mmc imx-mmc.0: clock 150000 power 2 vdd 20 width 1
<7>imx-mmc imx-mmc.0: PERCLK2 265977856 MHz -> prescaler 5
<7>imx-mmc imx-mmc.0: MMC_CLK_RATE: 0x00000057
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 37 arg 00000000 flags 00000015
<7>imx-mmc imx-mmc.0: CMD55 (0x37) mask set to 0x003b
<7>imx-mmc imx-mmc.0: CMD TIMEOUT
<7>imx-mmc imx-mmc.0: RESP 0x00000000, 0x00000000, 0x00000000,
0x00000000, error 1
<7>MMC: req done (37): 1: 00000000 00000000 00000000 00000000
<7>MMC: starting cmd 01 arg 00000000 flags 00000061
<7>imx-mmc imx-mmc.0: CMD01 (0x01) mask set to 0x003b
<7>imx-mmc imx-mmc.0: RESP 0x00008000, 0x00000000, 0x00000000,
0x00000000, error 0
<7>MMC: req done (01): 0: 00008000 00000000 00000000 00000000
<7>imx-mmc imx-mmc.0: clock 0 power 0 vdd 0 width 1
Thanks,
Midhun.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]