Results 1 to 6 of 6

Thread: CDemu, How do I...

  1. #1

    Question CDemu, How do I...

    I am new to both openSUSE and have never used CDemu before. What I am trying to do is get it to auto start and mount a cue image. I can't seem to get it to work.

    I have installed the CDemu and the vhba packages. However I can't seem to figure out how to make it work. I would appreciate any help any one can provide.

    Thanks.

    trying to run cdemu-daemon (as user then root) I get the following:

    krj@KJ-ts:~> cdemu-daemon
    Starting CDEmu daemon with following parameters:
    - num devices: 1
    - ctl device: /dev/vhba_ctl
    - audio driver: null
    - bus type: session


    cdemu0: Kernel I/O: failed to open control device /dev/vhba_ctl: Permission denied!
    cdemu: Daemon: failed to start device #0!
    cdemu: Daemon: failed to create device!
    Daemon initialization and start failed!
    krj@KJ-ts:~> su
    Password:
    KJ-ts:/home/krj # cdemu-daemon
    Starting CDEmu daemon with following parameters:
    - num devices: 1
    - ctl device: /dev/vhba_ctl
    - audio driver: null
    - bus type: session


    cdemu: Daemon: D-Bus: failed to get proxy for 'org.freedesktop.DBus' on session bus: The connection is closed!
    Daemon initialization and start failed!

  2. #2

    Lightbulb Re: CDemu, How do I...

    Okay I figured out how to get a image mounted. I changed the permissions on /dev/vhba_ctl to everyone having full access(I doubt this is a good idea but it works). It is original permissions are just set for root to have access. It now lets users mount and unmount images. I will play around with the rest in the morning and see what else I can figure out.

  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,703

    Default Re: CDemu, How do I...

    not a good idea mount it with the proper permissions

    Also /dev is a virtual file system so I don't believe changes will survive a boot

  4. #4

    Default Re: CDemu, How do I...

    I don't speaking english! please forgive me...^^

    Missing the rules file and module load file.
    # sudo vi /etc/udev/rules.d/60-vhba.rules
    KERNEL=="vhba_ctl", NAME="%k", MODE="0666", OWNER="root", GROUP="users"
    # sudo vi /etc/modules-load.d/vhba.conf
    vhba
    # sudo /sbin/reboot

    After reboot and possible mount...!

  5. #5

    Wink Re: CDemu, How do I...

    Quote Originally Posted by gogalthorp View Post
    not a good idea mount it with the proper permissions

    Also /dev is a virtual file system so I don't believe changes will survive a boot
    No, they shouldn't & didn't but it help me find the issue. I had to point it out dirtiness of my test b/c there is always somebody who will point it out.

    Quote Originally Posted by workman729 View Post
    I don't speaking english! please forgive me...^^

    Missing the rules file and module load file.
    # sudo vi /etc/udev/rules.d/60-vhba.rules
    KERNEL=="vhba_ctl", NAME="%k", MODE="0666", OWNER="root", GROUP="users"
    # sudo vi /etc/modules-load.d/vhba.conf
    vhba
    # sudo /sbin/reboot

    After reboot and possible mount...!
    Workman you are right those two files where missing. I created a separate group for this(no need just wanted to). Everything works now. Thanks for the help.

  6. #6

    Default Re: CDemu, How do I...

    After I have the problem that daemon can't start I install

    vhba packages
    and create the files that you said are missing, just restart and is working.

    Thanks

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •