AnsweredAssumed Answered

Type ls command then the terminal hangs on

Question asked by Liszt Kao on Jul 14, 2015
Latest reply on Jul 15, 2015 by Liszt Kao

I have a customed 6Q board with USB otg port(USBOTG_ID connteced with ground), if I pluged a usb disk to this port, system mounted the device at /storage/udisk(see log described as below).

However, it hangs on while type ls command in terminal. If type "strace ls /mnt/media_rw/udisk", it stop at system call: lstat64("/mnt/media_rw/udisk",.

Any idea?

Log :

D/Vold    ( 2279): Volume udisk state changing 3 (Checking) -> 4 (Mounted)

D/MountService( 2658): volume state changed for /storage/udisk (checking -> mounted)

D/MountService( 2658): sendStorageIntent Intent { act=android.intent.action.MEDIA_MOUNTED dat=file:///storage/udisk (has extras) } to UserHandle{-1}

Outcomes