mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Midhun Agnihotram" <agnimidhun@gmail.com>
To: "Pierre Ossman" <drzeus-mmc@drzeus.cx>
Cc: "Hans-Jürgen Koch" <hjk@linutronix.de>,
	jdi@l4x.org, linux-kernel@vger.kernel.org
Subject: Re: Fwd: Mounting MMC card
Date: Tue, 3 Jul 2007 14:39:40 +0530	[thread overview]
Message-ID: <4dde4acb0707030209n7b3b9236q2619a67f5c4dad5e@mail.gmail.com> (raw)
In-Reply-To: <4684E8C2.7050109@drzeus.cx>

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.

  parent reply	other threads:[~2007-07-03  9:09 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4dde4acb0706261146s5906d8f3vb787d5aecb429116@mail.gmail.com>
2007-06-28 17:00 ` Midhun Agnihotram
2007-06-28 17:08   ` Midhun Agnihotram
2007-06-28 17:53     ` Jan Dittmer
2007-06-28 18:10     ` Hans-Jürgen Koch
2007-06-28 19:22     ` Pierre Ossman
2007-06-28 20:10       ` Hans-Jürgen Koch
2007-06-29  7:40         ` Fwd: " Midhun Agnihotram
2007-06-29  8:38           ` Hans-Jürgen Koch
2007-06-29  9:09             ` Midhun Agnihotram
2007-06-29  9:15               ` Pierre Ossman
2007-06-29  9:30                 ` Midhun Agnihotram
2007-06-29  9:39                   ` Pierre Ossman
2007-06-29  9:45                     ` Midhun Agnihotram
2007-06-29 10:01                       ` Hans-Jürgen Koch
2007-06-29 10:29                       ` Pierre Ossman
2007-06-29 10:57                         ` Midhun Agnihotram
2007-06-29 11:00                           ` Pierre Ossman
2007-06-29 11:06                             ` Midhun Agnihotram
2007-06-29 11:10                               ` Pierre Ossman
2007-06-29 11:22                                 ` Midhun Agnihotram
2007-07-03  9:09                                 ` Midhun Agnihotram [this message]
2007-07-03 18:48                                   ` Pierre Ossman
2007-06-29  9:42                   ` Uli Luckas
2007-06-29 10:29                     ` Pierre Ossman

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=4dde4acb0707030209n7b3b9236q2619a67f5c4dad5e@mail.gmail.com \
    --to=agnimidhun@gmail.com \
    --cc=drzeus-mmc@drzeus.cx \
    --cc=hjk@linutronix.de \
    --cc=jdi@l4x.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®