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; 9+ 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] 9+ messages in thread

* Re: help adding extended text modes in Hypervisor
  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
  2004-12-16  6:00   ` help adding extended text modes in Hypervisor Luciano Miguel Ferreira Rocha
  0 siblings, 2 replies; 9+ messages in thread
From: Ian Pratt @ 2004-12-16  3:10 UTC (permalink / raw)
  To: Edward Middleton; +Cc: xen-devel, Ian.Pratt

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

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

* Re: help adding extended text modes in Hypervisor
  2004-12-16  3:10 ` Ian Pratt
@ 2004-12-16  5:11   ` Edward Middleton
  2005-01-02 14:20     ` Jared Rhine
  2004-12-16  6:00   ` help adding extended text modes in Hypervisor Luciano Miguel Ferreira Rocha
  1 sibling, 1 reply; 9+ messages in thread
From: Edward Middleton @ 2004-12-16  5:11 UTC (permalink / raw)
  To: xen-devel

Ian Pratt wrote:

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

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

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

* Re: help adding extended text modes in Hypervisor
  2004-12-16  3:10 ` Ian Pratt
  2004-12-16  5:11   ` Edward Middleton
@ 2004-12-16  6:00   ` Luciano Miguel Ferreira Rocha
  2004-12-16  6:27     ` Derrik Pates
  1 sibling, 1 reply; 9+ messages in thread
From: Luciano Miguel Ferreira Rocha @ 2004-12-16  6:00 UTC (permalink / raw)
  To: xen-devel

On Thu, Dec 16, 2004 at 03:10:22AM +0000, Ian Pratt wrote:
> > 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.

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/

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

* Re: help adding extended text modes in Hypervisor
  2004-12-16  6:00   ` help adding extended text modes in Hypervisor Luciano Miguel Ferreira Rocha
@ 2004-12-16  6:27     ` Derrik Pates
  0 siblings, 0 replies; 9+ messages in thread
From: Derrik Pates @ 2004-12-16  6:27 UTC (permalink / raw)
  To: Luciano Miguel Ferreira Rocha; +Cc: xen-devel

Luciano Miguel Ferreira Rocha wrote:
> Is there something like dmesg for xen?

'xm dmesg' will show the Xen hypervisor's queued log messages.

-- 
Derrik Pates
dpates@dsdk12.net


-------------------------------------------------------
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] 9+ messages in thread

* Re: help adding extended text modes in Hypervisor
  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
  0 siblings, 1 reply; 9+ messages in thread
From: Jared Rhine @ 2005-01-02 14:20 UTC (permalink / raw)
  To: xen-devel

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

> module /boot/vmlinuz-2.6.9-xen0 root=/dev/sda6 vga=0x133

I too have tried various vga variants without any success.

-- 
Jared Rhine <jared@wordzoo.com>



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

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

* VGA extended text mode on XenCD not functional
  2005-01-02 14:20     ` Jared Rhine
@ 2005-01-27 18:07       ` Jared Rhine
  2005-02-26  8:39         ` VGA extended text modes Jared Rhine
  0 siblings, 1 reply; 9+ messages in thread
From: Jared Rhine @ 2005-01-27 18:07 UTC (permalink / raw)
  To: xen-devel

[Jared == jared@wordzoo.com 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.

-- jared@wordzoo.com

"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

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

* VGA extended text modes
  2005-01-27 18:07       ` VGA extended text mode on XenCD not functional Jared Rhine
@ 2005-02-26  8:39         ` Jared Rhine
  2005-02-27  0:12           ` B.G. Bruce
  0 siblings, 1 reply; 9+ messages in thread
From: Jared Rhine @ 2005-02-26  8:39 UTC (permalink / raw)
  To: xen-devel

  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 :)

-- jared@wordzoo.com

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

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

* Re: VGA extended text modes
  2005-02-26  8:39         ` VGA extended text modes Jared Rhine
@ 2005-02-27  0:12           ` B.G. Bruce
  0 siblings, 0 replies; 9+ messages in thread
From: B.G. Bruce @ 2005-02-27  0:12 UTC (permalink / raw)
  To: Jared Rhine; +Cc: xen-devel

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.


On Sat, 2005-02-26 at 04:39, Jared Rhine wrote:
>   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 :)
> 
> -- jared@wordzoo.com
> 
> 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
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> 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

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

end of thread, other threads:[~2005-02-27  0:12 UTC | newest]

Thread overview: 9+ 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

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.