You are not logged in.
Pages: 1
I'd like to pop in a USB stick and have it auto mounted in /media. I followed the wiki HAL article. I basically installed HAL and looked at the default config (basically allow everything, no deny anything). But it doesn't mount anything when I stick in a USB drive. Any ideas?
Thanks.
Offline
you could try putting something in fstab like "/dev/sdb1 /media/usbstick auto user,noauto,rw 0 0"
dunno if it would work still, though
Offline
I've got fstab for my hard drives, but it seems like a crude solution for removable disks that might not be /dev/sdb1. I'd rather have HAL do what the wiki describes, mount a /media/<volume_name>
Offline
Are you in the storage group?
I keep getting distracted from my webserver project...
huh? oooh... shiny!
Offline
Yes I am. Even so it shouldn't matter, because HAL doesn't even mount it to /media at all. There is nothing there.
Offline
What does dmesg say after you plugged in the stick? Could you post your daemon array in the rc.conf?
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Policykit. Did you edit policykit conf files? There are several guides on forum for diffirent HAL versions. None of them works perfect, but sure it is better then not-working automount.
Offline
@ammon, I have none of that.
@toad: "dmesg" as a command gives a lot of stuff. This is the last 28 lines of it that seem relevant:
FAT: Directory bread(block 978) failed
FAT: Directory bread(block 979) failed
FAT: Directory bread(block 980) failed
FAT: Directory bread(block 981) failed
usb 1-5: USB disconnect, address 9
UDF-fs: Partition marked readonly; forcing readonly mount
UDF-fs INFO UDF: Mounting volume '__', timestamp 2009/03/14 00:45 (1e5c)
hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
UDP: bad checksum. From 116.30.103.23:28387 to 70.79.82.123:54521 ulen 58
usb 1-5: new high speed USB device using ehci_hcd and address 10
usb 1-5: configuration #1 chosen from 2 choices
scsi11 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 10
usb-storage: waiting for device to settle before scanning
scsi 11:0:0:0: Direct-Access Apple iPod 1.62 PQ: 0 ANSI: 0
sd 11:0:0:0: [sdd] 1982464 2048-byte hardware sectors: (4.06 GB/3.78 GiB)
sd 11:0:0:0: [sdd] Write Protect is off
sd 11:0:0:0: [sdd] Mode Sense: 68 00 00 08
sd 11:0:0:0: [sdd] Assuming drive cache: write through
sd 11:0:0:0: [sdd] 1982464 2048-byte hardware sectors: (4.06 GB/3.78 GiB)
sd 11:0:0:0: [sdd] Write Protect is off
sd 11:0:0:0: [sdd] Mode Sense: 68 00 00 08
sd 11:0:0:0: [sdd] Assuming drive cache: write through
sdd: sdd1 sdd2
sd 11:0:0:0: [sdd] Attached SCSI removable disk
sd 11:0:0:0: Attached scsi generic sg3 type 0
usb-storage: device scan complete
Daemon array: (network syslog-ng hal netfs crond alsa sshd)
Thanks.
Offline
I came to post almost the exact same message - my dmesg stops at device scan complete as well.. PolicyKit config files have been properly edited, etc.
Favorite Software:
Openbox3 - Mutt - Vim - GNU Screen
Offline
is 'dbus' running?
[il@IL ~]$ ps -A | grep hal
3853 ? 00:00:00 hald
3857 ? 00:00:00 hald-runner
3948 ? 00:00:00 hald-addon-inpu
3988 ? 00:00:00 hald-addon-stor
4000 ? 00:00:00 hald-addon-acpi
4440 ? 00:00:00 gvfs-hal-volume
[il@IL ~]$ ps -A | grep dbus
3850 ? 00:00:00 dbus-daemon
4380 ? 00:00:00 dbus-launch
4381 ? 00:00:00 dbus-daemon
Arch 64, xfce4
Offline
Yes, I've restarted it with each change to PolicyKit.
Favorite Software:
Openbox3 - Mutt - Vim - GNU Screen
Offline
I don't remeber changing any Policy settings. just installed dbus & hal ; rc.conf: DAEMOS=(... hal) ; rebooted and they were mounting
Arch 64, xfce4
Offline
Hal starts dbus automatically. Still not working
Offline
Hmmm...
The dmesg output looked different but...
Few days ago I had a problem with mounting (http://bbs.archlinux.org/viewtopic.php? … 37#p556537). It occured to be a dbus problem.
I fixed it installing new dbus from testing. You may try it.
Offline
just to be sure, could you (both) please post:
* /etc/PolicyKit/PolicyKit.conf
* /etc/fstab
Arch i686 on Phenom X4 | GTX760
Offline
I'm having the same problem with my CD and DVD rom drives, hal is running so they should auto mount, but they do not. I remember editing PolicyKit a while back to allow users to mount removable media (aka usb sticks), but that is all.
/etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
UUID=d16fd2ce-bfda-4ce0-944e-6a213cbfa772 /home ext3 defaults 0 1
UUID=d3486adc-fa28-4fd2-a973-9746573e62b0 / ext3 defaults 0 1
UUID=fa9e5bb8-137b-472e-af69-b15d59643fbf /boot ext3 defaults 0 1
UUID=10DE-E640 /media/mp3 auto rw,user 0 0
UUID=7EB7-70AC /media/camera auto rw,user 0 0
/etc/PolicyKit/PolicyKit.conf
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/Pol … config.dtd">
<!-- See the manual page PolicyKit.conf(5) for file format -->
<config version="0.1">
<match user="geoff">
<return result="yes"/>
</match>
</config>
Offline
PolicyKit has gotten stupid.
Open up the AUR, install hal-easy. Problem solved.
And in the midst of such perfection,
I can't help but feel diseased.
Offline
Pages: 1