← Back to team overview

kernel-packages team mailing list archive

[Bug 1440103] Re: [Hyper-V] Kernel panic not functional on Vivid

 

Hi Joseph,
We got the confirmation that all the below patches must be included for the kdump issue.
Please provide us with a test kernel with these included so we can re-test.

Drivers: hv: vmbus: prefer 'die' notification chain to 'panic'
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=510f7aef65bb7ed22cf9c7f94f955727f963ede4 

Drivers: hv: vmbus: add special crash handler
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=b4370df2b1f5158de028e167974263c5757b34a6 

Drivers: hv: don't do hypercalls when hypercall_page is NULL
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=d7646eaa7678fe5adc42247b4bdfbe9d9db8c253 

Drivers: hv: vmbus: add special kexec handler
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=2517281d63a2b09d94aedfb522943617048f337e 

kexec: define kexec_in_progress in !CONFIG_KEXEC case
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=2b94ed245861a7d378dcde6eef7fa7717e06e349

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1440103

Title:
  [Hyper-V] Kernel panic not functional on Vivid

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Vivid:
  In Progress
Status in linux source package in Wily:
  In Progress

Bug description:
  Issue description:
  Triggering a kernel panic will not produce a crash dump file.

  Steps to Reproduce:
  1. install kdump related packages.
  2. verify crashmem value - defaults to 384M-:129M
  3. verify that the system is ready for crash:
          # cat /sys/kernel/kexec_crash_loaded
          1
  4. trigger kernel panic with # echo c | sudo tee /proc/sysrq-trigger
  5. The system will freeze and no kernel dump will be generated, system is not rebooted automatically as configured in kdump-tools config.

  Versions details:
  Windows Server Host Edition: Microsoft Windows Server 2012 R2 Datacenter build 9600
  Distribution name and release: Ubuntu Vivid Vervet
  Kernel version: Linux ubuntu31 3.19.0-11-generic #11lp14233432v201504021617 SMP

  Repro output with VM settings as follows:
  2GB RAM, 1vCPU, crashmem: 384M:128M OR 384M:128M

  [  149.328829] SysRq : Trigger a crash
  [  149.342418] BUG: unable to handle kernel NULL pointer dereference at           (null)
  [  149.346369] IP: [<ffffffff814ae776>] sysrq_handle_crash+0x16/0x20
  [  149.346369] PGD 367a3067 PUD 7bdf0067 PMD 0
  [  149.346369] Oops: 0002 [#1] SMP
  [  149.346369] Modules linked in: joydev hid_generic hid_hyperv serio_raw hid 8250_fintek hyperv_keyboard hv_balloon hyp
  erv_fb i2c_piix4 mac_hid autofs4 hv_netvsc hv_utils hv_storvsc psmouse floppy pata_acpi hv_vmbus
  [  149.346369] CPU: 0 PID: 1379 Comm: tee Not tainted 3.19.0-11-generic #11lp14233432v201504021617
  [  149.346369] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090006  05/23/2012
  [  149.346369] task: ffff88007a7d3ae0 ti: ffff88007be7c000 task.ti: ffff88007be7c000
  [  149.346369] RIP: 0010:[<ffffffff814ae776>]  [<ffffffff814ae776>] sysrq_handle_crash+0x16/0x20
  [  149.346369] RSP: 0018:ffff88007be7fe68  EFLAGS: 00010292
  [  149.346369] RAX: 000000000000000f RBX: 0000000000000063 RCX: 000000000000000f
  [  149.346369] RDX: ffff88007ce0fd78 RSI: ffff88007ce0e498 RDI: 0000000000000063
  [  149.346369] RBP: ffff88007be7fe68 R08: 0000000000000002 R09: 0000000000000275
  [  149.346369] R10: 0000000000000092 R11: 0000000000000275 R12: 0000000000000004
  [  149.346369] R13: 0000000000000000 R14: ffffffff81cb38e0 R15: 0000000000000008
  [  149.346369] FS:  00007f0a2e22a700(0000) GS:ffff88007ce00000(0000) knlGS:0000000000000000
  [  149.346369] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
  [  149.346369] CR2: 0000000000000000 CR3: 0000000036047000 CR4: 00000000000006f0
  [  149.346369] Stack:
  [  149.346369]  ffff88007be7fe98 ffffffff814aef96 0000000000000002 fffffffffffffffb
  [  149.346369]  00007ffc64e934b0 0000000000000002 ffff88007be7feb8 ffffffff814af443
  [  149.346369]  00007ffc64e934b0 ffff8800364f15c0 ffff88007be7fed8 ffffffff8125ad98
  [  149.346369] Call Trace:
  [  149.346369]  [<ffffffff814aef96>] __handle_sysrq+0x106/0x170
  [  149.346369]  [<ffffffff814af443>] write_sysrq_trigger+0x33/0x40
  [  149.346369]  [<ffffffff8125ad98>] proc_reg_write+0x48/0x70
  [  149.346369]  [<ffffffff811f33d7>] vfs_write+0xb7/0x1f0
  [  149.346369]  [<ffffffff811f3ece>] ? vfs_read+0x11e/0x140
  [  149.346369]  [<ffffffff811f3fe6>] SyS_write+0x46/0xb0
  [  149.346369]  [<ffffffff817c924d>] system_call_fastpath+0x16/0x1b
  [  149.346369] Code: ef e8 df f7 ff ff eb d8 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 66 66 66 66 90 55 c7 05 34 42 a3 00
  01 00 00 00 48 89 e5 0f ae f8 <c6> 04 25 00 00 00 00 01 5d c3 66 66 66 66 90 55 31 c0 48 89 e5
  [  149.346369] RIP  [<ffffffff814ae776>] sysrq_handle_crash+0x16/0x20
  [  149.346369]  RSP <ffff88007be7fe68>
  [  149.346369] CR2: 0000000000000000
  [    0.000000] Initializing cgroup subsys cpuset
  [    0.000000] Initializing cgroup subsys cpu
  [    0.000000] Initializing cgroup subsys cpuacct
  [    0.000000] Linux version 3.19.0-11-generic (apw@gloin) (gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu12) ) #11lp14233432v
  201504021617 SMP Thu Apr 2 15:15:51 UTC 2015 (Ubuntu 3.19.0-11.11lp14233432v201504021617-generic 3.19.3)
  [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.19.0-11-generic root=/dev/mapper/ubuntu31--vg-root ro console=tty0 co
  nsole=ttyS1 irqpoll maxcpus=1 nousb systemd.unit=kdump-tools.service elfcorehdr=867700K

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1440103/+subscriptions


References