Menu

#134 cdemu-daemon stuck on Debian 12

open
nobody
None
unassigned
default
2024-05-19
2023-08-29
No

I'm trying to get cdemu working on a freshly installed MX Linux 23, which is based on Debian Bookworm.

I followed the instructions to create the DEB files from the tarballs (all version 3.2.6, except cdemu-client 3.2.5) with dpkg-buildpackage, and managed to create all DEBs after installing all dependencies.

I installed the DEBs (vhba-dkms, libmirage11, libmirage11-dev, gir1.2-mirage-3.2, cdemu-daemon, cdemu-client and gcdemu) without problems.

But then the gcdemu pops up at bootup with "Daemon autostart failed.Error: g-io-error-quark:Error calling StartServiceByName for net.sf.cdemu.CDEmuDaemon: Timeout was reached."

When I manually start cdemu-daemon, it gets stuck forever:


$ cdemu-daemon
Starting CDEmu daemon with following parameters:
- config file: (null) (exists: 0)
- num devices: 1
- control device: /dev/vhba_ctl
- audio driver: null
- bus type: session
- default CDEmu debug mask: 0x0
- default libMirage debug mask: 0x0

Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)


I also tried alternatively the DEBs from deb-multimedia.org and even from the Ubuntu PPA, but the result is always the same.

What am I missing here to make cdemu run smoothly on my system?

Discussion

  • Rok Mandeljc

    Rok Mandeljc - 2023-08-30

    The auto-start scripts provided with cdemu-daemon (>= 3.2.5) are written for systemd-based systems. If you want to use auto-start on a system that does not use systemd (such as MX Linux; at least the XFCE spin), you will have to set it up yourself. See https://sourceforge.net/p/cdemu/code/ci/27bfe4b1368fec8557c5ae34e47d40a207dc1188/

    When you ran the daemon manually, what makes you think it was stuck? It is running in the foreground, and because it is a daemon, it is running forever...

    Either way, auto-start works as expected on Debian 12 Bookworm (which has systemd), and on MX 23, running the daemon manually in terminal and loading the image via cdemu-client from another terminal also seems to work as expected.

     
    • Andreas Meissner

      Thanks for the quick response.

      I retried everything from scratch and can confirm that it works when cdemu-daemon is started manually.
      Then also gcdemu is able to detect and use the daemon.
      Don't know why this was not the case yesterday on my initial attempt, when gcdemu wasn't able to setup a virtual drive and also cdemu-client got stuck at a load operation.

      Also thanks for the hint on the commit that changed the autostart scripts.

      Sorry for the noise!

       
  • sid

    sid - 2024-05-19

    cdemu is currently being packaged for Debian Unstable / Testing.

    Refer https://sourceforge.net/p/cdemu/bugs/133/#acfc

     

Log in to post a comment.

MongoDB Logo MongoDB