LinuxQuestions.org
Review your favorite Linux distribution.
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 09-13-2012, 04:04 PM   #1
linux_user_123
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Rep: Reputation: 0
qemu virsh serial console stuck at 80x25


Any suggestions on how to get my vm guest serial console to be the same size as the xterm I login from would be appreciated. Details below. Thanks in advance.

I have a Debian 6 x86_64 host running a Debian 6 i686 guest created using virt-install. All is working fine except the serial console. It seems to be stuck at vt100/80column/25line/noscroll. I created/used many vm guests with vnc console before. This is my first time using a serial console.

After the guest is booted, I login to the guest as root using the guest console with "virsh console testvm" from an "xterm -g 99x66 -sl 10000 -sb" on the host. Commands like "ps -elf" are cut off at 80 columns but will using all 66 lines. Commands like "ps -elf | grep ." will using all 99 columns. Curses based applications such as vim do some type of term reset and only use 80x25.

/etc/inittab:
T0:23:respawn:/sbin/getty -L ttyS0 38400 linux

/etc/default/grub:
GRUB_SERIAL_COMMAND=serial
GRUB_TERMINAL_INPUT=serial
GRUB_TERMINAL_OUTPUT=serial
GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0,38400"

testvm% stty -a >> rows=0,columns=0
testvm (bash)% set >> LINES=24 COLUMNS=80 TERM=linux

If I manually set LINES/COLUMNS and export them, still no change.
Same results with csh.
Same results at the grub prompt (help uses 80x66, but menu uses 80x25).
Same results with i686 host and x86_64 guest (all debian 6).
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
qemu/kvm virsh networking help zoran119 Linux - Virtualization and Cloud 2 12-02-2010 01:43 AM
Serial console always stuck after EXT3-FS error zman2245 Linux - Server 3 10-20-2009 02:42 AM
emulate slackware install over serial console using kvm/qemu [GOD]Anck Slackware 5 04-05-2009 03:31 AM
serial console - working, then "stuck" output and can't login srfeo Linux - General 0 03-29-2007 04:45 AM
How can I force 2.6.14 kernel to use 80x25 textmode in console? rylan76 Linux - Newbie 3 11-26-2005 03:24 PM


All times are GMT -5. The time now is 12:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration