From: Jeremy Fitzhardinge <jeremy@goop.org>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Virtualization Mailing List <virtualization@lists.osdl.org>
Subject: Re: Vmware crashes if compress/misc.c scrolls?
Date: Wed, 20 Jun 2007 17:07:46 -0700 [thread overview]
Message-ID: <4679C152.8070407@goop.org> (raw)
In-Reply-To: <4679BBCB.2000202@zytor.com>
H. Peter Anvin wrote:
> I just got the following message on the syslinux mailing list:
>
>
>> 2. On some platforms (vmware for example :), READING from the video memory
>> in the 32bit mode is impossible (causes an exeption). Taking in to account
>> that the scroll function in ilinux/arch/i386/boot/compressed/misc.c
>> works using a memcpy of the video memory, when the linux bootsector is given
>> control and the cursor is at the end of the screen (-1-2 lines) an exception is
>> arisen and in the presence of it's handler in the bootloader the system halts.
>> Both lilo and grub handle this situation - the cursor is always somewhere at the
>> middle of the screen when the control is given to the linux bootsector.
>> When using pxelinux taking in to account that the PXE bios prints out the
>> presence of the second initramfs which causes the screen to scroll and the bug
>> to appear :)
>> A very simple solution - the screen is cleared before giving control to the
>> linux bootsector (in the patch).
>>
>
> First of all, is this actually true? This seems like a monumental screwup.
>
Yes. Is this a report of observed failure? And how would VMWare even
go about implementing this kind of misfeature? Maybe it fails with
particular instructions reading the framebuffer?
> Second, assuming it is true, what should be done about it? The notion
> that the bootloader should erase the screen is ridiculous since we spend
> a lot of effort maintaining the screen context from 16-bit code.
>
> I see a couple of options:
>
Maintain a shadow framebuffer, and copy it to the real framebuffer on
update...
J
next prev parent reply other threads:[~2007-06-21 0:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-20 23:44 Vmware crashes if compress/misc.c scrolls? H. Peter Anvin
2007-06-21 0:07 ` Jeremy Fitzhardinge [this message]
2007-06-21 0:17 ` H. Peter Anvin
2007-06-21 0:21 ` Jeremy Fitzhardinge
2007-06-21 0:25 ` H. Peter Anvin
2007-06-21 0:27 ` Jeremy Fitzhardinge
2007-06-21 0:46 ` H. Peter Anvin
2007-06-21 21:54 ` Zachary Amsden
2007-06-22 2:22 ` H. Peter Anvin
2007-06-22 2:34 ` Zachary Amsden
2007-06-22 3:09 ` Jeremy Fitzhardinge
2007-08-04 4:48 ` Zachary Amsden
2007-08-04 9:24 ` Andi Kleen
2007-08-04 12:08 ` Zachary Amsden
2007-08-04 14:19 ` Zachary Amsden
2007-08-04 20:14 ` [syslinux] " H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4679C152.8070407@goop.org \
--to=jeremy@goop.org \
--cc=hpa@zytor.com \
--cc=virtualization@lists.osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.