Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Automounting in userspace with ivman
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
multani
n00b
n00b


Joined: 04 Apr 2004
Posts: 39

PostPosted: Sat Aug 21, 2004 9:11 am    Post subject: Reply with quote

Well, finally, it's working for me :)

I've got the same problem as el_compa, but with both it's patch & ebuild, ivman is working fine with my CD Player.

I haven't test it much (not yet with my DVD Player), but I will report my experience here, whenever possible :)


Thanks a lot guys for this !
_________________
Jabber ID : multani AT amessage.de
Back to top
View user's profile Send private message
Ashe
n00b
n00b


Joined: 14 Nov 2003
Posts: 34
Location: Sheffield, UK

PostPosted: Sat Aug 21, 2004 12:39 pm    Post subject: Reply with quote

darkangael wrote:
I have this same issue (CD comes out, but not umounted). Although it is non-ideal, it doesn't seem to have any real adverse effects. When you ls the dir where it was mounted, it is empty if you have no disc, and has the correct contents when the disc is there. CD/DVD burning still works fine either way. The only real issue here seems to be that the device is listed when you use df, and that it is probably a little kludgy.


That and if you put a different disc in the drive, it doesn't mount the new disc.
_________________
"Every problem in the universe can be solved by finding the right long-haired prettyboy, and beating the crap out of him."
Back to top
View user's profile Send private message
tabascoz
n00b
n00b


Joined: 14 May 2003
Posts: 44
Location: Rio de Janeiro

PostPosted: Mon Aug 23, 2004 1:09 am    Post subject: Reply with quote

Hi,

I can't have my cd mounted with ivman. I can mount it with command line ' mount /mnt/cdrom' but, when i put a disc on drive, i have this output from ivman:

Code:

root@machine ~ # ivman
Ikke's Volume Manager, http://ivman.sf.net

hal_interface.c:42 (hal_device_added) New Device: /org/freedesktop/Hal/devices/block_22_64-0
hal_interface.c:80 (hal_device_added) Changed: /dev/hdd
libhal.c 823 : Error sending msg: No property storage.drive_type on device with id /org/freedesktop/Hal/devices/block_22_64-0

** (process:12944): WARNING **: manager.c/223: cannot get storage.drive_type


can anyone help me?

Thanks
Back to top
View user's profile Send private message
el_compa
n00b
n00b


Joined: 28 Jan 2004
Posts: 65
Location: France

PostPosted: Mon Aug 23, 2004 1:55 am    Post subject: Try this Reply with quote

tabascoz wrote:


can anyone help me?

Thanks


Try bug #468 at bugs.breakmygentoo.net
Back to top
View user's profile Send private message
cbr
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 285
Location: Tallinn/Rakvere, Estonia

PostPosted: Tue Aug 24, 2004 3:34 pm    Post subject: Re: Try this Reply with quote

el_compa wrote:
tabascoz wrote:


can anyone help me?

Thanks


Try bug #468 at bugs.breakmygentoo.net

This works. My Ivman mounts cd's now. The problem is, that it doesnt unmount them :(
Back to top
View user's profile Send private message
el_compa
n00b
n00b


Joined: 28 Jan 2004
Posts: 65
Location: France

PostPosted: Tue Aug 24, 2004 4:15 pm    Post subject: Working on it Reply with quote

Working on it...I can't get a message from hald which says the eject button was pressed. Anybody here has got any ideas?
Back to top
View user's profile Send private message
phranzee
Guru
Guru


Joined: 22 Nov 2003
Posts: 397
Location: katowice/pl

PostPosted: Thu Aug 26, 2004 12:37 am    Post subject: Reply with quote

works fine here :) thanks for the guide :P
_________________
signature fault
post dumped ;]
Back to top
View user's profile Send private message
WaVeX
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2004
Posts: 102
Location: USA, Michigan or Ohio

PostPosted: Thu Aug 26, 2004 5:51 am    Post subject: Reply with quote

tabascoz wrote:
Hi,

I can't have my cd mounted with ivman. I can mount it with command line ' mount /mnt/cdrom' but, when i put a disc on drive, i have this output from ivman:

Code:

root@machine ~ # ivman
Ikke's Volume Manager, http://ivman.sf.net

hal_interface.c:42 (hal_device_added) New Device: /org/freedesktop/Hal/devices/block_22_64-0
hal_interface.c:80 (hal_device_added) Changed: /dev/hdd
libhal.c 823 : Error sending msg: No property storage.drive_type on device with id /org/freedesktop/Hal/devices/block_22_64-0

** (process:12944): WARNING **: manager.c/223: cannot get storage.drive_type


can anyone help me?

Thanks


Dido,
same problem.
Back to top
View user's profile Send private message
Eowyn
n00b
n00b


Joined: 01 Jun 2002
Posts: 21

PostPosted: Fri Aug 27, 2004 4:02 am    Post subject: Reply with quote

I have a problem with Ivman

its all installed dbus, hal-cvs and ivman
but
Code:
Aug 27 15:47:48 shodan ivman: New Device: /org/freedesktop/Hal/devices/block_MY_DISC
Aug 27 15:47:48 shodan ivman: Changed: /dev/hdd


this is all that happens when i insert a CD in the drive
any ideas?

Thanks
Back to top
View user's profile Send private message
xro
n00b
n00b


Joined: 05 May 2004
Posts: 26

PostPosted: Mon Aug 30, 2004 4:17 pm    Post subject: Re: Working on it Reply with quote

First of all: Thanks
I had the same problem where storage.drive_type was not provided by hal, and your patch fixed that nicely :-)

el_compa wrote:
Working on it...I can't get a message from hald which says the eject button was pressed. Anybody here has got any ideas?


I noticed that, while my cdrom gets locked after mounting and I therefore can't eject it, I _can_ use "/usr/bin/eject" to eject my drive, causing ivman to unmount it in the process.

So the solution would seem to me, to unlock the drive after mounting it, so that it get's unmounted when I do manage to eject it via the hardware button.

It seems there is an option to this effect in IvmConfigBase.xml:
Code:
<ivm:Option name="unlock" value="true" />

however it doesn't seem to have any effect

P.S: just remembered, that "eject" unmount any mounted medium before ejecting it, soo, ähhh, well, that propably pretty much invalidates my reasoning, but maybe not my conclusion
Back to top
View user's profile Send private message
piquadrat
Guru
Guru


Joined: 18 Feb 2003
Posts: 301
Location: Switzerland

PostPosted: Tue Aug 31, 2004 3:56 pm    Post subject: Reply with quote

Hi,

I got the same problem as cbr and xro after aplying the patch from Bug #468

Nevertheless, great work, guys!
Back to top
View user's profile Send private message
GlooM
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2003
Posts: 119
Location: $HOME

PostPosted: Fri Sep 03, 2004 1:44 pm    Post subject: Reply with quote

Wanted to update ivman, dbus and hal, but this came up while emerging hal-cvs:

Code:
gcc -march=pentium4 -O3 -pipe -mmmx -msse -msse2 -mfpmath=sse,387 -fomit-frame-pointer -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -o .libs/lshal lshal.o  /usr/lib/libdbus-glib-1.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so ../libhal/.libs/libhal.so /usr/lib/libdbus-1.so -lnsl /usr/lib/libexpat.so
creating lshal
make[3]: Leaving directory `/var/tmp/portage/hal-cvs-20040522/work/hal-cvs/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/hal-cvs-20040522/work/hal-cvs/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hal-cvs-20040522/work/hal-cvs'
make: *** [all] Error 2

!!! ERROR: sys-apps/hal-cvs-20040522 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! Make failed


Help ? :roll:

Tried emerging without the CFLAGS, same error.
Back to top
View user's profile Send private message
xro
n00b
n00b


Joined: 05 May 2004
Posts: 26

PostPosted: Fri Sep 03, 2004 11:34 pm    Post subject: cdrom Trouble with HAL Reply with quote

Hi,
as I mentioned above I too have the
"Error sending msg: No property storage.drive_type on device" problem with my cdrom, which the patch on ivman worked around nicely.

Or so I thought,
now it seems to me, that this really should be fixed in hal instead, because I have discovered that hal periodically (every second or so) accesses my cd-rom drive when no disk is inserted, which severely impairs my drive performance.

(I've got a laptop and yes, the cdrom is hdc not hdb, therefore I can see clearly on my led indicators that the cdrom is being accessed periodically when hal is running)

I realize, that this might actually be unrelated to the missing storage.drive_type property, but I don't really think so, maybe others with the missing cdrom-property can check for similiar problems ?
Back to top
View user's profile Send private message
iverson0881
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 285
Location: CA

PostPosted: Sat Sep 04, 2004 1:40 am    Post subject: Reply with quote

Hello all.

I'm currently getting the following error with dbus-cvs
Code:

bash-2.05b# emerge hal-cvs
Calculating dependencies ...done!
>>> emerge (1 of 2) sys-apps/dbus-cvs-20040522 to /
/usr/sbin/ebuild.sh: line 12: want-autoconf: command not found
/usr/sbin/ebuild.sh: line 12: want-autoconf: command not found
/usr/sbin/ebuild.sh: line 12: want-autoconf: command not found
>>> Unpacking source...
>>> Source unpacked.
/usr/sbin/ebuild.sh: line 12: want-autoconf: command not found
/usr/sbin/ebuild.sh: line 49: eautogen: command not found

!!! ERROR: sys-apps/dbus-cvs-20040522 failed.
!!! Function src_compile, Line 62, Exitcode 127
!!! (no error message)


I'm using Redeeman's ebuilds
Thanks in advance
Back to top
View user's profile Send private message
gungholady
Guru
Guru


Joined: 19 Oct 2003
Posts: 392

PostPosted: Sat Sep 04, 2004 11:12 am    Post subject: Reply with quote

I had better luck with the ebuilds from breakmygentoo.org. I had nothing but problems with Redeeman's ebuilds. I no longer try to use them.
Back to top
View user's profile Send private message
Hackeron
Guru
Guru


Joined: 01 Nov 2002
Posts: 307

PostPosted: Sat Sep 04, 2004 11:24 pm    Post subject: how do you use svn through proxy?? Reply with quote

how do you use svn through proxy?? -- it doesnt detect my proxy settings in /etc/profile like cvs. Any ideas?
Back to top
View user's profile Send private message
Gandalf the White
Guru
Guru


Joined: 17 Dec 2003
Posts: 320
Location: Verdun, Canada

PostPosted: Sun Sep 05, 2004 3:38 am    Post subject: Reply with quote

I had the storage.type error and I reemerged ivman using the ebuild and supplied patch at the bug report listed above. Reemerged ivman using that ebuild and it all worked perfectly for me, I didn't even touch the config files in /etc/ivman. Inserting cds they mount perfectly, press the eject button and it cleanly umounts and ejects right away, great job!
Back to top
View user's profile Send private message
grimjed
n00b
n00b


Joined: 20 Jun 2003
Posts: 20

PostPosted: Sun Sep 05, 2004 4:18 am    Post subject: Reply with quote

I too have the same problem ejecting a CD after applying the patch for bug 468. Data CDs automount okay but will not eject when the hardware button is pressed. The eject command also does not work.

Code:
eject: unable to eject, last error: Input/output error


Strange. After pressing the eject button and then issuing the mount command it shows that the CD is no longer mounted.

Music CDs work fine (play music) and eject okay too.

Any ideas - anyone?
Back to top
View user's profile Send private message
Hackeron
Guru
Guru


Joined: 01 Nov 2002
Posts: 307

PostPosted: Sun Sep 05, 2004 2:53 pm    Post subject: Reply with quote

make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /var/tmp/portage/hal-cvs-20040522/image//usr/bin
mkdir -p -- /var/tmp/portage/hal-cvs-20040522/image//usr/bin
cd /var/tmp/portage/hal-cvs-20040522/image//usr/bin && ln -s /usr/share/hal/device-manage
r/hal-device-manager hal-device-manager
/bin/sh ../../mkinstalldirs /var/tmp/portage/hal-cvs-20040522/image//usr/share/hal/device
-manager
mkdir -p -- /var/tmp/portage/hal-cvs-20040522/image//usr/share/hal/device-manager
/bin/install -c -m 644 ./DeviceManager.py /var/tmp/portage/hal-cvs-20040522/image//usr/s
hare/hal/device-manager/DeviceManager.py
/bin/install -c -m 644 ./Device.py /var/tmp/portage/hal-cvs-20040522/image//usr/share/ha
l/device-manager/Device.py
/bin/install -c -m 644 ./GtkAttributesFacade.py /var/tmp/portage/hal-cvs-20040522/image/
/usr/share/hal/device-manager/GtkAttributesFacade.py
/bin/install -c -m 644 ./LibGladeApplication.py /var/tmp/portage/hal-cvs-20040522/image/
/usr/share/hal/device-manager/LibGladeApplication.py
/bin/install -c -m 644 ./Representation.py /var/tmp/portage/hal-cvs-20040522/image//usr/
share/hal/device-manager/Representation.py
../../py-compile: line 64: /usr/local/lib/python2.3/site-packages: No such file or direct
ory
make[3]: *** [install-devicemanagerPYTHON] Error 127
make[3]: Leaving directory `/var/tmp/portage/hal-cvs-20040522/work/hal/tools/device-manag
er'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/hal-cvs-20040522/work/hal/tools/device-manag
er'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hal-cvs-20040522/work/hal/tools'
make: *** [install-recursive] Error 1

!!! ERROR: sys-apps/hal-cvs-20040522 failed.
!!! Function src_install, Line 43, Exitcode 2
!!! make install failed
Back to top
View user's profile Send private message
acdispatcher
n00b
n00b


Joined: 26 Feb 2004
Posts: 42

PostPosted: Sun Sep 05, 2004 3:11 pm    Post subject: Reply with quote

Cant get hal to compile

Code:

hald.c:42:28: sys/capability.h: No such file or directory
hald.c: In function `drop_privileges':
hald.c:254: error: `cap_t' undeclared (first use in this function)
hald.c:254: error: (Each undeclared identifier is reported only once
hald.c:254: error: for each function it appears in.)
hald.c:254: error: syntax error before "cap"
hald.c:294: error: `cap' undeclared (first use in this function)
make[1]: *** [hald.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/hal-cvs-0.3-r2/work/hal-cvs/hald'
make: *** [install-recursive] Error 1

!!! ERROR: sys-apps/hal-cvs-0.3-r2 failed.
!!! Function src_install, Line 51, Exitcode 2
!!! Install failed


any ideas?
_________________
Budget PC -
DFI NF3 250Gb Socket 754
AMD Sempron 3100+
1.5 GB Crucial DDR 400(PC 3200)
SAMSUNG 160GB SATA
NVIDIA 6600
Back to top
View user's profile Send private message
Hackeron
Guru
Guru


Joined: 01 Nov 2002
Posts: 307

PostPosted: Sun Sep 05, 2004 3:18 pm    Post subject: Reply with quote

acdispatcher wrote:
Cant get hal to compile

Code:

hald.c:42:28: sys/capability.h: No such file or directory
hald.c: In function `drop_privileges':
hald.c:254: error: `cap_t' undeclared (first use in this function)
hald.c:254: error: (Each undeclared identifier is reported only once
hald.c:254: error: for each function it appears in.)
hald.c:254: error: syntax error before "cap"
hald.c:294: error: `cap' undeclared (first use in this function)
make[1]: *** [hald.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/hal-cvs-0.3-r2/work/hal-cvs/hald'
make: *** [install-recursive] Error 1

!!! ERROR: sys-apps/hal-cvs-0.3-r2 failed.
!!! Function src_install, Line 51, Exitcode 2
!!! Install failed


any ideas?


emerge libcap
Back to top
View user's profile Send private message
acdispatcher
n00b
n00b


Joined: 26 Feb 2004
Posts: 42

PostPosted: Sun Sep 05, 2004 3:50 pm    Post subject: Reply with quote

Worked thanks
_________________
Budget PC -
DFI NF3 250Gb Socket 754
AMD Sempron 3100+
1.5 GB Crucial DDR 400(PC 3200)
SAMSUNG 160GB SATA
NVIDIA 6600
Back to top
View user's profile Send private message
ziolas
n00b
n00b


Joined: 20 Jul 2003
Posts: 23

PostPosted: Tue Sep 07, 2004 4:06 am    Post subject: Reply with quote

Hmm, hald doesn't start for me:

Code:
hald --verbose=yes --daemon=no
06:06:34.500 [I] hald.c:386: hal 0.2.97
06:06:34.501 [I] hald.c:390: Will not daemonize
06:06:34.584 [E] hald_dbus.c:1946: dbus_bus_acquire_service(): Connection ":1.31" is not allowed to own the service " due to security policies in the configuration file


It works when I manually start it with "--drop-privilages", but then dbus doesn't know about me opening/closing my cd-drive...

Both dbus and hal are emerged from breakmygentoo cvs ebuilds...

Any ideas?
Back to top
View user's profile Send private message
Jakub
Guru
Guru


Joined: 04 Oct 2003
Posts: 377
Location: Warsaw, Poland

PostPosted: Tue Sep 07, 2004 1:56 pm    Post subject: Reply with quote

ziolas wrote:
Hmm, hald doesn't start for me:

Code:
hald --verbose=yes --daemon=no
06:06:34.500 [I] hald.c:386: hal 0.2.97
06:06:34.501 [I] hald.c:390: Will not daemonize
06:06:34.584 [E] hald_dbus.c:1946: dbus_bus_acquire_service(): Connection ":1.31" is not allowed to own the service " due to security policies in the configuration file


It works when I manually start it with "--drop-privilages", but then dbus doesn't know about me opening/closing my cd-drive...

Both dbus and hal are emerged from breakmygentoo cvs ebuilds...

Any ideas?

I have exactly the same problem... thanks to you I at least narrowed it down to hald...
Back to top
View user's profile Send private message
ziolas
n00b
n00b


Joined: 20 Jul 2003
Posts: 23

PostPosted: Wed Sep 08, 2004 3:31 am    Post subject: Reply with quote

Jakub wrote:

I have exactly the same problem... thanks to you I at least narrowed it down to hald...


Ok, after two days of googling I've found that you have to change everything that reads "haldaemon" to "root" in /etc/dbus-1/system.d/hal.conf. This probably isn't very safe, but what the hell, at least it works.

Ps. Pozdrowienia z Bydgoszczy :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 27, 28, 29  Next
Page 9 of 29

 
Jump to:  
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