PDA

View Full Version : FC5 No USB Disk automount


janos
2006-10-02, 09:07 AM CDT
I installed FC5 (clean install) from the latest unity cd, and everything is working execpt the automount of usb drives (hd and flash). The kernel sees the device and creates an entry in /dev. (with udev)

But it doesn't mount, and when i try to access it from nautilus, i get the message You are not privileged to mount "Drive Name". even as root.

I think it is a problem with hal, because i can mount it manually, and it works great.

I think the fdi file for mounting the device is not there, b/c i cannot find one that controls the usb drives (also it doesn't creat an fstab entry for the device), any sugestions?

techmatt
2006-10-02, 10:19 AM CDT
create an fstab entery for it
make sure to put in the auto option

janos
2006-10-02, 10:33 AM CDT
I did that, and it works, but it doesn't fix the root of the problem. If i insert another hard disk/flash drive at the same time i get the same problem.

techmatt
2006-10-02, 04:42 PM CDT
I don't know what caused the problem, just a work around. Sorry.

janos
2006-10-02, 09:14 PM CDT
thanks techmatt for your input.

Ok, I still can't figure this out, the relevent information from dmesg is:

usb 4-4: new high speed USB device using ehci_hcd and address 9
usb 4-4: configuration #1 chosen from 1 choice
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 9
usb-storage: waiting for device to settle before scanning
Vendor: SanDisk Model: U3 Cruzer Micro Rev: 2.15
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 1994385 512-byte hdwr sectors (1021 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 1994385 512-byte hdwr sectors (1021 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda: sda1
sd 4:0:0:0: Attached scsi removable disk sda
sd 4:0:0:0: Attached scsi generic sg0 type 0
Vendor: SanDisk Model: U3 Cruzer Micro Rev: 2.15
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 8x/40x writer xa/form2 cdda tray
sr 4:0:0:1: Attached scsi CD-ROM sr0
sr 4:0:0:1: Attached scsi generic sg1 type 5
usb-storage: device scan complete

after the plug my fstab reads:

LABEL=/1 / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
LABEL=/home /home ext3 defaults 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
#/dev/hda4 swap swap defaults 0 0
/dev/hda2 swap swap defaults 0 0

also i know that volume.ignore is set to true when a usb disk is instantiated, so if i could write a hal rule to get rid of this i think it would fix it, but I'm not sure how to go about that. more importantly why is this the behavior? I used the same drives on a FC5 desktop earlier and they work fine so does anyone know where to look to figure out why this is the default behavior on this machine?

coolsanth
2006-10-04, 07:13 AM CDT
can anyone tell me how to safely remove pendrive from fedora core operating systems.....i unmounted volume by right clicking even though the power in the drive remain same.....can anyone tell me wat to do..........thanks in advance

janos
2006-10-04, 07:17 AM CDT
When you unmount it is then safe to remove the device, because the filesystem has been synced and is not in use. So once you unmount you can unplug it.

coolsanth
2006-10-04, 07:28 AM CDT
thanks for ur helpfull information....

janos
2006-10-04, 07:38 PM CDT
ok i'm an idiot, gparted added a hal rule that sets volume.ignore if the device is hotpluggable, or removeable, so if any one has this problem and Gparted is installed, delete /usr/share/hal/fdi/policy/gparted-disable-automount.fdi that'll fix it.

coolsanth
2006-10-07, 01:15 AM CDT
hay i didn't get u...i didn't understand anything....can u tell me little bit in simple langauge...thanks for ur reply