Remove "ata_piix.prefer_ms_hyperv=0" parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdump-tools (Ubuntu) |
Fix Released
|
Undecided
|
Heather Lemon | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
Impish |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Heather Lemon | ||
Kinetic |
Fix Released
|
Undecided
|
Heather Lemon | ||
makedumpfile (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Heather Lemon | ||
Focal |
Fix Released
|
Undecided
|
Heather Lemon | ||
Impish |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Azure VM instances hit I/O error on boot causing kernel crash
[Test Plan]
Create Ubuntu Marketplace VM on Azure
```
ssh -i .ssh/id_rsa ubuntu@
```
Install crash dump utilities (from guide: https:/
apt-get install kdump-tools
Say (y) to all questions during install
kdump-config show
*shows the vm is not yet ready to kdump
root@bionic3: kdump-config show
* no crashkernel= parameter in the kernel cmdline
DUMP_MODE: kdump
USE_KDUMP: 1
KDUMP_SYSCTL: kernel.
KDUMP_COREDIR: /var/crash
crashkernel addr:
/var/
kdump initrd:
/var/
current state: Not ready to kdump
kexec command:
no kexec command recorded
Reboot the VM
sudo su
As root on the VM after reboot:
kdump-config show
kdump-config show
DUMP_MODE: kdump
USE_KDUMP: 1
KDUMP_SYSCTL: kernel.
KDUMP_COREDIR: /var/crash
crashkernel addr: 0x32000000
/var/
kdump initrd:
/var/
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-
#verify kdump is on
cat /proc/cmdline
... crashkernel=
dmesg | grep -i crash
[ 0.071660] kexec: Reserving the low 1M of memory for crashkernel
[ 0.269823] Reserving 192MB of memory at 640MB for crashkernel (System RAM: 4095MB)
cat /proc/sys/
# make sure this value is greater than 0
#set it to 1
sudo sysctl -w kernel.sysrq=1
the directory of /var/crash should have no crashes yet as well.
Outcome with "ata_piix.
# perform crash
sudo su
echo c > /proc/sysrq-trigger
After a couple of minuties
Open new terminal and try to ssh to azure VM,
It does not succeed
Force a reboot of the VM through the portal or serial console
#kdump doesnt work and hangs indefinitely
#force reboot VM from Azure console
# verify package version of kdump-tool
# verify parameter is not listed in the kdump-config show output
kdump-config unload
kdump-config load
kdump-config show
kdump-config show
DUMP_MODE: kdump
USE_KDUMP: 1
KDUMP_SYSCTL: kernel.
KDUMP_COREDIR: /var/crash
crashkernel addr: 0x32000000
/var/
kdump initrd:
/var/
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-
#trigger another crash
echo c > /proc/sysrq-trigger
# open new terminal and ssh back into vm
cd /var/crash
#verify a dump was created
linux-image-
[Where Problems Could Occur]
This change modifies the debian/rules.
The package could fail to build properly if mistyped.
[Other]
Back-porting a fix from upstream to remove "ata_piix.
target series - Bionic, Focal, Jammy
upstream patch
https:/
*Note: There are two source packages needed changes, kdump-tools for Impish -> Kinetic and makedumpfile for series Focal -> Bionic
Changed in kdump-tools (Ubuntu Bionic): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
Changed in kdump-tools (Ubuntu Focal): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
Changed in kdump-tools (Ubuntu Jammy): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
Changed in kdump-tools (Ubuntu Kinetic): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
no longer affects: | kdump-tools (Ubuntu Focal) |
no longer affects: | kdump-tools (Ubuntu Bionic) |
Changed in kdump-tools (Ubuntu Focal): | |
status: | New → Invalid |
Changed in kdump-tools (Ubuntu Bionic): | |
status: | New → Invalid |
Changed in makedumpfile (Ubuntu Kinetic): | |
status: | New → Invalid |
Changed in makedumpfile (Ubuntu Kinetic): | |
status: | Invalid → New |
Changed in makedumpfile (Ubuntu Impish): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
Changed in makedumpfile (Ubuntu Jammy): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
tags: | added: sts sts-sponsor-halves |
Changed in makedumpfile (Ubuntu Kinetic): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
description: | updated |
description: | updated |
description: | updated |
Changed in makedumpfile (Ubuntu Kinetic): | |
assignee: | Heather Lemon (hypothetical-lemon) → nobody |
Changed in makedumpfile (Ubuntu Jammy): | |
assignee: | Heather Lemon (hypothetical-lemon) → nobody |
Changed in makedumpfile (Ubuntu Impish): | |
assignee: | Heather Lemon (hypothetical-lemon) → nobody |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in kdump-tools (Ubuntu Jammy): | |
status: | Incomplete → In Progress |
tags: |
added: se-sponsor-halves removed: sts-sponsor-halves |
tags: |
added: verification-done removed: verification-needed |
Jammy debdiff *kdump-tools