virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* Vmware crashes if compress/misc.c scrolls?
@ 2007-06-20 23:44 H. Peter Anvin
  2007-06-21  0:07 ` Jeremy Fitzhardinge
  2007-08-04  4:48 ` Zachary Amsden
  0 siblings, 2 replies; 16+ messages in thread
From: H. Peter Anvin @ 2007-06-20 23:44 UTC (permalink / raw)
  To: Virtualization Mailing List

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.

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:

a. Do nothing.  It's a Vmware bug, let the users bug Vmware and get an
   updated version.
b. Detect Vmware versions that are affected (how?) and suppress output.
c. Don't attempt to scroll in this code, and instead wrap around the
   screen (presumably clearing the rest of the line.)
d. Blindly assume hardware scrolling works, instead of doing
   copy-to-scroll.  Although I have seen craptops on which hardware
   scrolling is broken, it's hardly critical messages we're dealing with
   here.  A bug for a bug...

	-hpa

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

end of thread, other threads:[~2007-08-04 20:14 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-20 23:44 Vmware crashes if compress/misc.c scrolls? H. Peter Anvin
2007-06-21  0:07 ` Jeremy Fitzhardinge
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).