View previous topic :: View next topic |
Author |
Message |
firephoto Veteran
Joined: 29 Oct 2003 Posts: 1612 Location: +48° 5' 23.40", -119° 48' 30.00"
|
Posted: Wed Oct 19, 2005 5:46 pm Post subject: |
|
|
Here's some log info.
USB stick plugged in.
Code: |
Oct 19 10:40:02 gentooluser usb 1-8: new high speed USB device using ehci_hcd and address 5
Oct 19 10:40:03 gentooluser hub 1-8:1.0: USB hub found
Oct 19 10:40:03 gentooluser hub 1-8:1.0: 1 port detected
Oct 19 10:40:03 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/usb_device_67b_2515_noserial
Oct 19 10:40:03 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/usb_device_67b_2515_noserial_if0
Oct 19 10:40:03 gentooluser usb 1-8.1: new high speed USB device using ehci_hcd and address 6
Oct 19 10:40:03 gentooluser scsi0 : SCSI emulation for USB Mass Storage devices
Oct 19 10:40:03 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/usb_device_67b_2517_noserial
Oct 19 10:40:03 gentooluser usb-storage: device found at 6
Oct 19 10:40:03 gentooluser usb-storage: waiting for device to settle before scanning
Oct 19 10:40:03 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/usb_device_67b_2517_noserial_if0
Oct 19 10:40:03 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/usb_device_67b_2517_noserial_if0_scsi_host
Oct 19 10:40:08 gentooluser Vendor: USB 2.0 Model: Flash Disk Rev: 1.00
Oct 19 10:40:08 gentooluser Type: Direct-Access ANSI SCSI revision: 00
Oct 19 10:40:08 gentooluser SCSI device sda: 253952 512-byte hdwr sectors (130 MB)
Oct 19 10:40:08 gentooluser sda: Write Protect is off
Oct 19 10:40:08 gentooluser sda: Mode Sense: 00 26 00 00
Oct 19 10:40:08 gentooluser sda: assuming drive cache: write through
Oct 19 10:40:08 gentooluser SCSI device sda: 253952 512-byte hdwr sectors (130 MB)
Oct 19 10:40:08 gentooluser sda: Write Protect is off
Oct 19 10:40:08 gentooluser sda: Mode Sense: 00 26 00 00
Oct 19 10:40:08 gentooluser sda: assuming drive cache: write through
Oct 19 10:40:08 gentooluser sda: sda1
Oct 19 10:40:08 gentooluser Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Oct 19 10:40:08 gentooluser usb-storage: device scan complete
Oct 19 10:40:08 gentooluser scsi.agent[13172]: disk at /devices/pci0000:00/0000:00:02.2/usb1/1-8/1-8.1/1-8.1:1.0/host0/target0:0:0/0:0:0:0
Oct 19 10:40:08 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/usb_device_67b_2517_noserial_if0_scsi_host_scsi_device_lun0
Oct 19 10:40:08 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/storage_model_Flash_Disk
Oct 19 10:40:08 gentooluser ivman: /org/freedesktop/Hal/devices/storage_model_Flash_Disk is /dev/sda
Oct 19 10:40:08 gentooluser ivman: /dev/sda can't be mounted because it is not a volume
Oct 19 10:40:08 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1
Oct 19 10:40:08 gentooluser ivman: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1 is /dev/sda1
Oct 19 10:40:08 gentooluser ivman: /dev/sda1 appears to be mountable
Oct 19 10:40:08 gentooluser ivman: Waiting for user mode Ivmans to mount...
Oct 19 10:40:08 gentooluser FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Oct 19 10:40:13 gentooluser ivman: Checking for video DVD in '/dev/sda1' mounted on '/media/usbdisk'
Oct 19 10:40:13 gentooluser ivman: /dev/sda1 is not a video DVD
Oct 19 10:40:13 gentooluser ivman: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1 is /dev/sda1
Oct 19 10:40:13 gentooluser ivman: /dev/sda1 appears to be mountable
Oct 19 10:40:13 gentooluser ivman: Mounted: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1
Oct 19 10:40:13 gentooluser ivman: Devices table has 1 entries
Oct 19 10:40:13 gentooluser ivman: "/org/freedesktop/Hal/devices/volume_uuid_78CB_14A1" "/media/usbdisk"
Oct 19 10:40:13 gentooluser ivman: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1 is /dev/sda1
Oct 19 10:40:13 gentooluser ivman: /dev/sda1 appears to be mountable
|
The what do you want to do window opens up (kde3.5) and the media:/ icon appears.
If I choose "safely remove" I get...
Code: |
Oct 19 10:42:35 gentooluser ivman: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1 is /dev/sda1
Oct 19 10:42:35 gentooluser ivman: /dev/sda1 appears to be mountable
Oct 19 10:42:35 gentooluser ivman: Unmounted: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1
Oct 19 10:42:35 gentooluser ivman: Devices table has 0 entries
Oct 19 10:42:35 gentooluser ivman: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1 is /dev/sda1
Oct 19 10:42:35 gentooluser ivman: /dev/sda1 appears to be mountable
Oct 19 10:42:36 gentooluser ivman: Device removed: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1
|
... and the media:/ icon goes away.
Do you have the /etc/init.d/ivman running when your system boots and a second instance running as user when kde starts? _________________ #gentoo-kde on freenode |
|
Back to top |
|
|
roderick l33t
Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Thu Oct 20, 2005 3:14 pm Post subject: |
|
|
firephoto wrote: | Here's some log info.
USB stick plugged in.
Code: |
Oct 19 10:40:02 gentooluser usb 1-8: new high speed USB device using ehci_hcd and address 5
Oct 19 10:40:03 gentooluser hub 1-8:1.0: USB hub found
Oct 19 10:40:03 gentooluser hub 1-8:1.0: 1 port detected
Oct 19 10:40:03 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/usb_device_67b_2515_noserial
Oct 19 10:40:03 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/usb_device_67b_2515_noserial_if0
Oct 19 10:40:03 gentooluser usb 1-8.1: new high speed USB device using ehci_hcd and address 6
Oct 19 10:40:03 gentooluser scsi0 : SCSI emulation for USB Mass Storage devices
Oct 19 10:40:03 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/usb_device_67b_2517_noserial
Oct 19 10:40:03 gentooluser usb-storage: device found at 6
Oct 19 10:40:03 gentooluser usb-storage: waiting for device to settle before scanning
Oct 19 10:40:03 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/usb_device_67b_2517_noserial_if0
Oct 19 10:40:03 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/usb_device_67b_2517_noserial_if0_scsi_host
Oct 19 10:40:08 gentooluser Vendor: USB 2.0 Model: Flash Disk Rev: 1.00
Oct 19 10:40:08 gentooluser Type: Direct-Access ANSI SCSI revision: 00
Oct 19 10:40:08 gentooluser SCSI device sda: 253952 512-byte hdwr sectors (130 MB)
Oct 19 10:40:08 gentooluser sda: Write Protect is off
Oct 19 10:40:08 gentooluser sda: Mode Sense: 00 26 00 00
Oct 19 10:40:08 gentooluser sda: assuming drive cache: write through
Oct 19 10:40:08 gentooluser SCSI device sda: 253952 512-byte hdwr sectors (130 MB)
Oct 19 10:40:08 gentooluser sda: Write Protect is off
Oct 19 10:40:08 gentooluser sda: Mode Sense: 00 26 00 00
Oct 19 10:40:08 gentooluser sda: assuming drive cache: write through
Oct 19 10:40:08 gentooluser sda: sda1
Oct 19 10:40:08 gentooluser Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Oct 19 10:40:08 gentooluser usb-storage: device scan complete
Oct 19 10:40:08 gentooluser scsi.agent[13172]: disk at /devices/pci0000:00/0000:00:02.2/usb1/1-8/1-8.1/1-8.1:1.0/host0/target0:0:0/0:0:0:0
Oct 19 10:40:08 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/usb_device_67b_2517_noserial_if0_scsi_host_scsi_device_lun0
Oct 19 10:40:08 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/storage_model_Flash_Disk
Oct 19 10:40:08 gentooluser ivman: /org/freedesktop/Hal/devices/storage_model_Flash_Disk is /dev/sda
Oct 19 10:40:08 gentooluser ivman: /dev/sda can't be mounted because it is not a volume
Oct 19 10:40:08 gentooluser ivman: New Device: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1
Oct 19 10:40:08 gentooluser ivman: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1 is /dev/sda1
Oct 19 10:40:08 gentooluser ivman: /dev/sda1 appears to be mountable
Oct 19 10:40:08 gentooluser ivman: Waiting for user mode Ivmans to mount...
Oct 19 10:40:08 gentooluser FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Oct 19 10:40:13 gentooluser ivman: Checking for video DVD in '/dev/sda1' mounted on '/media/usbdisk'
Oct 19 10:40:13 gentooluser ivman: /dev/sda1 is not a video DVD
Oct 19 10:40:13 gentooluser ivman: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1 is /dev/sda1
Oct 19 10:40:13 gentooluser ivman: /dev/sda1 appears to be mountable
Oct 19 10:40:13 gentooluser ivman: Mounted: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1
Oct 19 10:40:13 gentooluser ivman: Devices table has 1 entries
Oct 19 10:40:13 gentooluser ivman: "/org/freedesktop/Hal/devices/volume_uuid_78CB_14A1" "/media/usbdisk"
Oct 19 10:40:13 gentooluser ivman: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1 is /dev/sda1
Oct 19 10:40:13 gentooluser ivman: /dev/sda1 appears to be mountable
|
The what do you want to do window opens up (kde3.5) and the media:/ icon appears.
If I choose "safely remove" I get...
Code: |
Oct 19 10:42:35 gentooluser ivman: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1 is /dev/sda1
Oct 19 10:42:35 gentooluser ivman: /dev/sda1 appears to be mountable
Oct 19 10:42:35 gentooluser ivman: Unmounted: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1
Oct 19 10:42:35 gentooluser ivman: Devices table has 0 entries
Oct 19 10:42:35 gentooluser ivman: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1 is /dev/sda1
Oct 19 10:42:35 gentooluser ivman: /dev/sda1 appears to be mountable
Oct 19 10:42:36 gentooluser ivman: Device removed: /org/freedesktop/Hal/devices/volume_uuid_78CB_14A1
|
... and the media:/ icon goes away.
Do you have the /etc/init.d/ivman running when your system boots and a second instance running as user when kde starts? |
I wonder if this is because you are using KDE 3.5 and I am using 3.4.3? I don't get a "what do you want to do" pop-up. As well, KDE 3.4.3 appears to be using mount/umount and not pmount/pumount. It seems that your 3.5 is using pumount which can correctly talk to ivman. Umount requires you to be root or have the device entry in the fstab (neither of which is appropriate for the dbus/hal/ivman/pmount setup).
Can anyone confirm if this is a KDE 3.5 vs 3.4.3 issue? It would appear to be, but I may be wrong.
Also, still looking for help on the other media:/ problems (i.e. I don't see my /dev/hdc as /dev/cdrom and not in my media:/ list of devices).
Did this work for you firephoto? |
|
Back to top |
|
|
Aristona n00b
Joined: 02 Oct 2005 Posts: 6
|
Posted: Thu Oct 20, 2005 7:39 pm Post subject: |
|
|
Anyone on not it unmounting a card after removing form a multi card reader?
(Having to unplug the whol reader for it to unmount) this used to work with the older solution. |
|
Back to top |
|
|
roderick l33t
Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Mon Oct 24, 2005 4:20 pm Post subject: |
|
|
Thu Oct 20 11:25:49 2005 >>> sys-fs/udev-070-r1
After I upgraded, /media/usbstick became /media/sda1
I wish things were consistant
Oh well, back to digging through udev...
On another note, anyone figure out how to get /media/cdrom etc working with pmount and KDE 3.4.3. Mine still isn't working (i.e. the kdebase ioslave for media isn't detecting the cdrom).
[EDIT] So I reboot today, and it's showing up as /media/usbdisk again, go figure. Only thing I did was delete a broken link under /etc/dev.d (10-hal.dev).
Code: | fortune default # ls -al
total 3
drwxr-xr-x 2 root root 1024 Oct 17 15:04 .
drwxr-xr-x 4 root root 1024 Jul 2 01:39 ..
lrwxrwxrwx 1 root root 20 Oct 17 14:29 10-hal.dev -> /usr/libexec/hal.dev
-rwxr-xr-x 1 root root 397 Oct 17 15:04 hal-unmount.dev
|
I don't think this broke it, but who knows. At least the usb stick is showing up again as /media/usbstick and not /media/sda1.
Still got the other problems with CD's not showing in /media though.
[EDIT #2]
Seems it's only DVD's that I don't see the Icon's in KDE. Hal/Ivman see the DVD as /dev/hdc and mounts under /media/hdc. Yet, KDE refuses to see this.
At least some things work I guess... |
|
Back to top |
|
|
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Tue Oct 25, 2005 7:15 am Post subject: |
|
|
Hi, I am a long way from fully grasping this yet. I came about this the wrong way I guess as I am running debian and found Ivman on the web, then I came to the gentoo site. (Although I am running gentoo on a spare laptop).
The thing is I have just got to the part where it says I should install the latest CVS builds of dbus and and hal before installing Ivman. (Lol there seems to be a lot of hoops to jump through in order to simply get DVD's and CDs to automatically run).
Anyway I did that after jumping through some more hoops.
But now I can't get HAL to start:
Code: | sudo /usr/local/sbin/hald start
/usr/local/sbin/hald: error while loading shared libraries: libdbus-glib-1.so.1: cannot open shared object file: No such file or directory
root@linux1:/home/user1# |
I don't recall seeing libdbus-glib mentioned in the initial instructions for Ivman - but in any case I didn't think it would be that much of a problem. All I needed to do was get libdbus-glib.
The only problem is I can't find a source package for this from anywhere. Can anyone please help? I tried installing it via apt-get - but apt-get threatend to decimate half my system due to dependencies if I tried to install this one package.
Any input anyone can offer would be very much appreciated.
Best regards,
GJ |
|
Back to top |
|
|
dalek Veteran
Joined: 19 Sep 2003 Posts: 1353 Location: Mississippi USA
|
Posted: Tue Oct 25, 2005 8:37 am Post subject: |
|
|
Has anybody had trouble getting their CD to mount? Mine does not do right anymore. I can put in a CD and it start to spin up and the light blinks a bit. Then I go into /mnt/cdrom or do a ls /mnt/cdrom in console and nothing is there, except .keep. If I mount it manually, it works. I generally use Konqueror as root to do this by the way. That should take care of permissions at least.
I have also noticed that if I put in a CD and then use the media thing in Konqueror, it will show up. After that, it works in console too, also works in /mnt/cdrom then.
Why is this? Do I have a setting wrong or something? < sighs > Oh, the floppy don't work anymore either. It did work for a while. Makes supermount look better again.
EDIT: I also get this in my logs, a LOT.
Code: | VFS: busy inodes on changed media.
VFS: busy inodes on changed media.
VFS: busy inodes on changed media.
VFS: busy inodes on changed media.
VFS: busy inodes on changed media.
VFS: busy inodes on changed media.
VFS: busy inodes on changed media.
cdrom: hdc: mrw address space DMA selected
|
Thanks
_________________ My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case |
|
Back to top |
|
|
raid517 l33t
Joined: 06 Mar 2003 Posts: 946
|
Posted: Tue Oct 25, 2005 5:00 pm Post subject: |
|
|
Lol, if figure. I thought getting help with this would be easy. But it seems I am destined just to langusih on the forum with the several other unanswerec questions concerning this utility.
Anyway i finally got it installed, but nnow when I try to start it i get an error message saying:
Quote: | ivman
** (ivman:6968): WARNING **: manager.c/863: Couldn't connect to HAL! |
It's a long shot, but i don't expect anyone knows what is going on, or is willing to say how to fix it?
GJ |
|
Back to top |
|
|
roderick l33t
Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Tue Oct 25, 2005 5:50 pm Post subject: |
|
|
raid517 wrote: | Lol, if figure. I thought getting help with this would be easy. But it seems I am destined just to langusih on the forum with the several other unanswerec questions concerning this utility.
Anyway i finally got it installed, but nnow when I try to start it i get an error message saying:
Quote: | ivman
** (ivman:6968): WARNING **: manager.c/863: Couldn't connect to HAL! |
It's a long shot, but i don't expect anyone knows what is going on, or is willing to say how to fix it?
GJ |
which version of udev, dbus, hal, ivman are you running? Are dbus, hal, and ivman all set to run in the default run level?
Let me know, I can probably get you to at least the point where I am having difficulty |
|
Back to top |
|
|
roderick l33t
Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Thu Oct 27, 2005 10:05 pm Post subject: |
|
|
So, I finally figured out my problem with unable to unmount a usbstick safely via KDE.
Apparently pmount 9.3 only check the UID, of course, mount won't allow a user to unmount a device mounted by a different user (i.e. ivman). One approach is to have pmount check the GID (i.e. plugdev) and if the user requesting the unmount is a member - BAM - it can be unmounted.
To make this work, you have to patch pmount to allow for checking of GID.
I found a patch here, but it was for debian I believe, and had to be altered to work with Gentoo.
Downlod the original patch above and delete the entire patch section containing /Mount/Media as this will break the default /media used in our Gentoo builds for ivman, hal, dbus, pmount, etc...
Delete this section:
Code: | @@ -14,8 +14,8 @@
#include <stdlib.h> /* for size_t */
#define MAX_LABEL_SIZE 255
-#define MEDIADIR "/media/"
-#define DEVDIR "/dev/"
+#define MEDIADIR "/Mount/Media/"
+#define DEVDIR "/System/Kernel/Devices/"
#define LOCKDIR "/var/lock/pmount/"
#define WHITELIST "/etc/pmount.allow"
|
I added the above patch to my portage overlay of pmount and compiled the new version with the patch. It works. I can now unmount my usbstick correctly.
Now, If I can get my DVD-R detection corrected.
[EDIT]
Of course, after I post this I realize another solution. On a single user workstation, you could run ivman as your own userid. I didn't think about this. But now that I have, I still don't want to, but others may find this works for them as well.
Bah... |
|
Back to top |
|
|
Aristona n00b
Joined: 02 Oct 2005 Posts: 6
|
Posted: Sun Oct 30, 2005 9:15 am Post subject: |
|
|
Well when I try to "safely remove" a usb device from kde it tells me that the usb device is not in the fstab (and I am not root) it cannot be umounted. This is the same whether I use a ivman for the user or not. |
|
Back to top |
|
|
firephoto Veteran
Joined: 29 Oct 2003 Posts: 1612 Location: +48° 5' 23.40", -119° 48' 30.00"
|
Posted: Sun Oct 30, 2005 4:47 pm Post subject: |
|
|
latest ivman needs the latest pmount so you also need to be in the plugdev group (edit /etc/group). These things plus the ivman running for the user and in the default runlevel worked here. They're all marked ~arch so check your keywording if you are running stable. _________________ #gentoo-kde on freenode
Last edited by firephoto on Sun Oct 30, 2005 6:21 pm; edited 1 time in total |
|
Back to top |
|
|
roderick l33t
Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Sun Oct 30, 2005 6:06 pm Post subject: |
|
|
Aristona wrote: | Well when I try to "safely remove" a usb device from kde it tells me that the usb device is not in the fstab (and I am not root) it cannot be umounted. This is the same whether I use a ivman for the user or not. |
Use the patch above for pmount 0.9.3
Pmount 0.9.6 just came out, and the patch doesn't work unless you edit it again. The source directory structure changed for pmount 0.9.6, so all you need to do is edit the patch and change all lines containing "pmount-0.9.3/" to "src/" and the same for "pmount-0.9.3-lijon/" to "src/". WIthout this edit, the patch doesn't locate the files to change. There's probably a zillion other ways to change this, but this worked for me.
This fixes the KDE you must be root error.
Basically, pmount tries to umount the drive, but it was mounted as user ivman, and you are not user ivman. With this patch, it now checks the GID (group) and if you belong to group plugdev, as ivman mounts devices under group plugdev, then you will be able to unmount the drive.
You do not need to edit pmount.allow for usb drives (at least in my experience). |
|
Back to top |
|
|
roderick l33t
Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Sun Oct 30, 2005 6:07 pm Post subject: |
|
|
firephoto wrote: | latest ivman needs the latest pmount so you also need to be in the plugdev group (edit /etc/group) and you probably want your user listed in the /etc/pmount.allow file. These things plus the ivman running for the user and in the default runlevel worked here. They're all marked ~arch so check your keywording if you are running stable. |
ungh... isn't pmount.allow fo rlisting devices and not users?
This is direct from the pmount man page:
Code: |
device is removable (USB or FireWire device, or /sys/block/drive/removable is 1) or whitelisted in /etc/pmount.allow.
|
Seems to me, that pmount.allow is for listing devices to be mounted, that otherwise would not be visible to pmount. |
|
Back to top |
|
|
firephoto Veteran
Joined: 29 Oct 2003 Posts: 1612 Location: +48° 5' 23.40", -119° 48' 30.00"
|
Posted: Sun Oct 30, 2005 6:19 pm Post subject: |
|
|
heh
Yep seems so, I would have swore the description has changed since I first edited mine but who knows. I guess you can scratch that part as helping it work. _________________ #gentoo-kde on freenode |
|
Back to top |
|
|
klemi Guru
Joined: 26 May 2004 Posts: 494 Location: Erbach b. Ulm
|
Posted: Mon Oct 31, 2005 11:24 am Post subject: |
|
|
Hi,
I have a great problem.
I use KDE 3.4.1 - and I update "ivman" to 0.6.4. I must unmerge sys-fs /cryptsetup and installed sys-fs/cryptsetup-luks-1.0.1. Then hal must updated to 0.5.4 and dbus to 0.36.2 and pmount-0.9.6. The installation runs without error.
But in kde I cannot see any devices.
I heart yesterday, that kde 3.4.1 cannot work with hal-0.5.2.
Then - I downgraded ivman to sys-apps/ivman-0.5_pre3. I run etc-update and reboot PC. But I cannot see any devices in Koqueror-KDE. When I push the button devices this error apear in KDE:
Quote: | Die Medienverwaltung von KDE wurde nicht gestartet. |
What can I do?
Have someone any ideas?
Thank's
Klemi _________________ Gentoo 2.6.16-r12; AMD Athlon 3GHz; NVidia GeForce 5700; Hauppauge nexus-s |
|
Back to top |
|
|
rohan28 Tux's lil' helper
Joined: 12 Dec 2004 Posts: 84 Location: Australia
|
Posted: Sun Nov 06, 2005 1:27 pm Post subject: |
|
|
Quote: |
Of course, after I post this I realize another solution. On a single user workstation, you could run ivman as your own userid. I didn't think about this. But now that I have, I still don't want to, but others may find this works for them as well.
|
This is the recommended usage of Ivman. From 'man ivman' (for ivman 0.6.4):
Quote: |
For automount purposes, Ivman should be run once from a system-wide
init script and once per user session (e.g., create a link to
/usr/bin/ivman in ~/.kde/Autostart or put an entry for /usr/bin/ivman
in gnome-session-manager). When a device is attached, Ivman will call
pmount to mount the device. pmount will mount the device readable and
writeable only for the current user; if no per-user instance of Ivman
is running, the device will be mounted read/write for everyone in the
same group as is required to use the pmount command, and read-only for
everyone else.
|
So, you start /etc/init.d/ivman, which runs under the 'ivman' account, when your system boots. Then you login to some desktop environment, and another ivman starts under your account. When you attach a USB disk, the ivman running under your account mounts it with permissions for you, and only you and root can unmount it with 'pumount'. When you log out of your DE, and then attach a USB disk, the event falls through to the ivman running under the 'ivman' account instead, and can unfortunately only be unmounted by root. For this reason, some people may prefer to not start ivman at boot at all, and only start it under their own account when they login.
If you really want to just have Ivman running under the 'ivman' account but you want to be able to unmount ivman-mounted volumes, you'll have to set up sudo so you can 'sudo pumount'. This has basically the same effect as the pmount GID patch discussed anyway (i.e., make a sudo rule so the plugdev group can all run 'sudo pumount' - it'll have the same desired effect of everyone in the plugdev group being able to unmount any pmount'ed volume). |
|
Back to top |
|
|
Tanisete Guru
Joined: 12 Mar 2004 Posts: 312
|
Posted: Sun Nov 13, 2005 12:59 am Post subject: |
|
|
Hi to all!!
New ivman (0.6.5) is giving me problems. It does not mount or umount anything at all... here's the output:
Code: | Nov 13 02:10:29 krynn ivman: Device /dev/hdd appears to be mountable
Nov 13 02:10:29 krynn ivman: Invalid match name: storage.removable
Nov 13 02:10:29 krynn ivman: Giving other programs a chance to mount...
Nov 13 02:10:34 krynn ivman: Attempting to mount device /dev/hdd
Nov 13 02:10:34 krynn ivman: Warning: nonexistent HAL property encountered, NULL substituted for value!
Nov 13 02:10:34 krynn ivman: Running: pmount -u 002 /dev/hdd NULL
Nov 13 02:10:35 krynn ivman: /org/freedesktop/Hal/devices/volume_label_NUEVO wasn't mounted, by us or by others...
|
It was the only thing i upgraded, so it must be the problem. Can anyone give me a clue?
Thanks a lot!! |
|
Back to top |
|
|
Tanisete Guru
Joined: 12 Mar 2004 Posts: 312
|
Posted: Tue Nov 15, 2005 9:55 pm Post subject: |
|
|
I must say that i solved this with a hal-cvs version. The only thing I want to say is that sometimes ivman fails to mount automatically a device if the LABEL that is passed as argument from hal has spaces, like here:
Code: | Nov 15 22:56:50 krynn ivman: Giving other programs a chance to mount...
Nov 15 22:56:55 krynn ivman: Attempting to mount device /dev/camara1
Nov 15 22:56:55 krynn ivman: Running: pmount -u 002 /dev/camara1 LEXAR MEDIA
Nov 15 22:56:56 krynn ivman: /org/freedesktop/Hal/devices/volume_uuid_FC30_3DA9 wasn't mounted, by us or by others...
|
Thanks for this program! |
|
Back to top |
|
|
skakz Guru
Joined: 03 Jul 2004 Posts: 380 Location: Ischia/Napoli/Italia/Terra
|
Posted: Mon Nov 21, 2005 2:16 pm Post subject: |
|
|
hi all.
I have some problems automounting with hal & ivman.
amd64
* sys-apps/hal 0.5.4
* sys-apps/ivman 0.6.5
* sys-apps/dbus 0.50-r1
i have symlink ivman -> /usr/bin/ivman in ~/.kde3.4/Autostart
when i plug in my mp3 reader ivman dont automount it and says..:
Quote: | hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/usb_device_66f_8206_0002F67B407B841A
manager.c:900 (ivm_media_changed) /org/freedesktop/Hal/devices/usb_device_66f_8206_0002F67B407B841A wasn't mounted, by us or by others...
hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/usb_device_66f_8206_0002F67B407B841A_scsi_host
manager.c:900 (ivm_media_changed) /org/freedesktop/Hal/devices/usb_device_66f_8206_0002F67B407B841A_scsi_host wasn't mounted, by us or by others...
hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/usb_device_66f_8206_0002F67B407B841A_if0
manager.c:900 (ivm_media_changed) /org/freedesktop/Hal/devices/usb_device_66f_8206_0002F67B407B841A_if0 wasn't mounted, by us or by others...
hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/usb_device_66f_8206_0002F67B407B841A_scsi_host_scsi_device_lun0
manager.c:900 (ivm_media_changed) /org/freedesktop/Hal/devices/usb_device_66f_8206_0002F67B407B841A_scsi_host_scsi_device_lun0 wasn't mounted, by us or by others...
hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/usb_device_66f_8206_0002F67B407B841A_scsi_host_scsi_device_lun1
manager.c:900 (ivm_media_changed) /org/freedesktop/Hal/devices/usb_device_66f_8206_0002F67B407B841A_scsi_host_scsi_device_lun1 wasn't mounted, by us or by others...
hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/storage_model_MP3_Music_Player
IvmConfigCommon.c:135 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/storage_model_MP3_Music_Player is device /dev/sdb
IvmConfigCommon.c:155 (ivm_device_is_mountable) Device /dev/sdb can't be mounted because it is not a volume
manager.c:900 (ivm_media_changed) /org/freedesktop/Hal/devices/storage_model_MP3_Music_Player wasn't mounted, by us or by others...
hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/storage_model_MP3_Music_Player_0
IvmConfigCommon.c:135 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/storage_model_MP3_Music_Player_0 is device /dev/sdc
IvmConfigCommon.c:155 (ivm_device_is_mountable) Device /dev/sdc can't be mounted because it is not a volume
manager.c:900 (ivm_media_changed) /org/freedesktop/Hal/devices/storage_model_MP3_Music_Player_0 wasn't mounted, by us or by others... |
same problem with my external hard drive!!
Quote: | hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/usb_device_d49_7000_Y63YC8JE
manager.c:900 (ivm_media_changed) /org/freedesktop/Hal/devices/usb_device_d49_7000_Y63YC8JE wasn't mounted, by us or by others...
hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/usb_device_d49_7000_Y63YC8JE_scsi_host
manager.c:900 (ivm_media_changed) /org/freedesktop/Hal/devices/usb_device_d49_7000_Y63YC8JE_scsi_host wasn't mounted, by us or by others...
hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/usb_device_d49_7000_Y63YC8JE_if0
manager.c:900 (ivm_media_changed) /org/freedesktop/Hal/devices/usb_device_d49_7000_Y63YC8JE_if0 wasn't mounted, by us or by others...
hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/usb_device_d49_7000_Y63YC8JE_scsi_host_scsi_device_lun0
manager.c:900 (ivm_media_changed) /org/freedesktop/Hal/devices/usb_device_d49_7000_Y63YC8JE_scsi_host_scsi_device_lun0 wasn't mounted, by us or by others...
hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/storage_serial_Y63YC8JE
IvmConfigCommon.c:135 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/storage_serial_Y63YC8JE is device /dev/sda
IvmConfigCommon.c:155 (ivm_device_is_mountable) Device /dev/sda can't be mounted because it is not a volume
manager.c:900 (ivm_media_changed) /org/freedesktop/Hal/devices/storage_serial_Y63YC8JE wasn't mounted, by us or by others... |
with cdroms instead it works fine!!!
some suggestions?? thanks! _________________ Linux Registered User n.340423
Linux User Group Ischia
www.tush.it |
|
Back to top |
|
|
Tanisete Guru
Joined: 12 Mar 2004 Posts: 312
|
Posted: Mon Nov 21, 2005 6:42 pm Post subject: |
|
|
This was discussed here |
|
Back to top |
|
|
skrionius n00b
Joined: 15 Nov 2004 Posts: 16
|
Posted: Sat Dec 03, 2005 10:57 pm Post subject: |
|
|
Hi folks!
What have you to say about that:
I am using most recent kernel (2.6.14), latest dbus/hal/udev/ivman/pmount of gentoo portage (except udev-072 not 073). I've tried little older versions with same result:
If i run Gnome Ivman cannot mount anything at all...dbus and hal and ivman too seems to be freezed or something, they just dont act anything by the log. I have gnome-vfs latest with hal enabled, tried hal disabled too. If I just exit to GDM, cdrom and usb pendrive gets instantly mounted!!
In kernel.log I see that some IDE operation failed, Seeking operation failed or something like that..really strange.
Is there any solution?? Gnome seems to be blocking all those services... I am clueless why!
Thanks |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Sun Dec 04, 2005 12:32 am Post subject: |
|
|
I cannot mount any usb drives because of this error:
Code: | IvmConfig/IvmConfigCommon.c:158 (ivm_device_is_mountable) Device /dev/sde can't be mounted because it is not a volume
| Why is this happening? Shouldn't it detect /dev/sde1 not /dev/sde? |
|
Back to top |
|
|
skrionius n00b
Joined: 15 Nov 2004 Posts: 16
|
Posted: Sun Dec 04, 2005 3:16 pm Post subject: |
|
|
skrionius wrote: | Hi folks!
What have you to say about that:
I am using most recent kernel (2.6.14), latest dbus/hal/udev/ivman/pmount of gentoo portage (except udev-072 not 073). I've tried little older versions with same result:
If i run Gnome Ivman cannot mount anything at all...dbus and hal and ivman too seems to be freezed or something, they just dont act anything by the log. I have gnome-vfs latest with hal enabled, tried hal disabled too. If I just exit to GDM, cdrom and usb pendrive gets instantly mounted!!
In kernel.log I see that some IDE operation failed, Seeking operation failed or something like that..really strange.
Is there any solution?? Gnome seems to be blocking all those services... I am clueless why!
Thanks |
I have removed ivman, and installed gnome-volume-manager latest, and now it works, popups usb drives. But inserting CD into /dev/hdb cdrom device results in this:
Dec 4 15:06:35 storm kernel: hdb: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Dec 4 15:06:35 storm kernel: hdb: drive_cmd: error=0x04 { AbortedCommand }
Dec 4 15:06:35 storm kernel: ide: failed opcode was: 0xb0
And it doesnt work, needless to say..
Any clue? May i use non-preemptive kernel?
If I exit to GDM from Gnome, CDROM gets mounted again!! I am going crazy about this? What should I recompile in my gnome to make it work? (Using ebuild gnome-2.12.1 and latest gnome-vfs with hal USE flag)
Anyway icons of removable devices are neither appearing on my desktop! ??
EDIT:
Solution:
pam_console module at logon set 0600 rights on cdrom devices. Editing my /etc/security config file for console.perms I made it mounting and with an edited hal.ebuild (added --enable-fstab-sync param to ebuild file) icons are appearing on desktop too!!, using
udev 70-r1,
gnome-vfs 2.12.1.1-r1,
gnome-volume-manager 1.5.4
dbus 60,
hal 0.5.5.1 (modded by me!)
and kernel 2.6.14-suspend2-r4 with PREEMT max!
Last edited by skrionius on Mon Dec 05, 2005 8:35 am; edited 2 times in total |
|
Back to top |
|
|
sonicbhoc Veteran
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Mon Dec 05, 2005 3:01 am Post subject: |
|
|
As much as I like to read, I don't even read posts this long! So, I'm humbly asking, what should I do to get this working under xfce4? I'm trying to stray from KDE, it's too flashy for my piece of crap laptop. I'm going to install it for now, but later I'm going to unmerge it. So what should I do? |
|
Back to top |
|
|
raaf Apprentice
Joined: 31 Dec 2003 Posts: 293 Location: Kraków
|
Posted: Mon Feb 06, 2006 4:17 pm Post subject: |
|
|
raid517 wrote: | Hi, I am a long way from fully grasping this yet. I came about this the wrong way I guess as I am running debian and found Ivman on the web, then I came to the gentoo site. (Although I am running gentoo on a spare laptop).
The thing is I have just got to the part where it says I should install the latest CVS builds of dbus and and hal before installing Ivman. (Lol there seems to be a lot of hoops to jump through in order to simply get DVD's and CDs to automatically run).
Anyway I did that after jumping through some more hoops.
But now I can't get HAL to start:
Code: | sudo /usr/local/sbin/hald start
/usr/local/sbin/hald: error while loading shared libraries: libdbus-glib-1.so.1: cannot open shared object file: No such file or directory
root@linux1:/home/user1# |
I don't recall seeing libdbus-glib mentioned in the initial instructions for Ivman - but in any case I didn't think it would be that much of a problem. All I needed to do was get libdbus-glib.
The only problem is I can't find a source package for this from anywhere. Can anyone please help? I tried installing it via apt-get - but apt-get threatend to decimate half my system due to dependencies if I tried to install this one package.
Any input anyone can offer would be very much appreciated.
Best regards,
GJ |
hi!
hmm, ... i have the same problem here on my ibook. i remegred hal dbus and udev and i got this error :/ dont know what is the problem.
regards
raaf _________________ skladmuzyczny.pl, REKLAMA, astalavista Vista, .. kiss my XGL!! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|