After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 628997 - udev-based USB mass storage support broken for devices with no partition table
udev-based USB mass storage support broken for devices with no partition table
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: Device - USB Mass Storage
git master
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
gnome[unmaintained]
: 627318 629313 629783 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-09-07 21:32 UTC by Florian Boucault
Modified: 2020-03-17 08:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gvfs-mount --list (625 bytes, text/plain)
2010-09-08 10:11 UTC, Florian Boucault
Details
udevadm info --export-db (143.66 KB, text/plain)
2010-09-08 10:11 UTC, Florian Boucault
Details

Description Florian Boucault 2010-09-07 21:32:28 UTC
I have just acquired a Samsung Galaxy i9000 S and the internal memory card exposed via mass storage does not have multiple partitions (e.g. /dev/sdd1, /dev/sdd2) but stores everything under the root partition (/dev/sdd).

The device is detected by Banshee via udev and a Banshee.Hardware.Gio.DiskDevice object is created. However since it is not an IVolume, MassStorageSource.cs:66 discards it as an invalid device.
Comment 1 David Nielsen 2010-09-08 08:42:41 UTC
Good catch, I noticed that my N900 also doesn't appear to be partitioned in the usual fashion so this is likely a dupe of but has more information relevant to fixing the issue.

https://bugzilla.gnome.org/show_bug.cgi?id=627318

Add the amazing Alan McGovern to CC since this is hardware detection.
Comment 2 Alan McGovern 2010-09-08 09:50:28 UTC
Does your device get mounted automatically so you can browse through it's contents as if it were just another directory?

Also, can you attach the output of the following commands when your device is connected:

"udevadm info --export-db" [ may need to be run as root ]

"gvfs-mount --list" 

Thanks!
Comment 3 Florian Boucault 2010-09-08 10:11:05 UTC
Created attachment 169747 [details]
gvfs-mount --list
Comment 4 Florian Boucault 2010-09-08 10:11:28 UTC
Created attachment 169748 [details]
udevadm info --export-db
Comment 5 Florian Boucault 2010-09-08 10:12:12 UTC
The device is automatically mounted and perfectly browsable.

Thanks for the work Alan.
Comment 6 Alan McGovern 2010-09-08 11:05:56 UTC
Drive(3): SAMSUNG GT-I9000 Card
  Type: GProxyDrive (GProxyVolumeMonitorGdu)

Drive(4): SAMSUNG GT-I9000
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  Volume(0): 6.2 GB Filesystem
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    Mount(0): 6.2 GB Filesystem -> file:///media/86AC-07D9
      Type: GProxyMount (GProxyVolumeMonitorGdu)

So it looks like your built in storage is being mounted as a regular volume but your card is not being mounted. Can you confirm that this is the case? Are you able to browse the built in storage as a regular drive but are not able to do the same for the card? If so, is there a trick you have to do to mount the card so you can browse it? If there is a trick, can you do that and give me the same output again once the card is mounted and browsable.

Thanks!

Other than that, i have a few ideas on what could cause this and will attach a patch later on this evening (all going well) which will add extra logging to banshee to catch this sort of issue. Are you able to compile banshee from source for testing purposes?
Comment 7 Gabriel Burt 2010-09-08 16:09:10 UTC
We might consider showing unmounted volumes in Banshee, and then mounting them when the user activates that source.  Is that logical/doable, Alan?
Comment 8 George McLachlan 2010-09-10 19:56:22 UTC
Both this and https://bugzilla.gnome.org/show_bug.cgi?id=629313 seem to be similar
Comment 9 Florian Boucault 2010-09-13 09:25:17 UTC
@Alan: I don't have a card inside the card reader and do not have a micro-sd card handy to test so I cannot really say if it would be mounted or not. The issue is about the built in storage.
I can and already did compile banshee from source (that's how I debugged the issue and isolated the root cause (MassStorageSource.cs:66)).
Comment 10 George McLachlan 2010-09-13 10:01:50 UTC
*** Bug 629313 has been marked as a duplicate of this bug. ***
Comment 11 David Nielsen 2010-09-13 15:38:32 UTC
*** Bug 627318 has been marked as a duplicate of this bug. ***
Comment 12 Maciej Piesio 2010-09-18 15:45:43 UTC
*** Bug 629783 has been marked as a duplicate of this bug. ***
Comment 13 Bertrand Lorentz 2010-12-18 16:50:29 UTC
Looks like the information requested was provided.
Comment 14 André Klapper 2020-03-17 08:49:39 UTC
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the
responsibility for active development again.
See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.