[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packaging CDEmu and VHBA kernel module

From: Pierre Neidhardt
Subject: Re: Packaging CDEmu and VHBA kernel module
Date: Sun, 14 Apr 2019 19:13:33 +0200

I've merged the patch, cdemu-daemon and cdemu are now on master.
Big thanks to Danny for integration the new make-linux-module.

This is not the end though :p
At the moment, CDEmu is a bit of a hassle to use:

- insmod vhba.ko
- Add the following udev rule to your Guix system config so that non-root can 
use it:

(define %cdemu-vhba-udev-rule
 ;; For the "uaccess" tag to be applied properly, the rule must be executed
 ;; before the uaccess rule
 ;; (/run/current-system/profile/lib/udev/rules.d/70-uaccess.rules).
   (string-append "KERNEL==\"vhba_ctl\", SUBSYSTEM==\"misc\", 

- cdemu load 0 /path/to/image/file
- cdemu status

--8<---------------cut here---------------start------------->8---
Devices' status:
0     True       /path/to/image/file
--8<---------------cut here---------------end--------------->8---

Great success!

Now somehow I can't mount this drive.

$ sudo mount /dev/sr0 /mnt

hangs indefinitely.

dmesg gives me a lot of

--8<---------------cut here---------------start------------->8---
[ 2098.573872] udevd[3858]: timeout: killing 'cdrom_id --lock-media /dev/sr0' 
[ 2098.573882] udevd[3858]: slow: 'cdrom_id --lock-media /dev/sr0' [3859]
--8<---------------cut here---------------end--------------->8---

Not sure what's happening.  Can anyone reproduce?

Could we configure a service that automatically inserts the kernel
module and sets up the right udev rule?  Danny?


Pierre Neidhardt

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]