Kernel 2.6.32-754.17.1 kernel panic with kvm

General support questions
Post Reply
matrix2020
Posts: 21
Joined: 2016/11/11 07:42:01

Kernel 2.6.32-754.17.1 kernel panic with kvm

Post by matrix2020 » 2019/07/08 08:55:38

After having rebooted today, the server crashes and reboots when trying to launch a virtual machine on startup.
The hardware is Asrock J3455-ITX with 8 gigs of RAM.
An additional pci-e dual port intel card is installed.
The VM in question is pfsense taking over both intel nics.
VT-D is enabled both in BIOS and in kernel.
The following script runs just before vm launch without problems.
echo "8086 10a7" > /sys/bus/pci/drivers/pci-stub/new_id
echo "0000:04:00.1" > /sys/bus/pci/devices/0000:04:00.1/driver/unbind
echo "0000:04:00.1" > /sys/bus/pci/drivers/pci-stub/bind
echo "0000:04:00.0" > /sys/bus/pci/devices/0000:04:00.0/driver/unbind
echo "0000:04:00.0" > /sys/bus/pci/drivers/pci-stub/bind
echo 1 > /sys/module/kvm/parameters/allow_unsafe_assigned_interrupts

Server crashes right after qemu-kvm is ran.
Since my system doesn't have kernel debugging, I am not sure how I could assemble any data for investigating, what went wrong.
In the meantime, I rolled back to previous kernel I used 2.6.32-754.10.1 which works just fine.

Please advise.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Kernel 2.6.32-754.17.1 kernel panic with kvm

Post by TrevorH » 2019/07/08 14:51:53

To make sure I understand, you start the guest on the host after updating the host kernel to the newer one and just after you start the guest, the host crashes? Is there a panic/crash screen that you can take a screenshot of?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

matrix2020
Posts: 21
Joined: 2016/11/11 07:42:01

Re: Kernel 2.6.32-754.17.1 kernel panic with kvm

Post by matrix2020 » 2019/07/08 16:01:35

To answer your question, yes it crashes right away.
And no, I don't get enough time to see the crash screen.
It crashes, starts listing hardware devices as if it just started, then promptly writes "rebooting" and reboots.
I have the vmcore.
Can I upload it somewhere for analysis?

EDIT:
OK, I uploaded the vmcore-dmesg.txt
It contains the details of the crash.
Last edited by matrix2020 on 2019/07/08 16:06:01, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Kernel 2.6.32-754.17.1 kernel panic with kvm

Post by TrevorH » 2019/07/08 16:05:50

No, there's no-one from CentOS who would be interested in the kdump. If you want to load it and get the backtrace out of it and then open a bug on bugs.centos.org and, since it's most likely a RHEL issue too, one on bugzilla.redhat.com and link the two together. The fix for it is most likely going to need to come from Redhat since all CentOS does is remove the RH branding and rebuild.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

matrix2020
Posts: 21
Joined: 2016/11/11 07:42:01

Re: Kernel 2.6.32-754.17.1 kernel panic with kvm

Post by matrix2020 » 2019/07/08 16:11:31

Trying to submit, the bug.
Quick question, do I need to specify the OS version somehow?
I don't see anywhere to choose the CentOS version in the bug creation form.

EDIT:
Silly me, found and done :)
Issue submitted:
https://bugs.centos.org/view.php?id=16246

Post Reply