Unable to mount external USB hard drives
This bug report was converted into a question: question #22394: Unable to mount external USB hard drives.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Please note that I found an identical bug report at https:/
After upgrading to Feisty I can no longer mount external USB hard drives. Note that I can mount flash based media with no problems -- they still behave as before.
Upon plugging in a USB drive, the KDE dialog pops up asking me what I'd like to do. When I click 'Open in a new window' nothing happens. Attempts to mount it via Konqueror's storage media view are futile as well. However, attempts to mount the drive manually are successful. If I navigate to the 'Storage Media' screen in Konqueror, and attempt to access the drive (it appears there, unmounted) I receive this error message: `hal-storage-
I get this error with all four of my USB drives.
Below, I have included the /var/log/messages output.
Apr 26 16:30:29 aerie kernel: [146619.000000] usb 2-7: new high speed USB device using ehci_hcd and address 17
Apr 26 16:30:29 aerie kernel: [146619.284000] usb 2-7: configuration #1 chosen from 1 choice
Apr 26 16:30:29 aerie kernel: [146619.284000] scsi12 : SCSI emulation for USB Mass Storage devices
Apr 26 16:30:34 aerie kernel: [146624.320000] scsi 12:0:0:0: Direct-Access SAMSUNG HM100JC YN10 PQ: 0 ANSI: 0
Apr 26 16:30:34 aerie kernel: [146624.324000] SCSI device sdc: 195371568 512-byte hdwr sectors (100030 MB)
Apr 26 16:30:34 aerie kernel: [146624.328000] sdc: Write Protect is off
Apr 26 16:30:34 aerie kernel: [146624.332000] SCSI device sdc: 195371568 512-byte hdwr sectors (100030 MB)
Apr 26 16:30:34 aerie kernel: [146624.336000] sdc: Write Protect is off
Apr 26 16:30:34 aerie kernel: [146624.336000] sdc: sdc1
Apr 26 16:30:34 aerie kernel: [146624.336000] sd 12:0:0:0: Attached scsi disk sdc
Apr 26 16:30:34 aerie kernel: [146624.336000] sd 12:0:0:0: Attached scsi generic sg3 type 0
If anyone requires further information from me, please don't hesitate as I imagine this is causing a lot of grief for more than a few people (as evidenced by a few postings in the Ubuntu forums).
description: | updated |
I can confirm this behavior on my laptop too with a clean install of Feisty. Here is what I posted in the ubuntu forums, with as much info as I have figured out:
I have looked through the ubuntu forums and kubuntu forums and have found problems that are close to the same but not quite. So I have decided to start a new thread and hope it helps.
The Problem: In Kubuntu Feisty clean install my USB LaCie 160GB HD is not automounted, nor can a regular user mount it with ntfs-3g. I have install ntfs-3g and ntfs-config. I set both internal and external drives to be writeable. My WinXP partition mounts with ntfs-3g fine and dandy using fstab.
More Symptoms: Once plugged in a window pops up asking if I wish to open the folder or what not. I can try any of the options and the window goes away but the disk is not mounted. So I can then go into konqueror and to the Services tab on the side. I can click on the USB disk that shows up under Storage Media. I can click on it and I receive:
(Window Title: Error - Konqueror) removable- mount-all- options refused uid 1000
hal-storage-
If I try instead to right click on the drive and click mount I receive: mounthelper) removable- mount-all- options refused uid 1000
(Window Title: Error - kio_media_
hal-storage-
Next I tried using pmount-hal:
pmount-hal /dev/sdb1
and get this spit out:
libhal-storage.c 1401 : INFO: called LIBHAL_ FREE_DBUS_ ERROR but dbusError was not set. _close( ) docs. This is a bug in the application.
process 9726: Applications must not close shared connections - see dbus_connection
And I have read access but not write access. A glance at mtab reveals (last two lines):
/dev/disk/ by-uuid/ 04F8E5B6F8E5A5E 0 /media/winXP fuseblk rw,nosuid, nodev,noatime, allow_other, blksize= 4096 0 0 nosuid, nodev,uid= 1000,gid= 1000,umask= 077,iocharset= utf8 0 0
/dev/sdb1 /media/Arrowboxed ntfs rw,noexec,
Here the first line is my internal WinXP partition and the second line is my external HD. And it looks like the filesystem for my XP partition is fuseblk, and ntfs for the USB HD. So the next idea is to use the -t option in pmount to specify I want to use ntfs-3g. And I use:
pmount-hal /dev/sdb1 -t ntfs-3g
And this results in:
libhal-storage.c 1401 : INFO: called LIBHAL_ FREE_DBUS_ ERROR but dbusError was not set. _close( ) docs. This is a bug in the application.
process 9811: Applications must not close shared connections - see dbus_connection
Error: invalid file system name 'ntfs-3g'
Error: could not execute pmount
And indeed it does not mount. So I figure okay, lets try just mount:
sudo mount /dev/sdb1 /media/sdb1
And it is mounted with read access only for root only. And again mtab has:
/dev/disk/ by-uuid/ 04F8E5B6F8E5A5E 0 /media/winXP fuseblk rw,nosuid, nodev,noatime, allow_other, blksize= 4096 0 0
/dev/sdb1 /media/sdb1 ntfs rw 0 0
Which appears to mean that it is mounted with the old ntfs driver. So it's back to unmounting and trying to specify ntfs-3g with mount:
sudo mount -t ntfs-3g /dev/sdb1 /media/sdb1
And the HD is now mounted with read and write for everyone. And mtab reads:
/dev/disk/ by-uuid/ 04F8E5B6F8E5A5E 0 /media/winXP fuseblk rw,nosuid, nodev,noatime, allow_other, blksize= 4096 0 0
/dev/sdb1 /media/sdb1 fu...