Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2019 12:03:48 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Peter Jeremy <peter@rulingia.com>
Cc:        stable@freebsd.org
Subject:   Re: linker.hints not being update for ARMs
Message-ID:  <A246A2ED-CA7F-434F-A257-9A827FE974E3@cs.huji.ac.il>
In-Reply-To: <20191112093256.GD50716@server.rulingia.com>
References:  <7AB987DF-4A11-4948-BE55-04A2E2A3B8FD@cs.huji.ac.il> <20191112093256.GD50716@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 12 Nov 2019, at 11:32, Peter Jeremy <peter@rulingia.com> wrote:
>=20
> On 2019-Nov-12 10:30:21 +0200, Daniel Braniss <danny@cs.huji.ac.il> =
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A246A2ED-CA7F-434F-A257-9A827FE974E3>