From owner-freebsd-ppc@freebsd.org Tue Jul 10 11:12:41 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 773B71040B5B for ; Tue, 10 Jul 2018 11:12:41 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1310070E7A; Tue, 10 Jul 2018 11:12:41 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [192.168.1.133] (p57BB4637.dip0.t-ipconnect.de [87.187.70.55]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 1A6CA721E280C; Tue, 10 Jul 2018 13:12:37 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Loading modules from /boot/loader.conf From: Michael Tuexen In-Reply-To: <20180626053314.GA30244@FreeBSD.org> Date: Tue, 10 Jul 2018 13:12:35 +0200 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: 7bit Message-Id: References: <6DB7ABD4-8C04-46B3-8C07-FC591FC16F71@freebsd.org> <20180626053314.GA30244@FreeBSD.org> To: Alexey Dokuchaev X-Mailer: Apple Mail (2.3445.9.1) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2018 11:12:41 -0000 > On 26. Jun 2018, at 07:33, Alexey Dokuchaev wrote: > > On Mon, Jun 25, 2018 at 07:17:42PM +0200, Michael Tuexen wrote: >> I'm running FreeBSD head of today on a G4 MacMini. I'm trying to >> load a kernel module using /boot/loader.conf by having the line >> >> tcp_rack_load="YES" in /boot/loader.conf. >> >> However, this doesn't work and results in [module 'kernel' exists but >> with wrong version]. I have no problems when running "kldload tcp_rack" >> after the system completely booted. Then the module loads without any >> problems. > > I don't know what's causing it and cannot reproduce it right now (but then > again, I'm still running fairly old r302710 -CURRENT on my G4), but I've > heard about this very problem from another FreeBSD-on-G4 user. Hi Alexey, can you run on your G4: readelf -x set_modmetadata_set /boot/kernel/kernel This should provide a list of non-NULL pointers. However, on my G4 system this section only contains NULL pointers. Best regards Michael > > ./danfe