Date: Thu, 15 Sep 2016 12:04:37 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 212700] [patch] Implement BLKGETSIZE ioctl() for Linux compat Message-ID: <bug-212700-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212700 Bug ID: 212700 Summary: [patch] Implement BLKGETSIZE ioctl() for Linux compat Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: erik@cederstrand.dk Keywords: patch Created attachment 174794 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174794&action= =3Dedit 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=3D3, cmd=3D0x1268 ('',104) i= s 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=20=20=20=20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 --=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-212700-8>