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, ... 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: Wed Jun 16, 2004 12:50 pm    Post subject: Reply with quote

Nice catch. I do run a pure udev system, never tought about that tarball stuff...
This are my entries:
Code:
RC_DEVICE_TARBALL="no"
RC_DEVFSD_STARTUP="no"

Dont know if that fixes everything tough... I dont even have that tarball AFAIK, could be wrong.
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
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: Wed Jun 16, 2004 1:33 pm    Post subject: Reply with quote

Im not able to boot without devfs,
how do you do it ?

In the booting process it doesnt find my
partition devices in /dev (/dev/hdaX).
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Wed Jun 16, 2004 1:35 pm    Post subject: Reply with quote

I guess you havent got UDEV correctly installed then.
Check the Gentoo Docs, http://www.gentoo.org/doc/en/udev-guide.xml and the forums.
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
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: Wed Jun 16, 2004 2:45 pm    Post subject: Reply with quote

That was it, i was running devfs :lol: , now i got udev up and running,
dbus-monitor --system shows output, but automounting still doesnt
work :?

Silly me :roll: , there some mistakes in the mappings file :lol: .

I finally got it working ! WOOHOO 8)
Back to top
View user's profile Send private message
SPiRiTs
n00b
n00b


Joined: 22 Jan 2004
Posts: 21

PostPosted: Wed Jun 16, 2004 4:07 pm    Post subject: Reply with quote

hal can dynamicaly create new entry point in fstab

see the file

/hal/tools/callouts/fstab-update.sh

in hal archives

:)

plug your usbkey, and hal wil create /dev/sda1 /mnt/usbkey in fstab :)

i don't know if it mount it in also
Back to top
View user's profile Send private message
PrakashP
Veteran
Veteran


Joined: 27 Oct 2003
Posts: 1249
Location: C.C.A.A., Germania

PostPosted: Wed Jun 16, 2004 4:22 pm    Post subject: Reply with quote

I am getting this with ivmna-cvs:

Code:

 * Fetching CVS module ivman into /usr/portage/distfiles/cvs-src/ivman-cvs...
 * Running  cvs -q -f -z3 -d ":pserver:anonymous:@cvs.sourceforge.net:/cvsroot/ivman" login
Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/ivman
 * Running  cvs -q -f -z3 -d ":pserver:anonymous@cvs.sourceforge.net:/cvsroot/ivman" checkout  ivman
can't create temporary directory /tmp/cvs-serv11421
Permission denied


Any idea?
Back to top
View user's profile Send private message
Sastraxi
Apprentice
Apprentice


Joined: 25 Feb 2003
Posts: 258

PostPosted: Wed Jun 16, 2004 4:40 pm    Post subject: Reply with quote

Exactly the same error. The problem isn't ours, though, it's a fault of the cvs repository...
Back to top
View user's profile Send private message
Sastraxi
Apprentice
Apprentice


Joined: 25 Feb 2003
Posts: 258

PostPosted: Wed Jun 16, 2004 4:52 pm    Post subject: Reply with quote

It's all working now :lol:
Back to top
View user's profile Send private message
Chaosite
Guru
Guru


Joined: 13 Dec 2003
Posts: 540
Location: Right over here.

PostPosted: Wed Jun 16, 2004 6:22 pm    Post subject: Reply with quote

SPiRiTs wrote:
hal can dynamicaly create new entry point in fstab

see the file

/hal/tools/callouts/fstab-update.sh

in hal archives

:)

plug your usbkey, and hal wil create /dev/sda1 /mnt/usbkey in fstab :)

i don't know if it mount it in also


Thats what ivman is for! :)
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Thu Jun 17, 2004 6:35 am    Post subject: Reply with quote

Nope, at the moment we only mount 'cdrom'-like media (also dvd stuff), no USB keys or whatever.
ivman_ng should be able to do this tough.
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Thu Jun 17, 2004 11:31 am    Post subject: Reply with quote

it works for me if I dont set IVUSER and IVGROUP, anyone have any quick fixes?
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Thu Jun 17, 2004 1:12 pm    Post subject: Reply with quote

Is it the mounting part that doesnt work? You need 'users' in fstab. Dunno if that'd solve your problem of course :)
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
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: Thu Jun 17, 2004 1:24 pm    Post subject: Reply with quote

Hmm, ivman acting funny again.
I insert the CD, ivman automounts it, dbus-monitor output
is ok, but i cant get the cd out !
dbus-monitor outputs the cd eject button pressed, but ivman
doesnt do anything, it works only in debug mode (debug=true,fork=false).
Help !

What does the fork option stand for ?
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Thu Jun 17, 2004 1:36 pm    Post subject: Reply with quote

Hmm, 3th person with this problem. I dont have a clue what it could be related to tough :cry:
Could you please try running the 0.3 release version? theres an ebuild inside that tarball.
I'll try to implement an action on that eject event too, maybe that'll solve the problem.

Regards, and sorry for any trouble, Ikke
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
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: Thu Jun 17, 2004 1:55 pm    Post subject: Reply with quote

ivman 0.3 works great ! Thanks !

Howto add ivman to start with boot ?
Code:
rc-update add ivman default

?

I tried that with cvs, but it doesnt start correctly.
Back to top
View user's profile Send private message
dkure
n00b
n00b


Joined: 20 Apr 2004
Posts: 51
Location: Sydney, Australia

PostPosted: Thu Jun 17, 2004 2:52 pm    Post subject: Reply with quote

Another happy customer here :D

I found some problems with udev and nvidia while following this guide, so I need to fix this one.

Mounting works for my cds :D.

Code:
rc-update add hald default
rc-update add ivman default

worked fine for me.

for floppies, 1 are they supported, 2, for adding the support

is just a simple adding this into /etc/ivman/IvmConfigMappings.xml??
Code:
<ivm:Map device="/dev/floopy/0" maps="/dev/floopy/0" />


EDIT:
Maybe i spoke too soon, it ate my CD!, i can unmount, but still i cant open/ eject my drive :(, bad computer!
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Thu Jun 17, 2004 3:17 pm    Post subject: Reply with quote

Also try 0.3 please, I'll check the latest CVS commits.
Floppies aren't supported and won't ever be, sorry, because HAL doesnt support them. Floppies need polling, thats the problem.
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
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: Thu Jun 17, 2004 4:38 pm    Post subject: Reply with quote

Who uses them anyways ? :wink:
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Thu Jun 17, 2004 6:10 pm    Post subject: Reply with quote

GlooM wrote:
Who uses them anyways ? :wink:
That's not really the kind of spirit I like, but well :)
No really, hardly anyone uses them, and well, it's just impossible to achieve, sorry.
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
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 Jun 18, 2004 9:03 am    Post subject: Reply with quote

Code:
* Starting D-BUS system messagebus...
Failed to start message bus: The pid file "/var/lib/run/dbus/pid" exists, if the message bus is not running, remove this file                                                 [ !! ]
* Starting hardware abstraction layer...                                                             [ ok ]
* Starting ivman...
libhal.c 569 : Error connecting to system bus: Failed to connect to socket /var/lib/run/dbus/system_bus_socket: No such file or directory

** (process:5417): WARNING **: manager.c/306: Failed to initialize HAL!
                               [ !! ]


Matters only the dbus error, I get it everytime after reboot, dbus doesnt delete the pid file. I have to delete it manually and then start dbus. Help !
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Fri Jun 18, 2004 9:04 am    Post subject: Reply with quote

Code:
gensync bmg-main
emerge -u dbus-cvs
etc-update
rc-update del messagebus default
rc-update add dbus default


Should fix it :)
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
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 Jun 18, 2004 9:12 am    Post subject: Reply with quote

Code:
gensync bmg-main


I dont have such an app.
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Fri Jun 18, 2004 9:30 am    Post subject: Reply with quote

Oh damn, true, this howto uses redeeman's ebuilds.
I guess you should ask him then, on IRC: redeeman, he's aviable in #love-sources (dunno if he's there now).
Otherwise: use the Breakmygentoo ebuilds, look on breakmygentoo.net on how to get them.
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
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 Jun 18, 2004 9:41 am    Post subject: Reply with quote

Code:
emerge -u dbus-cvs
Calculating dependencies ...done!
>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.


? :roll:
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Fri Jun 18, 2004 10:20 am    Post subject: Reply with quote

Oh. Damn. No -u of course, because that won't update if you already got the latest version. Stupid me. Just emerge dbus-cvs... :oops:
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
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, ... 27, 28, 29  Next
Page 2 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