From owner-freebsd-current@FreeBSD.ORG Thu Dec 6 21:42:21 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52E01CF3 for ; Thu, 6 Dec 2012 21:42:21 +0000 (UTC) (envelope-from andy@neu.net) Received: from mail.neu.net (neu.net [199.48.129.194]) by mx1.freebsd.org (Postfix) with ESMTP id 0D56C8FC08 for ; Thu, 6 Dec 2012 21:42:20 +0000 (UTC) Received: from neu.net (neu.net [199.48.129.194]) by mail.neu.net (8.14.5/8.14.5) with ESMTP id qB6LgJ9t004129 for ; Thu, 6 Dec 2012 16:42:19 -0500 (EST) (envelope-from andy@neu.net) Date: Thu, 6 Dec 2012 16:42:19 -0500 (EST) From: AN To: freebsd-current@freebsd.org Subject: mount: linproc: Operation not supported by device In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: clamav-milter 0.97.6 at my.mail.server X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=4.5 tests=RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.neu.net X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 21:42:21 -0000 Trying to install Linux compatibility on current fails. Using the following procedure fails with: Step 1: Enable Linux compatibility and linprocfs Add linux_enable="YES" to /etc/rc.conf. Add compat.linux.osrelease=2.6.16 to /etc/sysctl.conf. Add OVERRIDE_LINUX_BASE_PORT=f8 to /etc/make.conf. Add this line to /etc/fstab: linproc /usr/compat/linux/proc linprocfs rw 0 0 Then run these commands: mkdir -p /usr/compat/linux/proc mount /usr/compat/linux/proc /etc/rc.d/abi start /etc/rc.d/sysctl start # cat /etc/sysctl.conf # $FreeBSD: head/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $ # # This file is read when going to multi-user and its contents piped thru # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. # # Uncomment this to prevent users from seeing information about processes that # are being run under another UID. #security.bsd.see_other_uids=0 compat.linux.osrelease=2.6.16 # cat /etc/make.conf |grep LIN OVERRIDE_LINUX_BASE_PORT=f10 # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ada0p2 / ufs rw 1 1 /dev/ada0p3 none swap sw 0 0 linproc /usr/compat/linux/proc linprocfs rw 0 0 proc /proc procfs rw 0 0 # mount /usr/compat/linux/proc mount: linproc: Operation not supported by device And this is from /var/log/messages after: Dec 6 16:33:11 FBSD10 kernel: link_elf_obj: symbol __mtx_assert undefined Dec 6 16:33:11 FBSD10 kernel: linker_load_file: Unsupported file type All ports built with clang. Any help is appreciated, tia.