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 - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 05-20-2010, 01:00 AM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Rep: Reputation: 39
A strange problem using QEMU


I am facing a strange problem during the installation of CentOS using QEMU.
Scenario:
I have to install it on CentOS Virtual Machine on a virtualization server.
IP of server is 192.168.1.6 (Enabled X forwarding)
Ip of my laptop from where I will do an SSH is 192.168.1.20


I am using a wifi connection on LAN to access the server.

I am not using the GUI based installer it is a text based install.

I do an SSH from my ubuntu Laptop to the server where I have to do installation.
Code:
ssh username@192.168.1.6 -X
and then type a command on terminal ( I am logged on to 192.168.1.6)
Code:
qemu-system-x86-64 -hda /root/hd.img -boot -d /dev/cdrom -m 1024
I get a QEMU GUI window open on my laptop.

Now to begin CentOS installation you have to go through a lot of screens which Anaconda installer asks you such as network information package selection etc etc.




If I press a key on Ubuntu laptop (I am accessing the server via SSH from Ubuntu Laptop X Forwarding Enabled)
after some time I see the effect in QEMU screen.
There is some delay and after this delay the effect of pressing the key is as if I
have clicked multiple times.


For example :
Code:
If  I have to enter the set the IP  address of virtual machine as 
192.168.1.2 .
While typing 192.168.1.2
it types
199999999999999999 and then after some time it releases the cursor to
type any thing.This number 9 is not specific it can be any number while typing or any alphabet or alphanumeric character.

Example 2
Code:
Moving ahead in  installation :

If I have to navigate in ncurses based menu 
I have to make a choice of entering time zone


I scroll down (I do not have GUI just text based install on SSH)
by pressing an arrow key once it will randomly go to many positions lower than the desired ones.

Example 3
Code:
During making menu choices in some step like reading a license agreement.
If I choose yes it clicks many times automatically yes and goes back
to previous menu and then comes again to forward menu so back and
forth switching between menus.

Which makes it very difficult to move ahead it has been two hours but
I could not proceed at all with this.


More over the response of pressing any key (like Enter) and its effect on remote machine is coming very slow.

If I am pressing any key stroke from my laptop I have to wait for a long time to get
the response and move to another menu.


Example 4
Code:
Another example a text based ncurses screen where I have to select timezone 
I press down key one time and I see it scrolls down to the complete list and I can never reach the right time zone. If I use a GUI  it is very very slow and have to wait for a very long time
for the response to come.

For example clicking on License agreement you agree yes
to do so it takes a very long time which it is not taking in text mode
but the above problem of seeing the effect multiple times in an
undesired way and slow response is there.
This is not a consistent situation but occurring at irregular
intervals.This has made my work very slow.

Is there any way to get rid of this?

I am doing this on an SSH connection from a Laptop.The target machine is a Dell PowerEdge R710 server using Wifi for this SSH and the machine where I am having QEMU running is having debian lenny as Dom0.

has 8 GB or RAM on it.My laptop has 3 GB of RAM.kqemu is installed on the said Dell server.
How can I get rid of this?

Last edited by tkmsr; 05-20-2010 at 06:04 AM.
 
Old 05-20-2010, 05:20 AM   #2
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Can you please format your post properly and put output/code into the appropriate tags?

Its very difficult to follow your post and what your problem is.
 
Old 05-20-2010, 06:05 AM   #3
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 39
Done on your suggestion.
 
Old 05-20-2010, 07:44 AM   #4
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Quote:
Done on your suggestion.
Thanks

Quote:
Wifi for this SSH and the machine where I am having QEMU running is having debian lenny as Dom0.
The only thing I can think of is perhaps your Wifi is not consistent for your SSH to the machine? When you SSH to the Dom0 machine; typing commands at the terminal - do they also have similar latency?
 
Old 05-20-2010, 08:37 AM   #5
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 39
Quote:
Originally Posted by alli_yas View Post
Thanks :)



The only thing I can think of is perhaps your Wifi is not consistent for your SSH to the machine? When you SSH to the Dom0 machine; typing commands at the terminal - do they also have similar latency?
Yes some times.I have finally been able to install CentOS
on remote server using SSH.
A snapshot is uploaded here
It is loading grub on a remote server.The problem seems to be inconsistent wifi connection only.

Last edited by tkmsr; 05-20-2010 at 08:42 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
On qemu-kvm, qemu-ifup script not found on Slackware 13 AndrewGaven Linux - Virtualization and Cloud 14 01-29-2010 03:36 AM
After qemu-img, qemu is not capable to detect the C drive (empty) frenchn00b Linux - General 3 10-18-2009 05:39 AM
problem of qemu cjzjm100 Linux - Software 1 10-01-2007 10:45 PM
qemu: qemu stopped right after command exec bitpicker Linux - Software 1 03-04-2005 11:25 PM
strange, strange alsa problem: sound is grainy/pixellated? fenderman11111 Linux - Software 1 11-01-2004 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:18 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