All of lore.kernel.org
 help / color / mirror / Atom feed
* help adding extended text modes in Hypervisor
@ 2004-12-16  2:53 Edward Middleton
  2004-12-16  3:10 ` Ian Pratt
  0 siblings, 1 reply; 11+ messages in thread
From: Edward Middleton @ 2004-12-16  2:53 UTC (permalink / raw)
  To: xen-devel

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/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: VGA extended text modes
@ 2005-02-26 21:20 Ian Pratt
  2005-02-28 17:25 ` Gerd Knorr
  0 siblings, 1 reply; 11+ messages in thread
From: Ian Pratt @ 2005-02-26 21:20 UTC (permalink / raw)
  To: Jared Rhine, xen-devel; +Cc: ian.pratt

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

To my knowledge I don't think any of us use extended VGA text modes. I
think we're just rather 'surprised' that it doesn't just work. After Xen
has relinguished the VGA console, domain 0 should be able to use it
however it pleases. 

However, how does dom0 set the extended text mode? I presume it doesn't
use a BIOS call. Perhaps it can't cope with the scroll state we leave
the console in?
The former would be a huge pain. Anything else is probably trivially
fixed once the cause is discovered.

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://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-02-28 17:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-16  2:53 help adding extended text modes in Hypervisor Edward Middleton
2004-12-16  3:10 ` Ian Pratt
2004-12-16  5:11   ` Edward Middleton
2005-01-02 14:20     ` Jared Rhine
2005-01-27 18:07       ` VGA extended text mode on XenCD not functional Jared Rhine
2005-02-26  8:39         ` VGA extended text modes Jared Rhine
2005-02-27  0:12           ` B.G. Bruce
2004-12-16  6:00   ` help adding extended text modes in Hypervisor Luciano Miguel Ferreira Rocha
2004-12-16  6:27     ` Derrik Pates
  -- strict thread matches above, loose matches on Subject: below --
2005-02-26 21:20 VGA extended text modes Ian Pratt
2005-02-28 17:25 ` Gerd Knorr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.