LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   thunar stopped to mount USB storages (Debian squeeze) (https://www.linuxquestions.org/questions/debian-26/thunar-stopped-to-mount-usb-storages-debian-squeeze-723251/)

kaz2100 05-02-2009 11:29 PM

thunar stopped to mount USB storages (Debian squeeze)
 
Hya,

System Debian Squeese on Acer laptop.

Problem is that thunar stopped to mount USB storages.

Error message is:
Code:

org.freedesktop.hal.storage.mount-removable no <-- (action, result).
I followed troubleshooting process described under file:///usr/share/doc/thunar/html/C/using-removable-media.html . Result is same.

I also followed to try to this http://forum.soft32.com/linux/Bug-52...ict482912.html

But I somewhat think that symptom is different. Even though I start thunar manually, nothing changes...

Does anybody know how to make things work?

Happy Penguins!

jdkaye 05-03-2009 12:59 AM

Quote:

Originally Posted by kaz2100 (Post 3528179)
Hya,

System Debian Squeese on Acer laptop.

Problem is that thunar stopped to mount USB storages.

Error message is:
Code:

org.freedesktop.hal.storage.mount-removable no <-- (action, result).
I followed troubleshooting process described under file:///usr/share/doc/thunar/html/C/using-removable-media.html . Result is same.

I also followed to try to this http://forum.soft32.com/linux/Bug-52...ict482912.html

But I somewhat think that symptom is different. Even though I start thunar manually, nothing changes...

Does anybody know how to make things work?

Happy Penguins!

Have you tried mounting the usb manually from a command line? something like this:
Code:

sudo mount /dev/sda1 /media/usbdisk
Do you get an error message when you do this? (the dev may not be sda1 and your mount point may not be /media/usbdisk. Just change the command to fit your particular setup). Also is your usb storage device include in the fstab file?
cheers,
jdk

kaz2100 05-03-2009 03:59 AM

Hya,

Yes, I can even mount the USB drive using pmount without any trouble.

Problem does not seem to mount/umount related, but hal or volman related.

I did not mention clearly, but it used to work at lease last week.

Happy Penguins!

Added on edit.
Same symptom happens with Toshiba laptop also.

jdkaye 05-03-2009 09:09 AM

I'm not sure I understand. Isn't thunar a file manager? Can't you navigate to the mount point of your usb drive?
jdk

kaz2100 05-05-2009 05:40 AM

Hya,

Not solved yet.

I have checked hal policies (compared to lenny one), but I do not think I am on the right track.

When thunar is evoked as a daemon.
Code:

>thunar-volman: No property info.capabilities on device with id /org/freedesktop/Hal/devices/usb_device_90c_1000_AA20000000015580.
thunar-volman: No property info.capabilities on device with id /org/freedesktop/Hal/devices/usb_device_90c_1000_AA20000000015580_if0.
thunar-volman: No property info.capabilities on device with id /org/freedesktop/Hal/devices/usb_device_90c_1000_AA20000000015580_scsi_host_scsi_device_lun0.

The message above pops out when an USB stick is connected.

Happy Penguins!

jdkaye 05-05-2009 10:24 AM

Quote:

Originally Posted by kaz2100 (Post 3530617)
Hya,

Not solved yet.

I have checked hal policies (compared to lenny one), but I do not think I am on the right track.

When thunar is evoked as a daemon.
Code:

>thunar-volman: No property info.capabilities on device with id /org/freedesktop/Hal/devices/usb_device_90c_1000_AA20000000015580.
thunar-volman: No property info.capabilities on device with id /org/freedesktop/Hal/devices/usb_device_90c_1000_AA20000000015580_if0.
thunar-volman: No property info.capabilities on device with id /org/freedesktop/Hal/devices/usb_device_90c_1000_AA20000000015580_scsi_host_scsi_device_lun0.

The message above pops out when an USB stick is connected.

Happy Penguins!

Sorry, I guess I don't know what thunar is. I thought it was a file manager. Anyway, I don't use it so maybe somebody who does can help.
Srak ni,
jdk

kenneth_s 05-09-2009 02:43 PM

Hi kaz2100,

I am experiencing the same behavior with Squeeze. Used to work, now it doesn't.
Using PCMan file manager. Mounting manually is OK.

Hopefully it's fixed soon

kabniel 05-11-2009 10:22 AM

I had the same problem, got it to work by adding this to /etc/PolicyKit/PolicyKit.conf

Code:

<config version="0.1">
 <match action="org.freedesktop.hal.storage.mount-removable">
  <match user="myaccountnamehere">
    <return result="yes"/>
  </match>
 </match>
</config>

It is just something i picked up on a quick google and might not be an ideal solution, but it works for now.

kaz2100 05-12-2009 05:32 PM

Hya,

Thanks for your posts.

1. I will look into packages in common (PCman and thunar).

2. PolicyKit works with Toshiba but not with Acer. (Both Debian squeeze)

Happy Penguins!

mark_alfred 08-04-2011 02:11 PM

I don't know if this is the issue or not, but I think your issues with mounting the usb drive have to do with a different labelling system for devices in Squeeze. Hard drives used to be labelled "hdx" (with x being a corresponding letter such as "a" or "b"), and usb drives were sdx (again with "x" being a corresponding letter to the usb-drive, the first being "a", the second "b", and so on). Now, it seems both usb and hard drives are all labelled with "sdx", and generally hard drives take the first few letters. So, in your case, there may have been an issue with thunar referencing an outdated fstab file that had the wrong device locations for your usb-sticks/usb-drives.

In my case, I had to do the following:
Code:

/dev/sdc1      /media/usb      vfat    noauto,user    0      0
/dev/sdd1        /media/usb2        vfat        noauto,user        0        0
#/dev/sdc2      /media/usb2    vfat    noauto,user    0      0
# /dev/sda      /media/usb      vfat    noauto,user    0      0
# /dev/sdb      /media/usb2      vfat    noauto,user    0      0

The two bottom entries that are commented out are old entries that worked with Lenny, but not with Squeeze. "sda" now refers to my first hard drive (rather than hda, which it used to be), whereas "sdb" now refers to my second hard drive. If you only have one hard drive, then the usb-stick would become "sdb" (I think). Since I have two hard drives, the usb sticks become "sdc" (with "a" and "b" representing the two hard drives). For the two usb-sticks that I have, I set up two different mount-points (usb, and usb2) each coming from sdc1 and sdc2.

[later edit]
It turns out that the device for the second usb is /dev/sdd1, rather than /dev/sdc2. I just tested this, and it works.

qlue 08-04-2011 03:26 PM

Quote:

Originally Posted by mark_alfred (Post 4433858)
Hard drives used to be labelled "hdx" (with x being a corresponding letter such as "a" or "b"), and usb drives were sdx (again with "x" being a corresponding letter to the usb-drive, the first being "a", the second "b", and so on). Now, it seems both usb and hard drives are all labelled with "sdx", and generally hard drives take the first few letters.

I may be wrong but it is my understanding that on older kernels, USB and SATA connected drives use the sdx notation (does the s stand for scsi?) and PATA connected drives used hdx notation.

kaz2100 09-27-2011 02:21 AM

Hya,

It works now. (Tue Sep 27 07:19:33 UTC 2011)


All times are GMT -5. The time now is 08:08 AM.