You are not logged in.
Pages: 1
Hi there.
I have installed Arch Linux on my Sony laptop and I have configured it so that most stuff works. The only problem I'm facing now, is that my USB Flash Drive won't show up when I plug it in. I have tried restarting ehci service, but it does not solve anything. I had this problem many years ago with another computer running Linux, but I can't remember how it got solved. Connecting a USB-mouse works perfectly but not a flash drive. The drive is a FAT32 formatted Kingston.
This is my dmesg log:
[ 109.300651] usb 2-1.3: new high-speed USB device number 4 using ehci_hcd
[ 109.613294] Initializing USB Mass Storage driver...
[ 109.613459] scsi7 : usb-storage 2-1.3:1.0
[ 109.613577] usbcore: registered new interface driver usb-storage
[ 109.613579] USB Mass Storage support registered.
[ 110.614456] scsi 7:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 2
[ 110.616674] sd 7:0:0:0: [sdc] 8237056 512-byte logical blocks: (4.21 GB/3.92 GiB)
[ 110.617821] sd 7:0:0:0: [sdc] Write Protect is off
[ 110.617835] sd 7:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 110.618550] sd 7:0:0:0: [sdc] No Caching mode page present
[ 110.618561] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[ 110.621899] sd 7:0:0:0: [sdc] No Caching mode page present
[ 110.621908] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[ 110.787723] sdc: sdc1
[ 110.880634] sd 7:0:0:0: [sdc] No Caching mode page present
[ 110.880647] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[ 110.880655] sd 7:0:0:0: [sdc] Attached SCSI removable diskRunning openbox with PCManFM. Any clues how to solve this? ![]()
Last edited by light (2013-03-17 21:26:26)
Offline
For what i can see from the log there is no problem.
Have you tried to manually mount it? To see if it is a PCManFM issue. Also, have you checked this:
https://wiki.archlinux.org/index.php/PC … ge_devices
Last edited by s1ln7m4s7r (2013-03-17 20:19:40)
Offline
For what i can see from the log there is no problem.
Have you tried to manually mount it? To see if it is a PCManFM issue. Also, have you checked this:
Hi.
I tried installing gvfs, apparently I uninstalled it for some reason before.
But it did not help mounting the flash drive. So I tried mounting it manually and it worked (Yaay!). But it complained that my flash drive was not mentioned in fstab. So I looked in fstab and the only ones listed is my root partion "/" and "/home". So how do I add USB mounting to fstab? I'm a little bit confused. ![]()
And one off-topic question: Shouldn't my "/var" partion also be mentioned in fstab?
Thanks for helping me ![]()
Edit: This is how fstab looks right now
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda2 LABEL=/
UUID=ed07bdb6-61c6-4cc7-b98d-122a869046f1 / ext4 rw,relatime,data=ordered 0 1
# /dev/sda4 LABEL=/home
UUID=7448100b-682b-430f-9e59-327ce6f9f22c /home ext4 rw,relatime,data=ordered 0 2Last edited by light (2013-03-17 20:54:38)
Offline
s1ln7m4s7r wrote:For what i can see from the log there is no problem.
Have you tried to manually mount it? To see if it is a PCManFM issue. Also, have you checked this:
Hi.
I tried installing gvfs, apparently I uninstalled it for some reason before.
But it did not help mounting the flash drive. So I tried mounting it manually and it worked (Yaay!). But it complained that my flash drive was not mentioned in fstab. So I looked in fstab and the only ones listed is my root partion "/" and "/home". So how do I add USB mounting to fstab? I'm a little bit confused.
Read this:
https://wiki.archlinux.org/index.php/US … SB_devices
And one off-topic question: Shouldn't my "/var" partion also be mentioned in fstab?
No, only if you have a separated partition for it.
Offline
Check what is actually mounted with the mount command with no args. I suspect that if /var is not listed in your fstab, you have been using the / partition for /var and have an empty (or nearly empty) partition your intended for /var but never actually put there.
If this is the case, the good news is that a simply rsync or cp -ax can transfer the stuff in workable form to the partition for you.
About the usb drive in the fstab, you don't really need it. I'm not sure why gvfs didn't work, but I know that it has been having some serious issues recently, and I am not sure if those were ever fixed. I don't use it personally, I just remember seeing it pop up in the forums over and over again a couple months back.
If you want to be able to mount with user permissions, you should use either udisks or udisks2. I like udisks simply because of where it mounts things, but I now have /media as a symlink to where udisks2 would mount it anyway... so I have no reason to prefer one over the other. I don't really use it anyway.
Offline
It doesn't mount, or it isn't recognized at all?
If you don't know, type in:
sudo fdisk -lThis will list the connected device. For me sda is usually my main HDD and sdb is the first USB I plugged in.
If you think you see the device, just mount it.
sudo mount /dev/sdXN <directory you want to mount it to>.Replace X with the device letter. and N with the partition number(probably 1, example: /dev/sdb1)
I have wasted atleast a second of your time by making you read my signature.
Offline
@MagicSkyFairy, if you read above, the OP said that he/she was able to mount it manually.
Offline
Check what is actually mounted with the mount command with no args. I suspect that if /var is not listed in your fstab, you have been using the / partition for /var and have an empty (or nearly empty) partition your intended for /var but never actually put there.
If this is the case, the good news is that a simply rsync or cp -ax can transfer the stuff in workable form to the partition for you.
About the usb drive in the fstab, you don't really need it. I'm not sure why gvfs didn't work, but I know that it has been having some serious issues recently, and I am not sure if those were ever fixed. I don't use it personally, I just remember seeing it pop up in the forums over and over again a couple months back.
If you want to be able to mount with user permissions, you should use either udisks or udisks2. I like udisks simply because of where it mounts things, but I now have /media as a symlink to where udisks2 would mount it anyway... so I have no reason to prefer one over the other. I don't really use it anyway.
Thank you for clearing things up
Lot's of stuff changed since I last used Arch, so I think the best thing to do is wiki reading. Lots of it. ![]()
Thank's for helping me guys. ![]()
Offline
Pages: 1