Hi Greg, In one of my imx6 based Board when I connect USB Disk first time everything work's ok and I can read/write content from USB Flash Driver but when I do eject and connect again I could see below continuous messages from dmesg and disk never mounted.
218.431346] FAT-fs (sda): Directory bread(block 480) failed <3>[ 218.431362] FAT-fs (sda): Directory bread(block 481) failed <3>[ 218.431374] FAT-fs (sda): Directory bread(block 482) failed <3>[ 218.431386] FAT-fs (sda): Directory bread(block 483) failed <3>[ 218.431398] FAT-fs (sda): Directory bread(block 484) failed <3>[ 218.431420] FAT-fs (sda): Directory bread(block 485) failed <3>[ 218.431432] FAT-fs (sda): Directory bread(block 486) failed <3>[ 218.431444] FAT-fs (sda): Directory bread(block 487) failed <3>[ 218.431466] FAT-fs (sda): Directory bread(block 488) failed <3>[ 218.431478] FAT-fs (sda): Directory bread(block 489) failed <3>[ 218.431499] FAT-fs (sda): Directory bread(block 490) failed <3>[ 218.431515] FAT-fs (sda): Directory bread(block 491) failed <3>[ 218.431528] FAT-fs (sda): Directory bread(block 492) failed <3>[ 218.431540] FAT-fs (sda): Directory bread(block 493) failed <3>[ 218.431551] FAT-fs (sda): Directory bread(block 494) failed <3>[ 218.431563] FAT-fs (sda): Directory bread(block 495) failed <3>[ 218.431592] FAT-fs (sda): Directory bread(block 496) failed <3>[ 218.431604] FAT-fs (sda): Directory bread(block 497) failed <3>[ 218.431616] FAT-fs (sda): Directory bread(block 498) failed <3>[ 218.431627] FAT-fs (sda): Directory bread(block 499) is this probably issue in driver where It is failing to properly re-init the USB device 2nd time ? Regards Sanjeev Sharma On Wed, Jun 18, 2014 at 12:09 PM, Greg KH <g...@kroah.com> wrote: > On Wed, Jun 18, 2014 at 06:26:23AM +0000, Ranjith T. C. wrote: > > Thanks for the reply. > > > > > What exactly do you mean by this? > > > > What I meant is whether it could be could be an of the USB controller > driver or the hardware? > > It could be both. Or a bad cable, or bad connection. > > Try putting some debugging code in the Linux device side and see what > that is telling you is happening. > > Try plugging the device into different operating systems with different > types of host controller hardware to see if it is a timing issue. > > Good luck, > > greg k-h > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies