[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Linux 3.11.1 HVM guest kernel crash when started with xl (get_free_entries)


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Pasi Kärkkäinen <pasik@xxxxxx>
  • Date: Sat, 28 Sep 2013 23:52:06 +0300
  • Delivery-date: Sat, 28 Sep 2013 20:52:50 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hello,

Fedora 19, Xen 4.2.3 rpms from the distro.

Starting F19 HVM guest with xl causes the guest to crash during boot.
Starting the same guest with xm/xend works OK.. 

Kernels tested in the guest: 3.11.1 and 3.9.5, both show the same 
crash/traceback:

[    0.692736] input: Xen Virtual Keyboard as /devices/virtual/input/input3
[    0.698030] input: Xen Virtual Pointer as /devices/virtual/input/input4
[    0.701254] ------------[ cut here ]------------
[    0.702238] kernel BUG at drivers/xen/grant-table.c:1180!
[    0.702238] invalid opcode: 0000 [#1] SMP
[    0.702238] Modules linked in:
[    0.702238] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.11.1-200.fc19.x86_64 
#1
[    0.702238] Hardware name: Xen HVM domU, BIOS 4.2.3 09/09/2013
[    0.702238] task: ffff88007b7a8000 ti: ffff88007b7a6000 task.ti: 
ffff88007b7a6000
[    0.702238] RIP: 0010:[<ffffffff813a094f>]  [<ffffffff813a094f>] 
get_free_entries+0x2cf/0x2e0
[    0.702238] RSP: 0018:ffff88007b7a7bd8  EFLAGS: 00010046
[    0.702238] RAX: 0000000000000286 RBX: 0000000000000001 RCX: 0000000000000000
[    0.702238] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81fc7d70
[    0.702238] RBP: ffff88007b7a7c20 R08: 0000000000000000 R09: 000000000000fffc
[    0.702238] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000286
[    0.702238] R13: 000000000007b0db R14: 0000000000000000 R15: 0000000000000000
[    0.702238] FS:  0000000000000000(0000) GS:ffff88007ec20000(0000) 
knlGS:0000000000000000
[    0.702238] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.702238] CR2: 00000030004bd600 CR3: 0000000001c0c000 CR4: 00000000001406e0
[    0.702238] Stack:
[    0.702238]  ffff88007b0a30b0 ffff88007b0a3008 ffff88007b7a7c20 
00000001814b65c6
[    0.702238]  ffff88007b0c2360 0000000000000000 000000000007b0db 
0000000000000000
[    0.702238]  0000000000000000 ffff88007b7a7c50 ffffffff813a0983 
ffff88007b0c2360
[    0.702238] Call Trace:
[    0.702238]  [<ffffffff813a0983>] gnttab_grant_foreign_access+0x23/0x60
[    0.702238]  [<ffffffff814c7b68>] xenkbd_connect_backend+0x58/0x2c0
[    0.702238]  [<ffffffff814c819a>] xenkbd_probe+0x2fa/0x340
[    0.702238]  [<ffffffff813a82ae>] xenbus_dev_probe+0x8e/0x170
[    0.702238]  [<ffffffff813a98e8>] xenbus_frontend_dev_probe+0x48/0x50
[    0.702238]  [<ffffffff813f1f47>] driver_probe_device+0x87/0x390
[    0.702238]  [<ffffffff813f2323>] __driver_attach+0x93/0xa0
[    0.702238]  [<ffffffff813f2290>] ? __device_attach+0x40/0x40
[    0.702238]  [<ffffffff813efe83>] bus_for_each_dev+0x63/0xa0
[    0.702238]  [<ffffffff813f199e>] driver_attach+0x1e/0x20
[    0.702238]  [<ffffffff813f1538>] bus_add_driver+0x1e8/0x2a0
[    0.702238]  [<ffffffff81d595a2>] ? lifebook_module_init+0x1b/0x1b
[    0.702238]  [<ffffffff813f2964>] driver_register+0x74/0x150
[    0.702238]  [<ffffffff81d595a2>] ? lifebook_module_init+0x1b/0x1b
[    0.702238]  [<ffffffff813a7aea>] xenbus_register_driver_common+0x1a/0x20
[    0.702238]  [<ffffffff813a9db8>] xenbus_register_frontend+0x28/0x50
[    0.702238]  [<ffffffff81d595cd>] xenkbd_init+0x2b/0x34
[    0.702238]  [<ffffffff810020fa>] do_one_initcall+0xfa/0x1b0
[    0.702238]  [<ffffffff810866f5>] ? parse_args+0x225/0x400
[    0.702238]  [<ffffffff81d0f078>] kernel_init_freeable+0x177/0x1fa
[    0.790000] ata2.01: NODEV after polling detection
[    0.791467] ata2.00: ATAPI: QEMU DVD-ROM, 0.10.2, max UDMA/100
[    0.793313] ata2.00: configured for MWDMA2
[    0.794098]  [<ffffffff81d0e898>] ? do_early_param+0x88/0x88
[    0.794098]  [<ffffffff8163d970>] ? rest_init+0x80/0x80
[    0.794098]  [<ffffffff8163d97e>] kernel_init+0xe/0x190
[    0.794098]  [<ffffffff816567ac>] ret_from_fork+0x7c/0xb0
[    0.794098]  [<ffffffff8163d970>] ? rest_init+0x80/0x80
[    0.794098] Code: 8b 05 5e 74 c2 00 44 8b 2d 43 74 c2 00 e9 62 fe ff ff 66 
2e 0f 1f 84 00 00 00 00 00 b8 e4 ff ff ff e9 2a ff ff ff 44 89 c7 eb 84 <0f> 0b 
0f 0b 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00
[    0.794098] RIP  [<ffffffff813a094f>] get_free_entries+0x2cf/0x2e0
[    0.794098]  RSP <ffff88007b7a7bd8>
[    0.794098] ---[ end trace 2b0f40d6e8fbbefd ]---
[    0.822685] ata1.01: NODEV after polling detection
[    0.824824] ata1.00: ATA-7: QEMU HARDDISK, 0.10.2, max UDMA/100
[    0.826891] ata1.00: 75497472 sectors, multi 16: LBA48
[    0.829563] ata1.00: configured for MWDMA2
[    0.831065] scsi 0:0:0:0: Direct-Access     ATA      QEMU HARDDISK    0.10 
PQ: 0 ANSI: 5
[    0.833920] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x0000000b
[    0.833920]


Full guest dmesg attached. 


HVM guest cfgfile:

[root@localhost ~]# cat /etc/xen/f19x64hvm02xl.cfg

builder='hvm'
name = "f19x64hvm02xl"
memory = 2048
vcpus=2
pae=1
acpi=1
apic=1
vif = [ 'mac=00:18:1f:01:01:22, bridge=virbr0, model=e1000' ]
disk = [ 'phy:/dev/vg00/f19x64hvm02xl,hda,w', 
'file:/home/iso/Fedora-19-x86_64-DVD.iso,hdc:cdrom,r' ]
boot='cd'
xen_platform_pci=0
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
sdl=0
vnc=1
stdvga=0
videoram=16
serial='pty'
tsc_mode="default"
usb=1
usbdevice='tablet'
keymap='fi'
viridian=0





-- Pasi


Attachment: f19-linux-3.11.1-hvm-guest-kernel-crash-dmesg.txt
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.