You are not logged in.

#1 2008-03-05 17:09:16

chaosgeisterchen
Member
From: Kefermarkt, Upper Austria
Registered: 2006-11-20
Posts: 550

cdemu - no connection to dbus

Good afternoon!

I have tried to get cdemu to work, in order to mount a CUE image (as there is no converter from CUE to ISO as far as I know), but I'm stuck with the following error message.

[root@celestary ishina]# cdemu 0 /mnt/cdrom/installer/___.cue
ERROR: Failed to connect to CDEmu daemon: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute dbus-launch to autolaunch D-Bus session
ERROR: Failed to connect to daemon!

cdemud returns the following output

[root@celestary ishina]# cdemud
Starting daemon locally with following parameters:
 - num_devices: 1
 - ctl_device: /dev/vhba_ctl
 - audio_backend: (null)
 - audio_device: (null)
 - system_bus: 0
cdemud: cdemud_daemon_initialize: failed to get session bus!
Daemon initialization failed: Failed to connect to D-BUS bus.

I have conducted some research on the error message. Normally, one should start cdemud with the -s parameter, which is specified in the file /etc/rc.d/cdemud:

cdemud -s -d -n $NUM_DRIVES -c $CTL_DEVICE -a $AUDIO_BACKEND -o $AUDIO_DEVICE &>/dev/null

is the starting command for the daemon - the bus is therefore already set - but still it does not seem to work.

Has anyone got an idea, which problem I could have run into?

Regards,
cg


celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository

Offline

#2 2008-03-05 17:13:32

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: cdemu - no connection to dbus

Shouldn't bin2iso (in community) convert .cue to iso, as it's description states?

Offline

#3 2008-03-05 17:17:34

chaosgeisterchen
Member
From: Kefermarkt, Upper Austria
Registered: 2006-11-20
Posts: 550

Re: cdemu - no connection to dbus

It sure converts .bin files into .iso files, but the image I have do deal with is of the .img format - which the program cannot handle, as it seems.

// EDIT

cdemud is still not working, but ccd2iso did the job and I had no problems dealing with the resulting ISO image.

Last edited by chaosgeisterchen (2008-03-05 17:24:02)


celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository

Offline

#4 2008-03-05 20:34:46

vogets
Member
Registered: 2006-11-25
Posts: 31

Re: cdemu - no connection to dbus

Alternatively, you can use fuseiso ... which can mount various image formats without the burden of converting smile

Offline

#5 2009-07-03 07:30:15

steve_v
Member
Registered: 2006-02-11
Posts: 79

Re: cdemu - no connection to dbus

Rebuild cdemu-daemon
For those using yaourt:

yaourt -Sb cdemu-daemon

should do the trick.

Steve.

Offline

#6 2009-07-13 16:54:51

unrealix
Member
Registered: 2009-07-13
Posts: 2

Re: cdemu - no connection to dbus

I can't build cdemu-daemon from the AUR:
# yaourt -Sb --noconfirm cdemu-daemon
......
cdemud-mmc-features.h:26:1: warning: "LITTLE_ENDIAN_BITFIELD" redefined
In file included from /usr/include/libmirage-1.0/mirage.h:47,
                 from cdemud.h:44,
                 from cdemud-daemon.c:20:
/usr/include/libmirage-1.0/mirage-disc-structures.h:24:1: warning: this is the location of the previous definition
cdemud-daemon.c:33: error: expected specifier-qualifier-list before '__u32'
cdemud-daemon.c:43: error: expected specifier-qualifier-list before '__u32'
cdemud-daemon.c: In function '__cdemud_daemon_io_handler':
cdemud-daemon.c:154: error: 'struct vhba_request' has no member named 'cdb'
cdemud-daemon.c:154: error: 'struct vhba_request' has no member named 'cdb_len'
cdemud-daemon.c:155: error: 'struct vhba_request' has no member named 'cdb_len'
cdemud-daemon.c:156: error: 'struct vhba_request' has no member named 'cdb_len'
cdemud-daemon.c:156: error: 'struct vhba_request' has no member named 'cdb_len'
cdemud-daemon.c:160: error: 'struct vhba_request' has no member named 'data_len'
cdemud-daemon.c:166: error: 'struct vhba_response' has no member named 'tag'
cdemud-daemon.c:166: error: 'struct vhba_request' has no member named 'tag'
cdemud-daemon.c:167: error: 'struct vhba_response' has no member named 'status'
cdemud-daemon.c:169: error: 'struct vhba_response' has no member named 'data_len'
make[3]: *** [cdemud-daemon.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from cdemud.h:49,
                 from cdemud-audio.c:20:
cdemud-mmc-features.h:26:1: warning: "LITTLE_ENDIAN_BITFIELD" redefined
In file included from /usr/include/libmirage-1.0/mirage.h:47,
                 from cdemud.h:44,
                 from cdemud-audio.c:20:
/usr/include/libmirage-1.0/mirage-disc-structures.h:24:1: warning: this is the location of the previous definition
In file included from cdemud.h:49,
                 from cdemud-device.c:20:
cdemud-mmc-features.h:26:1: warning: "LITTLE_ENDIAN_BITFIELD" redefined
In file included from /usr/include/libmirage-1.0/mirage.h:47,
                 from cdemud.h:44,
                 from cdemud-device.c:20:
/usr/include/libmirage-1.0/mirage-disc-structures.h:24:1: warning: this is the location of the previous definition
make[3]: Leaving directory `/tmp/yaourt-tmp-root/abs-cdemu-daemon/src/cdemu-daemon-1.1.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-root/abs-cdemu-daemon/src/cdemu-daemon-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/abs-cdemu-daemon/src/cdemu-daemon-1.1.0'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build cdemu-daemon package.

If you like this package, please install aurvote
and vote for its inclusion/keeping in [community]

Offline

#7 2010-09-03 07:43:35

Yiguro
Member
Registered: 2010-09-03
Posts: 1

Re: cdemu - no connection to dbus

I've seen a very complete guide for fedora 13. It should not be very different to compile in arch:

http://www.linuxquestions.org/questions … ost4086165

Offline

#8 2010-09-03 09:20:32

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: cdemu - no connection to dbus

Cdemu is in [community] these days, no need to reopen a year-old topic with compilation tips.

Closed.


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB