Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-25-2009, 09:28 AM   #1
Registered: Aug 2009
Location: USA
Posts: 141

Rep: Reputation: 26
qemu group permission through udev rules for /dev/kqemu for slackware64 13.0 - how?

I have to manually set the group permission for /dev/kqemu by doing:
# chown root:qemu /dev/kqemu

I thought udev file would do the above for me automatically.

all my steps for slackware64 13.0:
1. I did SlackBuilds for qemu and kqemu, these were gotten from
2. manually created file and edited /etc/udev/rules.d/50-kqemu-rules to contain
KERNEL=="kqemu", NAME="%k", MODE="0660", GROUP="qemu"
3. at the bottom of file /etc/rc.d/rc.modules, added
/sbin/modprobe kqemu major=0
4. created "qemu" group and added my user to "qemu" group
# groupadd qemu
# gpasswd -a myuser qemu
5. reboot

/dev/kqemu still comes up wrong
# ls -l /dev/kqemu
crw-rw---- 1 root root 10, 57 2009-09-25 09:59 /dev/kqemu

Is something wrong with my udev file or how I created it?

note: after manually changing group ownership for /dev/kqemu to "qemu", I can run qemu fine.

Last edited by btncix; 09-25-2009 at 09:43 AM.
Old 09-28-2009, 12:33 AM   #2
Registered: Aug 2009
Location: USA
Posts: 141

Original Poster
Rep: Reputation: 26
Well, I got it to work, but don't know why it worked.

I renamed the udev riles file to another name.
# mv /etc/udev/rules.d/50-kqemu-rules /etc/udev/rules.d/10-local.rules

bash-3.1$ ls -l /dev/kqemu
crw-rw---- 1 root qemu 10, 57 2009-09-28 01:24 /dev/kqemu

I assume it's somehow related to this:
Files in /etc/udev/rules.d/ are parsed in lexical order, and in some circumstances, the order in which rules are parsed is important.

Last edited by btncix; 09-28-2009 at 12:34 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem with kqemu in slackware64-current since kernel niels.horn Slackware 3 06-20-2009 04:27 PM
SLES 10 and QEMU/KQEMU J-Man SUSE / openSUSE 2 12-23-2008 09:41 PM
Kernel-kqemu installed, /dev/kqemu not found Pikidalto Linux - Software 0 05-10-2008 06:34 AM
Qemu error and kqemu not enabled flebber Linux - Software 3 10-22-2007 06:57 AM
Qemu with KQemu cormack Linux - Software 12 04-05-2006 08:43 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration