RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1182634 - Remove CONFIG_VGA_ALLOCATE_EXTRA_STACK
Summary: Remove CONFIG_VGA_ALLOCATE_EXTRA_STACK
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: seabios
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Gerd Hoffmann
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-15 15:39 UTC by Hai Huang
Modified: 2018-07-12 21:06 UTC (History)
7 users (show)

Fixed In Version: seabios-1.7.5-8.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 08:15:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
seabios-vga-1.7.5-6.png (19.61 KB, image/png)
2015-01-22 07:33 UTC, Xiaoqing Wei
no flags Details
seabios-vgabios-1.7.5-8.png (58.77 KB, image/png)
2015-01-22 07:36 UTC, Xiaoqing Wei
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1600731 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Product Errata RHBA-2015:0345 0 normal SHIPPED_LIVE seabios bug fix and enhancement update 2015-03-05 12:27:47 UTC

Internal Links: 1600731

Description Hai Huang 2015-01-15 15:39:57 UTC
Description of problem:

----- Forwarded Message -----
From: "Paolo Bonzini" <pbonzini>
To: "Hai Huang" <hhuang>, "Gerd Hoffmann" <kraxel>, "Miroslav Rezanina" <mrezanin>
Sent: Monday, January 12, 2015 11:06:23 AM
Subject: Fwd: Re: vgabios -> seabios breaks (my) 16-bit applications

We probably should disable CONFIG_VGA_ALLOCATE_EXTRA_STACK in RHEL7.1,
it's new and thus a regression.  Who is going to open a BZ?  I think it
should be a blocker.

I'd never thought SkiFree would be a testcase for anything.

Paolo


Version-Release number of selected component (if applicable):
RHEL7.1


How reproducible:

To reproduce, please follow upstream discussion:
http://thread.gmane.org/gmane.comp.bios.coreboot.seabios/8537

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Xiaoqing Wei 2015-01-16 05:10:27 UTC
Hi Hai,

Guessing Gerd could be busy on working for the fix, so asking you instead :-)

I've read the upstream discussion, and saw that the origin report was using a 16 bit app.

This it's a very very corner use case today in my point of view.
Using 16 bit app today is weird. it's not possible to run on 64 bit OS, and RHEL7 also dont ship with a 32 compose.

For test coverage,
I checked our existing test cases for KVM, seeing that there's no a case for 16 bit app or real mode except SeaBIOS PXE test(and it's still partial real mode).

My questions:
1) is there any necessity to add test case for this kind of corner usage ?
    from my pov, no.
    even 32 bit is considered to be legacy in the near future.
    if the industry majorly adopt UEFI(which we tech preview for x64 now),
    then using 16 bit app in guest would be no possible to run natively.


2) if you think there's necessary, would you pls provide a unit case for KVM ?
    the origin report was on a private app, we even dont know the name.
    Though mail list tells Skifree could also trigger, but that is a Windows app
    which could not cover Linux guest OS, so if there's need for test case,
    a dedicated unit test would be nice.


Thanks,
Xiaoqing.

Comment 3 Gerd Hoffmann 2015-01-16 08:08:31 UTC
patches posted.

Comment 4 Gerd Hoffmann 2015-01-16 08:11:57 UTC
  Hi,

> 1) is there any necessity to add test case for this kind of corner usage ?
>     from my pov, no.

I'd say not for now.  Maybe we can create one once the root cause has been figured in the upstream discussions.

Comment 5 Miroslav Rezanina 2015-01-20 09:50:59 UTC
Fix included in seabios-1.7.5-8.el7

Comment 8 Xiaoqing Wei 2015-01-22 07:33:39 UTC
Created attachment 982613 [details]
seabios-vga-1.7.5-6.png

on seavgabios-bin-1.7.5-6

Skifree(16 bit) stops responding after double click to start the game.

Comment 9 Xiaoqing Wei 2015-01-22 07:36:52 UTC
Created attachment 982614 [details]
seabios-vgabios-1.7.5-8.png

with seavgabios-bin-1.7.5-8

Skifree(16 bit) could run, it's not that joyful,
but runs smoothly, and unlike -6 version would stop responding.
observed for 5mins. I'll keep this app opened in guest to see if it survives longer.

Comment 10 Xiaoqing Wei 2015-01-22 07:37:55 UTC
Hi Gerd,

I think C#8 and C#9 should fine for verify this bz ?

Best Regards,
Xiaoqing Wei.

Comment 11 Xiaoqing Wei 2015-01-22 08:05:00 UTC
three vga types tested:
cirrus, std, qxl
cli as below

/bin/qemu-kvm \
    -S  \
    -name 'virt-tests-vm1'  \
    -sandbox off  \
    -M pc  \
    -nodefaults  \
    -vga std  \           -> and switched to cirrus, or qxl
    -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20150122-152837-LsTJiyoF,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control  \
    -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20150122-152837-LsTJiyoF,server,nowait \
    -device isa-serial,chardev=serial_id_serial0  \
    -chardev socket,id=seabioslog_id_20150122-152837-LsTJiyoF,path=/tmp/seabios-20150122-152837-LsTJiyoF,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20150122-152837-LsTJiyoF,iobase=0x402 \
    -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=03 \
    -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=/home/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/win2008-sp2-32-virtio.qcow2 \
    -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=04 \
    -device virtio-net-pci,mac=9a:8c:8d:8e:8f:90,id=id8Xokyp,vectors=4,netdev=idl2liRz,bus=pci.0,addr=05  \
    -netdev tap,id=idl2liRz,vhost=on,vhostfd=24,fd=23  \
    -m 4096  \
    -smp 4,maxcpus=4,cores=2,threads=1,sockets=2  \
    -cpu 'SandyBridge',hv_relaxed,+kvm_pv_unhalt,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time \
    -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=/home/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/winutils.iso \
    -device ide-cd,id=cd1,drive=drive_cd1,bootindex=1,bus=ide.0,unit=0 \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1  \
    -vnc :1  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=c,menu=off,strict=off \
    -enable-kvm

Comment 12 Gerd Hoffmann 2015-01-22 09:07:32 UTC
> I think C#8 and C#9 should fine for verify this bz ?

Yes.

Comment 13 Xiaoqing Wei 2015-01-22 09:10:11 UTC
(In reply to Gerd Hoffmann from comment #12)
> > I think C#8 and C#9 should fine for verify this bz ?
> 
> Yes.

Cool, moving to VERIFIED.

Thanks.

Comment 15 errata-xmlrpc 2015-03-05 08:15:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0345.html


Note You need to log in before you can comment on or make changes to this bug.