Bug 1215622

Summary: iscsiuio - Couldn't mmap registers: Invalid argument
Product: [openSUSE] openSUSE Distribution Reporter: Per Jessen <per>
Component: BasesystemAssignee: Lee Duncan <lduncan>
Status: CONFIRMED --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: hare, jeffrey.langhetee, per
Version: Leap 15.5Flags: lduncan: needinfo? (per)
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Per Jessen 2023-09-22 15:07:47 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
Comment 2 Lee Duncan 2024-05-16 16:25:49 UTC
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?
Comment 3 Lee Duncan 2024-05-21 17:54:12 UTC
Pers, can you share the bnx2i interface file you are using?

Have you tried Tumbleweed yet?