* RE: VGA extended text modes
@ 2005-02-26 21:20 Ian Pratt
2005-02-28 17:25 ` Gerd Knorr
0 siblings, 1 reply; 4+ 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] 4+ messages in thread
* Re: VGA extended text modes
2005-02-26 21:20 VGA extended text modes Ian Pratt
@ 2005-02-28 17:25 ` Gerd Knorr
0 siblings, 0 replies; 4+ messages in thread
From: Gerd Knorr @ 2005-02-28 17:25 UTC (permalink / raw)
To: Ian Pratt; +Cc: Jared Rhine, xen-devel, ian.pratt
"Ian Pratt" <m+Ian.Pratt@cl.cam.ac.uk> writes:
> However, how does dom0 set the extended text mode? I presume it doesn't
> use a BIOS call.
Linux uses vesa bios calls in the 16bit startup code, at least for the
stuff settable via vga="...". Mode info is passed to 32bit code in
struct screen_info (see Documentation/i386/zero-page.txt). Thats why
the vga argument needs special treatment by the boot loaders, they
can't just pass it on on the kernel command line like most other args.
They have to set a byte in the kernel's boot sector for that. See
also "man rdev". That is really old stuff from the days you have
booted your new linux kernel using "cat zImage > /dev/fd0 && reboot".
For just more text lines you can simply load a smaller font than the
default one somewhere in the dom0 boot scripts to have the same
effect. That doesn't work for 132col txt modes or graphic modes (=>
vesafb) though.
Gerd
--
#define printk(args...) fprintf(stderr, ## args)
-------------------------------------------------------
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] 4+ 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
0 siblings, 1 reply; 4+ 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] 4+ messages in thread
* Re: help adding extended text modes in Hypervisor
2004-12-16 3:10 help adding extended text modes in Hypervisor Ian Pratt
@ 2004-12-16 5:11 ` Edward Middleton
2005-01-02 14:20 ` Jared Rhine
0 siblings, 1 reply; 4+ 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] 4+ 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; 4+ 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] 4+ 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; 4+ 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] 4+ 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; 4+ 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] 4+ 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; 4+ 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] 4+ messages in thread
end of thread, other threads:[~2005-02-28 17:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-26 21:20 VGA extended text modes Ian Pratt
2005-02-28 17:25 ` Gerd Knorr
-- strict thread matches above, loose matches on Subject: below --
2004-12-16 3:10 help adding extended text modes in Hypervisor 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
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.