Not possible to mount USB stick after upgrading to kde-3.5.5

Bug #65662 reported by Harm van Bakel
36
Affects Status Importance Assigned to Milestone
Debian
Fix Released
Unknown
kdebase (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

No desktop icon appears with the mounted USB stick. When scrolling to media:/ with konqueror the icon for a removable disk is visible, but trying to mount results in an error: 'An unknown error occurred'.

Revision history for this message
Lordjohnny (lordjohnny) wrote :

Same problem.
Problem mount usb memory flash devices in Ubuntu after upgrade to KDE 3.5.5. Ubuntu detect the device correctly but don't mount it.

Revision history for this message
Adrian Jadic (jadic) wrote :

Same problem. Sorry about the duplicate reporting, here is my description:

Automount fails to pop-up the media on the desktop when I insert a card reader or an external HD in the USB.
the device appears in media:/ but when I click on the icon I get the message:
"An unknown error occured"

I have an external 20 GiB drive and it behaves the same.

My camera Canon SD500 is automounted ok and appears in camera:/ as well
as on the desktop. It is also accessible with Konqueror.

Revision history for this message
sunny (sunny-enie) wrote :

Same problem here...USB not working after upgrade recognising but not mounting..in Kubuntu Dapper Drake

Revision history for this message
andres (andres-xcapes) wrote :

Same problem. I plug in USB drive and the window requesting what to do pops-up. I select to "Open in New Window" and then nothing happens. When I navigate to /media/sdb1 the "drive" appears to be empty. But the size it reads for it is all wrong as well (read like 4kb on a 1GB thumb drive)...

Help?

Andres

Revision history for this message
andres (andres-xcapes) wrote :

Correction to the above; it doesn't seem to be mounting the drive at all. The aforementioned drive is actually an existing partition...

Thanks,

andres

Revision history for this message
sunny (sunny-enie) wrote :

A small addition....the drive can be manually mounted but it is not autmounting....please please and please tell us there is a solution

Revision history for this message
Niko Rosvall (niko-rosvall) wrote :

I can confirm this too. I just switched from gnome to kde 3.5.5.

Changed in kdebase:
status: Unconfirmed → Confirmed
Revision history for this message
Tom Shaw (firephoto) wrote :

I just have to say that the usb drives are working fine here. Is it possible that you had a bad upgrade of hal? or maybe the hal daemon isn't running?

Also the "unknown error occurred" is similar to what happend with my hard disks until I added them to pmount.allow so I could use konqueror to manage/mount/umount them but the usb drives shouldn't fall into this category either.

Revision history for this message
Niko Rosvall (niko-rosvall) wrote :

I don't know. This is wierd, hald is running and everything seems fine. I even uninstalled hal and reinstalled and rebooted --> no luck :/

Revision history for this message
Andrew Ash (ash211) wrote :

Another "me-too" here, except I get an actual error message:

"A security policy in place prevents this sender from sending this
message to this recipient, see message bus configuration file (rejected
message had interface "org.freedesktop.Hal.Device.Volume"
member "Mount" error name "(unset)"
destination "org.freedesktop.Hal")

How to reproduce:
Inserting the USB drive causes the "what do you want to do?" dialog from the KDE Daemon. I click "Open in New Window" but no window appears. Also, when I have Amarok running, it asks to auto-configure the drive for music playing.

Since the dialogs haven't worked, I go to "media:/" in konqueror and click on the drive. The drive is labeled "unmounted removable medium" in the on-hover popup. Clicking on the icon brings up the above error message.

I can access the flash drive by cli, though, with the command `sudo mount -t vfat /dev/sdi1 /mnt/flashdrive/`, so I'm guessing it's not a system error, just a KDE one. Just a conjecture.

I've never had problems with USB sticks before on KDE, but I'm not 100% certain this bug is from KDE 3.5.5 I do remember it working before I upgraded from Edgy Beta, though. Hopefully this info can help the devs debug what's going on. Thanks

Revision history for this message
Harm van Bakel (hvbakel) wrote :

Fixed with latest hal update

Revision history for this message
Luka Renko (lure) wrote :

Can we close this or is this still causing problems to anybody?

Changed in kdebase:
status: Confirmed → Needs Info
Revision history for this message
Krzysztof Lichota (krzysiek-launchpad-ubuntu-com) wrote :

Works for me.

Revision history for this message
Kenneth Kassing (kkass) wrote :

I can confirm that the icons now properly appear on the desktop.

However it will now automatically mount all partitions on the drive. This was not the previous behavior. Is this expected?

Revision history for this message
andres (andres-xcapes) wrote : RE: [Bug 65662] Re: Not possible to mount USB stick after upgrading tokde-3.5.5

Working for me now as well

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Krzysztof Lichota
Sent: Thursday, October 19, 2006 3:12 AM
To: <email address hidden>
Subject: [Bug 65662] Re: Not possible to mount USB stick after upgrading
tokde-3.5.5

Works for me.

--
Not possible to mount USB stick after upgrading to kde-3.5.5
https://launchpad.net/bugs/65662

Revision history for this message
Adrian Jadic (jadic) wrote :

I'm sorry to say but on my dapper partition it still does not work. Same message.
I do have an edgy partition and over there everything works fine.

All installations are completely up-to-date. The libhal version on the dapper system is 0.5.7-1ubuntu18.1

Am I missing something?

Revision history for this message
Andres Mujica (andres.mujica) wrote :

Hi Andrew Ash, can you please see this bug

https://launchpad.net/distros/ubuntu/+source/libpam-foreground/+bug/58165

and see if it's what is happening to you and report there about it?

thanks.

Revision history for this message
Jonathan Anderson (jonathan-anderson) wrote :

I have a very similar problem with Kubuntu Edgy (upgraded from Dapper months ago): no desktop icons, can't mount as user, and when I click on the stick in media:/, it just looks empty. No error message about failure to mount.

No error message on trying to Safely Remove a USB stick that was mounted by root, either.

Revision history for this message
Coolvibe (coolvibe) wrote :

I have the same problem with Kubuntu dapper drake, freshly apt-get upgraded. All the symptoms that people described above.

Revision history for this message
Jonathan Anderson (jonathan-anderson) wrote :

A workaround:

Add the following to /etc/dbus-1/system.d/hal.conf:

  <!-- Allow plugdev members to mount volumes -->
  <policy group="plugdev">
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  </policy>

Make sure that you're in the group plugdev *in /etc/group*. Note that automagically putting yourself in plugdev via /etc/security/group.conf will *not* work for the HAL-based mounting.

This is really, *really* silly, and the last part (about /etc/security/group.conf) is not going to be fixed any time in the near future (see Debian bug #377689). Why did the KDE folks switch from pmount to HAL?

Revision history for this message
Ulrich Lukas (ulrich-lukas) wrote :

Hi,

I've applied this workaround (my /etc/dbus-1/system.d/hal.conf attached).

What happens is this:

I Plug in my USB-stick.

I open Konqueror and go to the location: "media:/"

Now, I click on the symbol of my USB-stick ("256MB removable drive"). Immediately, a popup-window opens and I still get the "unknown error".

When I open a Konsole and type in: >>pmount-hal /dev/sda1<<, the USB-stick is successfully mounted under
/dev/usbdisk (is this the expected behavior or should it be on another location?).

Unmounting via right-click in Konqueror ("Safely remove") or >>pumount /dev/sda1<< works.

When I enter into the Konsole: >>kio_media_mounthelper -m "media:/dev/sda1"<<, I get the same "An unknown error has occurred" as when klicking on the media symbol in Konqueror.

****
Additionally, when I klick on "removable media" (Speichermedien) in KDEs control bar (Kontrolleiste), a Konqueror window opens with the location "/media" opened instead of "media:/", and as a result, there is no folder or icon to mount/unmount the USB-stick.

HTH

Revision history for this message
Ulrich Lukas (ulrich-lukas) wrote :

I'm sorry, I thought bug #72869 was a duplicate of this bug, and I didn't read that bug's whole description beforehand.

In fact, there seem to be two different issues and bug #72869 is /not/ a duplicate of this bug!

My problem is related to the very latest upgrade of hal, libhal-storage1 and libhal1
from 0.5.7-1ubuntu18.1 to 0.5.7-1ubuntu18.2, because a downgrade to the former version as described in #72869 solves the problem for me.

Please unmark/separate the duplicate bugs.

Revision history for this message
Andrew Ash (ash211) wrote :

SEAQ - Andres Mujica: No, that's not what I'm getting. I haven't noticed this recently, though I don't use that computer much anymore.

Revision history for this message
Daniel Eckl (daniel-eckl) wrote :

Today I got these updates:
2006-12-13 13:46:06 upgrade libhal1 0.5.7-1ubuntu18.2 0.5.7-1ubuntu18.2kubuntu1
2006-12-13 13:46:08 upgrade hal 0.5.7-1ubuntu18.2 0.5.7-1ubuntu18.2kubuntu1
2006-12-13 13:46:08 upgrade libhal-storage1 0.5.7-1ubuntu18.2 0.5.7-1ubuntu18.2kubuntu1

And they fixed the problem for me. I hope this fixes the problem for everyone else, too.

Thank you very much for all of your efforts.

Revision history for this message
Andrew Ash (ash211) wrote :

Can we mark this bug fix released then?

Revision history for this message
Luxford (xzithlan) wrote :

I have the 3 required versions of the hal files listed above, and I've made changes to the hal.conf file to include access for the plugdev group of which my user account is a member.

After restarting dbus and kde, I still get "unknown error occurred"

After a full reboot, the same thing.

Manually mounting the volumes is not a problem.

Revision history for this message
wanger123 (wayneba) wrote :

As above, I have the 3 versions of hal mentioned but it still doesn't work. Plug in stick and get the "what to do" pop-up, select open but nothing happens. No icon on desktop either

cheers

wanger

Revision history for this message
Jonathan Anderson (jonathan-anderson) wrote :

This works for me on Feisty now... anybody still have the problem?

Revision history for this message
probos (probostide) wrote :

Hi, I'm using kubuntu feisty (2.6.20-15-generic) and still have this problem. I think [url="https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/103520"]Bug #103520[/url] is a duplicate of this bug

Revision history for this message
Kieran Hogg (xerosis) wrote :

Works fine on 2.6.20-16, did -16 fix it for you, probos?

Revision history for this message
Luxford (xzithlan) wrote : Re: [Bug 65662] Re: Not possible to mount USB stick after upgrading to kde-3.5.5

there was patch that was issued and it fixed the problem. Not sure which
one, but I don't even run the box that had that bug on it anymore.

On 27/06/07, Kieran Hogg <email address hidden> wrote:
>
> Works fine on 2.6.20-16, did -16 fix it for you, probos?
>
> --
> Not possible to mount USB stick after upgrading to kde-3.5.5
> https://bugs.launchpad.net/bugs/65662
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Thom Luxford

http://www.ThomasLuxford.com
Freedom 55 Financial

Tel 604 585 2424 ext 526
Fax 604 585 2328
Cell 604 788 6516

Revision history for this message
Kieran Hogg (xerosis) wrote :

Thanks, marking as fixed.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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