Created attachment 174794 [details] Patch for linux_ioctl.c Every time I run the Oracle database client "sqlplus" under Linux compat, I get this message in /var/log/messages: kernel: linux: pid 92000 (sqlplus): ioctl fd=3, cmd=0x1268 ('',104) is not implemented 0x1268 is BLKSSZGET according to linux_ioctl.h. Attached is a patch against 10.3-RELEASE source which implements BLKSSZGET in the Linux compat layer. Should apply on CURRENT, too. Runtested with sqlplus resulting in a working sqlplus and no more messages to /var/log/messages. Test machine: $ uname -a FreeBSD garfield.example.com 10.3-RELEASE-p4 FreeBSD 10.3-RELEASE-p4 #0: Sat May 28 12:23:44 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
A commit references this bug: Author: dchagin Date: Sat Sep 17 08:10:02 UTC 2016 New revision: 305896 URL: https://svnweb.freebsd.org/changeset/base/305896 Log: Implement BLKSSZGET ioctl for the Linuxulator. PR: 212700 Submitted by: Erik Cederstrand Reported by: Erik Cederstrand MFC after: 1 week Changes: head/sys/compat/linux/linux_ioctl.c
A commit references this bug: Author: dchagin Date: Sat Sep 24 10:32:27 UTC 2016 New revision: 306293 URL: https://svnweb.freebsd.org/changeset/base/306293 Log: MFC r305896: Implement BLKSSZGET ioctl for the Linuxulator. PR: 212700 Changes: _U stable/11/ stable/11/sys/compat/linux/linux_ioctl.c
A commit references this bug: Author: dchagin Date: Sat Sep 24 10:34:35 UTC 2016 New revision: 306294 URL: https://svnweb.freebsd.org/changeset/base/306294 Log: MFC r305896: Implement BLKSSZGET ioctl for the Linuxulator. PR: 212700 Changes: _U stable/10/ stable/10/sys/compat/linux/linux_ioctl.c