mmc-spi block driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
I am working on integrating the mmc driver on Linux and when I try to mount the
device I always get the error "mounting /dev/mmc on m failed: Invalid argument" .
I also see that when ever I try to mount,the drivers request function is invoked
to read the first sector(MBR).Thus the driver always reads the MBR and returns
to the filesystem.The moment I load the driver the drivers request function is
invoked to read the first 8 sectors.The data for the block0 is as follows .The
rest blocks are all 0.
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000004bc1f59e00
033d061cfcd9f90007531e000000000000000000000000000000000000000000000000055aa.
Interpreting the above data I could see that the volumeID is present at the
sector location 0x000000f9.
After giving this information I feel the file system should interpret the MBR's
partition table and issue request with the calculated sector address.

he following are the instructions I have followed to mount the module.
mknode /dev/mmc b 254 0.
mount -t vfat /dev/mmc /mmc.(invalid argument)

When ever I do the mount I could see the drivers request function is invoked to
read the first sector(sector 0).What should I do to make the file system read
the volume ID (0x00000f9) sector.
Can any one help me in debugging this issue.
Regards,
Sunil

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux