Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 782825

Summary: backport isa-debugcon
Product: Red Hat Enterprise Linux 6 Reporter: Gerd Hoffmann <kraxel>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: acathrow, areis, bsarathy, juzhang, minovotn, mkenneth, qzhang, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.230.el6 Doc Type: Bug Fix
Doc Text:
No Documentation Needed
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 11:38:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
seabios log with "-device sga"
none
seabios log without "-device sga" none

Description Gerd Hoffmann 2012-01-18 16:05:19 UTC
Description of problem:
We have no easy way to get seabios logs atm.
isa-debugcon will give use that.

Comment 1 Gerd Hoffmann 2012-01-18 16:41:55 UTC
patch posted.

Comment 5 Qunfang Zhang 2012-02-16 07:28:17 UTC
Reproduce on on qemu-kvm-0.12.1.2-2.209.el6 as in this version there's no "isa-debugcon" device.

[root@localhost home]# /usr/libexec/qemu-kvm -M rhel6.2.0 -enable-kvm -m 2048 -smp 2,sockets=1,cores=2,threads=1 -name rhel6.3 -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x4 -drive file=/home/rhel6.3-64-virtio.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,serial=zhang,cache=none,werror=stop,rerror=stop,aio=native -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -netdev tap,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=00:1a:4a:42:0b:00,bus=pci.0,addr=0x3 -chardev socket,id=charchannel0,path=/var/test,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm -vnc :10 -serial stdio -boot menu=on -qmp tcp:0:5555,server,nowait -chardev file,path=/tmp/seabios-sga.log,id=seabios -device isa-debugcon,chardev=seabios,iobase=0x402 -device sga

qemu-kvm: -device isa-debugcon,chardev=seabios,iobase=0x402: Parameter 'driver' expects a driver name
Try with argument '?' for a list.


Verified with the following packages:
kernel-2.6.32-232.el6.x86_64
qemu-kvm-0.12.1.2-2.230.el6.x86_64
seabios-0.6.1.2-9.el6.x86_64
sgabios-bin-0-0.3.20110621svn.el6.noarch

CLI:
/usr/libexec/qemu-kvm -M rhel6.3.0 -enable-kvm -m 2048 -smp 2,sockets=1,cores=2,threads=1 -name rhel6.3 -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x4 -drive file=/home/rhel6.3-64-virtio.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,serial=zhang,cache=none,werror=stop,rerror=stop,aio=native -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -netdev tap,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=00:1a:4a:42:0b:00,bus=pci.0,addr=0x3 -chardev socket,id=charchannel0,path=/var/test,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm -vnc :10 -serial stdio -boot menu=on -qmp tcp:0:5555,server,nowait -chardev file,path=/tmp/seabios-sga.log,id=seabios -device isa-debugcon,chardev=seabios,iobase=0x402 -device sga

Result:
Seabios log generates under host /tmp/seabios-sga.log. (Attachment will be upload.) Reboot guest, could collect the seabios log once more.

Hi, Gerd
(1)Could you help have a look at the logs in the bug attachment, is it the expected result? 
(2)I boot guest with and without "-device sga", the log looks very similar. SGABIOS information is not included in the output. Is this expected? 

Thanks~

Comment 6 Qunfang Zhang 2012-02-16 07:30:11 UTC
Created attachment 562410 [details]
seabios log with "-device sga"

Comment 7 Qunfang Zhang 2012-02-16 07:30:50 UTC
Created attachment 562411 [details]
seabios log without "-device sga"

Comment 10 Qunfang Zhang 2012-02-20 08:11:11 UTC
(In reply to comment #9)
> Logs have the expected content.

OK, thanks Gerd. Then I will change the status to VERIFIED based on Comment 5 and Comment 9.

Comment 12 Michal Novotny 2012-05-04 09:49:00 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No Documentation Needed

Comment 13 errata-xmlrpc 2012-06-20 11:38:40 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.

http://rhn.redhat.com/errata/RHBA-2012-0746.html