Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

Automounting in userspace with ivman

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
706 posts
  • Page 3 of 29
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 29
  • Next
Author
Message
Redeeman
l33t
l33t
User avatar
Posts: 958
Joined: Thu Sep 25, 2003 9:02 am
Location: Portugal

  • Quote

Post by Redeeman » Fri Jun 18, 2004 10:34 am

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.
Top
Genfoo'
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 112
Joined: Tue Feb 24, 2004 5:51 am

  • Quote

Post by Genfoo' » Fri Jun 18, 2004 8:10 pm

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: Select all

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: Select all

Calculating dependencies
!!! Problem in null/hal-cvs-20040522 dependencies.
!!! "Specific key requires an operator (null/hal-cvs-20040522) (try adding an '=')"
Someone please help.
Top
Redeeman
l33t
l33t
User avatar
Posts: 958
Joined: Thu Sep 25, 2003 9:02 am
Location: Portugal

  • Quote

Post by Redeeman » Fri Jun 18, 2004 8:12 pm

you havent placed the ebuilds in a valid portage_overlay, edit the PORTAGE_OVERLAY variable in make.conf
Top
Twink
Apprentice
Apprentice
User avatar
Posts: 178
Joined: Fri Dec 06, 2002 10:02 am
Location: New Zealand

  • Quote

Post by Twink » Sat Jun 19, 2004 12:58 pm

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.
Top
eikketk
Apprentice
Apprentice
User avatar
Posts: 270
Joined: Tue Jun 03, 2003 1:34 pm
Location: Belgium
Contact:
Contact eikketk
Website

  • Quote

Post by eikketk » Sat Jun 19, 2004 2:41 pm

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

Homepage
Top
Genfoo'
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 112
Joined: Tue Feb 24, 2004 5:51 am

  • Quote

Post by Genfoo' » Sat Jun 19, 2004 8:32 pm

Has the problem with discs not being umount been addressed?
Top
eikketk
Apprentice
Apprentice
User avatar
Posts: 270
Joined: Tue Jun 03, 2003 1:34 pm
Location: Belgium
Contact:
Contact eikketk
Website

  • Quote

Post by eikketk » Sat Jun 19, 2004 8:58 pm

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
Top
Genfoo'
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 112
Joined: Tue Feb 24, 2004 5:51 am

  • Quote

Post by Genfoo' » Sun Jun 20, 2004 12:03 am

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!
Top
Twink
Apprentice
Apprentice
User avatar
Posts: 178
Joined: Fri Dec 06, 2002 10:02 am
Location: New Zealand

  • Quote

Post by Twink » Sun Jun 20, 2004 1:07 am

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?
Top
eikketk
Apprentice
Apprentice
User avatar
Posts: 270
Joined: Tue Jun 03, 2003 1:34 pm
Location: Belgium
Contact:
Contact eikketk
Website

  • Quote

Post by eikketk » Sun Jun 20, 2004 10:48 am

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
Top
eikketk
Apprentice
Apprentice
User avatar
Posts: 270
Joined: Tue Jun 03, 2003 1:34 pm
Location: Belgium
Contact:
Contact eikketk
Website

  • Quote

Post by eikketk » Sun Jun 20, 2004 10:49 am

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
Top
maj
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Fri Nov 22, 2002 6:27 pm

  • Quote

Post by maj » Sun Jun 20, 2004 11:55 am

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: Select all

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: Select all

/dev/hdc                /mnt/cdrom      iso9660         noauto,ro,users         0 0
yet ivman will not automount the cd - any ideas?

cheers
Top
eikketk
Apprentice
Apprentice
User avatar
Posts: 270
Joined: Tue Jun 03, 2003 1:34 pm
Location: Belgium
Contact:
Contact eikketk
Website

  • Quote

Post by eikketk » Sun Jun 20, 2004 3:25 pm

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
Top
maj
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Fri Nov 22, 2002 6:27 pm

  • Quote

Post by maj » Sun Jun 20, 2004 3:47 pm

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!
Top
Genfoo'
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 112
Joined: Tue Feb 24, 2004 5:51 am

  • Quote

Post by Genfoo' » Mon Jun 21, 2004 2:35 am

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.
Top
eikketk
Apprentice
Apprentice
User avatar
Posts: 270
Joined: Tue Jun 03, 2003 1:34 pm
Location: Belgium
Contact:
Contact eikketk
Website

  • Quote

Post by eikketk » Mon Jun 21, 2004 6:57 am

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
Top
dkure
n00b
n00b
Posts: 51
Joined: Tue Apr 20, 2004 1:02 pm
Location: Sydney, Australia

  • Quote

Post by dkure » Mon Jun 21, 2004 7:25 am

the newest cvs causes trouble when for me when compiling.

Code: Select all

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
Top
eikketk
Apprentice
Apprentice
User avatar
Posts: 270
Joined: Tue Jun 03, 2003 1:34 pm
Location: Belgium
Contact:
Contact eikketk
Website

  • Quote

Post by eikketk » Mon Jun 21, 2004 7:29 am

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
Top
dkure
n00b
n00b
Posts: 51
Joined: Tue Apr 20, 2004 1:02 pm
Location: Sydney, Australia

  • Quote

Post by dkure » Mon Jun 21, 2004 9:11 am

like so???

Code: Select all

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.
Top
eikketk
Apprentice
Apprentice
User avatar
Posts: 270
Joined: Tue Jun 03, 2003 1:34 pm
Location: Belgium
Contact:
Contact eikketk
Website

  • Quote

Post by eikketk » Mon Jun 21, 2004 9:20 am

dkure wrote:...

Code: Select all

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
Top
dkure
n00b
n00b
Posts: 51
Joined: Tue Apr 20, 2004 1:02 pm
Location: Sydney, Australia

  • Quote

Post by dkure » Mon Jun 21, 2004 12:27 pm

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: Select all

#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
Top
smparrish
n00b
n00b
Posts: 4
Joined: Wed Feb 11, 2004 4:04 am

New ebuilds fail

  • Quote

Post by smparrish » Mon Jun 21, 2004 1:35 pm

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
Top
Genfoo'
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 112
Joined: Tue Feb 24, 2004 5:51 am

  • Quote

Post by Genfoo' » Mon Jun 21, 2004 2:06 pm

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

Thank You!
Top
eikketk
Apprentice
Apprentice
User avatar
Posts: 270
Joined: Tue Jun 03, 2003 1:34 pm
Location: Belgium
Contact:
Contact eikketk
Website

  • Quote

Post by eikketk » Mon Jun 21, 2004 2:31 pm

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: Select all

#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
Top
maj
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Fri Nov 22, 2002 6:27 pm

  • Quote

Post by maj » Mon Jun 21, 2004 8:19 pm

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...
Top
Post Reply

706 posts
  • Page 3 of 29
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 29
  • Next

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic