kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #121257
[Bug 1400319] Re: [Hyper-V] Kernel panic not functional on 32bit Ubuntu 14.10 and 15.04
We might have some progress here.
After installing kexec-tools_2.0.6-0ubuntu2.1_i386.deb kdump is now
loading and the initial reported problem that it was not even able to
see the crash memory location is not showing up.
The remaining problem is that the kernel panic is not completing, the VM
remaining stuck when the kernel panic is triggered which is a kernel
situation. The problem is the same as in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1440103
Going to the initial thread, will you be able to see the changes for
kexec that might be causing kdump to not load in the first place?
root@ubuntu:~# sudo kdump-config load
* loaded kdump kernel
root@ubuntu:~# cat /sys/kernel/kexec_crash_loaded
1
root@ubuntu:~# dpkg -l | grep kexec
ii kexec-tools 1:2.0.6-0ubuntu2.1 i386 tools to support fast kexec reboots
root@ubuntu:~# dpkg -l | grep kdump
ii kdump-tools 1:1.5.7-5 all scripts and tools for automating kdump (Linux crash dumps)
root@ubuntu:~# uname -a
Linux ubuntu 3.19.0-18-generic #18-Ubuntu SMP Tue May 19 18:30:59 UTC 2015 i686 i686 i686 GNU/Linux
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to kexec-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1400319
Title:
[Hyper-V] Kernel panic not functional on 32bit Ubuntu 14.10 and 15.04
Status in kexec-tools package in Ubuntu:
Confirmed
Status in linux package in Ubuntu:
Confirmed
Status in kexec-tools source package in Utopic:
Confirmed
Status in linux source package in Utopic:
Confirmed
Status in kexec-tools source package in Vivid:
Confirmed
Status in linux source package in Vivid:
Confirmed
Bug description:
While testing the final build of 14.10 32bit we found that kernel
panic cannot be activated for an installation on a Hyper-V VM.
Repro rate: 100%
Repro details:
Hyper-V: Server 2012 R2
VM: Ubuntu 14.10 32bit
Kdump is enabled in the config file at /etc/default/kdump-tools
Different crashkernel values used in grub.cfg – 128M-:64M | 256M-:128m
| 384M-:256M
VM settings: 2 cores, various RAM sizes attempted: 1, 2 or 4 GB – this
in combination with the values for crashkernel.
Trying to start the kdump service:
root@ubuntu1410i386:~# /etc/init.d/kdump-tools start
Starting kdump-tools: Could not find a free area of memory of 0x9f000 bytes...
locate_hole failed
* failed to load kdump kernel
---
root@ubuntu1410i386:~# cat /sys/kernel/kexec_crash_loaded
0
If the conversion from hex to dec is right, the mentioned memory mapping of 0x9f000 bytes is equal to 651264 (bytes), so under 1MB. This is not then related to the RAM allocation nor the crashkernel value used.
---
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.14.7-0ubuntu8
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
CRDA: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 14.10
HibernationDevice: RESUME=UUID=5a5d0aa4-b8ee-4bf7-b1b9-761b7d1550b6
InstallationDate: Installed on 2014-10-31 (37 days ago)
InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Release i386 (20141022.2)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
MachineType: Microsoft Corporation Virtual Machine
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 hyperv_fb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-24-generic root=UUID=83fb481a-8898-4adc-bf31-4e160f5f0ce8 ro crashkernel=128M-:64M
ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
RelatedPackageVersions:
linux-restricted-modules-3.16.0-24-generic N/A
linux-backports-modules-3.16.0-24-generic N/A
linux-firmware 1.138
RfKill: Error: [Errno 2] No such file or directory
Tags: utopic
Uname: Linux 3.16.0-24-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
WifiSyslog:
Dec 8 08:16:46 ubuntu1410i386 dhclient: DHCPREQUEST of 10.226.59.102 on eth0 to 10.184.232.100 port 67 (xid=0x4b67ffa3)
Dec 8 08:16:46 ubuntu1410i386 dhclient: DHCPACK of 10.226.59.102 from 10.184.232.100
Dec 8 08:16:47 ubuntu1410i386 dhclient: bound to 10.226.59.102 -- renewal in 13914 seconds.
Dec 8 10:10:47 ubuntu1410i386 kernel: [1840786.031060] init: tty1 main process ended, respawning
_MarkForUpload: True
dmi.bios.date: 05/23/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 090006
dmi.board.name: Virtual Machine
dmi.board.vendor: Microsoft Corporation
dmi.board.version: 7.0
dmi.chassis.asset.tag: 7176-0455-3377-8479-3268-6677-66
dmi.chassis.type: 3
dmi.chassis.vendor: Microsoft Corporation
dmi.chassis.version: 7.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr090006:bd05/23/2012:svnMicrosoftCorporation:pnVirtualMachine:pvr7.0:rvnMicrosoftCorporation:rnVirtualMachine:rvr7.0:cvnMicrosoftCorporation:ct3:cvr7.0:
dmi.product.name: Virtual Machine
dmi.product.version: 7.0
dmi.sys.vendor: Microsoft Corporation
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1400319/+subscriptions
References