[Bug 282887] [13.4]Broadcom mpi3mr driver: DMA allocation fails
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 282887] [13.4]Broadcom mpi3mr driver: DMA allocation fails"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 282887] [13.4]Broadcom mpi3mr driver: DMA allocation fails"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 282887] [13.4]Broadcom mpi3mr driver: DMA allocation fails"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 282887] [13.4]Broadcom mpi3mr driver: DMA allocation fails"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Nov 2024 10:13:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282887 Bug ID: 282887 Summary: [13.4]Broadcom mpi3mr driver: DMA allocation fails Product: Base System Version: 13.4-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: chandrakanth.patil@broadcom.com We are encountering DMA allocation failures during driver load on the recently released FreeBSD 13.4 OS. Were there any changes made to DMA handling that might have caused this issue? Notably, the requested memory allocation size is relatively small, yet the allocation is still failing. Below are the driver load logs: mpi3mr: Loading Broadcom mpi3mr driver version: 8.12.0.0.0 OS version: 13.04.000 mpi3mr0: <Broadcom MPIMR 3.0 controller> mem 0x28080f00000-0x28080f03fff at device 0.0 on pci17 mpi3mr0: Hard secure controller is detected mpi3mr0: SOD ioc_status: 0x8 ioc_control: 0x472000 ioc_info: 0xff000000 mpi3mr0: IOC state: reset IOC ready timeout: 510 mpi3mr0: Set up 1 MSI-x interrupts mpi3mr0: ioc_num(0), maxopQ(127), maxopRepQ(127), maxdh(1023),maxreqs(8192), mindh(1) maxPDs(0) maxvectors(128) maxperids(1024) mpi3mr0: SGEModMask 0x80 SGEModVal 0x80 SGEModShift 0x18 mpi3mr0: max_dev_per_throttle_group(16), max_throttle_groups(241), io_throttle_data_len(68KiB), io_throttle_high(128MiB), io_throttle_low(64MiB) mpi3mr0: dma_mask bits: 63 loaddr 0x8000000000000000 hiaddr 0xffffffffffffffff mpi3mr0: Current Personality: RAID mpi3mr0: fw version: 8.12.0.100.00000-00004 mpi3mr0: Protocol=(Initiator,NVMe attachment), Capabilities=(RAID) mpi3mr0: Issue CI Header Upload: Failed IOCStatus(0x00b2) Loginfo(0x30010453) mpi3mr0: Supported MSI-x count: 128 CPU count: 128 Requested MSI-x count: 127 mpi3mr0: Set up 127 MSI-x interrupts mpi3mr0: mpi3mr_create_op_req_queue: Cannot allocate replies memory mpi3mr0: Failed to create Request queue 127 mpi3mr0: Successfully created 126 Operational Queue pairs mpi3mr0: Request Queue QD: 512 Reply queue QD: 1024 mpi3mr0: Failed to create operational queues, error: -1 mpi3mr0: Retrying controller initialization,retry_count: 1 mpi3mr0: SOD ioc_status: 0x1 ioc_control: 0x472001 ioc_info: 0xff000000 mpi3mr0: IOC state: ready IOC ready timeout: 510 mpi3mr0: Issuing Message Unit Reset(MUR) mpi3mr0: IOC Status/Config after successful MUR is (0x0)/(0x472000) mpi3mr0: Set up 1 MSI-x interrupts mpi3mr0: ioc_num(0), maxopQ(127), maxopRepQ(127), maxdh(1023),maxreqs(8192), mindh(1) maxPDs(0) maxvectors(128) maxperids(1024) mpi3mr0: SGEModMask 0x80 SGEModVal 0x80 SGEModShift 0x18 mpi3mr0: max_dev_per_throttle_group(16), max_throttle_groups(241), io_throttle_data_len(68KiB), io_throttle_high(128MiB), io_throttle_low(64MiB) mpi3mr0: dma_mask bits: 63 loaddr 0x8000000000000000 hiaddr 0xffffffffffffffff mpi3mr0: Current Personality: RAID mpi3mr0: fw version: 8.12.0.100.00000-00004 mpi3mr0: Protocol=(Initiator,NVMe attachment), Capabilities=(RAID) mpi3mr0: Func: mpi3mr_reply_dma_alloc line: 1784 DMA mem alloc failed mpi3mr0: func:mpi3mr_reply_alloc line:1989 DMA memory allocation failed mpi3mr0: Failed to allocated reply and sense buffers, error: 0xffffffff mpi3mr0: FW initialization failed device_attach: mpi3mr0 attach returned -1 -- You are receiving this mail because: You are the assignee for the bug.