You are not logged in.

#1 2017-03-22 19:11:20

quellen
Member
Registered: 2014-05-24
Posts: 206

[Solved] CDEMU doesn't work

hi:

$ sudo cdemu load 0 tits.cue 
ERROR: Failed to connect to CDEmu daemon: g-spawn-exit-error-quark: Error spawning command line 'dbus-launch --autolaunch=3718fbedc74e4dc6a42fcb2252bc6a6f --binary-syntax --close-stderr': Child process exited with code 1 (1)
$ sudo systemctl status cdemu-daemon.service
● cdemu-daemon.service - CDEmu Daemon
   Loaded: loaded (/usr/lib/systemd/system/cdemu-daemon.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2017-03-22 20:09:29 CET; 2min 4s ago
  Process: 14857 ExecStart=/usr/lib/cdemu-daemon/cdemu-daemon-system.sh (code=exited, status=255)
 Main PID: 14857 (code=exited, status=255)

mar 22 20:09:29 localhost systemd[1]: Starting CDEmu Daemon...
mar 22 20:09:29 localhost systemd[1]: cdemu-daemon.service: Main process exited, code=exited, status=255/n/a
mar 22 20:09:29 localhost systemd[1]: Failed to start CDEmu Daemon.
mar 22 20:09:29 localhost systemd[1]: cdemu-daemon.service: Unit entered failed state.
mar 22 20:09:29 localhost systemd[1]: cdemu-daemon.service: Failed with result 'exit-code'.
$ sudo modprobe sg
modprobe: FATAL: Module sg not found in directory /lib/modules/4.9.8-1-ARCH
$ sudo modprobe sr_mod
modprobe: FATAL: Module sr_mod not found in directory /lib/modules/4.9.8-1-ARCH

Last edited by quellen (2017-03-28 21:30:46)

Offline

#2 2017-03-22 19:29:13

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,239

Re: [Solved] CDEMU doesn't work

What are the outputs of...

uname -a
pacman -Qi linux

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-03-22 19:39:18

progandy
Member
Registered: 2012-05-17
Posts: 4,874

Re: [Solved] CDEMU doesn't work

Did you update your kernel without a reboot? If uname -r is different from the version of your kernel package, you need to reboot to be able to load new modules.

By the way, I have an alias I use to quickly check that.

Last edited by progandy (2017-03-22 19:44:54)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#4 2017-03-22 22:49:19

quellen
Member
Registered: 2014-05-24
Posts: 206

Re: [Solved] CDEMU doesn't work

$ uname -r
4.10.4-1-ARCH
$ pacman -Qi linux
Name            : linux
Version         : 4.10.4-1
Description     : The Linux kernel and modules
Architecture    : x86_64
URL             : https://www.kernel.org/
Licenses        : GPL2
Groups          : base
Provides        : None
Depends On      : coreutils  linux-firmware  kmod  mkinitcpio>=0.7
Optional Deps   : crda: to set the correct wireless channels of your country
Required By     : vhba-module  virtualbox-guest-modules-arch
                  virtualbox-host-modules-arch
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 79.90 MiB
Packager        : Tobias Powalowski <tpowa@archlinux.org>
Build Date      : Sat Mar 18 19:40:56 2017
Install Date    : Wed Mar 22 20:05:42 2017
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

after reboot:

$ sudo systemctl status cdemu-daemon.service
● cdemu-daemon.service - CDEmu Daemon
   Loaded: loaded (/usr/lib/systemd/system/cdemu-daemon.service; disabled; vendo
   Active: active (running) since Wed 2017-03-22 23:48:05 CET; 7s ago
 Main PID: 4405 (cdemu-daemon)
    Tasks: 5 (limit: 4915)
   CGroup: /system.slice/cdemu-daemon.service
           └─4405 cdemu-daemon --ctl-device=/dev/vhba_ctl --bus=system --num-dev

Mar 22 23:48:05 localhost systemd[1]: Starting CDEmu Daemon...
Mar 22 23:48:05 localhost systemd[1]: Started CDEmu Daemon.
$ sudo cdemu load 0 Tomb\ Raider\ \(USA\)\ \(v1.6\).cue 
ERROR: Failed to connect to CDEmu daemon: g-spawn-exit-error-quark: Error spawning command line 'dbus-launch --autolaunch=3718fbedc74e4dc6a42fcb2252bc6a6f --binary-syntax --close-stderr': Child process exited with code 1 (1)

Last edited by quellen (2017-03-22 22:49:48)

Offline

#5 2017-03-23 07:49:53

seth
Member
Registered: 2012-09-03
Posts: 28,810

Re: [Solved] CDEMU doesn't work

don't sudo the cdemu command ...

Offline

#6 2017-03-28 21:30:33

quellen
Member
Registered: 2014-05-24
Posts: 206

Re: [Solved] CDEMU doesn't work

seth wrote:

don't sudo the cdemu command ...

ops!...SOLVED, thanks.

Offline

Board footer

Powered by FluxBB