You are not logged in.

#1 2018-09-19 12:10:31

morphin
Member
Registered: 2017-11-15
Posts: 20

ioctl: ioctl interface mismatch: kernel(4.37.0), user(4.39.0), cmd(16)

Hello. 
I just upgraded my Kernel to: 4.14.70-1-lts | device-mapper 2.02.181-1 | multipath-tools 0.7.7-1
After that multipathd started to giving the log: // device-mapper: ioctl: ioctl interface mismatch: kernel(4.37.0), user(4.39.0), cmd(16)
It was working great on my ex kernel "4.14.30-1-lts" with | device-mapper 2.02.177-5 | multipath-tools 0.7.6-1
Also I tried multipath git version but nothing change.

I think the problem related to device-mapper and my device mapper Build Date:    2018-08-01 19:05 UTC = https://www.archlinux.org/packages/core … ce-mapper/
Do I need to compile device mapper git version or what should I do?

----------------------------------------------------------------------------------------------------

I send the msg to device-mapper devel team and this is the answer:
```
as you report, your device-mapper version is too recent for your kernel
(the major version has to match and the kernel minor version needs to greater or equal),
i.e. 4.39 is too recent for version 4.37 in the kernel.

In case you updated kernel and userspace by pacman means, something's broken in the Arch repositories.
You either have to downgrade your device-mapper userspace
or upgrade your kernel accordingly.
```

Offline

#2 2018-09-19 23:44:08

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: ioctl: ioctl interface mismatch: kernel(4.37.0), user(4.39.0), cmd(16)

multipathd/dmevents.c:17:#include <linux/dm-ioctl.h>
I think the issue is the above not the device-mapper package.  The header linux/dm-ioctl.h will be provided by linux-api-headers 4.17.11-1.
If you downgrade that package to 4.14.8-1 then rebuild multipath-tools (you can then update the package again) does that resolve the issue?

Offline

Board footer

Powered by FluxBB