Access to a xd memory card

Robert Orzanna orschiro at googlemail.com
Fri Oct 28 04:25:57 EDT 2011


Here is what mtdinfo gives me.

[/home/robert]$ mtdinfo
Count of MTD devices:           1
Present MTD devices:            mtd0
Sysfs interface supported:      yes

[/home/robert]$ sudo mount /dev/mtd0 /mnt
mount: /dev/mtd0 is not a block device

[/home/robert]$ sudo mount /dev/mtd0ro /mnt
mount: /dev/mtd0ro is not a block device

Considering the block device problem, may this be solved by specifing
a file system for the card?

If so, what file system does a xD card use?

Sorry for almost spamming you with my issue but I really would like to
get behind it why it is working under Ubuntu but not under Archlinux.

Regards

2011/10/28 Robert Orzanna <orschiro at googlemail.com>:
> No ideas?
>
> I have to add that the mounting of xd cards is done without any issues
> on Ubuntu and distributions based on it.
>
> Although I could not figure out how it is done I want to understand
> how it is done manually.
>
> Should not mtd-utils be the solution then?
>
> Regards
>
> 2011/10/26 Robert Orzanna <orschiro at googlemail.com>:
>> Hello,
>>
>> I wonder if mtd is the right approach to mount my xd memory card.
>> Before I installed mtd-utils I had two corresponding files in /dev
>> called mtd0 and mtd0ro. However, I was not able to mount them as they
>> are no block devices. Now after installing mtd-utils those two files
>> do not always exist anymore and I do not have any idea how to process
>> further.
>>
>> I should mention that I use an Archlinux 64 bit with kernel 3.0.6-2
>> and mtd-utils 1.4.6.
>>
>> Output of lspci -v.
>>
>> 0d:00.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
>> Subsystem: Lenovo Device 210d
>> Flags: bus master, medium devsel, latency 64, IRQ 17
>> Memory at febfe800 (32-bit, non-prefetchable) [size=256]
>> Capabilities: <access denied>
>> Kernel driver in use: r852
>> Kernel modules: r852
>>
>> If you need more information, just let me know and I will provide them.
>>
>> Thank you for your advice.
>>
>> Regards,
>>
>> Robert
>>
>



More information about the linux-mtd mailing list