Re: Doubt on mmc erase command

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

 



Hi Sheetal,

Try enabling mmc trace events to check what is the cmd you are getting
to confirm erase going through.
You shoud get cmd 35/36/38 if erase is going through in case of emmc.

-Ritesh






On Tue, Feb 10, 2015 at 10:00 PM, Sheetal <sheetal.tigadoli@xxxxxxxxx> wrote:
> Hello,
>
> I'm trying to send ERASE Command to the emmc by deleting a file on one of
> the emmc partitions and then doing a sync, But I'm noticing that even this
> will not issue the erase command to emmc.
>
> I did trace the code on, from where this erase command is issued, but my
> trace ended at an ioctl call "do_vfs_ioctl()" more specific
> "SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd, unsigned long,
> arg)" system call definition does a call to do_vfs_ioctl.
>
> Please help me understand how to initiate this from userspace.
> --
> 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
--
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