[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xen "vga=" console mode set in ubuntu /boot/grub/menu.lst is ignored


  • To: "snowcrash+xen@xxxxxxxxx" <schneecrash+xen@xxxxxxxxx>
  • From: "Ray Barnes" <tical.net@xxxxxxxxx>
  • Date: Mon, 19 May 2008 22:06:06 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 19 May 2008 19:06:38 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=F66IiM7dAgBsONAL5HznPHV55BAcyBnjHQuZkMkmDxUh8iHOoSieDpsjPeyv8NS+cWLaemls+U0g9UNpnzbjosNfwejtLfrbnkFf9VY0+C6dMQwd0zz7gRXswPaz4k2roAq9+PiG9VbO+qn5Dopjr07EZVvqrxUoNillPMfm4Rc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I tried playing with these under a late RC of Xen 3.2.0, i.e. setting my terminal to a static vga mode or a static number of lines (50, 60) and found it to be horribly broken - this on an Asus DSBV-DX board with the XGI video chip.  Nothing seemed to work except a lines setting of 50 or 60 (can't remember which) gave me 30 something lines of text; none of the VGA modes worked properly under the Xen kernel, yet no problem under the CentOS 5.1 supplied kernel.  FYI, the video modes referenced in the kernel's vga.txt document are _not_ supported on a 1 to 1 basis under Xen; look at the source code for supported modes.  If you can't find them, try reasking on xen-devel and I'm sure Kier can spout them off the top of his head.  As far as I could tell at the time, he was the last committer to mess with screen modes.
 
-Ray

 
On 5/17/08, snowcrash+xen@xxxxxxxxx <schneecrash+xen@xxxxxxxxx> wrote:
i've nominal ubuntu 804 installed as a xen 320 Dom0,

       Linux server 2.6.24-16-xen #1 SMP Thu Apr 10 14:35:03 UTC 2008 x86_64 GNU/Linux

i'm trying to setup the console video mode that xen uses, but am
failing to do so.

presuming,

       # VESA video modes (VGA codes):
               640x480 800x600 1024x768 1280x1024 1600x1200 Ask user at boot.
       8 bits  vga=769 vga=771 vga=773  vga=775   vga=796   vga=ask
       16 bits vga=785 vga=788 vga=791  vga=794   vga=798   vga=ask
       32 bits vga=786 vga=789 vga=792  vga=795   vga=799   vga=ask

which seems to be backed up by,

       http://slackware.osuosl.org/slackware-3.3/docs/linux-2.0.30/svga.txt

i edit "/boot/grub/menu.lst" to

       ### BEGIN AUTOMAGIC KERNELS LIST
       ...
       # xenhopt=dom0_mem=512M noirqdebug vga=775
       # xenkopt=max_loop=64 console=tty0 console=ttyS0,115200n8
       ...

then, a subsequent

       update-grub

re-generates "/boot/grub/menu.lst" to contain,

       title       Xen 3.2 / Ubuntu 8.04, kernel 2.6.24-16-xen
       root        (hd0,0)
       kernel      /xen-3.2.gz dom0_mem=512M noirqdebug vga=775
       module      /vmlinuz-2.6.24-16-xen ro
root=/dev/mapper/VG_Dom0-LV_ROOT max_loop=64 console=tty0
console=ttyS0,115200n8
       module      /initrd.img-2.6.24-16-xen

on reboot,  @console Xen begins to dsiplay its output, but stops at

       press <RETURN> to see video modes
       <SPACE> to continue, or wait 30 sec

here i can select any of the offered video modes, and boot continues
in the selected video mode.

or, i can wait 30 sec, and vid mode defaults to 80x25 text, and boot continues.

i just can't get the mode to 'stick' to what i set in menu.lst.

any ideas? something wrong/additional needed in config?

thanks!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.