Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752952AbaJTOL1 (ORCPT ); Mon, 20 Oct 2014 10:11:27 -0400 Received: from mail-ob0-f178.google.com ([209.85.214.178]:49288 "EHLO mail-ob0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751273AbaJTOLX (ORCPT ); Mon, 20 Oct 2014 10:11:23 -0400 MIME-Version: 1.0 Date: Mon, 20 Oct 2014 10:11:22 -0400 X-Google-Sender-Auth: J1EvU_UQ3-uzegX4Hl6kXjppzVc Message-ID: Subject: Virtio_config BUG with 3.18-rc1 From: Josh Boyer To: Rusty Russell , "Michael S. Tsirkin" Cc: virtualization@lists.linux-foundation.org, "Linux-Kernel@Vger. Kernel. Org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, Booting my local KVM guest with a build of 3.18-rc1 this morning, it hangs during the normal dracut splash screen When I configured the guest to use a serial console, I got the output below. The guest is a typical KVM guest created with virt-manager, using QXL as the display driver. Nothing fancy about it. I'll try and do a bisect or some other experimentation today, but I thought I would send this out now in case someone had an idea or was already aware of it. josh [ 2.048706] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0xb100, revision 0 [ 2.069574] parport_pc 00:04: reported by Plug and Play ACPI [ 2.200079] ------------[ cut here ]------------ [ 2.200661] kernel BUG at include/linux/virtio_config.h:125! [ 2.201004] invalid opcode: 0000 [#1] SMP [ 2.201004] Modules linked in: snd_timer snd virtio_balloon virtio_console serio_raw parport_pc parport i2c_piix4 soundcore pvpanic btrfs qxl xor raid6_pq drm_kms_helper ttm drm 8139too virtio_pci virtio_rini [ 2.201004] CPU: 0 PID: 71 Comm: kworker/0:2 Not tainted 3.18.0-0.rc1.git0.1.fc22.x86_64 #1 [ 2.201004] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2.201004] Workqueue: events control_work_handler [virtio_console] [ 2.201004] task: ffff88003a83f5c0 ti: ffff88003a98c000 task.ti: ffff88003a98c000 [ 2.201004] RIP: 0010:[] [] virtio_device_ready.part.12+0x4/0x6 [virtio_console] [ 2.201004] RSP: 0018:ffff88003a98fd18 EFLAGS: 00010202 [ 2.201004] RAX: 0000000000000007 RBX: ffff88003c9b3200 RCX: 0000000000000000 [ 2.201004] RDX: 000000000000c192 RSI: ffffffffa02111b7 RDI: 000000000001c192 [ 2.201004] RBP: ffff88003a98fd18 R08: ffff88003c9f82b0 R09: 00007f78ee144e90 [ 2.201004] R10: 00000000ffffffff R11: 0000000000000246 R12: ffff880036cdd540 [ 2.201004] R13: 0000000000000001 R14: ffff880036d1a800 R15: 0000000000000000 [ 2.201004] FS: 0000000000000000(0000) GS:ffff88003fc00000(0000) knlGS:0000000000000000 [ 2.201004] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.201004] CR2: 00007f78ee204a50 CR3: 000000003d6f9000 CR4: 00000000000406f0 [ 2.201004] Stack: [ 2.201004] ffff88003a98fd88 ffffffffa020f757 ffff880000000001 ffff8800367ae600 [ 2.201004] ffff88003fc14900 ffff88003a83f628 ffff88003a98fdc8 000000003a0d7984 [ 2.201004] ffff88003a98fd88 ffff88003c831b40 ffff880036cdd584 ffff880036cdd550 [ 2.201004] Call Trace: [ 2.201004] [] add_port+0x3b7/0x3e0 [virtio_console] [ 2.201004] [] control_work_handler+0x39c/0x3e8 [virtio_console] [ 2.201004] [] process_one_work+0x149/0x3d0 [ 2.201004] [] worker_thread+0x11b/0x490 [ 2.201004] [] ? rescuer_thread+0x2e0/0x2e0 [ 2.201004] [] kthread+0xd8/0xf0 [ 2.201004] [] ? kthread_create_on_node+0x1b0/0x1b0 [ 2.201004] [] ret_from_fork+0x7c/0xb0 [ 2.201004] [] ? kthread_create_on_node+0x1b0/0x1b0 [ 2.201004] Code: 00 00 48 c7 c2 fc 11 21 a0 48 c7 c7 48 22 21 a0 48 8d 70 10 31 c0 e8 ee 83 19 e1 e9 3e fe ff ff 90 55 48 89 e5 0f 0b 55 48 89 e5 <0f> 0b 55 48 89 e5 0f 0b 55 48 89 e5 e8 5d e1 ff ff 48 c7 c [ 2.201004] RIP [] virtio_device_ready.part.12+0x4/0x6 [virtio_console] [ 2.201004] RSP [ 2.232148] ---[ end trace a926e61ef6020bee ]--- [ 2.233075] BUG: unable to handle kernel paging request at ffffffffffffffd8 [ 2.233944] IP: [] kthread_data+0x10/0x20 [ 2.234004] PGD 1c17067 PUD 1c19067 PMD 0 [ 2.234004] Oops: 0000 [#2] SMP [ 2.234004] Modules linked in: snd_timer snd virtio_balloon virtio_console serio_raw parport_pc parport i2c_piix4 soundcore pvpanic btrfs qxl xor raid6_pq drm_kms_helper ttm drm 8139too virtio_pci virtio_rini [ 2.234004] CPU: 0 PID: 71 Comm: kworker/0:2 Tainted: G D 3.18.0-0.rc1.git0.1.fc22.x86_64 #1 [ 2.234004] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2.234004] task: ffff88003a83f5c0 ti: ffff88003a98c000 task.ti: ffff88003a98c000 [ 2.234004] RIP: 0010:[] [] kthread_data+0x10/0x20 [ 2.234004] RSP: 0000:ffff88003a98f968 EFLAGS: 00010096 [ 2.234004] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000000f [ 2.234004] RDX: 000000000000000b RSI: 0000000000000000 RDI: ffff88003a83f5c0 [ 2.234004] RBP: ffff88003a98f968 R08: ffff88003a83f650 R09: 000000018011000a [ 2.234004] R10: ffffffff813786bb R11: ffffea0000ea6a40 R12: ffff88003fc14880 [ 2.234004] R13: 0000000000000000 R14: 0000000000000000 R15: ffff88003a83f5c0 [ 2.234004] FS: 0000000000000000(0000) GS:ffff88003fc00000(0000) knlGS:0000000000000000 [ 2.234004] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.234004] CR2: 0000000000000028 CR3: 000000003cb85000 CR4: 00000000000406f0 [ 2.234004] Stack: [ 2.234004] ffff88003a98f988 ffffffff810b0465 ffff88003a98f988 ffff88003a83f5c0 [ 2.234004] ffff88003a98f9f8 ffffffff81747299 ffff88003a83f5c0 0000000000014880 [ 2.234004] ffff88003a98ffd8 0000000000014880 ffff88003a98f9e8 ffff88003a83f5c0 [ 2.234004] Call Trace: [ 2.234004] [] wq_worker_sleeping+0x15/0xa0 [ 2.234004] [] __schedule+0x509/0x7d0 [ 2.234004] [] schedule+0x29/0x70 [ 2.234004] [] do_exit+0x6e7/0xa60 [ 2.234004] [] ? printk+0x70/0x86 [ 2.234004] [] oops_end+0xa0/0xe0 [ 2.234004] [] die+0x4b/0x70 [ 2.234004] [] do_trap+0xb0/0x150 [ 2.234004] [] do_error_trap+0xa6/0x180 [ 2.234004] [] ? virtio_device_ready.part.12+0x4/0x6 [virtio_console] [ 2.234004] [] ? klist_add_tail+0x32/0x40 [ 2.234004] [] ? device_add+0x219/0x630 [ 2.234004] [] do_invalid_op+0x20/0x30 [ 2.234004] [] invalid_op+0x1e/0x30 [ 2.234004] [] ? virtio_device_ready.part.12+0x4/0x6 [virtio_console] [ 2.234004] [] ? vp_get_status+0x19/0x20 [virtio_pci] [ 2.234004] [] add_port+0x3b7/0x3e0 [virtio_console] [ 2.234004] [] control_work_handler+0x39c/0x3e8 [virtio_console] [ 2.234004] [] process_one_work+0x149/0x3d0 [ 2.234004] [] worker_thread+0x11b/0x490 [ 2.234004] [] ? rescuer_thread+0x2e0/0x2e0 [ 2.234004] [] kthread+0xd8/0xf0 [ 2.234004] [] ? kthread_create_on_node+0x1b0/0x1b0 [ 2.234004] [] ret_from_fork+0x7c/0xb0 [ 2.234004] [] ? kthread_create_on_node+0x1b0/0x1b0 [ 2.234004] Code: 00 48 89 e5 5d 48 8b 40 c8 48 c1 e8 02 83 e0 01 c3 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 66 90 48 8b 87 68 04 00 00 55 48 89 e5 <48> 8b 40 d8 5d c3 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 6 [ 2.234004] RIP [] kthread_data+0x10/0x20 [ 2.234004] RSP [ 2.234004] CR2: ffffffffffffffd8 [ 2.234004] ---[ end trace a926e61ef6020bef ]--- [ 2.234004] Fixing recursive fault but reboot is needed! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/