https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284784

            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: b...@freebsd.org
          Reporter: micha...@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=8, cmd=0x8946 
> ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=9, cmd=0x8946 
> ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=10, cmd=0x8946 
> ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=11, cmd=0x8946 
> ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=12, cmd=0x8946 
> ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=13, cmd=0x8946 
> ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=14, cmd=0x8946 
> ('\M^I',70) is not implemented
> +linux: jid 0 pid 49534 (omnisrdx): linux_ioctl_fallback fd=15, cmd=0x8946 
> ('\M^I',70) is not implemented

Doing some research and found:
*
https://patchwork.kernel.org/project/qemu-devel/patch/20190817000714.142802-1-...@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-...@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=3, cmd=0x8946
('<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=3, cmd=0x8946
('<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=3, cmd=0x8946
('<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=3, cmd=0x8946
('<89>',70) is not implemented

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

Reply via email to