Bug 782825 - backport isa-debugcon
Summary: backport isa-debugcon
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.2
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: 2012-01-18 16:05 UTC by Gerd Hoffmann
Modified: 2012-06-20 11:38 UTC (History)
9 users (show)

Fixed In Version: qemu-kvm-0.12.1.2-2.230.el6
Doc Type: Bug Fix
Doc Text:
No Documentation Needed
Clone Of:
Environment:
Last Closed: 2012-06-20 11:38:40 UTC
Target Upstream Version:


Attachments (Terms of Use)
seabios log with "-device sga" (2.32 KB, text/plain)
2012-02-16 07:30 UTC, Qunfang Zhang
no flags Details
seabios log without "-device sga" (2.29 KB, text/plain)
2012-02-16 07:30 UTC, Qunfang Zhang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0746 0 normal SHIPPED_LIVE qemu-kvm bug fix and enhancement update 2012-06-19 19:31:48 UTC

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


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