Uploaded image for project: 'XenServer Org'
  1. XenServer Org
  2. XSO-921

Improper BDI handling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Backlog (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 7.5
    • Fix Version/s: None
    • Component/s: Dom0
    • Labels:
      None
    • Environment:

      XenServer 7.5 with latest available patches,

      HP DL380e g8 192GB RAM

      custom storage manager using iSER to log in separate target for each VMs drive.

    • Internal JIRA Reference:
      XSI-182

      Description

      If there is a lot of iSCSI login/logout requests one after another (and even simultaneously), Dom0 could experience kernel panic and crash.

      I've found a patch set for this issue (for kernel 4.11 I think?)., but applying them onto XS 7.5 kernel srpm (needed a bit of backporting) and compiling kernel seems to fix this issue.

      Below I'm attaching part of crash log of Dom0 (only the crash part) and link to the kernel patches.

      Crashlog:
      https://pastebin.com/tXyusAMD

      Patches 1,2 and 3:
      patches

      Most important patch:

      https://pastebin.com/1vhFHkyH

       

      Additionally, it's possible to reproduce this issue with simple script (attached, run with parameters -H 3 -t 20). Said script crashes my machine in 60 - 90 seconds, after patching the kernel - unable to reproduce.

       

      Pre-built .RPM with patched kernel available here:
      https://github.com/mchybo/kernel-4.4.52

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mchybo Michał Chybowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: