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
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
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
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
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
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
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
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
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
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
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
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
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 Donnerstag 28 Juni 2007 21:22 schrieb Pierre Ossman:
> Since you use busybox I
> assume the system is too lightweight to run udev.
I run udev on an arm system, it costs you about 200kBytes,
and saves you all the trouble with creating device files.
Note that you don't need any rules files. If yo
Midhun Agnihotram wrote:
>
>How do I access the MMC card data now? If I try to mount it,
> busybox doesnot mount it.
>
> # mount /dev/mmcblk0p0 /mnt/mmc
> mount: mounting /dev/mmcblk0p0 on /mnt/mmc failed
>
Have you checked that your device nodes are correct? Since you use busybox I
assume
Am Donnerstag 28 Juni 2007 19:08 schrieb Midhun Agnihotram:
> How do I access the MMC card data now? If I try to mount it,
> busybox doesnot mount it.
>
> # mount /dev/mmcblk0p0 /mnt/mmc
> mount: mounting /dev/mmcblk0p0 on /mnt/mmc failed
>
> I have tried with /dev/mmcblk0p0, mmcblk0p1,etc
Midhun Agnihotram wrote:
> Sorry for resending. I dont know if my previous mail has reached the
> list with "Fwd" in the subject line. I am pretty sure there must a
> filter in Majordomo to discard forwards. Actually I am resending the
> mail I had sent to Linux-Arm-Kernel.
The mail came already t
-
From: Midhun Agnihotram <[EMAIL PROTECTED]>
Date: Jun 28, 2007 10:30 PM
Subject: Fwd: Mounting MMC card
To: linux-kernel@vger.kernel.org
Cc: [EMAIL PROTECTED]
Hi All,
I am new to linux kernel stuff. I am using Cogent CSB535FS board. I
have configured the kernel to include support
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
24 matches
Mail list logo