<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Type ls command then the terminal hangs on</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Type-ls-command-then-the-terminal-hangs-on/m-p/407432#M60715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jamesbone, Thank you for your reply.&lt;/P&gt;&lt;P&gt;I found this probably be symlink setting problem in init.rc.&lt;/P&gt;&lt;P&gt;The setting in ~imx6/etc/init.rc is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mkdir /mnt/media_rw/udisk 0755 system system&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; symlink /mnt/media_rw/udisk /storage/udisk&lt;/P&gt;&lt;P&gt;And, In ~/device/fsl/PROJECT/init.rc the setting is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mkdir /storage/udisk 0000 system system&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mkdir /mnt/media_rw/udisk 0666 system system&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; symlink /mnt/media_rw/udisk /udisk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I comment both line in ~imx6/etc/init.rc, this error will not happen again&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jul 2015 01:25:23 GMT</pubDate>
    <dc:creator>lisztkao</dc:creator>
    <dc:date>2015-07-16T01:25:23Z</dc:date>
    <item>
      <title>Type ls command then the terminal hangs on</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Type-ls-command-then-the-terminal-hangs-on/m-p/407430#M60713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;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 &lt;SPAN style="font-size: 13.3333330154419px;"&gt;/storage/udisk&lt;/SPAN&gt;(see log described as below).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;However, it hangs on while type ls command in terminal. If type "strace ls /mnt/media_rw/udisk", it stop at system call: &lt;SPAN style="color: #484848;"&gt;lstat64("/mnt/media_rw/udisk",.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #484848; font-size: 10pt;"&gt;Any idea?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Log : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;D/Vold&amp;nbsp;&amp;nbsp;&amp;nbsp; ( 2279): Volume udisk state changing 3 (Checking) -&amp;gt; 4 (Mounted)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;D/MountService( 2658): volume state changed for /storage/udisk (checking -&amp;gt; mounted)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;D/MountService( 2658): sendStorageIntent Intent { act=android.intent.action.MEDIA_MOUNTED dat=file:///storage/udisk (has extras) } to UserHandle{-1}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 08:04:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Type-ls-command-then-the-terminal-hangs-on/m-p/407430#M60713</guid>
      <dc:creator>lisztkao</dc:creator>
      <dc:date>2015-07-14T08:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Type ls command then the terminal hangs on</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Type-ls-command-then-the-terminal-hangs-on/m-p/407431#M60714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of Android are you using?&amp;nbsp; This behavior happens also if you try the LS command on the file system where the system it is install?,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How big is the USB device that you are mounting?&amp;nbsp; do you think we can reproduced it in a FSL board? what steps to follow? do you have any USB log, to see if the device was correctly enumerated?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jaime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 15:02:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Type-ls-command-then-the-terminal-hangs-on/m-p/407431#M60714</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2015-07-15T15:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Type ls command then the terminal hangs on</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Type-ls-command-then-the-terminal-hangs-on/m-p/407432#M60715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jamesbone, Thank you for your reply.&lt;/P&gt;&lt;P&gt;I found this probably be symlink setting problem in init.rc.&lt;/P&gt;&lt;P&gt;The setting in ~imx6/etc/init.rc is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mkdir /mnt/media_rw/udisk 0755 system system&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; symlink /mnt/media_rw/udisk /storage/udisk&lt;/P&gt;&lt;P&gt;And, In ~/device/fsl/PROJECT/init.rc the setting is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mkdir /storage/udisk 0000 system system&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mkdir /mnt/media_rw/udisk 0666 system system&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; symlink /mnt/media_rw/udisk /udisk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I comment both line in ~imx6/etc/init.rc, this error will not happen again&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 01:25:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Type-ls-command-then-the-terminal-hangs-on/m-p/407432#M60715</guid>
      <dc:creator>lisztkao</dc:creator>
      <dc:date>2015-07-16T01:25:23Z</dc:date>
    </item>
  </channel>
</rss>

