Lockup on Access to USB Hard Drive
Todd Deshane
deshantm at gmail.com
Thu Jun 30 15:33:21 UTC 2005
On 6/30/05, Jason Voegele <jason at jvoegele.com> wrote:
>
> On Thu, June 30, 2005 10:20 am, Todd Deshane said:
> > On 6/30/05, Jason Voegele <jason at jvoegele.com> wrote:
> >> For the most part, I can interact with the device just fine. I can
> view,
> >> add, and remove files from the device with no problem...except for the
> >> Music subdirectory. Whenever I try to access the Music directory, i.e.
> >> an
> >> 'ls' command or opening the folder with Nautilus, it hangs forever.
> When
> >> I check the status of the command in gnome-system-monitor its status is
> >> displayed as "Uninterruptible". This happens only with the Music
> >> directory. All other directories are fine.
> >> Any thoughts?
> >
> > Try running strace ls (instead of just ls)
> > that will give you an idea if it is is hanging or just spinning.
>
> OK, I ran 'strace ls /media/H300/Music' as you suggested. Here are the
> last few lines of the output:
>
> <output>
> open("/etc/group", O_RDONLY) = 3
> fcntl64(3, F_GETFD) = 0
> fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
> _llseek(3, 0, [0], SEEK_CUR) = 0
> fstat64(3, {st_mode=S_IFREG|0644, st_size=799, ...}) = 0
> mmap2(NULL, 799, PROT_READ, MAP_SHARED, 3, 0) = 0xb7d3c000
> _llseek(3, 799, [799], SEEK_SET) = 0
> munmap(0xb7d3c000, 799) = 0
> close(3) = 0
> open("/media/H300/Music/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) =
> 3
> fstat64(3, {st_mode=S_IFDIR|0700, st_size=32768, ...}) = 0
> fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
> getdents64(3,
> </output>
>
> I don't know how to interpret this, but it does seem strange that the last
> line seems to be incomplete, as if something froze during the output of
> that line.
>
> Does this provide any clues?
What kernel version are you running? ... maybe there is a known
issue.
So, it just hangs there at that point? How long have you waited?
Is there any i/o or cpu usage at that point?
Regards,
Todd
--
> Jason Voegele
> "There is an essential core at the center of each man and woman that
> remains unaltered no matter how life's externals may be transformed
> or recombined. But it's smaller than we think."
> -- Gene Wolfe, The Book of the Long Sun
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050630/b18a2ce8/attachment.html>
More information about the ubuntu-users
mailing list