From owner-freebsd-stable@FreeBSD.ORG Fri Apr 12 15:14:43 2013 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CED34B6E for ; Fri, 12 Apr 2013 15:14:43 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:44:76:96:27:227]) by mx1.freebsd.org (Postfix) with ESMTP id B4F7ECDB for ; Fri, 12 Apr 2013 15:14:43 +0000 (UTC) Received: from omta18.emeryville.ca.mail.comcast.net ([76.96.30.74]) by qmta12.emeryville.ca.mail.comcast.net with comcast id P0FX1l0051bwxycAC3EjTY; Fri, 12 Apr 2013 15:14:43 +0000 Received: from koitsu.strangled.net ([67.180.84.87]) by omta18.emeryville.ca.mail.comcast.net with comcast id P3Ei1l00D1t3BNj8e3Eies; Fri, 12 Apr 2013 15:14:42 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 04A3473A33; Fri, 12 Apr 2013 08:14:42 -0700 (PDT) Date: Fri, 12 Apr 2013 08:14:42 -0700 From: Jeremy Chadwick To: Alexey Dokuchaev Subject: Re: fusefs-kmod does not work on 8-STABLE? Message-ID: <20130412151441.GA76552@icarus.home.lan> References: <20130410052710.GA36137@regency.nsu.ru> <20130412101746.GA68687@regency.nsu.ru> <20130412142802.GA1657@regency.nsu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130412142802.GA1657@regency.nsu.ru> User-Agent: Mutt/1.5.21 (2010-09-15) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1365779683; bh=ftS3eCYyJSrYQXVTDJehrBAcXhYkO7pGVQTnqN5xovA=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=oDPGJItFb0JvykYP90VSCVRFudzTPtFbZnL71tZU2wqaMZnUsQWeNShsFzHayM6iu CSTsri72naJ4FWJ7oLUwRIu/1mw/l6S+p9PWimjVXMYwtfejurGd9Syyt3fNJ/5fKh QnRDBC0oERNC1oFVCIFIZACCjfhfYmIKxA8xMPVGExOYw7PSARX10N3Ewv9yeHI1I6 wc+zjugoOjQeAI8dcndxOaJxLypG5Vroe7hFUH7BpmsLJ5tqKzuaqtHGEM9hc1AkRh d7daeaddQ+NcMd3Un6C7LA9+jtoOcj82DH6tzzjnl72rlEoow5jlHi/A83q3IgHVXd tKGm6JZgrQW6A== Cc: stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2013 15:14:43 -0000 On Fri, Apr 12, 2013 at 09:28:02PM +0700, Alexey Dokuchaev wrote: > On Fri, Apr 12, 2013 at 05:17:46PM +0700, Alexey Dokuchaev wrote: > > On Wed, Apr 10, 2013 at 12:27:10PM +0700, Alexey Dokuchaev wrote: > > > I've got puzzled with the fact that fusefs-kmod apparently does not on > > > recent 8-STABLE: it builds and loads, but I don't see normal "fuse4bsd: > > > version 0.3.9-pre1, FUSE ABI 7.19" like I do on 9-STABLE (installed on the > > > same laptop with almost identical kernel config). > > > > > > The result is that /dev/fuse0 never gets created, and any fuse mount > > > attempt results in this message: > > > > > > fuse: failed to open fuse device: No such file or directory > > > > I've traced the problem down a bit, it seems to be due to some weird > > brokenness of building modules outside the kernel: .ko file loads, but > > modevent() functions apparently does not execute at all. > > I've found the culprit: the problem is in this command of the build: > > ld -Bshareable -d -warn-common -o hello.ko.debug hello.kld > > I had put /usr/local/bin in my $PATH before /usr/bin for a reason I don't > currently recall, and have binutils-2.23.1 installed. As a result, ld(1) > in the quoted line above was called from /usr/local/bin/ld, which brought > in all the weird things I was observing: failure of fusefs-kmod, failure > of simple "hello world" KLD, "link_elf: symbol undefined" messages > when loading snd_hda(4) and nvidia(4) drivers. > > How, does anyone have a clue why new ld(1) plays so badly with our system > toolchain on 8.x (at least)? This question might be better-suited for freebsd-hackers@ given its nature. I imagine someone there will have some ideas. :-) HTH! -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |