From owner-freebsd-ppc@freebsd.org Sun Oct 9 08:45:47 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5ADF9C07B02 for ; Sun, 9 Oct 2016 08:45:47 +0000 (UTC) (envelope-from jau789@gmail.com) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7EC42FF for ; Sun, 9 Oct 2016 08:45:46 +0000 (UTC) (envelope-from jau789@gmail.com) Received: by mail-lf0-x229.google.com with SMTP id x79so68447754lff.0 for ; Sun, 09 Oct 2016 01:45:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=Gx2nSxPjPYQiwgEtdiWHfdGBr84j/22PXDDJLRNBo8Y=; b=U/RwIRTcQjTapJ2P+OqPMFQ0g5cOeT/Hb2xNsTOy2emW1qQDjQX4GpK0TR8zwCge3Z wH2MIAdFahURJIzgpHy9H/MObtOZcnotFm10mk6qIGHAiWpuUCRA4HYZaYqemG4nu7yX /7WVGvU76lVdL0T2ARAS0PuAzTzjCscH1wU9/0gb+Iv9NP7l2zaLYhuhGbBE3V3STqEz OLQpBIXGqzhCwxrSL/HwcYYFQ6JIgqcGFoNjubtHqfEbkUAZdYvcoqoAqKcnWagvRTLw Rtf8ybgW4NIKgnC4FixnGo4fUT31ICTJJmx+B2Z0HQ3zHNoRsbX+sECW9lSh0euvyay+ thMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=Gx2nSxPjPYQiwgEtdiWHfdGBr84j/22PXDDJLRNBo8Y=; b=HqD6OwFVyaMnLst0lVZGTqH//WDS0kywW84oZ59IHRSQvF7phrpw5hIM1RZHtxypS5 2J2s3tGBUR7a/qyr/i9oWT2NvIQO7KVQ22DyzP0UH7duV4LGx3rv12uOPEW0jRnvusv7 wp5z4MxY42En0Tx5KitCZ4hBKHTrs1augK2Q+jhFLerwDhXmSj4g+babzd/OlvpC7WF9 Gk1KtCGB30ICTuGs9BQgcvwVkBcYpog/dXJ8AtrhFIbgiEQxvX+R1tyjhrtoZem9mCf7 1R8GfXZbuK5JvqtQG3Zj/I0+fbgT+05RRLSYDoILoRivQV+D7P/Z/D/Fc19x799+NUbA u6iw== X-Gm-Message-State: AA6/9Rlkj9t3ajjA8ID4v85J1lrpFEBKj+l+mcuIKKZ6QzpatD03wUqLciztu4AxyPFKlg== X-Received: by 10.25.15.220 with SMTP id 89mr11655962lfp.101.1476002744028; Sun, 09 Oct 2016 01:45:44 -0700 (PDT) Received: from [192.168.1.131] (xdsl-205-1.nblnetworks.fi. [83.145.205.1]) by smtp.googlemail.com with ESMTPSA id h138sm614489lfe.24.2016.10.09.01.45.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Oct 2016 01:45:43 -0700 (PDT) To: FreeBSD PowerPC ML From: "Jukka A. Ukkonen" Subject: tmpfs and mqueuefs experiencing trouble on 11.0/ppc64 Message-ID: <41001873-4df9-74c6-c13e-dfd6441d43fd@gmail.com> Date: Sun, 9 Oct 2016 11:45:42 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2016 08:45:47 -0000 Hello all, Has anyone else noticed this on ppc64 with 11.0? When tmpfs.ko and mqueuefs.ko are loaded at boot time by the loader those file systems cannot be actually mounted. The outcome is only ... mount: tmpfs: Operation not supported by device If one then decides to unload the module, the kernel logs the following message (shown both on the console and in the messages file)... # kldunload tmpfs link_elf_lookup_symbol: missing symbol hash table After unloading the module there is no trouble in reloading it and mounting the tmpfs... # kldload tmpfs # mount -t tmpfs tmpfs /tmp The exact same facts apply to mqueuefs as well. I can imagine this might be somehow related to some recent changes in ELF, but that is at the moment only a guess. The source version I tested just a moment ago is quite fresh... # uname -a FreeBSD urd 11.0-PRERELEASE FreeBSD 11.0-PRERELEASE #0 r306899M: Sun Oct 9 10:29:21 EEST 2016 root@urd:/usr/obj/usr/src-11/sys/GENERIC64 powerpc I have a local change in sys/powerpc/ofw/ofw_machdep.c to make the system boot at all, but tmpfs and mqueuefs are exactly as they are in the svn. Cheers, --jau