You are not logged in.
Pages: 1
Hi all,
A USB drive I connected today was not being mounted as usual. Normally it will automatically appear in PCManFM and I've never previously had any issues of this kind. I am however able to see the drive in gparted.
It's been a few weeks since I last connected an external drive, so I can't say for sure whether it was a recent update or not. I note that PCManFM was last updated 13/8, I can't recall using a USB driver between then and now, so may it have occured on that update?
I confirmed my user was in the storage group, as mentioned on the wiki and tried having my xinitrc without the "dbus-launch" before "openbox-session".
I was hoping someone could suggest a fix before I try installing gvfs instead (I'd rather avoid the gnome dependencies).
Thanks.
(EDIT: Have there been any issues with this for the latest kernel? I'm fully up to date with 3.5.3-1)
Last edited by Chowchilla (2012-09-13 04:45:49)
Offline
After you plug the drive in to the system, what are the last couple dozen lines of the output of dmesg ??
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
[ 135.585917] usb 1-1.2: new high-speed USB device number 5 using ehci_hcd
[ 135.773343] usbcore: registered new interface driver uas
[ 135.784920] Initializing USB Mass Storage driver...
[ 135.785126] scsi6 : usb-storage 1-1.2:1.0
[ 135.785321] usbcore: registered new interface driver usb-storage
[ 135.785323] USB Mass Storage support registered.
[ 136.788599] scsi 6:0:0:0: Direct-Access OCZ RALLY2 0.00 PQ: 0 ANSI: 2
[ 136.790271] sd 6:0:0:0: [sdb] 7892040 512-byte logical blocks: (4.04 GB/3.76 GiB)
[ 136.791095] sd 6:0:0:0: [sdb] Write Protect is off
[ 136.791105] sd 6:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 136.792088] sd 6:0:0:0: [sdb] Asking for cache data failed
[ 136.792099] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 136.798320] sd 6:0:0:0: [sdb] Asking for cache data failed
[ 136.798330] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 136.937701] sdb:
[ 136.942544] sd 6:0:0:0: [sdb] Asking for cache data failed
[ 136.942554] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 136.942560] sd 6:0:0:0: [sdb] Attached SCSI removable diskHope that helps.
I should I add that I also just tried using pmount. But running
pmount /dev/sdbonly created a folder /media/sdb which I could not access ("Permission denied" when trying to access via PCManFM).
Oh, and I'm using SLiM in case that's relevant.
Last edited by Chowchilla (2012-09-13 05:05:51)
Offline
Always reboot after a kernel update.
Especially if you're on a laptop. A lot of people I see just close the lid and keep it like that for a few days between kernel updates (usually until they boot into Windows), and then they wonder why the heck USB modules aren't loading.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Always reboot after a kernel update.
Especially if you're on a laptop. A lot of people I see just close the lid and keep it like that for a few days between kernel updates (usually until they boot into Windows), and then they wonder why the heck USB modules aren't loading.
I reboot regularly and always after kernel/X.org/driver updates, so it can't be that.
Anything look wrong in the dmesg output? If I'm not mistaken the "Asking for cache data: failed" messages are due to it being a flash drive and having no cache, hence the "Assuming drive cachce: write through", right?
Offline
The assuming drive cache thing is normal (my SD card I have plugged in generates those). Try making a folder in your home directory and then running sudo mount /dev/sdb1 ~/somefolder
Note that trying to mount /dev/sdb will mount the drive, not the partition on the drive. You should be mounting /dev/sdb1 or something like that.
Offline
This also happened to me after I switched to systemd. However in my case pmount kept working. I tried udiskie and it kind of worked but pcmanfm crashed often and hard.
I don't use slim but rather just startx. But I noticed near the bottom of
https://wiki.archlinux.org/index.php/SL … vironments
you must no longer include ck-launch-session in your .xinitrc or slim.conf login_cmd. Don't know if you have that or not. In my case I switched to using spacefm and I got my usb stick mounting back. Spacefm can use its own mounting utility called udevil but it can also use pmount. pmount is working fine with spacefm for me.
If you use spacefm you won't need dbus-launch or ck-launch-session in your .xinitrc. However, don't remove consolekit from your system if you are using systemd. Its needed for user reboot and poweroff.
Offline
Yeah, I made sure to remove ck-launch-session from my .xinitrc as soon as I made the relevant upgrade to SLiM. So my .xinitrc currently looks like:
#!/bin/sh
xrdb -merge ~/.Xresources
exec dbus-launch openbox-sessionPer the recommendation at:
https://wiki.archlinux.org/index.php/PC … ormal_user
I tried add ck-launch-session back again (I wasn't sure if the advice was a remnant from before the associated upgrade to SLiM), but no change.
WRT to file managers, I may give SpaceFM a try. But to be honest I'm quite fond of PCManFM and if I really must switch it'll probably be to Thunar.
Offline
Pages: 1