[Bug 16351] USB memory stick takes very long to automount

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Wed Sep 28 02:13:40 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=16351
Ubuntu | gnome-volume-manager





------- Additional Comments From linux2k at gmail.com  2005-09-28 03:13 UTC -------
(In reply to comment #7)
> (In reply to comment #6)
> 
> > I followed the debugging steps from the website that you kindly provided. All
> > the files have been attached (is there another way to do "attach multiple files
> > at once" in the bugzilla system? This seems like a lot of waste of screen
space :)
> 
> No, you can only attach one file at a time.
> 
> > Then I went ahead and placed USB stick into the USB port... this is when things
> > went a little different than I would expect!
> > After waiting for about 1 min. watching the console and more messages that
> > showed up, the actual USB stick mounted quite nicely! Nautilus opened as one
> > would expect and I was able to browse the pen drive with no problem (no manual
> > mounting... it JUST WORKED).
> 
> Hmm, since it worked, the logs only show successful actions, so I can't see any
> error in them. So it just takes very long until the device is mounted?
> 
> It would be interesting to see which component actually causes the lag. Can you
> please do another experiment? Copy the following command into a terminal (but do
> not press Enter yet):
> 
>   while true; do date; ls -l /dev/sda1 2>/dev/null; lshal 2>/dev/null |grep
> /dev/sda1; sleep 1; done
> 
> Then insert your memory stick and at the same time press enter to start the
> check. At first you will see only dates, and as soon as the device becomes
> available and hal sees it, you should see more entries:
> 
> Di Sep 27 11:59:00 CEST 2005
> [...]
> Di Sep 27 11:59:05 CEST 2005
> brw-r-----  1 root plugdev 8, 1 2005-09-27 11:59 /dev/sda1
> Di Sep 27 11:59:06 CEST 2005
> brw-r-----  1 root plugdev 8, 1 2005-09-27 11:59 /dev/sda1
>   block.device = '/dev/sda1'  (string)
> 
> That would mean it took 5 seconds until /dev/sda1 appeared (i. e. the time the
> kernel and hotplug need to see the device) and another second until hal sees it.
> As soon as you see both lines (the two last ones), you can stop recording. What
> are your results? (Just copy the whole output here if you are unsure)


I followed your instructions and these are the results:
Start time was: (20:59:34)
plugdev responded with: "brw-r-----  1 root plugdev 8, 1 2005-09-27 21:02
/dev/sda1" (21:02:34)  <------ Exactly 3 minutes passed!
The last line: "block.device = '/dev/sda1'  (string)"  <------ Never showed up.
I actually waited for more than 10 minutes and then just killed the loop
(recording).

Since I had some luck last night with mounting the stick right after "killall
g-v-m" I wanted to see if it will work once again (following the same set of
instruction that you have provided previously). Thinking that the USB stick will
mount properly, I executed the loop (recording) together with the other steps.
This time the USB stick didn't mount at all. I've noticed that it took exactly 3
minutes to get the /dev/sda1 to show up. Grrr!

Before I go any further I want to let you know that I did apt-get update,
apt-get dist-upgrade today - before running the test that you wanted me to perform.

OK... I decided to do "reboot" and try to run the set of tests as provided on
this page: https://wiki.ubuntu.com/DebuggingRemovableDevices
I know I did this last night and somehow it worked, eventhough the wait time was
pretty long. Well, today I had no such luck. I ran everything step-by-step and
I'm going to include the same set of files (updated of course). I also proceeded
and did the "killall hald" - the extra step and I'm including it as well. Please
let me know if there is anything else that I can do to help solve this problem
(or maybe it is just my USB stick/PC that are causing some problems?). BTW the
USB stick works properly under XP SP2 on this same system (XP-vanilla dual-boot
is on this box for testing purposes ONLY). Thank you for your time.

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list