Bugzilla – Bug 1215622
iscsiuio - Couldn't mmap registers: Invalid argument
Last modified: 2024-06-17 01:09:20 UTC
When trying to set up an iscsi initiator (in yast) using a bnx2 offload engine, I wasn't getting very far, see bug#1215621. I kept getting this error: iscsiadm: Could not set host net params (err 29) I ran iscsiuio with debug level 4 and noticed the following error msg: Couldn't mmap registers: Invalid argument After some research, I rebooted the machine with "iomem=relaxed" - now it works: anton:~ # iscsiadm -m discovery -P 1 -t st -I eth4-bnx2i -p 10.42.8.10:3260 iscsiadm: Could not set host net params (err 29) iscsiadm: Connection to discovery portal 10.42.8.10 failed: operation failed but retry may succeed Target: iqn.2023-09.local.rz2:opensuse-mirror Portal: 10.42.8.10:3260,1 Iface Name: eth4-bnx2i Target: iqn.2023-09.local.rz2:webspace Portal: 10.42.8.10:3260,1 Iface Name: eth4-bnx2i
Per: This is fixed in tumbleweed, SLE-15-SP6, and Leap 15.6. It was fixed upstream by Chris Leech, introducing a new UIO define of UIO_MEM_DMA_COHERENT. Can you try on Leap 15.6 or Tumbleweed?
Pers, can you share the bnx2i interface file you are using? Have you tried Tumbleweed yet?