Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2025 09:17:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 284784] Linuxilator does not support ethtool_cmd (SIOCETHTOOL) and fails with "not implemented"
Message-ID:  <bug-284784-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284784

            Bug ID: 284784
           Summary: Linuxilator does not support ethtool_cmd (SIOCETHTOOL)
                    and fails with "not implemented"
           Product: Base System
           Version: 13.4-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: michaelo@FreeBSD.org

On: 13.4-STABLE FreeBSD 13.4-STABLE a0da8a5fc GENERIC amd64

I am running OpenText DataProtector Agent for Linux on our FreeBSD servers =
and
have received the following through daily mails:
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=3D8, cmd=3D0x=
8946 ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=3D9, cmd=3D0x=
8946 ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=3D10, cmd=3D0=
x8946 ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=3D11, cmd=3D0=
x8946 ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=3D12, cmd=3D0=
x8946 ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=3D13, cmd=3D0=
x8946 ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=3D14, cmd=3D0=
x8946 ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=3D15, cmd=3D0=
x8946 ('\M^I',70) is not implemented

Doing some research and found:
*
https://patchwork.kernel.org/project/qemu-devel/patch/20190817000714.142802=
-1-scw@google.com/
* https://lists.nongnu.org/archive/html/qemu-devel/2020-07/msg06603.html
*
https://patchwork.kernel.org/project/qemu-devel/patch/20190817000714.142802=
-1-scw@google.com/

and sample program which fails:
https://gist.github.com/mbaldessari/b42041a776b30eef6906

Compiled on RHEL8:
$ ./foooo eno1
speed ioctl val "1000"
duplex ioctl val "2"

Running on FreeBSD gives no output, but:
<2>1 2025-02-13T09:29:54.423350+01:00 deblndw011x.innomotics.net kernel - -=
 -
linux: jid 0 pid 10896 (foooo): linux_ioctl_fallback fd=3D3, cmd=3D0x8946
('<89>',70) is not implemented
<2>1 2025-02-13T09:30:02.687162+01:00 deblndw011x.innomotics.net kernel - -=
 -
linux: jid 0 pid 10920 (foooo): linux_ioctl_fallback fd=3D3, cmd=3D0x8946
('<89>',70) is not implemented
<2>1 2025-02-13T09:30:03.729470+01:00 deblndw011x.innomotics.net kernel - -=
 -
linux: jid 0 pid 10925 (foooo): linux_ioctl_fallback fd=3D3, cmd=3D0x8946
('<89>',70) is not implemented
<2>1 2025-02-13T09:30:09.149467+01:00 deblndw011x.innomotics.net kernel - -=
 -
linux: jid 0 pid 10938 (foooo): linux_ioctl_fallback fd=3D3, cmd=3D0x8946
('<89>',70) is not implemented

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284784-227>