[Kernel-packages] [Bug 1829652] Re: Kernel panic upon resetting ixgbe SR-IOV VFIO virtual function using 5.0 kernel

2019-07-08 Thread Damien Claisse
kernel 5.0.0-21-generic fixes the issue. Thanks for your help!

** Tags removed: disco verification-needed-disco
** Tags added: verification-done-disco

-- 
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/1829652

Title:
  Kernel panic upon resetting ixgbe SR-IOV VFIO virtual function using
  5.0 kernel

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  In Progress

Bug description:
  [Impact]
  If you pass a vf of an intel 10G nic - such as the X550T - into a VM, and 
that nic does not support IPsec, the system will oops.

  [Test Case]
  Enable virtual functions (e.g. (class/net/em1/device/sriov_numvfs = 4).

  Use an XML snippet to delegate virtual function to VM, e.g.:

  
    
    
  
    
    
    
  

  Start VM.

  [Fix]
  
https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git/commit/?h=dev-queue=a2243a4faae5a3c210995ade2cbca369b20daa0f

  [Regression Risk]
  Restricted to the ixgbe driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1829652/+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


[Kernel-packages] [Bug 1829652] Re: Kernel panic upon resetting ixgbe SR-IOV VFIO virtual function using 5.0 kernel

2019-05-19 Thread Damien Claisse
I obviously can't run apport-collect after a kernel panic, but will be
more than happy to upload any log file that could help troubleshooting.

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
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/1829652

Title:
  Kernel panic upon resetting ixgbe SR-IOV VFIO virtual function using
  5.0 kernel

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hi,
  I've recently upgraded my system to ubuntu 19.04, and kernel consistently 
panics when I boot a virtual machine using an SR-IOV VFIO virtual function. 
Could reproduce with 5.0.0-13-generic and 5.0.0-15-generic, doesn't happen with 
4.18.0-20-generic.

  I'm using libvirt and VM is using KVM, XML snippet to delegate virtual
  function to VM is:

  
    
    
  
    
    
    
  

  As soon as I start the VM using "virsh start vm", kernel panics.

  I'm using X550T intel NIC (lspci output: Ethernet controller: Intel
  Corporation Ethernet Controller 10G X550T (rev 01)) on a Supermicro
  X11SSH-CTF motherboard, with up to date bios and 4 virtual functions
  (class/net/em1/device/sriov_numvfs = 4).

  Given panic stack trace (see attachment), I've narrowed down the bug
  to ixgbe_ipsec_vf_clear function in upstream ixgbe driver:
  
https://github.com/torvalds/linux/blob/72cf0b07418a9c8349aa9137194b1ccba6e54a9d/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c#L840

  When I comment its usage
  
(https://github.com/torvalds/linux/blob/72cf0b07418a9c8349aa9137194b1ccba6e54a9d/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c#L734),
  everything works as expected (I'm not using any ipsec feature). Didn't
  try to fix the ixgbe_ipsec_vf_clear function though.

  Please find attached a stack trace collected using IPMI serial-over-
  lan.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1829652/+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


[Kernel-packages] [Bug 1829652] Re: Kernel panic upon resetting ixgbe SR-IOV VFIO virtual function using 5.0 kernel

2019-05-19 Thread Damien Claisse
** Attachment added: "Panic stack trace"
   
https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/1829652/+attachment/5264773/+files/panic_stack_trace.txt

** Description changed:

  Hi,
  I've recently upgraded my system to ubuntu 19.04, and kernel consistently 
panics when I boot a virtual machine using an SR-IOV VFIO virtual function. 
Could reproduce with 5.0.0-13-generic and 5.0.0-15-generic, doesn't happen with 
4.18.0-20-generic.
  
  I'm using libvirt and VM is using KVM, XML snippet to delegate virtual
  function to VM is:
  
- 
-   
-   
- 
-   
-   
-   
- 
+ 
+   
+   
+ 
+   
+   
+   
+ 
  
  As soon as I start the VM using "virsh start vm", kernel panics.
  
  I'm using X550T intel NIC (lspci output: Ethernet controller: Intel
- Corporation Ethernet Controller 10G X550T (rev 01)) on an Supermicro
+ Corporation Ethernet Controller 10G X550T (rev 01)) on a Supermicro
  X11SSH-CTF motherboard, with up to date bios and 4 virtual functions
  (class/net/em1/device/sriov_numvfs = 4).
  
  Given panic stack trace (see attachment), I've narrowed down the bug to
  ixgbe_ipsec_vf_clear function in upstream ixgbe driver:
  
https://github.com/torvalds/linux/blob/72cf0b07418a9c8349aa9137194b1ccba6e54a9d/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c#L840
  
  When I comment its usage
  
(https://github.com/torvalds/linux/blob/72cf0b07418a9c8349aa9137194b1ccba6e54a9d/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c#L734),
  everything works as expected (I'm not using any ipsec feature). Didn't
  try to fix the ixgbe_ipsec_vf_clear function though.
  
  Please find attached a stack trace collected using IPMI serial-over-lan.

** Package changed: kernel-package (Ubuntu) => linux (Ubuntu)

-- 
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/1829652

Title:
  Kernel panic upon resetting ixgbe SR-IOV VFIO virtual function using
  5.0 kernel

Status in linux package in Ubuntu:
  New

Bug description:
  Hi,
  I've recently upgraded my system to ubuntu 19.04, and kernel consistently 
panics when I boot a virtual machine using an SR-IOV VFIO virtual function. 
Could reproduce with 5.0.0-13-generic and 5.0.0-15-generic, doesn't happen with 
4.18.0-20-generic.

  I'm using libvirt and VM is using KVM, XML snippet to delegate virtual
  function to VM is:

  
    
    
  
    
    
    
  

  As soon as I start the VM using "virsh start vm", kernel panics.

  I'm using X550T intel NIC (lspci output: Ethernet controller: Intel
  Corporation Ethernet Controller 10G X550T (rev 01)) on a Supermicro
  X11SSH-CTF motherboard, with up to date bios and 4 virtual functions
  (class/net/em1/device/sriov_numvfs = 4).

  Given panic stack trace (see attachment), I've narrowed down the bug
  to ixgbe_ipsec_vf_clear function in upstream ixgbe driver:
  
https://github.com/torvalds/linux/blob/72cf0b07418a9c8349aa9137194b1ccba6e54a9d/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c#L840

  When I comment its usage
  
(https://github.com/torvalds/linux/blob/72cf0b07418a9c8349aa9137194b1ccba6e54a9d/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c#L734),
  everything works as expected (I'm not using any ipsec feature). Didn't
  try to fix the ixgbe_ipsec_vf_clear function though.

  Please find attached a stack trace collected using IPMI serial-over-
  lan.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1829652/+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


[Kernel-packages] [Bug 1829652] Re: Kernel panic upon resetting ixgbe SR-IOV VFIO virtual function using 5.0 kernel

2019-05-19 Thread Damien Claisse
** Attachment added: "lspci-vvnn.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1829652/+attachment/5264783/+files/lspci-vvnn.log

-- 
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/1829652

Title:
  Kernel panic upon resetting ixgbe SR-IOV VFIO virtual function using
  5.0 kernel

Status in linux package in Ubuntu:
  New

Bug description:
  Hi,
  I've recently upgraded my system to ubuntu 19.04, and kernel consistently 
panics when I boot a virtual machine using an SR-IOV VFIO virtual function. 
Could reproduce with 5.0.0-13-generic and 5.0.0-15-generic, doesn't happen with 
4.18.0-20-generic.

  I'm using libvirt and VM is using KVM, XML snippet to delegate virtual
  function to VM is:

  
    
    
  
    
    
    
  

  As soon as I start the VM using "virsh start vm", kernel panics.

  I'm using X550T intel NIC (lspci output: Ethernet controller: Intel
  Corporation Ethernet Controller 10G X550T (rev 01)) on a Supermicro
  X11SSH-CTF motherboard, with up to date bios and 4 virtual functions
  (class/net/em1/device/sriov_numvfs = 4).

  Given panic stack trace (see attachment), I've narrowed down the bug
  to ixgbe_ipsec_vf_clear function in upstream ixgbe driver:
  
https://github.com/torvalds/linux/blob/72cf0b07418a9c8349aa9137194b1ccba6e54a9d/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c#L840

  When I comment its usage
  
(https://github.com/torvalds/linux/blob/72cf0b07418a9c8349aa9137194b1ccba6e54a9d/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c#L734),
  everything works as expected (I'm not using any ipsec feature). Didn't
  try to fix the ixgbe_ipsec_vf_clear function though.

  Please find attached a stack trace collected using IPMI serial-over-
  lan.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1829652/+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