Unable to re-mount again an usb flash key.

Bug #55315 reported by Sylvain BERTRAND
4
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Fix Released
Medium
Ubuntu Kernel USB Team

Bug Description

Plug an usb flash key in a usb port.
Eject the volume from its icon.
Do NOT remove the usb flash key from the usb port.
From its icon in "computer", try to mount again the flash key:

Error: unable to mount.

Revision history for this message
Mateusz Drożdżyński (matid) wrote :

Thanks for taking the time to report this bug. Unfortunately, I can't reproduce this bug neither in Ubuntu 6.04 nor in the development release. We'd be grateful if you could state the exact brand/model of the USB drive you're using and whether this problem occurred before (or with a different USB stick).

Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

First computer: PowerMac Ubuntu Dapper.
Second computer: PC Ubuntu Dapper.
I have the same issue on both computers using two different USB2 mass storage devices: vfat formatted, without partition (/dev/sda directly).

Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

I cleaned the /var/log/messages and I reproduce the bug:
1 - I plug the USB2 mass storage device.
2 - I wait till it's mounted and till nautilus automatically shows me its content.
3 - I eject the USB2 mass storage device. But I do not uplug it.
4 - I try to mount it again --> error no device found.

If I try "sudo mount -t vfat /dev/sda /mnt" I get an error: "no medium found" after ejecting it without unplugging the device.

Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

Same thing with a another usb mass storage device.

Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

MSI usb mass storage mount output.
Ooop! There is a partition on this one.

Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

VERBATIM usb mass storage mount output
No partition.

Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

lsusb output from the mounted VERBATIM usb mass storage device. There is no difference with the ejected but still plugged lsusb output.

Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

Same thing, but from the MSI usb mass storage device.

Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

lspci output from the PC I use.
Don't have my hands on the PowerMac which behaves the same way yet...

Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

I tried a third usb mass storage device, but ext3 formatted this time and without partition(/dev/sda)... no issue to mount it after ejecting without unpluggin it.

Revision history for this message
Philip Paquette (pcpaquette) wrote :

Setting package to linux-source-2.6.15, so this bug gets out of the list of bugs without a package.
Can you confirm this bug still happens in edgy/feisty?
Thanks.

Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

This bug is still in ubuntu feisty.

Revision history for this message
Philip Paquette (pcpaquette) wrote :

From what I see, the device is "/dev/sda1" <-- it has a "1"....

The command you run was "sudo mount -t vfat /dev/sda /mnt" ... without the 1, therefore it's normal than it doesn't mount the device properly...

Can you retry with the 1 --> /dev/sda1 ...

Thanks

Revision history for this message
Philip Paquette (pcpaquette) wrote :

We are closing this bug report as it lacks the information, described in the previous comments, we need to investigate the problem further. However, please reopen it if you can give us the missing information and don't hesitate to submit bug reports in the future.

Changed in linux-source-2.6.15:
assignee: shooters → nobody
status: Needs Info → Rejected
Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

This bug still happens in ubuntu feisty.
I tested it with a flash key which makes udev creates the /dev/sda device node.
I used the user interface not the command line in order to reproduce the bug.
If you want some information (I will use the LiveCD) please states which files you need and/or the command lines you need their outputs.

Changed in linux-source-2.6.15:
status: Rejected → Unconfirmed
Revision history for this message
Philip Paquette (pcpaquette) wrote :

Please include the information requested from [WWW] https://wiki.ubuntu.com/DebuggingRemovableDevices as separate attachments. Thank you.

Changed in linux-source-2.6.15:
assignee: nobody → shooters
status: Unconfirmed → Needs Info
Revision history for this message
Philip Paquette (pcpaquette) wrote :

Also, the output files required by the various teams to debug programs are always available at: https://wiki.ubuntu.com/DebuggingProcedures and https://wiki.ubuntu.com/Bugs/Responses .

Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

id:
uid=999(ubuntu) gid=999(ubuntu) groupes=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),104(scanner),112(netdev),113(lpadmin),115(powerdev),117(admin),999(ubuntu)

id hal:
id: hal: No such user

id haldaemon:
uid=107(haldaemon) gid=114(haldaemon) groupes=114(haldaemon),24(cdrom),25(floppy),46(plugdev),115(powerdev)

uname -a:
Linux ubuntu 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :
Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :
Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :
Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :
Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :
Changed in linux-source-2.6.15:
assignee: shooters → ubuntu-kernel-usb
importance: Undecided → Medium
status: Needs Info → Unconfirmed
Revision history for this message
Gareth Fitzworthington (mapping-gp-deactivatedaccount) wrote :

This bug has had no activity for a considerable period. This is a check to see if there is still interest in investigating this bug report.

Changed in linux-source-2.6.15:
status: New → Incomplete
Revision history for this message
Sylvain BERTRAND (sylvain-bertrand) wrote :

Fixed. Tested on live ubuntu 7.10.

Changed in linux-source-2.6.15:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.