Hi All,
We made a customize TK1 board, and it used two different eMMC. One is same as TK1 dev board used(Sandisk SDINBDE4), the other one is Sandisk SDINBDG4. When I run this command “sudo fstrim /”, the one which uses Sandisk SDIN8DG4 eMMC will show errors below. But there is no errors in the board with Sandisk SDINBDE4. I would like to know if there is any parameter need to be fine tune when we use eMMC different with TK1 dev board ?
ubuntu@tegra-ubuntu:~$ sudo fstrim /
[sudo] password for ubuntu:
[ 480.966165] end_request: I/O error, dev mmcblk0, sector 190376
[ 480.974166] end_request: I/O error, dev mmcblk0, sector 1858968
[ 480.980376] end_request: I/O error, dev mmcblk0, sector 1937432
[ 480.986542] end_request: I/O error, dev mmcblk0, sector 2074128
[ 480.992839] end_request: I/O error, dev mmcblk0, sector 2334248
[ 480.999057] end_request: I/O error, dev mmcblk0, sector 2367832
[ 481.005068] end_request: I/O error, dev mmcblk0, sector 2410592
[ 481.011269] end_request: I/O error, dev mmcblk0, sector 2467904
[ 481.017309] end_request: I/O error, dev mmcblk0, sector 2550176
[ 481.023433] end_request: I/O error, dev mmcblk0, sector 2722672
ubuntu@tegra-ubuntu:~$
Hi WayneWWW,
I did the changes as below and this issue has been fixed.
I find the root cause is that sec_feature_support is zero when the ext_csd version is higher than 6.
I check this function “mmc_read_ext_csd” on linx kernel git server and don’t see the same codes.
So I would like to know if there has any special reason for Nvidia doing this changes!?