All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes
@ 2017-03-06 22:49 Herbie Robinson
  2017-03-06 23:38 ` [Qemu-devel] [Bug 1670509] " Herbie Robinson
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Herbie Robinson @ 2017-03-06 22:49 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

When run with a bootstrap loader that uses int 0x10 with 0x1301 in %ax,
incorrect video modes are output to the serial port.  I believe the VGA
image will be correct.  This might also affect the returned values for
some interrupts.

This is caused because the set_cursor_position routine fails to save and
restore %bx.

I'm working on a fix for this.

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: sgabios

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1670509

Title:
  sgabios outputs incorrect video modes

Status in QEMU:
  New

Bug description:
  When run with a bootstrap loader that uses int 0x10 with 0x1301 in
  %ax, incorrect video modes are output to the serial port.  I believe
  the VGA image will be correct.  This might also affect the returned
  values for some interrupts.

  This is caused because the set_cursor_position routine fails to save
  and restore %bx.

  I'm working on a fix for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1670509/+subscriptions

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

* [Qemu-devel] [Bug 1670509] Re: sgabios outputs incorrect video modes
  2017-03-06 22:49 [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes Herbie Robinson
@ 2017-03-06 23:38 ` Herbie Robinson
  2017-03-07 14:33 ` Herbie Robinson
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Herbie Robinson @ 2017-03-06 23:38 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
     Assignee: (unassigned) => Herbie Robinson (hrob)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1670509

Title:
  sgabios outputs incorrect video modes

Status in QEMU:
  New

Bug description:
  When run with a bootstrap loader that uses int 0x10 with 0x1301 in
  %ax, incorrect video modes are output to the serial port.  I believe
  the VGA image will be correct.  This might also affect the returned
  values for some interrupts.

  This is caused because the set_cursor_position routine fails to save
  and restore %bx.

  I'm working on a fix for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1670509/+subscriptions

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

* [Qemu-devel] [Bug 1670509] Re: sgabios outputs incorrect video modes
  2017-03-06 22:49 [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes Herbie Robinson
  2017-03-06 23:38 ` [Qemu-devel] [Bug 1670509] " Herbie Robinson
@ 2017-03-07 14:33 ` Herbie Robinson
  2017-03-08 23:35 ` Herbie Robinson
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Herbie Robinson @ 2017-03-07 14:33 UTC (permalink / raw)
  To: qemu-devel

** Project changed: qemu => sgabios (Ubuntu)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1670509

Title:
  sgabios outputs incorrect video modes

Status in sgabios package in Ubuntu:
  New

Bug description:
  When run with a bootstrap loader that uses int 0x10 with 0x1301 in
  %ax, incorrect video modes are output to the serial port.  I believe
  the VGA image will be correct.  This might also affect the returned
  values for some interrupts.

  This is caused because the set_cursor_position routine fails to save
  and restore %bx.

  I'm working on a fix for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sgabios/+bug/1670509/+subscriptions

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

* [Qemu-devel] [Bug 1670509] Re: sgabios outputs incorrect video modes
  2017-03-06 22:49 [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes Herbie Robinson
  2017-03-06 23:38 ` [Qemu-devel] [Bug 1670509] " Herbie Robinson
  2017-03-07 14:33 ` Herbie Robinson
@ 2017-03-08 23:35 ` Herbie Robinson
  2017-03-08 23:43 ` Herbie Robinson
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Herbie Robinson @ 2017-03-08 23:35 UTC (permalink / raw)
  To: qemu-devel

** Also affects: qemu
   Importance: Undecided
       Status: New

** Changed in: qemu
     Assignee: (unassigned) => Herbie Robinson (hrob)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1670509

Title:
  sgabios outputs incorrect video modes

Status in QEMU:
  New
Status in sgabios package in Ubuntu:
  New

Bug description:
  When run with a bootstrap loader that uses int 0x10 with 0x1301 in
  %ax, incorrect video modes are output to the serial port.  I believe
  the VGA image will be correct.  This might also affect the returned
  values for some interrupts.

  This is caused because the set_cursor_position routine fails to save
  and restore %bx.

  I'm working on a fix for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1670509/+subscriptions

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

* [Qemu-devel] [Bug 1670509] Re: sgabios outputs incorrect video modes
  2017-03-06 22:49 [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes Herbie Robinson
                   ` (2 preceding siblings ...)
  2017-03-08 23:35 ` Herbie Robinson
@ 2017-03-08 23:43 ` Herbie Robinson
  2017-03-09  0:36 ` Ubuntu Foundations Team Bug Bot
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Herbie Robinson @ 2017-03-08 23:43 UTC (permalink / raw)
  To: qemu-devel

I don't think my e-mailed patch got through...  I'm going to keep
trying, but in case anyone needs the patch in the interim...

** Patch added: "0001-SGABIOS-fix-wrong-video-attrs-for-int-10h-ah-13h.patch"
   https://bugs.launchpad.net/qemu/+bug/1670509/+attachment/4834118/+files/0001-SGABIOS-fix-wrong-video-attrs-for-int-10h-ah-13h.patch

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1670509

Title:
  sgabios outputs incorrect video modes

Status in QEMU:
  New
Status in sgabios package in Ubuntu:
  New

Bug description:
  When run with a bootstrap loader that uses int 0x10 with 0x1301 in
  %ax, incorrect video modes are output to the serial port.  I believe
  the VGA image will be correct.  This might also affect the returned
  values for some interrupts.

  This is caused because the set_cursor_position routine fails to save
  and restore %bx.

  I'm working on a fix for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1670509/+subscriptions

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

* [Qemu-devel] [Bug 1670509] Re: sgabios outputs incorrect video modes
  2017-03-06 22:49 [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes Herbie Robinson
                   ` (3 preceding siblings ...)
  2017-03-08 23:43 ` Herbie Robinson
@ 2017-03-09  0:36 ` Ubuntu Foundations Team Bug Bot
  2017-04-10 16:09 ` Herbie Robinson
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Ubuntu Foundations Team Bug Bot @ 2017-03-09  0:36 UTC (permalink / raw)
  To: qemu-devel

The attachment "0001-SGABIOS-fix-wrong-video-attrs-for-int-10h-ah-
13h.patch" seems to be a patch.  If it isn't, please remove the "patch"
flag from the attachment, remove the "patch" tag, and if you are a
member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1670509

Title:
  sgabios outputs incorrect video modes

Status in QEMU:
  New
Status in sgabios package in Ubuntu:
  New

Bug description:
  When run with a bootstrap loader that uses int 0x10 with 0x1301 in
  %ax, incorrect video modes are output to the serial port.  I believe
  the VGA image will be correct.  This might also affect the returned
  values for some interrupts.

  This is caused because the set_cursor_position routine fails to save
  and restore %bx.

  I'm working on a fix for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1670509/+subscriptions

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

* [Qemu-devel] [Bug 1670509] Re: sgabios outputs incorrect video modes
  2017-03-06 22:49 [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes Herbie Robinson
                   ` (4 preceding siblings ...)
  2017-03-09  0:36 ` Ubuntu Foundations Team Bug Bot
@ 2017-04-10 16:09 ` Herbie Robinson
  2017-12-06  1:57 ` Nathan Rennie-Waldock
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Herbie Robinson @ 2017-04-10 16:09 UTC (permalink / raw)
  To: qemu-devel

That patch is wrong.  The correct patch has been submitted and checked
on the QEMU mailing lists

(http://patchwork.ozlabs.org/patch/737446/).

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1670509

Title:
  sgabios outputs incorrect video modes

Status in QEMU:
  New
Status in sgabios package in Ubuntu:
  New

Bug description:
  When run with a bootstrap loader that uses int 0x10 with 0x1301 in
  %ax, incorrect video modes are output to the serial port.  I believe
  the VGA image will be correct.  This might also affect the returned
  values for some interrupts.

  This is caused because the set_cursor_position routine fails to save
  and restore %bx.

  I'm working on a fix for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1670509/+subscriptions

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

* [Qemu-devel] [Bug 1670509] Re: sgabios outputs incorrect video modes
  2017-03-06 22:49 [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes Herbie Robinson
                   ` (5 preceding siblings ...)
  2017-04-10 16:09 ` Herbie Robinson
@ 2017-12-06  1:57 ` Nathan Rennie-Waldock
  2017-12-06  1:58 ` Launchpad Bug Tracker
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Nathan Rennie-Waldock @ 2017-12-06  1:57 UTC (permalink / raw)
  To: qemu-devel

Any chance of getting this patch included?
I've deleted the incorrect patch and attached the correct one (taken from QEMU's sgabios repo).

** Patch removed: "0001-SGABIOS-fix-wrong-video-attrs-for-int-10h-ah-13h.patch"
   https://bugs.launchpad.net/ubuntu/+source/sgabios/+bug/1670509/+attachment/4834118/+files/0001-SGABIOS-fix-wrong-video-attrs-for-int-10h-ah-13h.patch

** Patch added: "0001-SGABIOS-fix-wrong-video-attrs-for-int-10h-ah-13h.patch"
   https://bugs.launchpad.net/ubuntu/+source/sgabios/+bug/1670509/+attachment/5019029/+files/0001-SGABIOS-fix-wrong-video-attrs-for-int-10h-ah-13h.patch

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1670509

Title:
  sgabios outputs incorrect video modes

Status in QEMU:
  New
Status in sgabios package in Ubuntu:
  Confirmed

Bug description:
  When run with a bootstrap loader that uses int 0x10 with 0x1301 in
  %ax, incorrect video modes are output to the serial port.  I believe
  the VGA image will be correct.  This might also affect the returned
  values for some interrupts.

  This is caused because the set_cursor_position routine fails to save
  and restore %bx.

  I'm working on a fix for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1670509/+subscriptions

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

* [Qemu-devel] [Bug 1670509] Re: sgabios outputs incorrect video modes
  2017-03-06 22:49 [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes Herbie Robinson
                   ` (6 preceding siblings ...)
  2017-12-06  1:57 ` Nathan Rennie-Waldock
@ 2017-12-06  1:58 ` Launchpad Bug Tracker
  2017-12-06  8:04 ` Thomas Huth
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Launchpad Bug Tracker @ 2017-12-06  1:58 UTC (permalink / raw)
  To: qemu-devel

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: sgabios (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1670509

Title:
  sgabios outputs incorrect video modes

Status in QEMU:
  New
Status in sgabios package in Ubuntu:
  Confirmed

Bug description:
  When run with a bootstrap loader that uses int 0x10 with 0x1301 in
  %ax, incorrect video modes are output to the serial port.  I believe
  the VGA image will be correct.  This might also affect the returned
  values for some interrupts.

  This is caused because the set_cursor_position routine fails to save
  and restore %bx.

  I'm working on a fix for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1670509/+subscriptions

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

* [Qemu-devel] [Bug 1670509] Re: sgabios outputs incorrect video modes
  2017-03-06 22:49 [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes Herbie Robinson
                   ` (7 preceding siblings ...)
  2017-12-06  1:58 ` Launchpad Bug Tracker
@ 2017-12-06  8:04 ` Thomas Huth
  2017-12-12 20:10 ` Nathan Rennie-Waldock
  2017-12-13 15:53 ` Herbie Robinson
  10 siblings, 0 replies; 12+ messages in thread
From: Thomas Huth @ 2017-12-06  8:04 UTC (permalink / raw)
  To: qemu-devel

Looks like the fix has been included in QEMU's sgabios repository here:

https://git.qemu.org/?p=sgabios.git;a=commitdiff;h=cbaee52287e5f32373181cf

And the binary in the QEMU repository has been updated here:

 https://git.qemu.org/?p=qemu.git;a=commitdiff;h=c8c33fca88fc3ab8a5e4b

So this fix is included in QEMU since version 2.10.


** Changed in: qemu
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1670509

Title:
  sgabios outputs incorrect video modes

Status in QEMU:
  Fix Released
Status in sgabios package in Ubuntu:
  Confirmed

Bug description:
  When run with a bootstrap loader that uses int 0x10 with 0x1301 in
  %ax, incorrect video modes are output to the serial port.  I believe
  the VGA image will be correct.  This might also affect the returned
  values for some interrupts.

  This is caused because the set_cursor_position routine fails to save
  and restore %bx.

  I'm working on a fix for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1670509/+subscriptions

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

* [Qemu-devel] [Bug 1670509] Re: sgabios outputs incorrect video modes
  2017-03-06 22:49 [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes Herbie Robinson
                   ` (8 preceding siblings ...)
  2017-12-06  8:04 ` Thomas Huth
@ 2017-12-12 20:10 ` Nathan Rennie-Waldock
  2017-12-13 15:53 ` Herbie Robinson
  10 siblings, 0 replies; 12+ messages in thread
From: Nathan Rennie-Waldock @ 2017-12-12 20:10 UTC (permalink / raw)
  To: qemu-devel

Fixed in qemu, yes. But not Ubuntu. Ubuntu strips prebuilt files from
qemu and builds them from source. For sgabios, using the abandoned
source from Google code.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1670509

Title:
  sgabios outputs incorrect video modes

Status in QEMU:
  Fix Released
Status in sgabios package in Ubuntu:
  Confirmed

Bug description:
  When run with a bootstrap loader that uses int 0x10 with 0x1301 in
  %ax, incorrect video modes are output to the serial port.  I believe
  the VGA image will be correct.  This might also affect the returned
  values for some interrupts.

  This is caused because the set_cursor_position routine fails to save
  and restore %bx.

  I'm working on a fix for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1670509/+subscriptions

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

* [Qemu-devel] [Bug 1670509] Re: sgabios outputs incorrect video modes
  2017-03-06 22:49 [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes Herbie Robinson
                   ` (9 preceding siblings ...)
  2017-12-12 20:10 ` Nathan Rennie-Waldock
@ 2017-12-13 15:53 ` Herbie Robinson
  10 siblings, 0 replies; 12+ messages in thread
From: Herbie Robinson @ 2017-12-13 15:53 UTC (permalink / raw)
  To: qemu-devel

I believe QEMU has handed ownership of this off to coreboot.  Which
makes sense.

https://review.coreboot.org/cgit/sgabios.git

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1670509

Title:
  sgabios outputs incorrect video modes

Status in QEMU:
  Fix Released
Status in sgabios package in Ubuntu:
  Confirmed

Bug description:
  When run with a bootstrap loader that uses int 0x10 with 0x1301 in
  %ax, incorrect video modes are output to the serial port.  I believe
  the VGA image will be correct.  This might also affect the returned
  values for some interrupts.

  This is caused because the set_cursor_position routine fails to save
  and restore %bx.

  I'm working on a fix for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1670509/+subscriptions

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

end of thread, other threads:[~2017-12-13 16:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-06 22:49 [Qemu-devel] [Bug 1670509] [NEW] sgabios outputs incorrect video modes Herbie Robinson
2017-03-06 23:38 ` [Qemu-devel] [Bug 1670509] " Herbie Robinson
2017-03-07 14:33 ` Herbie Robinson
2017-03-08 23:35 ` Herbie Robinson
2017-03-08 23:43 ` Herbie Robinson
2017-03-09  0:36 ` Ubuntu Foundations Team Bug Bot
2017-04-10 16:09 ` Herbie Robinson
2017-12-06  1:57 ` Nathan Rennie-Waldock
2017-12-06  1:58 ` Launchpad Bug Tracker
2017-12-06  8:04 ` Thomas Huth
2017-12-12 20:10 ` Nathan Rennie-Waldock
2017-12-13 15:53 ` Herbie Robinson

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.