Re: 3.5.4.1 on akita - SD/MMC card issue

Richard Purdie <[email protected]>
Newsgroups gmane.comp.handhelds.openzaurus.devel
Message-ID <[email protected]>
On Wed, 2006-03-22 at 00:48 -0600, Jeff wrote:
> I am having trouble getting my 16mb SD card and my 1GB mmcplus card to
> work. They are all I have, and the zaurus is the only way I can modify
> them. These cards worked in the original sharp rom, pdaxrom
> 1.1.0beta2, and oz 3.5.3 . I believe they are formatted fat16.
> 
> When I insert the 1gb mmcplus card, all dmesg says is:
> mmc0: card has unknown MMCA version 4
> 
This error should be fixed in 2.6.16 kernels and the next test release
will have a 2.6.16 kernel so hopefully that will get fixed.

> For the 16mb sd card dmesg says:
> mmc0: unrecognised SCR structure version 3

I've never seen an SCR version 3. How old is this card out of interest?
I suspect this is an old card and the SCR data is totally invalid. I'm
considering adding a work around to the kernel to ignore these SCR
problems. I'll know more once I have the results of some tests someone
is doing for me (all my cards just work which is a mixed blessing).

> I guess that means nothing is present.
>
> When I try mount /media/card, I get:
> mount: Mounting /dev/mmcblk0p1 on /media/card failed: No such file or
> directory
>
> After running mknod /dev/mmcblkop1 b 254 1 , I get:
> mount: Mounting /dev/mmcblk0p1 on /media/card failed: No such device
> or address

/dev/mmcblk0p0 will only appear if it successfully reads the card. It
will automount if created.

> What other information can I collect in order to submit a bug report.

The information from dmesg is good, thanks.

Also of interest is the information
in /sys/devices/platform/pxa2xx-mci/mmc0:xxxx/. (xxx is some hex
number). The files of particular interest are scr, csd and cid.

> Which mmc driver was used in the akita kernel? Is there a way to
> change the kernel without flashing from an SD of CF card?

You can use kexec although this isn't supported/enabled in the 3.5.4.1
release at present.

Regards,

Richard
Zaurus 2.6 Kernel Maintainer



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.