Hi All,
I am new to linux kernel stuff. I am using Cogent CSB535FS board. I
have configured the kernel to include support for MMC card and also
i.MX MMC driver. When I insert the card, it says :
# imx-mmc imx-mmc.0: card inserted
So, the kernel has identified that MMC has been inserted. I h
Hi All,
# mount /dev/mmcblk0p0 /mnt/mmc
mount: mounting /dev/mmcblk0p0 on /mnt/mmc failed
I have tried with /dev/mmcblk0p0, mmcblk0p1,etc. But of no use. How
Try to mount mmcblk0 and/or try fdisk and look at the partition
table. dmesg output would also be helpful (after the failed mount).
Am Freitag 29 Juni 2007 09:40 schrieb Midhun Agnihotram:
>
> >* Is support for the file system on the MMC in your kernel?
>
> Yes. There is support for MMC card in my kernel.
I was talking about the file system on the card. Usually, you've
got vfat on such a card. How about that?
BTW, You m
Midhun Agnihotram wrote:
>
> The kernel version is 2.6.16. So I guess there should not be a
> problem. Any more things that I need to check??
>
Let's try something a lot less complex than mounting. Try running:
dd if=/dev/mmcblk0 of=/dev/null count=100
If that fails, then you should
Hi,
I was talking about the file system on the card. Usually, you've
got vfat on such a card. How about that?
BTW, You mounted proc on /proc and sysfs on /sys, I hope?
Yes I do have the support for vfat and msdos file system. I have
formatted the card on a Windows system with "FAT" file s
Midhun Agnihotram wrote:
>
>So are the device nodes wrong? When i say `cat /proc/devices` it says :
>
> So is the major number 254 is correct for MMC ??
>
This all looks correct. How about /proc/partitions? And what's in /sys/block?
Rgds
--
-- Pierre Ossman
Linux kernel, MMC main
Hi All,
Let's try something a lot less complex than mounting. Try running:
dd if=/dev/mmcblk0 of=/dev/null count=100
Here goes the output(error).
/ # dd if=/dev/mmcblk0 of=/dev/null count=100
dd: can't open '/dev/mmcblk0': No such device or address
The /dev is has the following
On Friday, 29. June 2007, Midhun Agnihotram wrote:
> Hi All,
>
> > Let's try something a lot less complex than mounting. Try running:
> > dd if=/dev/mmcblk0 of=/dev/null count=100
>
> Here goes the output(error).
>
> / # dd if=/dev/mmcblk0 of=/dev/null count=100
> dd: can't open '/dev/m
This all looks correct. How about /proc/partitions? And what's in /sys/block?
Both of them show no sign of MMC.
/ # cat /proc/partitions
major minor #blocks name
31 0 8192 mtdblock0
31 1384 mtdblock1
31 2 1664 mtdblock2
31 3 2048 mtdblock3
31
Am Freitag 29 Juni 2007 11:45 schrieb Midhun Agnihotram:
> >
> > This all looks correct. How about /proc/partitions? And what's in
> > /sys/block?
> >
>
> Both of them show no sign of MMC.
>
> / # cat /proc/partitions
> major minor #blocks name
>
> 31 0 8192 mtdblock0
> 31 1
Hi,
> Both of them show no sign of MMC.
>
Then you cannot mount them. What output did you see in dmesg when you inserted
the card?
The dmesg contains only the following when I remove and insert the card.
<6>imx-mmc imx-mmc.0: card removed
<6>imx-mmc imx-mmc.0: card inserted
Also I was
Midhun Agnihotram wrote:
>>
>> This all looks correct. How about /proc/partitions? And what's in
>> /sys/block?
>>
>
> Both of them show no sign of MMC.
>
Then you cannot mount them. What output did you see in dmesg when you inserted
the card?
--
-- Pierre Ossman
Linux kernel, MMC main
Uli Luckas wrote:
> If I remember correctly, mmc devices did not have fixed majors/minors
> allocated until recently. Either get a recent kernel or use some kind of
> hotplug (udev) scripts to create your device nodes with dynamically allocated
> major/minors.
>
Correct. But a double check in
Not likely. It's probably a no-op when you don't have devfs.
CONFIG_MMC_DEBUG is already enabled. This is not printing any debug
statements as such.
Midhun.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo
Midhun Agnihotram wrote:
> linux/fs/devfs/base.c. I don't have devfs enabled in my kernel (kernel
> version 2.6.16. In fact I don't even get an option to enable it in
> menuconfig.). Can this be the cause of the problem?? I have found the
> same code in the original kernel version too (the one from
Midhun Agnihotram wrote:
>>
>> Not likely. It's probably a no-op when you don't have devfs.
>>
>
> CONFIG_MMC_DEBUG is already enabled. This is not printing any debug
> statements as such.
>
Then something is seriously broken with your kernel. I can only assume that this
is because of some ven
Then something is seriously broken with your kernel. I can only assume that this
is because of some vendor modifications. So I would suggest contacting them or
trying to get a vanilla kernel running.
Hmm. I will try getting the vanilla kernel and putting the
required patches. Or rather see wh
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/p
On Tue, 3 Jul 2007 14:39:40 +0530
"Midhun Agnihotram" <[EMAIL PROTECTED]> wrote:
> 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
19 matches
Mail list logo