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

            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: e...@cederstrand.dk
          Keywords: patch

Created attachment 174794
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174794&action=edit
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    
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to