Bug 740657
Summary: | Fedora 16 beta Xen kbdfront hangs on rhel5 dom0 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pasi Karkkainen <pasik> |
Component: | kernel | Assignee: | Xen Maintainance List <xen-maint> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | drjones, gansalmon, itamar, jonathan, kernel-maint, ketuzsezr, lersek, madhu.chinakonda, mrezanin |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-10-03 16:42:39 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: | |||
Bug Depends On: | |||
Bug Blocks: | 741684 |
Description
Pasi Karkkainen
2011-09-22 20:38:11 UTC
The backend side of fbfront is in xen-userspace (qemu-dm), file "tools/ioemu/hw/xenfb.c". I reproduced the hang (-133) and looked at the qemu-dm process with gdb. #0 0x0000003b9180aee9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000381d602e12 in xs_read_watch (h=0x1480aa0, num=0x7fff6376526c) at xs.c:586 #2 0x00000000004716ef in xenfb_wait_for_state (xsh=0x1480aa0, dir=0x14809e0 "/local/domain/2/device/vkbd/0", awaited=<value optimized out>) at /usr/src/debug/xen-3.1.0-src/tools/ioemu/hw/xenfb.c:257 #3 0x0000000000471ddd in xenfb_wait_for_frontend_initialised (dev=<value optimized out>) at /usr/src/debug/xen-3.1.0-src/tools/ioemu/hw/xenfb.c:360 #4 0x0000000000472716 in xenfb_attach_dom (xenfb_pub=0x14808b0, domid=2) at /usr/src/debug/xen-3.1.0-src/tools/ioemu/hw/xenfb.c:659 #5 0x000000000047097e in xen_init_pv (ram_size=<value optimized out>, vga_ram_size=<value optimized out>, boot_device=<value optimized out>, ds=0x6d2180, fd_filename=<value optimized out>, snapshot=<value optimized out>, kernel_filename=0x0, kernel_cmdline=0x483d8e "", initrd_filename=0x0, timeoffset=0) at /usr/src/debug/xen-3.1.0-src/tools/ioemu/hw/xen_machine_pv.c:254 #6 0x000000000040b14f in main (argc=12, argv=0x7fff637680c8) at /usr/src/debug/xen-3.1.0-src/tools/ioemu/vl.c:6794 Importantly, frame #4 @ tools/ioemu/hw/xenfb.c:659 describes a call to xenfb_wait_for_frontend_initialised() that waits for the *keyboard*. (gdb) frame 4 #4 0x0000000000472716 in xenfb_attach_dom (xenfb_pub=0x14808b0, domid=2) at /usr/src/debug/xen-3.1.0-src/tools/ioemu/hw/xenfb.c:659 659 if (xenfb_wait_for_frontend_initialised(&xenfb->kbd) < 0) In xenfb_wait_for_frontend_initialised(), there's a comment like "TODO fudging state to permit restarting; to be removed"; added in (huge) commit 0ba0e891 for bug 218050. Hmm.. so I wonder if it'll just work when there's a fedora 16 build with this bugfix included: https://bugzilla.redhat.com/show_bug.cgi?id=740378 From bug 740378 comment 0: > After the install was finished I poked around in the initrd and noticed that > the xen-kbdfront was missing. That's it. *** This bug has been marked as a duplicate of bug 740378 *** |