Project

General

Profile

Bug #12712

xnf calls ddi_dma_nextcookie too many times and panics the system

Added by Andrew Stormont 6 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

I can't provide a stack trace unfortunately as I've only observed this issue in Amazon's EC2 but it's pretty obvious what's happening from look at the code: it's calling ddi_dma_nextcookie at the end of a loop in xnf_mblk_map. The call on the final iteration tickles the check in ddi_dma_nextcookie causing the system to panic.


Files


Related issues

Related to illumos gate - Feature #12183: Want new IPD 13 DMA Cookie APIsClosedRobert Mustacchi

Actions
#1

Updated by Andrew Stormont 6 months ago

  • Subject changed from xnf calls ddi_dma_nextcookie too many times panics the system to xnf calls ddi_dma_nextcookie too many times and panics the system
#2

Updated by Andrew Stormont 5 months ago

#3

Updated by Al Slater 5 months ago

I have hit the same issue after upgrading an aws instance to omnios r151034. I managed to capture a screenshot of the top of the stack trace.

#4

Updated by Electric Monk 4 months ago

  • Gerrit CR set to 676
#5

Updated by Electric Monk 3 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 8fa80b6906806016ca3449e9e20ce5f6b49653dc

commit  8fa80b6906806016ca3449e9e20ce5f6b49653dc
Author: Andrew Stormont <astormont@racktopsystems.com>
Date:   2020-07-23T14:31:25.000Z

    12712 xnf calls ddi_dma_nextcookie too many times and panics the system
    Reviewed by: Paul Winder <pwinder@racktopsystems.com>
    Reviewed by: Garrett D'Amore <gdamore@racktopsystems.com>
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: Patrick Mooney <pmooney@pfmooney.com>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Also available in: Atom PDF