snowcrash+xen@gmail.com
2008-May-17 22:38 UTC
[Xen-users] xen "vga=" console mode set in ubuntu /boot/grub/menu.lst is ignored
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@lists.xensource.com http://lists.xensource.com/xen-users
Ray Barnes
2008-May-20 02:06 UTC
Re: [Xen-users] xen "vga=" console mode set in ubuntu /boot/grub/menu.lst is ignored
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@gmail.com <snowcrash%2Bxen@gmail.com> < schneecrash+xen@gmail.com <schneecrash%2Bxen@gmail.com>> 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
snowcrash+xen@gmail.com
2008-May-20 13:39 UTC
Re: [Xen-users] xen "vga=" console mode set in ubuntu /boot/grub/menu.lst is ignored
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 modesrather than move this thread, i''ll keep it here, and copy him. thanks for the heads-up! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keir Fraser
2008-May-20 13:55 UTC
Re: [Xen-users] xen "vga=" console mode set in ubuntu /boot/grub/menu.lst is ignored
On 20/5/08 14:39, "snowcrash+xen@gmail.com" <schneecrash+xen@gmail.com> wrote:>> 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!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. Cheers, Keir _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
snowcrash+xen@gmail.com
2008-May-20 14:11 UTC
Re: [Xen-users] xen "vga=" console mode set in ubuntu /boot/grub/menu.lst is ignored
On Tue, May 20, 2008 at 6:55 AM, Keir Fraser <keir.fraser@eu.citrix.com> 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.done. ''over there'', now ... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users