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


Joined: 25 Sep 2003
Posts: 957
Location: Denmark

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

sorry i didnt answer before, by some odd reason the notify thing got turned off..

i have now comitted some fixed init scripts. which removes the pid.

with the problem about server being down, it is my workstation :))
it is up the most of the time, but it happens to be down :)

i will get some hosting somewhere.
_________________
Sandberg Enterprises
Back to top
View user's profile Send private message
Genfoo'
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 112

PostPosted: Fri Jun 18, 2004 8:10 pm    Post subject: Reply with quote

I did the first few steps in the first post to get the ebuilds, but when I try to 'emerge -pv hal-cvs' I get:

Code:
Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "hal-cvs".

!!! Error calculating dependencies. Please correct.



So I tried to 'emerge -pv hal-cvs-20040522' and I get:

Code:
Calculating dependencies
!!! Problem in null/hal-cvs-20040522 dependencies.
!!! "Specific key requires an operator (null/hal-cvs-20040522) (try adding an '=')"


Someone please help.
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 957
Location: Denmark

PostPosted: Fri Jun 18, 2004 8:12 pm    Post subject: Reply with quote

you havent placed the ebuilds in a valid portage_overlay, edit the PORTAGE_OVERLAY variable in make.conf
_________________
Sandberg Enterprises
Back to top
View user's profile Send private message
Twink
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 178
Location: New Zealand

PostPosted: Sat Jun 19, 2004 12:58 pm    Post subject: Reply with quote

Just a tip to those having trouble with this, I emerged the breakmygentoo builds and had to

emerge kdelibs

to fix a QT Development library error message

and

ACCEPT_KEYWORDS="~x86" emerge pyrex

Although I dont like using ACCEPT_KEYWORDS which is why i had the problem in the first place echo "pyrex ~x86" >> /etc/portage/package.keywords is much better imho.
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Sat Jun 19, 2004 2:41 pm    Post subject: Reply with quote

What package needed this?
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
Back to top
View user's profile Send private message
Genfoo'
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 112

PostPosted: Sat Jun 19, 2004 8:32 pm    Post subject: Reply with quote

Has the problem with discs not being umount been addressed?
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Sat Jun 19, 2004 8:58 pm    Post subject: Reply with quote

Could you precise your question? Normally discs should get umounted on eject, yes.
Some CD players refuse to eject in the CVS version. Someone is trying to fix this. If you suffer by this issue, please use the 0.3 release version (ebuild is in the tarball), that version hasnt got the problem it seems.
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
Back to top
View user's profile Send private message
Genfoo'
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 112

PostPosted: Sun Jun 20, 2004 12:03 am    Post subject: Reply with quote

Sorry, I was thinking about too many different things when I wrote that post.

What I mean is if the disc will be unmounted when you press the eject button on the drive. I can unmount and eject the disc by right clicking on the icon and selecting eject, but I get an error that says 'Unable to eject'. But I can't unmount and eject the disc by pressing the eject button on the disc drive and when I use 'umount /mnt/dvd' or 'umount /mnt/cdr' in console the desktop icon disappears but the drive doesn't unmount and I still can't get my disc out. The Disc Mounter utility in Gnome unmounts the disc, but doesn't always eject it.

I have downloaded and installed ivman-0.3, but I still get the same thing. Unless I did something wrong, which is always a possibility.

Thank You for your work on this! It looks very promising!
Back to top
View user's profile Send private message
Twink
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 178
Location: New Zealand

PostPosted: Sun Jun 20, 2004 1:07 am    Post subject: Reply with quote

eikketk wrote:
What package needed this?


dbus seemed to require it.

there isn't any support to run an external command when a disc is inserted is there?
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Sun Jun 20, 2004 10:48 am    Post subject: Reply with quote

Genfoo' wrote:
...

Dennis committed some new code to CVS some hours ago, which could solve this issue. I didnt test it myself yet tough... Could you try that?
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Sun Jun 20, 2004 10:49 am    Post subject: Reply with quote

Twink wrote:
eikketk wrote:
What package needed this?


dbus seemed to require it.

there isn't any support to run an external command when a disc is inserted is there?

Can't you just emerge dbus-cvs USE="-qt"? ;)
For data discs there is no possibility to launch an external command. In ivman_ng a feature like this should be easy to implement. Even in the current version I think. Maybe I'll add it.
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
Back to top
View user's profile Send private message
maj
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2002
Posts: 92

PostPosted: Sun Jun 20, 2004 11:55 am    Post subject: Reply with quote

Ok - just upgraded to gentoo-dev-sources 2.6.7, thus supermount has been removed so i tried this - in IvmConfigMappings.xml i removed the comment tags around the /dev/hdc line (correct dev entry for my cdrom)
In /etc/conf.d/ivman i changed the IVUSER and IVGROUP to match my own username/group, i am using udev and the output to dbus-monitor --system for when i put a cd in and eject it with the button is

Code:

dbus-monitor --system
signal interface=org.freedesktop.DBus; member=ServiceAcquired; sender=org.freedesktop.DBus
string::1.4
signal interface=org.freedesktop.Hal.Manager; member=DeviceAdded; sender=:1.0
string:/org/freedesktop/Hal/devices/block_22_0-disc
signal interface=org.freedesktop.Hal.Manager; member=DeviceRemoved; sender=:1.0
string:/org/freedesktop/Hal/devices/block_22_0-disc


my entry in fstab for the cdrom drive is

Code:

/dev/hdc                /mnt/cdrom      iso9660         noauto,ro,users         0 0


yet ivman will not automount the cd - any ideas?

cheers
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Sun Jun 20, 2004 3:25 pm    Post subject: Reply with quote

Could you set "fork" to "false" and "debug" to "true" in IvmConfigBase.xml, run 'ivman' in a console window and look at the output? Maybe you can get somethin out of that...
If not, please post the output (when inserting a cd of course)
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
Back to top
View user's profile Send private message
maj
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2002
Posts: 92

PostPosted: Sun Jun 20, 2004 3:47 pm    Post subject: Reply with quote

eikketk wrote:
Could you set "fork" to "false" and "debug" to "true" in IvmConfigBase.xml, run 'ivman' in a console window and look at the output? Maybe you can get somethin out of that...
If not, please post the output (when inserting a cd of course)


aha - cheers, unlike the person earlier in the thread who needed /dev/hdc and not /dev/cdroms/cdrom0 i needed /dev/cdroms/cdrom0 in my fstab - works a charm

cheers!
Back to top
View user's profile Send private message
Genfoo'
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 112

PostPosted: Mon Jun 21, 2004 2:35 am    Post subject: Reply with quote

eikketk wrote:
Dennis committed some new code to CVS some hours ago, which could solve this issue. I didnt test it myself yet tough... Could you try that?


Any tips on how to do that. A web link where I can read up on it would be fine.
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Mon Jun 21, 2004 6:57 am    Post subject: Reply with quote

Actually, just emerge ivman-cvs again (using the updated sources, which will be fetched automatically), etc-update, and try if you can eject :)
If not -> please also try running with 'debug' to 'true' and fork' to 'false', in a console.
_________________
Working day and night to enhance the Linux Desktop Experience :)

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


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

PostPosted: Mon Jun 21, 2004 7:25 am    Post subject: Reply with quote

the newest cvs causes trouble when for me when compiling.

Code:
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: Makefile.in

!!! ERROR: sys-apps/ivman-cvs-20040524 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Mon Jun 21, 2004 7:29 am    Post subject: Reply with quote

Thats a known 'bug', altough its not really a bug.
2 solutions: get automake 1.8.3 (1.8.5 wont work, need an autotools guru ;)), or alter the ebuild, add 'WANT_AUTOMAKE="1.7"' in front of ./autogen.sh
_________________
Working day and night to enhance the Linux Desktop Experience :)

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


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

PostPosted: Mon Jun 21, 2004 9:11 am    Post subject: Reply with quote

like so???

Code:
src_compile() {
    cd ${S}

    WANT_AUTOMAKE="1.7"
    ./autogen.sh
    econf `use_enable debug` || die
    emake || die
}



or above that part??
if thats right, i still get the same error.


Last edited by dkure on Mon Jun 21, 2004 12:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Mon Jun 21, 2004 9:20 am    Post subject: Reply with quote

dkure wrote:
...

Code:
src_compile() {
    cd ${S}

    WANT_AUTOMAKE="1.7" ./autogen.sh
    econf `use_enable debug` || die
    emake || die
}

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

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


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

PostPosted: Mon Jun 21, 2004 12:27 pm    Post subject: Reply with quote

the compile worked fine with the line modified properly.

However ejecting the cd still causes issues.

I still cant press the eject button and the cd pop out.

However when i set forking to false and debug to true it works :/

out is like so.
Code:
#ivman
Ikke's Volume Manager, http://ivman.sf.net
hal_interface.c:112 (hal_device_removed) Device removed: /org/freedesktop/Hal/devices/block_22_0-disc
manager.c:250 (ivm_umount_if_needed) This device ((null)) wasn't mounted by me, ignoring...
hal_interface.c:42 (hal_device_added) New Device: /org/freedesktop/Hal/devices/block_22_0-disc
hal_interface.c:80 (hal_device_added) Changed: /dev/hdc
manager.c:179 (ivm_cdrom_policy) In cdrom_policy
manager.c:198 (ivm_cdrom_policy) Device: /dev/hdc
manager.c:206 (ivm_cdrom_policy) Its data
IvmConfigActions.c:214 (get_actions) Nodeset is null
manager.c:144 (ivm_device_mount) Mounting /dev/hdc
manager.c:153 (ivm_device_mount) Mapped to /dev/cdroms/cdrom0
mount: /dev/cdroms/cdrom0 already mounted or /mnt/cdrom busy
hal_interface.c:168 (hal_property_modified) Mounted: /org/freedesktop/Hal/devices/block_22_0-disc
hal_interface.c:187 (hal_property_modified) Devices table has 1 entries
hal_interface.c:261 (print_device)      "/org/freedesktop/Hal/devices/block_22_0-disc"   "/mnt/cdrom"
manager.c:270 (ivm_unlock_device) Unlocking tray of /dev/hdc
manager.c:281 (ivm_unlock_device) /dev/hdc unlocked
manager.c:111 (ivm_check_dvd) Checking for DVD in '/dev/hdc' mounted on '/mnt/cdrom'
hal_interface.c:235 (hal_device_condition) Event Recieved  but no action taken
 Name: BlockMountEvent
hal_interface.c:112 (hal_device_removed) Device removed: /org/freedesktop/Hal/devices/block_22_0-disc
hal_interface.c:261 (print_device)      "/org/freedesktop/Hal/devices/block_22_0-disc"   "/mnt/cdrom"
manager.c:253 (ivm_umount_if_needed) Umounting /mnt/cdrom
Back to top
View user's profile Send private message
smparrish
n00b
n00b


Joined: 11 Feb 2004
Posts: 4

PostPosted: Mon Jun 21, 2004 1:35 pm    Post subject: New ebuilds fail Reply with quote

Just downloaded the new ebuilds dated jun 20 2004. when I attempt to emerge it, it fails looking for fluidcvs.eclass which does not exist. Any ideas.

SP
Back to top
View user's profile Send private message
Genfoo'
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 112

PostPosted: Mon Jun 21, 2004 2:06 pm    Post subject: Reply with quote

WooHoo!!! It works! I push the eject button on the drive and the disc gets unmounted and ejected.

Thank You!
Back to top
View user's profile Send private message
eikketk
Apprentice
Apprentice


Joined: 03 Jun 2003
Posts: 270
Location: Belgium

PostPosted: Mon Jun 21, 2004 2:31 pm    Post subject: Reply with quote

dkure wrote:
the compile worked fine with the line modified properly.

However ejecting the cd still causes issues.

I still cant press the eject button and the cd pop out.

However when i set forking to false and debug to true it works :/

out is like so.
Code:
#ivman
Ikke's Volume Manager, http://ivman.sf.net
hal_interface.c:112 (hal_device_removed) Device removed: /org/freedesktop/Hal/devices/block_22_0-disc
manager.c:250 (ivm_umount_if_needed) This device ((null)) wasn't mounted by me, ignoring...
hal_interface.c:42 (hal_device_added) New Device: /org/freedesktop/Hal/devices/block_22_0-disc
hal_interface.c:80 (hal_device_added) Changed: /dev/hdc
manager.c:179 (ivm_cdrom_policy) In cdrom_policy
manager.c:198 (ivm_cdrom_policy) Device: /dev/hdc
manager.c:206 (ivm_cdrom_policy) Its data
IvmConfigActions.c:214 (get_actions) Nodeset is null
manager.c:144 (ivm_device_mount) Mounting /dev/hdc
manager.c:153 (ivm_device_mount) Mapped to /dev/cdroms/cdrom0
[b]mount: /dev/cdroms/cdrom0 already mounted or /mnt/cdrom busy[/b]
hal_interface.c:168 (hal_property_modified) Mounted: /org/freedesktop/Hal/devices/block_22_0-disc
hal_interface.c:187 (hal_property_modified) Devices table has 1 entries
hal_interface.c:261 (print_device)      "/org/freedesktop/Hal/devices/block_22_0-disc"   "/mnt/cdrom"
manager.c:270 (ivm_unlock_device) Unlocking tray of /dev/hdc
manager.c:281 (ivm_unlock_device) /dev/hdc unlocked
manager.c:111 (ivm_check_dvd) Checking for DVD in '/dev/hdc' mounted on '/mnt/cdrom'
hal_interface.c:235 (hal_device_condition) Event Recieved  but no action taken
 Name: BlockMountEvent
hal_interface.c:112 (hal_device_removed) Device removed: /org/freedesktop/Hal/devices/block_22_0-disc
hal_interface.c:261 (print_device)      "/org/freedesktop/Hal/devices/block_22_0-disc"   "/mnt/cdrom"
manager.c:253 (ivm_umount_if_needed) Umounting /mnt/cdrom


mount: /dev/cdroms/cdrom0 already mounted or /mnt/cdrom busy: thats strange?

About the ejecting problem: I have an idea of what *can* be the problem, need to investigate it a little tough, and dont have plenty of time at the moment, sorry.

Please try using the 0.3 release, that seems to work for people experiencing eject problems. You won't have auto-dvd-playback tough.
_________________
Working day and night to enhance the Linux Desktop Experience :)

Homepage
Back to top
View user's profile Send private message
maj
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2002
Posts: 92

PostPosted: Mon Jun 21, 2004 8:19 pm    Post subject: Reply with quote

has anyone noticed a pause during boot with lvman set to start in the default boot level? laptop would stard dbus,HAL and ivman, then move onto i2c at which point it would pause for a min or two then continue - removing the 3 from my default runlevel removed the pause...
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 ... 27, 28, 29  Next
Page 3 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