Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2022 08:05:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 265786] broadcom storage controller: bus_dmamap_load_ccb() is failing with EINPROGRESS for 1MB IOs
Message-ID:  <bug-265786-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265786

            Bug ID: 265786
           Summary: broadcom storage controller: bus_dmamap_load_ccb() is
                    failing with EINPROGRESS for 1MB IOs
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: chandrakanth.patil@broadcom.com

We are seeing the issue in bus_dmamap_load_ccb() function in the case of 1MB
IOs.=20
It seems, that IO mapping to DMA mem is taking more time so bus_dmamap_load=
_ccb
is returning EINPROGRESS (error no: 36) more frequently. the DMA attributes
passed are below while creating the tag:
1. maxsize: 1MB
2. nsegments: 256
3. maxsegsz: 1MB

I have seen in some of the FreeBSD BZ that warner losh has suggested the
workaround for this by increasing the hw.maxphys in /boot/loader.conf. I ha=
ve
tried the same and it will fix our issue. but the issue was reported on 13.0
and the fix was supposed to be part of 13.1 but I am still seeing it.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265786-227>