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, 4, 5, 6 ... 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Sat Jun 26, 2004 6:30 am    Post subject: Reply with quote

I could be wrong but that error looks more like a dbus<->hal intraction error...
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
Back to top
View user's profile Send private message
pacman13
n00b
n00b


Joined: 18 Nov 2002
Posts: 58
Location: Austin, TX

PostPosted: Sun Jun 27, 2004 9:39 am    Post subject: Reply with quote

If I add gentoo=nodevfs to my kernel, as has been suggested, I get an error during boot saying that I can't mount /dev/hdb5 (my root partition)... I guess nothing's taking over for devfs in detecting the file system and making the node?

I'm not sure I really understand this -- someone please help shed some light here
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Sun Jun 27, 2004 9:47 am    Post subject: Reply with quote

Did you set up udev correclty? Look in the gentoo Docs section, there's a tutorial in there.
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
Back to top
View user's profile Send private message
jguidroz09
n00b
n00b


Joined: 27 May 2004
Posts: 49

PostPosted: Sun Jun 27, 2004 9:37 pm    Post subject: Reply with quote

After unmerging dbus-cvs, hal-cvs, and ivman-cvs, and then setting up bmg-main and emerging dbus-cvs, hal-cvs, and ivman-cvs, I almost have a functional ivman setup. Well it's basically functional for mounting a data cd, but things change when I put in an audio cd. When ivman is started with the init script, it will not start gnome cd player. If I start ivman via the command line, it will start gnome-cd player and start playing the cd. The only reason I can see this happening is the user and group ivman is set to start as with the init script. I've tried with user=root and group=root and user=juice and group=users. Both ways, data cds mount fine, but gnome-cd player will not start with an audio cd in. Any clues as to what to set the user and group in /etc/conf.d/ivman for this to happen?

Also, when I had reemerged everything, dbus would start complaining about a pid file. I don't know if it was an old config file or what, but I had to go change the pid file location in /etc/init.d/dbus to get it to start.
Back to top
View user's profile Send private message
Sastraxi
Apprentice
Apprentice


Joined: 25 Feb 2003
Posts: 258

PostPosted: Tue Jun 29, 2004 4:47 pm    Post subject: Reply with quote

I had the dbus pid file error too... so I hacked up the init script to rm -rf it right before you start. I'll probably remove it once it's working more to my liking.

And, by the way, how would you go about getting it to auto-launch gnome-cd-player?
_________________
Platypus.
Back to top
View user's profile Send private message
jguidroz09
n00b
n00b


Joined: 27 May 2004
Posts: 49

PostPosted: Tue Jun 29, 2004 6:44 pm    Post subject: Reply with quote

Edit the file: /etc/ivman/IvmConfigActions.xml
There is a line that says autoplay_cda_cmd, in the right spot put:
Code:

gnome-cd --device=/dev/cdroms/cdrom0 --play


For device, just put whatever device is in /etc/fstab for your cdrom.
Back to top
View user's profile Send private message
cocoliso
n00b
n00b


Joined: 07 Mar 2004
Posts: 68

PostPosted: Tue Jun 29, 2004 10:58 pm    Post subject: Reply with quote

im getting this error try to compile dbus-cvs-20040522
Code:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../dbus -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.3 -DDBUS_API_SUBJECT_TO_CHANGE=1 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT dbus_bindings.lo -MD -MP -MF .deps/dbus_bindings.Tpo -c ./dbus_bindings.c  -fPIC -DPIC -o dbus_bindings.o
gcc: ./dbus_bindings.c: No such file or directory
gcc: no input files
make[3]: *** [dbus_bindings.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/dbus-cvs-20040522/work/dbus-cvs/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dbus-cvs-20040522/work/dbus-cvs/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dbus-cvs-20040522/work/dbus-cvs'
make: *** [all] Error 2

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


any ideas??
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 957
Location: Denmark

PostPosted: Tue Jun 29, 2004 11:35 pm    Post subject: Reply with quote

oh crap, now i somehow managed to remove the notify again.. if this happens.. please notify me
_________________
Sandberg Enterprises
Back to top
View user's profile Send private message
Zenshi
n00b
n00b


Joined: 11 Sep 2003
Posts: 8
Location: Portugal

PostPosted: Wed Jun 30, 2004 12:25 am    Post subject: Reply with quote

Hello all,

Can anyone help me with this little problem i have?
Code:

libhal.c 569 : Error connecting to system bus: Failed to connect to socket
/var/lib/dbus/system_bus_socket: No such file or directory

I can't start ivman because of this...
I'm using bmg-main, btw
And these are the versions of the dbus, hal and ivman:
Code:

*  sys-apps/dbus-cvs
      Latest version available: 0.22-r2
      Latest version installed: 0.22-r2
*  sys-apps/hal-cvs
      Latest version available: 0.3-r2
      Latest version installed: 0.3-r2
*  sys-apps/ivman-cvs
      Latest version available: 0.30
      Latest version installed: 0.30


Any help is appreciated, thanks :)
_________________
There are people that see things and say why,
I dream things that never were and say, why not?
Back to top
View user's profile Send private message
jguidroz09
n00b
n00b


Joined: 27 May 2004
Posts: 49

PostPosted: Wed Jun 30, 2004 1:10 am    Post subject: Reply with quote

Zenshi,

It sounds like dbus isn't started. Try typing as root
Code:
/etc/init.d/dbus start


If the output complains about a PID file instead of starting dbus, check the pidfile location set in /etc/init.d/dbus and in /etc/dbus-1/system.conf to make sure they are the same. If not, I would suggest changing the pidfile location in the script (/etc/init.d/dbus) to the location set in the /etc/dbus-1/system.conf file so that it gets removed when dbus is stopped or started.
Back to top
View user's profile Send private message
Zenshi
n00b
n00b


Joined: 11 Sep 2003
Posts: 8
Location: Portugal

PostPosted: Wed Jun 30, 2004 4:18 am    Post subject: Reply with quote

Hello again,

Thanks for your help jguidroz09, but that's not the problem here.
I do have dbus running, same as hal, but I dunno why, the socket that ivman (or hal, still not sure) is looking for, is in /var/lib/run/dbus/system_bus_socket instead of the /var/lib/dbus/system_bus_socket...

[edit]
But after a restart of the computer, all is well and working, go figure :wink:
Great work eikke et al, keep it up!
[/edit]
_________________
There are people that see things and say why,
I dream things that never were and say, why not?
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 957
Location: Denmark

PostPosted: Wed Jun 30, 2004 11:39 am    Post subject: Reply with quote

i dont know about these ebuilds in bmg very much, however, i tried them, they do not work proper here.. use my ebuilds! :) they work perfect
_________________
Sandberg Enterprises
Back to top
View user's profile Send private message
MPauley
n00b
n00b


Joined: 24 Dec 2003
Posts: 17
Location: Virginia

PostPosted: Wed Jun 30, 2004 11:45 am    Post subject: Perfect.... Reply with quote

After a slight issue with udev and my mouse... Everything is working perfect now!

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


Joined: 11 Sep 2003
Posts: 8
Location: Portugal

PostPosted: Wed Jun 30, 2004 12:43 pm    Post subject: Reply with quote

Alos,

Redeeman, i used your ebuilds first, but the eject button wouldn't unmount the cd, even using ivman 0.3, so i gave the bmg-main builds a try and now all works! :)
_________________
There are people that see things and say why,
I dream things that never were and say, why not?
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 957
Location: Denmark

PostPosted: Wed Jun 30, 2004 12:46 pm    Post subject: Reply with quote

buty that has nothing to do with my ebuilds

all that matters is when you checkout the code from cvs.
cvs is a system for developers, so if you used my ebuilds at the wrong minute, it might not work, and when you try bmg, then it works...
_________________
Sandberg Enterprises
Back to top
View user's profile Send private message
cocoliso
n00b
n00b


Joined: 07 Mar 2004
Posts: 68

PostPosted: Wed Jun 30, 2004 5:56 pm    Post subject: Reply with quote

hmm most sorry i should have search first before asking :roll: ..hehehe

the solution to my problem above:
https://forums.gentoo.org/viewtopic.php?t=183357&highlight=dbuscvs+compile

it seems python support it is broken for now...
Back to top
View user's profile Send private message
Psiuyo
n00b
n00b


Joined: 22 Apr 2004
Posts: 50
Location: Calgary

PostPosted: Thu Jul 01, 2004 8:05 pm    Post subject: Reply with quote

I've been using hal/dbus/ivman on one machine with no problems (using redeeman's ebuilds).

Now, I've got a problem with hal/dbus/ivman on second machine (again using redeeman's ebuilds). I've re-emerged a couple times, but nothing is getting created in /etc/init.d No hal, dbus, or ivman scripts. Has something changed in the cvs for all of these?
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 957
Location: Denmark

PostPosted: Thu Jul 01, 2004 8:29 pm    Post subject: Reply with quote

did you checkout the ebuilds with svn?

anyway, downloading init script manually will assure you it works.

put this in /etc/init.d:
http://redeeman.kaspersandberg.com/fluidportage/trunk/sys-apps/dbus-cvs/files/dbus
http://redeeman.kaspersandberg.com/fluidportage/trunk/sys-apps/hal-cvs/files/hald
http://redeeman.kaspersandberg.com/fluidportage/trunk/sys-apps/ivman-cvs/files/i_ivman (and rename it to ivman)

place in /etc/conf.d:
http://redeeman.kaspersandberg.com/fluidportage/trunk/sys-apps/ivman-cvs/files/c_ivman (and rename to ivman)
_________________
Sandberg Enterprises
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Jul 01, 2004 9:46 pm    Post subject: Reply with quote

Can the D-BUS, HAL, ivman combination used on a KDE desktop?

When I pretend to emerge hal-cvs I get a lot of gnome dependencies:

Code:
These are the packages that I would merge, in order:

root: tux > ACCEPT_KEYWORDS="~x86" emerge hal-cvs -p

Calculating dependencies ...done!
[ebuild     U ] sys-fs/sysfsutils-1.0.0 [0.4.0]
[ebuild  N    ] dev-python/pyrex-0.9.2.1
[ebuild  N    ] sys-apps/dbus-cvs-20040522
[ebuild  N    ] dev-python/pyorbit-2.0.0
[ebuild  N    ] x11-libs/startup-notification-0.6
[ebuild  N    ] app-text/opensp-1.5-r1
[ebuild  N    ] app-text/openjade-1.3.2-r1
[ebuild  N    ] app-text/docbook-sgml-dtd-3.0-r1
[ebuild  N    ] app-text/docbook-sgml-dtd-3.1-r1
[ebuild  N    ] app-text/docbook-sgml-dtd-4.1-r1
[ebuild  N    ] dev-perl/SGMLSpm-1.03-r5
[ebuild  N    ] app-text/jadetex-3.12
[ebuild  N    ] app-text/docbook-dsssl-stylesheets-1.77-r2
[ebuild  N    ] app-text/docbook-xml-simple-dtd-1.0
[ebuild  N    ] net-www/lynx-2.8.5
[ebuild  N    ] app-text/docbook-xml-simple-dtd-4.1.2.4
[ebuild  N    ] app-text/docbook-sgml-dtd-4.0-r1
[ebuild  N    ] app-text/docbook-sgml-utils-0.6.12-r2
[ebuild  N    ] app-text/docbook-xml-dtd-4.1.2-r4
[ebuild  N    ] app-text/scrollkeeper-0.3.14
[ebuild  N    ] gnome-base/gnome-desktop-2.6.1
[ebuild  N    ] gnome-base/gnome-keyring-0.2.1
[ebuild     U ] gnome-base/libgnomeui-2.6.1.1 [2.4.0.1]
[ebuild  N    ] net-print/libgnomecups-0.1.6
[ebuild  N    ] net-print/gnome-cups-manager-0.18
[ebuild  N    ] dev-libs/libcroco-0.5.1
[ebuild  N    ] gnome-extra/libgsf-1.9.0
[ebuild  N    ] gnome-base/librsvg-2.6.5
[ebuild  N    ] gnome-base/gail-1.6.6
[ebuild  N    ] gnome-base/eel-2.6.1
[ebuild     U ] gnome-base/libgnome-2.6.1.1 [2.4.0]
[ebuild  N    ] gnome-base/nautilus-2.6.1
[ebuild  N    ] gnome-base/libgnomeprint-2.6.1
[ebuild  N    ] x11-libs/libwnck-2.6.1
[ebuild     U ] gnome-base/libglade-2.4.0 [2.0.1]
[ebuild     U ] gnome-base/gconf-2.6.1 [2.6.0]
[ebuild  N    ] gnome-base/gnome-panel-2.6.1
[ebuild  N    ] x11-libs/libzvt-2.0.1-r2
[ebuild  N    ] gnome-base/libgnomeprintui-2.6.1
[ebuild  N    ] gnome-extra/libgtkhtml-2.6.1
[ebuild     U ] dev-python/pygtk-2.2.0 [2.0.0-r1]
[ebuild  N    ] dev-python/gnome-python-2.0.2
[ebuild  N    ] sys-apps/hal-cvs-20040522


My USE flags in /etc/make.conf contains:

Code:

USE="kde java gpg xosd X alsa nvidia xv mmx nptl dvd dvdr qt mysql kde arts avi cdr cups sse oggvorbis flac opengl usb mozilla xml2 xml videos tiff spell quicktime samba sdl scanner python png pdflib mpeg mad jpeg joystick gif gphoto2 gtk2 gtk foomaticdb ppds usb -xmms"


I check the hal-cvs ebuild and see gnome listed in USE="".

Shouldn't HAL be DE independent or am I missing something here?
Back to top
View user's profile Send private message
motub
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2003
Posts: 87
Location: The Netherlands

PostPosted: Thu Jul 01, 2004 10:03 pm    Post subject: Reply with quote

If you did a -pv instead of just -p, you could see just what was using +gnome. Maybe it's one of the other dependencies.
_________________
Holly
--Why not adopt an unanswered post?--
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 957
Location: Denmark

PostPosted: Thu Jul 01, 2004 10:08 pm    Post subject: Reply with quote

yeah, do it with pv, and then ONLY use xml :>
_________________
Sandberg Enterprises
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Jul 01, 2004 10:08 pm    Post subject: Reply with quote

I know it is hal-cvs that has a dependency of gnome. Its listed in the ebuild. (USE="gnome,...)

I just thought HAL was independent of a DE.
Back to top
View user's profile Send private message
joem
Retired Dev
Retired Dev


Joined: 20 Dec 2002
Posts: 508
Location: Bloomington, In

PostPosted: Fri Jul 02, 2004 2:35 am    Post subject: Reply with quote

jubenvi wrote:
I know it is hal-cvs that has a dependency of gnome. Its listed in the ebuild. (USE="gnome,...)

I just thought HAL was independent of a DE.


It is, the gnome dep is for the optional hal device manager which uses gnome python bindings.
Back to top
View user's profile Send private message
gungholady
Guru
Guru


Joined: 19 Oct 2003
Posts: 392

PostPosted: Mon Jul 05, 2004 2:48 pm    Post subject: Reply with quote

gungholady wrote:
I've noticed the pause too. It occurs after a bootup gets as far as local. With hal, dbus, and ivman activated when they are added to default by rc-update. It takes me about 4-5 minutes from reboot to logging into my window manager.


I just did a test with hald and ivman removed from the default runlevel. Dbus was still on the default runlevel. That is where this problem occurs. Dbus is causing the delay in reboot not hald or ivman. I've sent an email to the dbus mailing list about this.
Back to top
View user's profile Send private message
radixvir
n00b
n00b


Joined: 31 Dec 2003
Posts: 41

PostPosted: Wed Jul 07, 2004 3:25 am    Post subject: Reply with quote

hey those sites are down at least for me. is there anywhere else i can get those ebuilds?
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, 4, 5, 6 ... 27, 28, 29  Next
Page 5 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