| View previous topic :: View next topic |
| Author |
Message |
Theophile Apprentice

Joined: 31 Mar 2004 Posts: 285
|
Posted: Wed Jul 18, 2007 3:24 am Post subject: [SOLVED] Gnome Volume Manager stopped working! |
|
|
I had GVM working fine when I originally got GNOME set up on my Dell laptop. It was great to plug in a flash drive and have it automount and an icon appear on the desktop. But after some upgrades, it has ceased to work. Here's what I know:
I have hotplug, udev, dbus, and hald all installed and running. I have gnome-vfs and gnome-voulme-manager compiled with the hal flag, although gnome-volume-manager does not seem to have that use flag as an option. Should this concern me?
| Code: | These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] gnome-base/gnome-vfs-2.18.1 USE="avahi gnutls hal ipv6 samba ssl -debug -doc" 0 kB
[ebuild R ] gnome-base/gnome-volume-manager-2.17.0 USE="crypt -debug -doc" 0 kB
Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No] |
I have the appropriate options checked in gnome-voulme-properties (automount, browse, etc.)
When I insert the same flash drive, this is what appears in /var/log/messages:
| Code: | Jul 17 22:24:38 graven usb 1-3: new high speed USB device using ehci_hcd and address 9
Jul 17 22:24:38 graven Device driver usbdev1.9_ep00 lacks bus and class support for being resumed.
Jul 17 22:24:38 graven usb 1-3: configuration #1 chosen from 1 choice
Jul 17 22:24:38 graven scsi8 : SCSI emulation for USB Mass Storage devices
Jul 17 22:24:38 graven Device driver host8 lacks bus and class support for being resumed.
Jul 17 22:24:38 graven Device driver usbdev1.9_ep01 lacks bus and class support for being resumed.
Jul 17 22:24:38 graven Device driver usbdev1.9_ep82 lacks bus and class support for being resumed.
Jul 17 22:24:38 graven Device driver usbdev1.9_ep83 lacks bus and class support for being resumed.
Jul 17 22:24:38 graven usb-storage: device found at 9
Jul 17 22:24:38 graven usb-storage: waiting for device to settle before scanning
Jul 17 22:24:38 graven NetworkManager: <debug> [1184729078.182264] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_457_151_0000000000515D').
Jul 17 22:24:39 graven NetworkManager: <debug> [1184729079.214020] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_457_151_0000000000515D_if0').
Jul 17 22:24:39 graven NetworkManager: <debug> [1184729079.262276] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_457_151_0000000000515D_usbraw').
Jul 17 22:24:43 graven Device driver target8:0:0 lacks bus and class support for being resumed.
Jul 17 22:24:43 graven scsi 8:0:0:0: Direct-Access Flash Drive UT_USB20 0.00 PQ: 0 ANSI: 2
Jul 17 22:24:43 graven SCSI device sdb: 128000 512-byte hdwr sectors (66 MB)
Jul 17 22:24:43 graven sdb: Write Protect is off
Jul 17 22:24:43 graven sdb: Mode Sense: 00 00 00 00
Jul 17 22:24:43 graven sdb: assuming drive cache: write through
Jul 17 22:24:43 graven SCSI device sdb: 128000 512-byte hdwr sectors (66 MB)
Jul 17 22:24:43 graven sdb: Write Protect is off
Jul 17 22:24:43 graven sdb: Mode Sense: 00 00 00 00
Jul 17 22:24:43 graven sdb: assuming drive cache: write through
Jul 17 22:24:43 graven sdb: sdb1
Jul 17 22:24:43 graven sd 8:0:0:0: Attached scsi removable disk sdb
Jul 17 22:24:43 graven sd 8:0:0:0: Attached scsi generic sg1 type 0
Jul 17 22:24:43 graven Device driver target8:0:1 lacks bus and class support for being resumed.
Jul 17 22:24:43 graven Device driver target8:0:2 lacks bus and class support for being resumed.
Jul 17 22:24:43 graven Device driver target8:0:3 lacks bus and class support for being resumed.
Jul 17 22:24:43 graven Device driver target8:0:4 lacks bus and class support for being resumed.
Jul 17 22:24:43 graven Device driver target8:0:5 lacks bus and class support for being resumed.
Jul 17 22:24:43 graven Device driver target8:0:6 lacks bus and class support for being resumed.
Jul 17 22:24:43 graven Device driver target8:0:7 lacks bus and class support for being resumed.
Jul 17 22:24:43 graven usb-storage: device scan complete
Jul 17 22:24:43 graven NetworkManager: <debug> [1184729083.252418] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_457_151_0000000000515D_if0_scsi_host').
Jul 17 22:24:43 graven NetworkManager: <debug> [1184729083.253811] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_457_151_0000000000515D_if0_scsi_host_scsi_device_lun0').
Jul 17 22:24:43 graven NetworkManager: <debug> [1184729083.283737] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_457_151_0000000000515D_if0_scsi_host_scsi_device_lun0_scsi_generic').
Jul 17 22:24:43 graven NetworkManager: <debug> [1184729083.507930] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/storage_serial_Flash_Drive_UT_USB20_0000000000515D_0_0').
Jul 17 22:24:43 graven NetworkManager: <debug> [1184729083.537433] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_528F_34C9'). |
Nothing appears about mounting. Nothing is mounted according to mount. Kernel automounter is compiled into the kernel (if this is even necessary).
Any ideas what is going on here? I would live to get this working again. Thanks! _________________ Monopedilos
Last edited by Theophile on Tue Jul 31, 2007 1:44 pm; edited 1 time in total |
|
| Back to top |
|
 |
Knute Guru


Joined: 28 Jun 2004 Posts: 305 Location: Fargo, ND
|
|
| Back to top |
|
 |
Theophile Apprentice

Joined: 31 Mar 2004 Posts: 285
|
Posted: Wed Jul 18, 2007 2:24 pm Post subject: |
|
|
I appreciate the help, but that link doesn't really seem to address my problem. My user is a member of plugdev, I have no entries in /etc/fstab that would override the pmount policies, and I have 'gnome-volume-manager' running and starting with the GNOME session.
That being said, the portion of the article that discusses pmount was interesting. If I do 'strings /usr/bin/gnome-volume-manager | grep pmount' as the article suggests, it returns nothing. What's more, pmount was not even present on my system. However, even after emerging pmount (with hal USE flag) and re-emerging gnome-volume-manager, it is still not doing anything. _________________ Monopedilos |
|
| Back to top |
|
 |
Theophile Apprentice

Joined: 31 Mar 2004 Posts: 285
|
Posted: Mon Jul 23, 2007 3:15 am Post subject: |
|
|
Does anyone have any thoughts on this? Would like to get it working again.
TIA! _________________ Monopedilos |
|
| Back to top |
|
 |
juniper l33t


Joined: 22 Oct 2004 Posts: 745 Location: EU
|
Posted: Mon Jul 23, 2007 6:14 pm Post subject: |
|
|
what gnome are you using? i am using 2.16 and pmount IS installed. maybe you should try and install it? another thing: have you tried to log out of gnome and log back in? give the following a try: log out of gnome, restart dbus (which should restart hald, do it manually if it doesn't) and log back in.
I used to have an issue with G-V-M after a wake up from sleep, but it seems to be good now. i wonder if you are having the same issue? |
|
| Back to top |
|
 |
Theophile Apprentice

Joined: 31 Mar 2004 Posts: 285
|
Posted: Mon Jul 23, 2007 7:05 pm Post subject: |
|
|
I am using GNOME 2.18, but I had the same problem with 2.16 before the upgrade.
This install in on a laptop and has been rebooted many, many times. dbus and hald start at boot, gnome-volume-manager starts with the GNOME session. _________________ Monopedilos |
|
| Back to top |
|
 |
juniper l33t


Joined: 22 Oct 2004 Posts: 745 Location: EU
|
Posted: Tue Jul 24, 2007 4:31 pm Post subject: |
|
|
| kill gvm and restart it from the command line. see if it gives any errors when you plug in a usb drive. |
|
| Back to top |
|
 |
Theophile Apprentice

Joined: 31 Mar 2004 Posts: 285
|
Posted: Tue Jul 24, 2007 11:52 pm Post subject: |
|
|
I killed gnome-volume-manager and restarted it and while it runs, it does not outplut anything to the console. Even when I run 'gnome-volume-manager --daemon yes' nothing is output to the console. However, as soon as I start it, a notification pops up that 99% of the space is used on my iPod. However, it still will not automount any devices. _________________ Monopedilos |
|
| Back to top |
|
 |
Dirk.R.Gently Guru


Joined: 29 Jan 2007 Posts: 546 Location: Titan
|
Posted: Wed Jul 25, 2007 1:00 am Post subject: |
|
|
The devices are mount though correct, you can see them mounted where you've told fstab to mount them?!
| Code: | | sudo strings /usr/bin/gnome-volume-manager | grep pmount |
I think pmount and gnome-volume-manager are seperate or at least now they are, pmount isn't installed on my system and gnome-volume-manager performs reasonably. _________________ • Helpful Linux Tidbits |
|
| Back to top |
|
 |
Theophile Apprentice

Joined: 31 Mar 2004 Posts: 285
|
Posted: Wed Jul 25, 2007 3:47 am Post subject: |
|
|
No, the devices do not mount unless I manually use the 'mount' command. _________________ Monopedilos |
|
| Back to top |
|
 |
Theophile Apprentice

Joined: 31 Mar 2004 Posts: 285
|
Posted: Wed Jul 25, 2007 8:53 pm Post subject: |
|
|
Okay, I finally got GVM to print debug info.
Here's what it says when I plug in my USB drive:
| Code: | manager.c/2628: Device added: /org/freedesktop/Hal/devices/usb_device_457_151_0000000000515D_if0
manager.c/2628: Device added: /org/freedesktop/Hal/devices/usb_device_457_151_0000000000515D_usbraw
manager.c/2628: Device added: /org/freedesktop/Hal/devices/usb_device_457_151_0000000000515D_if0_scsi_host
manager.c/2628: Device added: /org/freedesktop/Hal/devices/usb_device_457_151_0000000000515D_if0_scsi_host_scsi_device_lun0
manager.c/2628: Device added: /org/freedesktop/Hal/devices/usb_device_457_151_0000000000515D_if0_scsi_host_scsi_device_lun0_scsi_generic
manager.c/2628: Device added: /org/freedesktop/Hal/devices/storage_serial_Flash_Drive_UT_USB20_0000000000515D_0_0
manager.c/2395: not a mountable volume: /org/freedesktop/Hal/devices/storage_serial_Flash_Drive_UT_USB20_0000000000515D_0_0
manager.c/2628: Device added: /org/freedesktop/Hal/devices/volume_uuid_5b99a93c_1999_4586_955a_899c1083bb9a
manager.c/2441: Changed: /dev/sdb1
manager.c/2451: volume.ignore set to true on /org/freedesktop/Hal/devices/volume_uuid_5b99a93c_1999_4586_955a_899c1083bb9a, not mounting |
It looks like hal sees the device as a non-mountable volume. Why would this be?
Here's what happens when I plug in my iPod:
| Code: | manager.c/2628: Device added: /org/freedesktop/Hal/devices/usb_device_5ac_1205_000000A7EB47
manager.c/2628: Device added: /org/freedesktop/Hal/devices/usb_device_5ac_1205_000000A7EB47_if0
manager.c/2628: Device added: /org/freedesktop/Hal/devices/usb_device_5ac_1205_000000A7EB47_usbraw
manager.c/2628: Device added: /org/freedesktop/Hal/devices/usb_device_5ac_1205_000000A7EB47_if0_scsi_host
manager.c/2628: Device added: /org/freedesktop/Hal/devices/usb_device_5ac_1205_000000A7EB47_if0_scsi_host_scsi_device_lun0
manager.c/2628: Device added: /org/freedesktop/Hal/devices/usb_device_5ac_1205_000000A7EB47_if0_scsi_host_scsi_device_lun0_scsi_generic
manager.c/2628: Device added: /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000000A7EB47_0_0
manager.c/2395: not a mountable volume: /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000000A7EB47_0_0
manager.c/2628: Device added: /org/freedesktop/Hal/devices/volume_part1_size_41094144
manager.c/2416: no sensible filesystem for /org/freedesktop/Hal/devices/volume_part1_size_41094144
manager.c/2441: Changed: /dev/sdd1
manager.c/2628: Device added: /org/freedesktop/Hal/devices/volume_uuid_C343_D598
manager.c/2441: Changed: /dev/sdd2
manager.c/2451: volume.ignore set to true on /org/freedesktop/Hal/devices/volume_uuid_C343_D598, not mounting |
Interestingly, when I put a CD into the CDROM drive, an "Audio CD" icon appears on the desktop. Perhaps this is a USB issue?
Any help appreciated. Thanks! _________________ Monopedilos |
|
| Back to top |
|
 |
Theophile Apprentice

Joined: 31 Mar 2004 Posts: 285
|
Posted: Fri Jul 27, 2007 5:31 am Post subject: |
|
|
Okay, here's what happens when I insert an SD card into my card reader:
| Code: | manager.c/2628: Device added: /org/freedesktop/Hal/devices/pci_1180_822_mmc_host_mmc_card_rca58916
manager.c/2628: Device added: /org/freedesktop/Hal/devices/storage_serial_0x00a4506e
manager.c/2395: not a mountable volume: /org/freedesktop/Hal/devices/storage_serial_0x00a4506e
manager.c/2628: Device added: /org/freedesktop/Hal/devices/volume_uuid_6536_3035
manager.c/2451: volume.ignore set to true on /org/freedesktop/Hal/devices/volume_uuid_6536_3035, not mounting |
This is ridiculous. I emerged hal-device-manager and I can pull up the hardware info "regedit-style" and I can clearly see a "volume.ignore" variable for these devices and it is set to "1" and I cannot modify it.
What determines these values? Is it udev? Do I have to create (or delete) some udev rules or something? What do I have to do here?? _________________ Monopedilos |
|
| Back to top |
|
 |
Theophile Apprentice

Joined: 31 Mar 2004 Posts: 285
|
Posted: Sun Jul 29, 2007 4:11 am Post subject: |
|
|
Any ideas? What tells gnome-volume-manager whether a device is mountable or not? What sets the "ignore" flag? Who would know this? _________________ Monopedilos |
|
| Back to top |
|
 |
Theophile Apprentice

Joined: 31 Mar 2004 Posts: 285
|
Posted: Tue Jul 31, 2007 1:44 pm Post subject: |
|
|
I actually solved this one pretty easily. Once I looked in /usr/share/hal/fdi/ I found that, apparently, gparted was installed on my system during the huge world update and gparted inserts a hal policy which explicitly disables automounting. All I had to do was delete that policy and things were back to normal.
Thanks! _________________ Monopedilos |
|
| Back to top |
|
 |
dunkirk Tux's lil' helper

Joined: 15 Mar 2005 Posts: 88
|
Posted: Mon Oct 01, 2007 1:28 pm Post subject: Thank you |
|
|
Thanks for initiating this thread, and (more importantly) posting your solution. I have been having the exact same issue. What was even more frustrating for me is that I have a laptop configured almost exactly like my desktop, and it was NOT having this issue. I wasted almost a whole day of my time trying a new kernel, new versions of hal and udev, recompiling gnome-volume-manager et. al., and even going so far as an ``emerge -ae pmount'' to get everything I thought I might be missing. I've been diff'ing kernel .config's, and comparing debug logs from hal. It was clear that the problem was in hal somewhere, but I was surely missing it.
I tried doing a ``equery b /usr/share/hal/fdi/policy/gparted-disable-automount.fdi'' and came up with nothing, so it must have been a leftover from a previous version of gparted. My laptop didn't have this, even though I have gparted installed there as well.
There needs to be a good way to delete this sort of cruft. It's only just now, after running my desktop on Gentoo for about 3 years now that I'm noticing this kind of thing getting in the way. I think I can do it manually, but I have seen some stuff out there that other people have written. I just have a hard time trusting such things. :-)
Again, THANK YOU. I was going out of my mind on this one. _________________ Acts 17:28, "For in Him we live, and move, and have our being." |
|
| Back to top |
|
 |
star.dancer Tux's lil' helper


Joined: 18 Sep 2004 Posts: 93
|
Posted: Tue Oct 02, 2007 2:37 am Post subject: |
|
|
Thanks so much for this tip! I am adding it to the gnome-volume-manager HOWTO
edit: I added it and somebody removed it... go figure. |
|
| Back to top |
|
 |
|