LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-05-2014, 03:17 PM   #1
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Rep: Reputation: 0
Unable to start Qemu: Permission denied


I'm receiving an error when trying to use Aqemu with qemu and KVM. For some reason it won't let me start it. Thoughts?
 
Old 06-05-2014, 04:27 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
Aqemu with qemu and KVM.
Agemu looks really interesting, thanks for pointing it out to me.
Quote:
I'm receiving an error when trying to use
If you can tell me what the error is, I'll be happy to try to help you.
 
Old 06-05-2014, 06:16 PM   #3
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Error #1
Could not access KVM kernel module: Permission denied failed to initialize KVM: Permission denied
 
Old 06-05-2014, 06:37 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Load the kvm module before starting aqemu. for instance I have this in /etc/rc.d/rc.local:
Code:
modprobe kvm-intel
Of course for an AMD CPU the command would be:
Code:
modprobe kvm-amd

Last edited by Didier Spaier; 06-05-2014 at 06:40 PM.
 
Old 06-05-2014, 06:42 PM   #5
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Still showing same error.
 
Old 06-05-2014, 06:43 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
What command did you type?

PS If you just included it in /etc/rc.d/rc.local it will be run only at next boot. Then type it in a terminal before starting aqemu.

Last edited by Didier Spaier; 06-05-2014 at 06:46 PM.
 
Old 06-05-2014, 06:46 PM   #7
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
well, both.
 
Old 06-05-2014, 06:46 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
What gives "lsmod|grep kvm" ?

In any case you should only type one command, that is relevant for your CPU (uname -a will tell you if it's Intel or AMD)

Last edited by Didier Spaier; 06-05-2014 at 06:48 PM.
 
Old 06-05-2014, 06:48 PM   #9
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
bash-4.2$ lsmod|grep kvm
kvm_amd 50191 0
kvm 363491 1 kvm_amd
 
Old 06-05-2014, 06:49 PM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Please post output of "uname -a".
 
Old 06-05-2014, 06:50 PM   #11
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Linux host 3.10.17 #1 SMP Wed Oct 23 16:28:33 CDT 2013 x86_64 AMD Phenom(tm) II X4 965 Processor AuthenticAMD GNU/Linux
 
Old 06-05-2014, 06:52 PM   #12
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
So, that should be the good module. Try opening a new terminal and type aqemu in it.
 
Old 06-05-2014, 06:54 PM   #13
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Tried to start machine and posted the same error.
 
Old 06-05-2014, 07:01 PM   #14
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
So, sorry, no more clue for tonight.
 
Old 06-05-2014, 08:00 PM   #15
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
This may sound stupid... but did you install qemu or just aqemu...?

I've just used qemu and kick it off with a command line script... but aqemu does not include qemu.. which it needs.

Everything else seems good tho from what I read above.
 
  


Reply



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] Slackware64 14.0 and aqemu/qemu: KVM module: permission denied Totoro-kun Slackware 1 10-01-2012 05:41 AM
Unable to set time : Permission denied dipuasks Linux - General 7 04-10-2010 05:10 PM
Unable to run program, Permission denied smartgupta Solaris / OpenSolaris 3 08-11-2009 01:49 AM
make execvp : /home/taowuwen/openmoko/qemu-neo1973/texi2pod.pl: permission denied twwwater Ubuntu 0 01-07-2009 11:55 AM
/etc/init.d/apache2 start ---> permission denied david008 Linux - Newbie 4 11-12-2008 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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