From: Mike Snitzer <snitzer@redhat.com>
To: "Özkan Göksu" <ozkangksu@gmail.com>
Cc: dm-devel@redhat.com, zkabelac@redhat.com
Subject: Re: device-mapper: ioctl: ioctl interface mismatch: kernel(4.37.0), user(4.39.0), cmd(16)
Date: Wed, 19 Sep 2018 11:34:19 -0400 [thread overview]
Message-ID: <20180919153418.GB9101@redhat.com> (raw)
In-Reply-To: <CAPUHmCodFP=PFK8DqrV_Qz_cgT6uaRXUihhTaPhjJpJ=bSCy-A@mail.gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 4462 bytes --]
Right, this is a multipath-tools problem (AFAIK regression).. not aware
of any new ioctl requirements that a newer multipathd would have to
warrant the stricter use of a newer DM ioctl version.
Mike
On Wed, Sep 19 2018 at 11:30am -0400,
Ãzkan Göksu <ozkangksu@gmail.com> wrote:
> Hello.
> After your mail I tried something;
> I just curious what will happen when I downgrade multipath-tools package
> and the rest was latest.
> lvm2 2.02.181-1
> device-mapper 2.02.181-1
> I just downgrade to: multipath-tools 0.7.6-1
> Everything works great. I didnt saw any problem.
> I was thinking the problem related to device-mapper but now its seems
> something else.
> This is compile process from Arch-linux AUR repository:
> [1]https://paste.ubuntu.com/p/zV58g56gVT/
> If I'm not mistaken this is the log you want. If its not then tell me
> where should I look for the log you want?
> [root@SMDEV2 service]# ldd /usr/bin/multipathd
> linux-vdso.so.1 (0x00007fffea4fe000)
> libmultipath.so.0 => /usr/lib/libmultipath.so.0
> (0x00007f729711e000)
> libmpathpersist.so.0 => /usr/lib/libmpathpersist.so.0
> (0x00007f7297114000)
> libmpathcmd.so.0 => /usr/lib/libmpathcmd.so.0 (0x00007f729710f000)
> libudev.so.1 => /usr/lib/libudev.so.1 (0x00007f72970ef000)
> libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f72970ea000)
> liburcu.so.6 => /usr/lib/liburcu.so.6 (0x00007f7296ee2000)
> libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f7296ebf000)
> libdevmapper.so.1.02 => /usr/lib/libdevmapper.so.1.02
> (0x00007f7296c69000)
> libreadline.so.7 => /usr/lib/libreadline.so.7 (0x00007f7296a1c000)
> libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f7296990000)
> libc.so.6 => /usr/lib/libc.so.6 (0x00007f72967cc000)
> libaio.so.1 => /usr/lib/libaio.so.1 (0x00007f72965ca000)
> /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2
> (0x00007f72971b5000)
> liburcu-common.so.6 => /usr/lib/liburcu-common.so.6
> (0x00007f72963c3000)
> libm.so.6 => /usr/lib/libm.so.6 (0x00007f729623e000)
> libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x00007f7295fd1000)
> librt.so.1 => /usr/lib/librt.so.1 (0x00007f7295fc7000)
> liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f7295da1000)
> liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f7295b84000)
> libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f7295866000)
> libgpg-error.so.0 => /usr/lib/libgpg-error.so.0
> (0x00007f7295646000)
> I did not tried to compile from GIT by myself. But my knowledge the aur
> package also takes the code from your git repository
> If you need anything else just ask me please.
>
> Zdenek Kabelac <[2]zkabelac@redhat.com>, 19 Eyl 2018 Çar, 15:52 tarihinde
> sunu yazdi:
>
> Dne 19.9.2018 v 12:35 Özkan Göksu napsal(a):
> > 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 =
> > [3]https://www.archlinux.org/packages/core/x86_64/device-mapper/
> > Do I need to compile device mapper git version or what should I do?
> >
>
> Hi
>
> Can you pastebin how is your package linked while being compiled (gcc
> log) and
> how is then used runtime (ldd) ?
>
> It seems the code was linked with different .so library then it's using
> in
> runtime.
>
> libdm is supposed to handle all kernel versions.
>
> Regards
>
> Zdenek
>
> References
>
> Visible links
> 1. https://paste.ubuntu.com/p/zV58g56gVT/
> 2. mailto:zkabelac@redhat.com
> 3. https://www.archlinux.org/packages/core/x86_64/device-mapper/
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2018-09-19 15:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-19 10:35 device-mapper: ioctl: ioctl interface mismatch: kernel(4.37.0), user(4.39.0), cmd(16) Özkan Göksu
2018-09-19 11:48 ` Heinz Mauelshagen
2018-09-19 12:07 ` Özkan Göksu
2018-09-19 12:52 ` Zdenek Kabelac
2018-09-19 15:24 ` Mike Snitzer
2018-09-19 15:30 ` Özkan Göksu
2018-09-19 15:34 ` Mike Snitzer [this message]
2018-09-20 10:14 ` Zdenek Kabelac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180919153418.GB9101@redhat.com \
--to=snitzer@redhat.com \
--cc=dm-devel@redhat.com \
--cc=ozkangksu@gmail.com \
--cc=zkabelac@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.