help adding extended text modes in Hypervisor
I am trying to get the hypervisor to run in an extended text modes, specifically 132x44 text mode. I don't really know much about setting video modes so there may be something inherently broken with my approach. I have done some Linux device drivers programming and a little assembler but am probably out of my depth. I have tried putting the correct VGA register settings (taken after booting into 132x44 text mode vga=0x133 in regular Linux) for this mode into
xen-2.0/xen/drivers/char/console.c
static void init_vga(void)
{
...
static unsigned char regs[]
and setting the #define COLUMNS,LINES
This failed resulted in the monitor switching off at boot, though it did still boot.
I also looked into using the Linux video initialization routine in (line 110 linux/arch/i386/boot/video.S). Firstly in (xen-2.0/xen/arch/x86/boot/x86_32.S) but this doesn't look like the write place.
I guess video.S corresponds to the init_vga function (xen-2.0/xen/drivers/char/console.c) the Xen Hypervisor. In (line 398 linux/arch/i386/boot/setup.S) where the video routine is called the comment states that %ds must be pointing to the bootsector, what is this for? how would you do this? Near the end setup.S the video.S is included and at the end a comment "after this point there is some free space which is used by by the video mode handling code". Is this what the %ds is being used for?
Any help or advice would be appreciated.
Edward Middleton
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
Quoted 7 lines
I am trying to get the hypervisor to run in an extended text modes, specifically 132x44 text mode. I don't really know much about setting video modes so there may be something inherently broken with my approach. I have done some Linux device drivers programming and a little assembler but am probably out of my depth. I have tried putting the correct VGA register settings (taken after booting into 132x44 text mode vga=0x133 in regular Linux) for this mode into
Feel free to say 'yes', but is it really worth the effort?
When dom0 takes over the VGA console (which is the default mode of operation) you can arrange to put it into whatever mode you like; you just won't get the initial boot messages from Xen in the extended text mode.
ian
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
Quoted 9 lines · Ian Pratt
Quoted 9 lines
I am trying to get the hypervisor to run in an extended text modes, specifically 132x44 text mode. I don't really know much about setting video modes so there may be something inherently broken with my approach. I have done some Linux device drivers programming and a little assembler but am probably out of my depth. I have tried putting the correct VGA register settings (taken after booting into 132x44 text mode vga=0x133 in regular Linux) for this mode into
Quoted 3 lines
Feel free to say 'yes', but is it really worth the effort?
Ultimately it would be good being able to see most of the boot messages while booting. I guess it really depends on whether its possible to get video.S to work (allow the same mode selection as Linux) with a simple hack or weather it is much more involved.
Quoted 6 lines
When dom0 takes over the VGA console (which is the default mode of operation) you can arrange to put it into whatever mode you like; you just won't get the initial boot messages from Xen in the extended text mode.
I was looking at modifying the hypervisor because I couldn't get this to work and couldn't find a specific reference stating it was possible. I have the following lines in grub and it doesn't set the video mode
title Xen 2.0 / XenLinux 2.6.9
root (hd0,0)
kernel /boot/xen.gz dom0_mem=131072 console=vga module /boot/vmlinuz-2.6.9-xen0 root=/dev/sda6 vga=0x133
I have tried various permutations of this with no success.
Thanks
Edward
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
Quoted 9 lines
Edward> I am trying to get the hypervisor to run in an extended text modes,
Ian> When dom0 takes over the VGA console (which is the default mode
Quoted 3 lines
of operation) you can arrange to put it into whatever mode you like; you just won't get the initial boot messages from Xen in the extended text mode.
I was looking at modifying the hypervisor because I couldn't get this to work and couldn't find a specific reference stating it was possible.
I too, have failed to set any vga mode for any Xen installation. Could the developers confirm 1 more time that it "works for them" (if indeed) and we can try to characterize the bug more.
Quoted 1 line
module
/boot/vmlinuz-2.6.9-xen0root=/dev/sda6 vga=0x133
I too have tried various vga variants without any success.
Signature · 8 lines
Jared Rhine <[email protected]> ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
VGA extended text mode on XenCD not functional
[Jared == [email protected] on Sun, 02 Jan 2005 06:20:21 -0800]
Edward> I am trying to get the hypervisor to run in an extended text Edward> modes,
Ian> When dom0 takes over the VGA console (which is the default mode Ian> of operation) you can arrange to put it into whatever mode you Ian> like; you just won't get the initial boot messages from Xen in Ian> the extended text mode.
Edward> I was looking at modifying the hypervisor because I couldn't Edward> get this to work and couldn't find a specific reference Edward> stating it was possible.
Jared> I too, have failed to set any vga mode for any Xen Jared> installation. Could the developers confirm 1 more time that Jared> it "works for them" (if indeed) and we can try to Jared> characterize the bug more.
Perhaps this is a dead issue, but I put an example 'vga=791' configuration onto the XenCD boot menu, which as far as I can tell here, does not function as Ian describes. I'd love to get this feature working.
"Tiger gotta hunt. Bird gotta fly.
Man gotta sit and wonder why, why, why.
Tiger gotta sleep. Bird gotta land.
Man gotta tell himself he understand." -- Kurt Vonnegut Jr.
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
VGA extended text modes
Edward> I am trying to get the hypervisor to run in an extended text Edward> modes,
Ian> When dom0 takes over the VGA console (which is the default mode Ian> of operation) you can arrange to put it into whatever mode you Ian> like; you just won't get the initial boot messages from Xen in Ian> the extended text mode.
Edward> I was looking at modifying the hypervisor because I couldn't Edward> get this to work and couldn't find a specific reference Edward> stating it was possible.
Jared> I too, have failed to set any vga mode for any Xen Jared> installation. Could the developers confirm 1 more time that Jared> it "works for them" (if indeed) and we can try to Jared> characterize the bug more.
Apologies for following up to this thread for the third time, but near as I can tell, this is an open issue.
Can anyone (developers especially) confirm or deny operation of extended VGA modes in dom0?
XenCD comes with a handy boot menu item to serve as a repeatable test case :)
War is God's way of teaching Americans geography. -Ambrose Bierce
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Re: VGA extended text modes
I can't speak for anyone else but I know that at one time (about 2-3 weeks ago) a vga=ask allowed me to get into 80x60 mode under xen0 - ultimately I swapped over to running intelfb in 1280x1024 but I know that at least on my equipment (and my kernels) both of these work as per usual.
B.
Quoted 31 lines · Jared Rhine
Edward> I am trying to get the hypervisor to run in an extended text Edward> modes,
Ian> When dom0 takes over the VGA console (which is the default mode Ian> of operation) you can arrange to put it into whatever mode you Ian> like; you just won't get the initial boot messages from Xen in Ian> the extended text mode.
Edward> I was looking at modifying the hypervisor because I couldn't Edward> get this to work and couldn't find a specific reference Edward> stating it was possible.
Jared> I too, have failed to set any vga mode for any Xen Jared> installation. Could the developers confirm 1 more time that Jared> it "works for them" (if indeed) and we can try to Jared> characterize the bug more.
Apologies for following up to this thread for the third time, but near as I can tell, this is an open issue.
Can anyone (developers especially) confirm or deny operation of extended VGA modes in dom0?
XenCD comes with a handy boot menu item to serve as a repeatable test case :)
War is God's way of teaching Americans geography. -Ambrose Bierce
Quoted 10 lines
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 9 lines · Ian Pratt
Quoted 7 lines
I am trying to get the hypervisor to run in an extended text modes, specifically 132x44 text mode. I don't really know much about setting video modes so there may be something inherently broken with my approach. I have done some Linux device drivers programming and a little assembler but am probably out of my depth. I have tried putting the correct VGA register settings (taken after booting into 132x44 text mode vga=0x133 in regular Linux) for this mode into
Quoted 6 lines
Feel free to say 'yes', but is it really worth the effort?
When dom0 takes over the VGA console (which is the default mode of operation) you can arrange to put it into whatever mode you like; you just won't get the initial boot messages from Xen in the extended text mode.
Is there something like dmesg for xen?
Regards,
Luciano Rocha
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
Quoted 1 line · Luciano Miguel Ferreira Rocha
Is there something like dmesg for xen?
'xm dmesg' will show the Xen hypervisor's queued log messages.
Signature · 8 lines
Derrik Pates [email protected] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/