** Description changed: [Impact] Azure VM instances hit I/O error on boot causing kernel crash [Test Plan] + + + spin up azure vm + + sudo apt-get install azure-cli + + sudo apt install linux-crashdump + + reboot + + kdump-config show + + + DUMP_MODE: kdump + USE_KDUMP: 1 + KDUMP_SYSCTL: kernel.panic_on_oops=1 + KDUMP_COREDIR: /var/crash + crashkernel addr: 0x + /var/lib/kdump/vmlinuz: symbolic link to /boot/vmlinuz-5.4.0-1085-azure + kdump initrd: + /var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-5.4.0-1085-azure + current state: ready to kdump + + kexec command: + /sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-5.4.0-1085-azure root=UUID=a117a689-aa1d-4cdc-8a30-7b9fbf174437 ro console=tty1 console=ttyS0 earlyprintk=ttyS0 reset_devices systemd.unit=kdump-tools-dump.service nr_cpus=1 irqpoll nousb ata_piix.prefer_ms_hyperv=0" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz + + #verify kdump is on + + cat /proc/cmdline + crashkernel=512M-:192M + + 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/kernel/sysrq + # make sure this value is greater than 0 + sudo sysctl -w kernel.sysrq=1 + + #set it to 1 + + # perform crash + sudo su + echo c > sysrq-trigger + + #kdump doesnt work on Azure and hangs indefiantly + #reboot VM + + Execute commands lxc launch ubuntu:impish kdumpimpish lxc exec kdumpimpish bash apt-get install kdump-tools -y Say (y) to all questions during install #A reboot is needed sudo reboot #print out the crashkernel config kdump-config test # Output shows the parameter "ata_piix.prefer_ms_hyperv=0" is not listed kdump-config test | grep "ata_piix.prefer_ms_hyperv=0" Full output of kdump-config test * no crashkernel= parameter in the kernel cmdline * Invalid symlink : /var/lib/kdump/initrd.img * Invalid symlink : /var/lib/kdump/vmlinuz * /etc/default/kdump-tools: KDUMP_KERNEL does not exist: /var/lib/kdump/vmlinuz USE_KDUMP: 1 KDUMP_COREDIR: /var/crash crashkernel addr kdump kernel addr kdump kernel: /var/lib/kdump/vmlinuz kdump initrd: /var/lib/kdump/initrd.img kexec command to be used: /sbin/kexec -p --command-line="BOOT_IMAGE=/vmlinuz-5.13.0-48-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7 reset_devices systemd.unit=kdump-tools-dump.service nr_cpus=1 irqpoll nousb" /var/lib/kdump/vmlinuz [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.prefer_ms_hyperv=0" parameter. target series - Kinetic-> Bionic upstream patch https://salsa.debian.org/debian/kdump- tools/-/commit/b1bac9396ddbbce3817c34be3161630698e4a503 *Note: There are two source packages needed changes, kdump-tools for Impish -> Kinetic and makedumpfile for series Focal -> Bionic
** Description changed: [Impact] Azure VM instances hit I/O error on boot causing kernel crash [Test Plan] - - spin up azure vm + spin up azure vm sudo apt-get install azure-cli sudo apt install linux-crashdump + Say (y) to all questions during install + reboot kdump-config show - DUMP_MODE: kdump USE_KDUMP: 1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR: /var/crash crashkernel addr: 0x - /var/lib/kdump/vmlinuz: symbolic link to /boot/vmlinuz-5.4.0-1085-azure - kdump initrd: - /var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-5.4.0-1085-azure + /var/lib/kdump/vmlinuz: symbolic link to /boot/vmlinuz-5.4.0-1085-azure + kdump initrd: + /var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-5.4.0-1085-azure current state: ready to kdump kexec command: - /sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-5.4.0-1085-azure root=UUID=a117a689-aa1d-4cdc-8a30-7b9fbf174437 ro console=tty1 console=ttyS0 earlyprintk=ttyS0 reset_devices systemd.unit=kdump-tools-dump.service nr_cpus=1 irqpoll nousb ata_piix.prefer_ms_hyperv=0" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz + /sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-5.4.0-1085-azure root=UUID=a117a689-aa1d-4cdc-8a30-7b9fbf174437 ro console=tty1 console=ttyS0 earlyprintk=ttyS0 reset_devices systemd.unit=kdump-tools-dump.service nr_cpus=1 irqpoll nousb ata_piix.prefer_ms_hyperv=0" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz #verify kdump is on cat /proc/cmdline crashkernel=512M-:192M 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/kernel/sysrq # make sure this value is greater than 0 sudo sysctl -w kernel.sysrq=1 #set it to 1 - # perform crash + # perform crash sudo su echo c > sysrq-trigger - #kdump doesnt work on Azure and hangs indefiantly - #reboot VM + #kdump doesnt work on Azure and hangs indefiantly + #reboot VM - - - Execute commands - - lxc launch ubuntu:impish kdumpimpish - - lxc exec kdumpimpish bash - - apt-get install kdump-tools -y - - Say (y) to all questions during install - - #A reboot is needed - sudo reboot - - #print out the crashkernel config - kdump-config test - - # Output shows the parameter "ata_piix.prefer_ms_hyperv=0" is not listed - kdump-config test | grep "ata_piix.prefer_ms_hyperv=0" - - Full output of kdump-config test - * no crashkernel= parameter in the kernel cmdline - * Invalid symlink : /var/lib/kdump/initrd.img - * Invalid symlink : /var/lib/kdump/vmlinuz - * /etc/default/kdump-tools: KDUMP_KERNEL does not exist: /var/lib/kdump/vmlinuz - USE_KDUMP: 1 - KDUMP_COREDIR: /var/crash - crashkernel addr - kdump kernel addr - kdump kernel: - /var/lib/kdump/vmlinuz - kdump initrd: - /var/lib/kdump/initrd.img - kexec command to be used: - /sbin/kexec -p --command-line="BOOT_IMAGE=/vmlinuz-5.13.0-48-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7 reset_devices systemd.unit=kdump-tools-dump.service nr_cpus=1 irqpoll nousb" /var/lib/kdump/vmlinuz [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.prefer_ms_hyperv=0" parameter. target series - Kinetic-> Bionic upstream patch https://salsa.debian.org/debian/kdump- tools/-/commit/b1bac9396ddbbce3817c34be3161630698e4a503 *Note: There are two source packages needed changes, kdump-tools for Impish -> Kinetic and makedumpfile for series Focal -> Bionic -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to makedumpfile in Ubuntu. https://bugs.launchpad.net/bugs/1978333 Title: Remove "ata_piix.prefer_ms_hyperv=0" parameter Status in kdump-tools package in Ubuntu: Fix Committed Status in makedumpfile package in Ubuntu: Invalid Status in kdump-tools source package in Bionic: Invalid Status in makedumpfile source package in Bionic: New Status in kdump-tools source package in Focal: Invalid Status in makedumpfile source package in Focal: New Status in kdump-tools source package in Impish: New Status in makedumpfile source package in Impish: Invalid Status in kdump-tools source package in Jammy: Incomplete Status in makedumpfile source package in Jammy: Invalid Status in kdump-tools source package in Kinetic: Fix Committed Status in makedumpfile source package in Kinetic: Invalid Bug description: [Impact] Azure VM instances hit I/O error on boot causing kernel crash [Test Plan] spin up azure vm sudo apt-get install azure-cli sudo apt install linux-crashdump Say (y) to all questions during install reboot kdump-config show DUMP_MODE: kdump USE_KDUMP: 1 KDUMP_SYSCTL: kernel.panic_on_oops=1 KDUMP_COREDIR: /var/crash crashkernel addr: 0x /var/lib/kdump/vmlinuz: symbolic link to /boot/vmlinuz-5.4.0-1085-azure kdump initrd: /var/lib/kdump/initrd.img: symbolic link to /var/lib/kdump/initrd.img-5.4.0-1085-azure current state: ready to kdump kexec command: /sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-5.4.0-1085-azure root=UUID=a117a689-aa1d-4cdc-8a30-7b9fbf174437 ro console=tty1 console=ttyS0 earlyprintk=ttyS0 reset_devices systemd.unit=kdump-tools-dump.service nr_cpus=1 irqpoll nousb ata_piix.prefer_ms_hyperv=0" --initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz #verify kdump is on cat /proc/cmdline crashkernel=512M-:192M 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/kernel/sysrq # make sure this value is greater than 0 sudo sysctl -w kernel.sysrq=1 #set it to 1 # perform crash sudo su echo c > sysrq-trigger #kdump doesnt work on Azure and hangs indefiantly #reboot VM [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.prefer_ms_hyperv=0" parameter. target series - Kinetic-> Bionic upstream patch https://salsa.debian.org/debian/kdump- tools/-/commit/b1bac9396ddbbce3817c34be3161630698e4a503 *Note: There are two source packages needed changes, kdump-tools for Impish -> Kinetic and makedumpfile for series Focal -> Bionic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kdump-tools/+bug/1978333/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp