usb storage drive does not automount

Bug #101914 reported by eroll
12
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

My usb harddrive does not auto mount as it did within Edgy. I don't even have the option to right click the device to mount within computer:///. Hal shows the device connects, but nothing beyond that happens. I need to manually mount the device to access the data.

I am running the latest version of Hal: hal (0.5.8.1-4ubuntu12)

right now it's just my external usb Seagate 400gb harddrive. i haven't plugged in my ipod yet to see if that still works properly... but cds mount perfectly fine.

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=04ec8aa5-97a4-4cab-ac2f-121341077a3e / ext3 defaults,errors=remount-ro 0 1
# /dev/sda5
UUID=a94428dd-77b5-4e46-91c3-9efbd09db86d none swap sw 0 0
/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto 0 0

Revision history for this message
GabrielGrant (gabrielgrant) wrote :

Thanks for taking the time to report this bug.

To help us fix it, please include the information requested from https://wiki.ubuntu.com/DebuggingRemovableDevices as separate attachments.

-Gabriel

Revision history for this message
eroll (jeff-dupont) wrote :
Revision history for this message
eroll (jeff-dupont) wrote :
Revision history for this message
eroll (jeff-dupont) wrote :
Revision history for this message
eroll (jeff-dupont) wrote :
Revision history for this message
eroll (jeff-dupont) wrote :
Revision history for this message
eroll (jeff-dupont) wrote :
Revision history for this message
eroll (jeff-dupont) wrote :

all info from the debug walkthrough has been posted.

Revision history for this message
Nathan Rogers (nathaniel-r) wrote :

I also have this problem with my Seagate drive only. Two other thumb drives, and one other external hard drive (Fujitsu, via an unknown brand enclosure) 'automagically' mount with no problem.

I will included all outputs as described in the DebuggingRemovableDevices portion of the wiki. I am using Feisty Fawn 7.04, with Hal 0.5.8.1-4ubuntu12. I've used the methods described for 'Dapper Drake' as there are none specific to Feisty yet.

'id' output:
 uid=1000(orson) gid=1000(orson) groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),110(netdev),111(lpadmin),113(powerdev),114(scanner),116(admin),1000(orson)

'id hal' output:
id: hal: No such user

'id haldaemon' output:
uid=107(haldaemon) gid=112(haldaemon) groups=112(haldaemon),24(cdrom),25(floppy),46(plugdev),113(powerdev)

'uname -a' output:
Linux Bear 2.6.20-14-generic #2 SMP Mon Apr 2 20:37:49 UTC 2007 i686 GNU/Linux

Revision history for this message
Nathan Rogers (nathaniel-r) wrote :
Revision history for this message
Nathan Rogers (nathaniel-r) wrote :
Revision history for this message
Nathan Rogers (nathaniel-r) wrote :
Revision history for this message
Nathan Rogers (nathaniel-r) wrote :
Revision history for this message
jsandeo (jsandeo) wrote : Same thing happens to me in xubuntu

I could not follow the steps at ...
https://wiki.ubuntu.com/DebuggingRemovableDevices
... because my system lacks the gnome-volume-manager utility, but I am willing to provide any debugging data that might be needed.

Revision history for this message
jsandeo (jsandeo) wrote :

The problem is that it just won't automount on reboot; other than that, it mounts without problem if I do it manually after boot.

Here's some data about my box:

dmesg about my USB drive:
[17179612.976000] usb-storage: device scan complete
[17179613.032000] Vendor: Maxtor Model: OneTouch II Rev: 023g
[17179613.032000] Type: Direct-Access ANSI SCSI revision: 04
[17179613.172000] SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
[17179613.228000] sda: Write Protect is off
[17179613.228000] sda: Mode Sense: 24 00 00 00
[17179613.228000] sda: assuming drive cache: write through
[17179613.284000] SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
[17179613.340000] sda: Write Protect is off
[17179613.340000] sda: Mode Sense: 24 00 00 00
[17179613.340000] sda: assuming drive cache: write through
[17179613.340000] sda: sda1
[17179613.368000] sd 0:0:0:0: Attached scsi disk sda
[17179613.420000] sd 0:0:0:0: Attached scsi generic sg0 type 0

my /etc/fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1
UUID=bfd7d811-0bc4-4215-bde2-a3242edb0e8c / ext3 defaults,errors=remount-ro 0
 1
# /dev/hda5
UUID=997b0f1a-dda3-446a-8e81-a58342e7ec3a none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sda1 /media/usbdisk auto rw,nosuid,nodev 0 0
/dev/ /media/floppy0 auto rw,user,noauto 0 0

jsandeo@backupbox:/var/log$ uname -a
Linux backupbox 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux
jsandeo@backupbox:/var/log$ id
uid=1000(jsandeo) gid=1000(jsandeo) groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),109(lpadmin),112(scanner),114(admin),1000(jsandeo)
jsandeo@backupbox:/var/log$ id hal
id: hal: No such user
jsandeo@backupbox:/var/log$ id haldaemon
uid=106(haldaemon) gid=110(haldaemon) groups=110(haldaemon),24(cdrom),25(floppy),46(plugdev)
jsandeo@backupbox:/var/log$
jsandeo@backupbox:/var/log$ ls -l /dev/sd*
brw-rw---- 1 root plugdev 8, 0 2007-05-16 18:34 /dev/sda
brw-rw---- 1 root plugdev 8, 1 2007-05-16 18:34 /dev/sda1

Revision history for this message
aboaboit (andrea-borgia-deactivatedaccount) wrote :

In my case, device nodes were being created. The fun started when I ran "hald" in foreground and I got the following message:

*** [DIE] mmap_cache.c:di_rules_init():68 : Unable to open cache /var/cache/hald/fdi-cache

This post (google cache if link is broken) has more about it:
http://lists.freedesktop.org/archives/hal-commit/2007-March/003077.html

Lo and behold, there is a fdi-cache~ in the same directory. Renaming it, then restarting hald in the background makes KDE pop up the "mount" dialog upon device connection.

Nothing is mounted, though, I am just sharing this tidbit in case it helps somebody else.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu because there has been no activity for 60 days.]

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.