From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Chris Marusich <cmmarusich@gmail.com>,
Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Packaging CDEmu and VHBA kernel module
Date: Sun, 14 Apr 2019 19:13:33 +0200 [thread overview]
Message-ID: <87wojwa4si.fsf@ambrevar.xyz> (raw)
In-Reply-To: <87tvghfcmi.fsf@ambrevar.xyz>
[-- Attachment #1: Type: text/plain, Size: 1594 bytes --]
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).
(udev-rule
"69-cdemu-vhba.rules"
(string-append "KERNEL==\"vhba_ctl\", SUBSYSTEM==\"misc\", TAG+=\"uaccess\"")))
- cdemu load 0 /path/to/image/file
- cdemu status
--8<---------------cut here---------------start------------->8---
Devices' status:
DEV LOADED FILENAME
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' [3859]
[ 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?
Cheers!
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2019-04-14 17:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-12 22:48 Packaging CDEmu and VHBA kernel module Pierre Neidhardt
2019-02-14 10:34 ` Chris Marusich
2019-03-05 17:35 ` Pierre Neidhardt
2019-04-14 17:13 ` Pierre Neidhardt [this message]
2019-04-14 17:23 ` Danny Milosavljevic
2019-04-14 17:24 ` Pierre Neidhardt
2019-04-14 17:28 ` Pierre Neidhardt
2019-04-14 17:31 ` Danny Milosavljevic
2019-04-14 17:57 ` Tobias Geerinckx-Rice
2019-04-14 17:39 ` Tobias Geerinckx-Rice
2019-06-23 3:06 ` Chris Marusich
2019-06-23 6:39 ` Pierre Neidhardt
2019-06-23 6:40 ` Pierre Neidhardt
2019-06-24 13:04 ` Danny Milosavljevic
2019-06-23 22:03 ` Chris Marusich
2019-06-24 7:52 ` Pierre Neidhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wojwa4si.fsf@ambrevar.xyz \
--to=mail@ambrevar.xyz \
--cc=cmmarusich@gmail.com \
--cc=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.