Lockup on Access to USB Hard Drive
Jason Voegele
jason at jvoegele.com
Thu Jun 30 15:06:07 UTC 2005
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?
--
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
More information about the ubuntu-users
mailing list