Red Hat Bugzilla – Bug 446830
F9 and Rawhide guests get a segfault when running in KVM
Last modified: 2009-01-09 02:56:37 EST
We are seeing F9 and Rawhide, when launched as a guest in kvm (whether throuhg
virt-manager or command line in qemu-kvm) will get through grub, then loose it's
vnc connection, and eventually seg fault.
This tasks resolves this issue on f9. Perhaps it should be backported:
I get the following debug output on f8.
[root@localhost kickstarts]# gdb /usr/bin/qemu-kvm
GNU gdb Red Hat Linux (6.6-45.fc8rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) setargs -vnc :1 thincrust9-sda.raw
Undefined command: "setargs". Try "help".
(gdb) set args -vnc :1 thincrust9-sda.raw
Starting program: /usr/bin/qemu-kvm -vnc :1 thincrust9-sda.raw
[Thread debugging using libthread_db enabled]
[New Thread -1208984976 (LWP 24008)]
[New Thread -1208923248 (LWP 24346)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208984976 (LWP 24008)]
0x0058d37d in memmove () from /lib/libc.so.6
#0 0x0058d37d in memmove () from /lib/libc.so.6
#1 0x080b38ae in vnc_copy (ds=0x8181060, src_x=0, src_y=400, dst_x=0,
dst_y=384, w=56, h=16) at vnc.c:465
#2 0x080947ec in cirrus_bitblt_start (s=0xbea01e0) at
#3 0x08095008 in cirrus_hook_write_gr (s=0xbea01e0, reg_index=2935746376,
#4 0x08095bb9 in vga_ioport_write (opaque=0xbea01e0, addr=975, val=2) at
#5 0x080d3277 in kvm_outw (opaque=0x0, addr=48128, data=<value optimized out>)
#6 0x0814b643 in kvm_run (kvm=0xbde0028, vcpu=0) at libkvm.c:719
#7 0x080d2bf2 in kvm_cpu_exec (env=0xbe46da8) at
#8 0x080d36d2 in kvm_main_loop_cpu (env=0xbe46da8) at
#9 0x08057cf8 in main (argc=4, argv=0xbfd605f4) at
#10 0x00532390 in __libc_start_main (main=0x8054e2c <main>, argc=4,
ubp_av=0xbfd605f4, init=0x814d340 <__libc_csu_init>,
fini=0x814d330 <__libc_csu_fini>, rtld_fini=0x50b940 <_dl_fini>,
stack_end=0xbfd605ec) at libc-start.c:220
#11 0x0804ce21 in _start ()
Patch from Marcelo Tossati fixes this:
Koji scratch build for F-9 with this patch added:
kvm-60-4.fc8 has been submitted as an update for Fedora 8
kvm-60-4.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update kvm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-4098
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '8'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 8's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 8 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.