From owner-freebsd-stable@freebsd.org Tue Nov 12 10:03:53 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CDD441A86D0 for ; Tue, 12 Nov 2019 10:03:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47C3HD4LDpz4M6F for ; Tue, 12 Nov 2019 10:03:52 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id 94E311A86CF; Tue, 12 Nov 2019 10:03:52 +0000 (UTC) Delivered-To: stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 94A091A86CE for ; Tue, 12 Nov 2019 10:03:52 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47C3HC6QVSz4M6D for ; Tue, 12 Nov 2019 10:03:51 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=ctZ0P9X7e15gT2XZunBTu8e79AKvMCeIrhoIFK0bD6M=; b=1XeowzhdiTBMBW1a2WsXZT4ntwc4prmgybqMvZUzdfT50+gPGsmNbcVs3KUcM3fnNHQI9Kr3ofRopsF1VO8xKPNoact6sw7q3g4QU/t3TNQuSwrkgXEHw/WQgzL6msVk8hNyKEL4rXK3e5eqhWLjzLI4mpkwIGpyIo/rrSV2a3IHtzUKjwPLYOy2t2LyddBEnQZJktzkNsN2R/AjE5QQUDFGAL2HJbZYWQa1NMLlAoXEsgeookWJbx2Rst0t0MfbJG3h2D4No93GH0DLHFOIsQ9cK5aPxR19k9682HVhEVCaO0ThAXPT78pTSNKNHnPRPof4HroXXlaaeQfbvtwg/g==; Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1iUT1Y-0007xK-T6; Tue, 12 Nov 2019 12:03:49 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: linker.hints not being update for ARMs From: Daniel Braniss In-Reply-To: <20191112093256.GD50716@server.rulingia.com> Date: Tue, 12 Nov 2019 12:03:48 +0200 Cc: stable@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <7AB987DF-4A11-4948-BE55-04A2E2A3B8FD@cs.huji.ac.il> <20191112093256.GD50716@server.rulingia.com> To: Peter Jeremy X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: 47C3HC6QVSz4M6D X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=1Xeowzhd; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-3.06 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.76)[ip: (-1.51), ipnet: 132.64.0.0/13(-1.29), asn: 378(-1.03), country: IL(0.05)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[210.116.65.132.list.dnswl.org : 127.0.10.0]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 10:03:53 -0000 > On 12 Nov 2019, at 11:32, Peter Jeremy wrote: >=20 > On 2019-Nov-12 10:30:21 +0200, Daniel Braniss = wrote: >> warning: KLD '/boot/kernel/wlan.ko' is newer than the = linker.hints file >> warning: KLD '/boot/kernel/rtwn.ko' is newer than the = linker.hints file > ... >> the link.hints is indeed very old : >> neo-000# ls -ls /boot/kernel/linker.hints=20 >> 224 -rw-r--r-- 1 root wheel 228972 Jan 1 2010 = /boot/kernel/linker.hints >=20 > Well, that's a nonsense timestamp because FreeBSD didn't support = AllWinner > in 2010. My guess is that your system clock was wrong. >=20 >> how can this be fixed? >=20 > Try rerunning kldxref (with the clock set correctly). the file is created before the date gets updated! it seems that on allwinner epoch is 1st of Jan 2010! (after a power = cycle) so =E2=80=98kldxref=E2=80=99 runs but the time stamp is wrong, probably touch /boot/kernel/linker.hints after the clock is corrected = solves the problem thanks, danny >=20 > --=20 > Peter Jeremy