LinuxQuestions.org
Review your favorite Linux distribution.
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 09-15-2009, 12:23 PM   #1
agentdcooper
Member
 
Registered: Aug 2005
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
QEMU/KVM GUI = AQEMU segmentation fault on slackware64 13.0!


short story: AQEMU (the most excellent QEMU/KVM GUI which is @ version 0.7.3 alpha 2) is ALWAYS segfaulting on me! AQEMU requires that I configure the location of "emulators" = "QEMU/KVM binaries", I suspect is the proper name. NO MATTER WHAT, I always get this error when telling it where the "emulatores" are located. the error may be straight forward, but I dont know how to fix, or what to do... here is there error ::

Code:
AQEMU Warning [60] >>>
Sender: void QEMU_Binary_Window::Set_Emulator( Emulator emul )
Message: QEMU Version NOT Valid! Use Default: 0.9.0

AQEMU Warning [61] >>>
Sender: void QEMU_Binary_Window::Set_Emulator( Emulator emul )
Message: KVM Version NOT Valid! Use Default: 7X
Segmentation fault
the long story *with as many details as I can pack in without being toooo long-winded* (yet some will hate me for this long of a post, please forgive me!): so... I've been doing some documentation of sorts for using virtualbox, kvm & qemu on slackware64 13.0 (and x86, but primarilly slackware64 13.0), if anyone is interested, u can see the page here -- also it explains how I have things setup on my box if someone needs that information in order to help answer my question. for quick reference, hardware-wise: I run an intel Q6600 CPU, 4gigs ram, ASUS nvidia 750i motherboard, nvidia GTX 285, etc...

I got KVM working via the kernel modules that came with my slackware64 "huge-2.6.29.6-smp" kernel, all I have to do is ::
Code:
modprobe kvm
modprobe kvm-intel
modprobe virtio
from there, I downloaded and compiled KVM user-space code like so ::
Code:
git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git
cd qemu-kvm
./configure && make && make install
this in turn put most of my QEMU-KVM binaries (please smack me if I am naming this wrong, I am still VERY new to QEMU and KVM - I come from the world of vmware, in search of the ultimate F/OSS virtualization tools/apps!) into /usr/local/bin - specifically ::
Code:
/usr/local/bin/qemu-img
/usr/local/bin/qemu-io
/usr/local/bin/qemu-nbd
/usr/local/bin/qemu-system-x86_64
so far, so good = I am able to boot-up my win7x64 VM from QEMU-KVM via command-line, by running this command ::
Code:
sudo /usr/local/bin/qemu-system-x86_64 -smp 2 -hda /mnt/sdd9/win7x64vdi/qemu-kvm.qcow2 -m 2048 -soundhw sb16 -localtime
command-line interaction with qemu/kvm is... easy, but I'd love to use a GUI ala virtualbox and/or vmware. so I poked around a little on the `net, and I found this gem = aqemu - and boy is she pretty! I installed aqemu per the README file for AQEMU-0.7.3-alpha2 (yes u read that right, the project is in an alpha state!) ::

Quote:
  1. Extract AQEMU source code.
  2. `cd' to AQEMU directory and `./configure.sh'
  3. type `make'
  4. Enter root mode and `make install'
  5. Installation complete! For start AQEMU type: `aqemu' in shell.
(( of note, I musta told it to install to /usr, instead of /usr/local because AQEMU binary installed to /usr/bin/aqemu, and some other files installed to /usr/share/aqemu ))

my problem boils down to this, I can start AQEMU just fine (as a user, or root) - but I started getting baffled when AQEMU started popping up messages like "Emulators Not Found! Please Add Emulators." ... digging around the internet I found NOTHING (I musta be searching WRONG), so I just started to fool around, and it hit me... I think when AQEMU is asking for "emulators" I am thinking it means it needs to know where the binaries for /usr/local/bin/qemu-system-x86_64 and such reside.

so, I start-up AQEMU => FILE => ADVANCES SETTINGS => the error "Emulators Not Found! Please Add Emulators." pops up ... I click OK ... and I am at the "emulators" configuration page (without configuring this page, AQEMU will NOT allow me to start ANY of my VMs!). Clicking the "FIND ALL EMULATORS" button results in nothing being found

if I start AQEMU from konsole, I can see what it is doing in the background when I click the FIND ALL EMULATORS BUTTON, which is this ::
Code:
AQEMU Debug [23] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/local/bin QEMU Not Found                

AQEMU Debug [24] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/bin QEMU Not Found                      

AQEMU Debug [25] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /bin QEMU Not Found                          

AQEMU Debug [26] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/lib64/java/bin QEMU Not Found           

AQEMU Debug [27] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/lib64/kde4/libexec QEMU Not Found       

AQEMU Debug [28] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /opt/kde3/lib64/qt3/bin QEMU Not Found       

AQEMU Debug [29] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /opt/kde3/bin QEMU Not Found                 

AQEMU Debug [30] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/lib64/qt/bin QEMU Not Found             

AQEMU Debug [31] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/share/texmf/bin QEMU Not Found          

AQEMU Debug [32] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In . QEMU Not Found                             

AQEMU Debug [33] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /sbin QEMU Not Found                         

AQEMU Debug [34] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/sbin QEMU Not Found                     

AQEMU Debug [35] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/local/cuda/bin QEMU Not Found           

AQEMU Debug [36] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/local/sbin QEMU Not Found               

AQEMU Debug [37] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/local/ssl/bin QEMU Not Found            

AQEMU Debug [38] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/local/samba/bin QEMU Not Found          

AQEMU Debug [39] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/local/java/bin QEMU Not Found           

AQEMU Debug [40] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/games QEMU Not Found                    

AQEMU Debug [41] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/local/bin KVM Not Found                 

AQEMU Debug [42] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/bin KVM Not Found                       

AQEMU Debug [43] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /bin KVM Not Found                           

AQEMU Debug [44] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/lib64/java/bin KVM Not Found            

AQEMU Debug [45] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/lib64/kde4/libexec KVM Not Found        

AQEMU Debug [46] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /opt/kde3/lib64/qt3/bin KVM Not Found        

AQEMU Debug [47] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /opt/kde3/bin KVM Not Found                  

AQEMU Debug [48] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/lib64/qt/bin KVM Not Found              

AQEMU Debug [49] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/share/texmf/bin KVM Not Found           

AQEMU Debug [50] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In . KVM Not Found

AQEMU Debug [51] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /sbin KVM Not Found

AQEMU Debug [52] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/sbin KVM Not Found

AQEMU Debug [53] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/local/cuda/bin KVM Not Found

AQEMU Debug [54] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/local/sbin KVM Not Found

AQEMU Debug [55] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/local/ssl/bin KVM Not Found

AQEMU Debug [56] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/local/samba/bin KVM Not Found

AQEMU Debug [57] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/local/java/bin KVM Not Found

AQEMU Debug [58] >>>
Sender: void First_Start_Wizard::on_Button_Find_clicked()
Message: In /usr/games KVM Not Found

AQEMU Debug [59] >>>
Sender: void Advanced_Settings_Window::on_TB_Find_All_Emulators_clicked()
Message: Find Emulators and Save Settings Complete
so I then click "ADD" (while still in the AQEMU => FILE => ADVANCES SETTINGS menu) becuase the auto-magic "FIND ALL EMULATORS" is not working -- even if I create symlinks to the /usr/local/bin/qemu-img, /usr/local/bin/qemu-io, /usr/local/bin/qemu-nbd, and /usr/local/bin/qemu-system-x86_64 files in /usr/bin - or any other directory that is in my $PATH environment variable...
upon clicking ADD, it now seems like I am "getting somewhere", I get this screen (jpeg attached to this post)
Click image for larger version

Name:	3922824299_eab6e7b950.jpg
Views:	56
Size:	77.8 KB
ID:	1504

since I only have qemu-img and qemu-system-x86_64 in that list, I go to tell it where the file resides, and AS SOON AS I CLICK /usr/local/bin/qemu-img or /usr/local/bin/qemu-system-x86_64
AQEMU crashes due to a segmentation fault! no matter what! it always segfaults on me! this is what is being shown when I run AQEMU from Konsole in KDE4 on slackware64 13.0 ::
Code:
AQEMU Warning [60] >>>
Sender: void QEMU_Binary_Window::Set_Emulator( Emulator emul )
Message: QEMU Version NOT Valid! Use Default: 0.9.0

AQEMU Warning [61] >>>
Sender: void QEMU_Binary_Window::Set_Emulator( Emulator emul )
Message: KVM Version NOT Valid! Use Default: 7X
Segmentation fault
can someone tell me how to fix this issue, or what I am doing wrong, or suggest a webpage I can view to give me some clues... anyone? please! help! feel free to suggest a different QEMU/KVM GUI if you have a favorite too!

thanks in advance, I look forward to our correspondence
PS. please forgive the length of this message, it was the best I could do to keep it short (ha!) with giving as much detail as possible... I suck at this part
 
Old 09-15-2009, 01:55 PM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
AQEMU looks like an interesting GUI for QEMU-KVM. I use QEMU-KVM a lot but with command line and startup scripts. I noticed a few links on the Freshmeat project page where they offer 32 bit and 64 bit static (pre-compiled) versions. I'll never install the pre-compiled versions but may create a package either using a SlackBuild approach or with src2pkg if I find some time.
 
Old 09-15-2009, 03:27 PM   #3
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by agentdcooper View Post
can someone tell me how to fix this issue, or what I am doing wrong
You need to enter a Name (e.g. QEMU-KVM) and a valid binary path (e.g. /usr/bin) hit enter to read the path then select QEMU/KVM System that has a populated Binary File Name (e.g. qemu-system-x86_64).

BTW, the src2pkg version-1.9.9 line I used to build the package was:
Code:
src2pkg -VV -c='./configure.sh' -e='--disable-embedded-display' -i='make install' AQEMU-0.7.3-Alpha2.tar.bz2
There is a warning in the README file:
Quote:
!!! ATTENTION READ THIS FIRST !!!

In AQEMU 0.7 added support "Embedded VNC Display".
This is experimental function, many bugs not fixed!
Quote:
For build without support "Embedded VNC Display" run: `./configure.sh --disable-embedded-display'
Good luck!
 
Old 09-16-2009, 05:59 AM   #4
agentdcooper
Member
 
Registered: Aug 2005
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Chuck56 View Post
You need to enter a Name (e.g. QEMU-KVM) and a valid binary path (e.g. /usr/bin) hit enter to read the path then select QEMU/KVM System that has a populated Binary File Name (e.g. qemu-system-x86_64).

BTW, the src2pkg version-1.9.9 line I used to build the package was:
Code:
src2pkg -VV -c='./configure.sh' -e='--disable-embedded-display' -i='make install' AQEMU-0.7.3-Alpha2.tar.bz2
There is a warning in the README file:

Good luck!
ya, I saw that... I will try building it yr way and see what I get! thanks so much for the suggestion!
 
  


Reply

Tags
kvm, qemu, slackware64



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
Qemu (KVM) and Vista. ComputerGreek Linux - Software 53 07-06-2012 12:47 AM
Slackware64-current Segmentation Fault in cryptsetup Ron Parker Slackware 2 08-19-2009 02:04 PM
kvm-qemu snapshot mode. RaptorX Linux - Software 1 08-18-2009 05:00 AM
MySQL GUI tools fail, segmentation fault tisource Linux - Software 1 10-02-2006 11:28 AM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM

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

All times are GMT -5. The time now is 02:10 AM.

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