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

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "snowcrash+xen@xxxxxxxxx" <schneecrash+xen@xxxxxxxxx>
  • Date: Tue, 20 May 2008 07:10:06 -0700
  • Cc: tical.net@xxxxxxxxx, keir.fraser@xxxxxxxxxxxxx
  • Delivery-date: Tue, 20 May 2008 07:10:34 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=jA//owioqrFcxp/fvw5T3D/nssp+Uh52XdYVAET1/DGEJLohc1l544Ns98gauE5oMxyndt7w5wPEh6OFUZyFNk8FopZKim+UPnleemlupavNof/i+K6n5dSQ9eUpX/KMfG9MfzS0P63C3CqSNMsOvjKcvX2f4PDYDra5Lgja1g0=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

        On Tue, May 20, 2008 at 6:55 AM, Keir Fraser 
<keir.fraser@xxxxxxxxxxxxx> wrote:
        > Hey, I'm not on xen-users. Please post a new thread on xen-devel with 
a
        > clear explanation of the problem for those who haven't seen the 
xen-users
        > context.

ok.  $$$ sez i get barked at for cross-posting ;-)


> 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?


On Mon, May 19, 2008 at 7:06 PM, Ray Barnes <tical.net@xxxxxxxxx> wrote:
> 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.


On Tue, May 20, 2008 at 6:39 AM, snowcrash+xen@xxxxxxxxx
<schneecrash+xen@xxxxxxxxx> wrote:
> ray,
>
>> none of the VGA modes worked properly under the Xen kernel, yet no problem
>> under the CentOS 5.1 supplied kernel.
>
> testing, i can also now reproduce the problem on an opensuse 11-beta3 install.
>
> but, as you've found, on a vanilla centos51 install, no issues (at
> least not with the VGA modes ...)
>
> so, looks like something in xen 32x's changed ...
>
>> 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
>
> rather than move this thread, i'll keep it here, and copy him.
>
> thanks for the heads-up!

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


 


Rackspace

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