Bug 1215622 - iscsiuio - Couldn't mmap registers: Invalid argument
Summary: iscsiuio - Couldn't mmap registers: Invalid argument
Status: CONFIRMED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Lee Duncan
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-22 15:07 UTC by Per Jessen
Modified: 2024-06-17 01:09 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
lduncan: needinfo? (per)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?