linker.hints not being update for ARMs

Daniel Braniss danny at cs.huji.ac.il
Tue Nov 12 10:03:53 UTC 2019



> On 12 Nov 2019, at 11:32, Peter Jeremy <peter at rulingia.com> wrote:
> 
> On 2019-Nov-12 10:30:21 +0200, Daniel Braniss <danny at 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 
>> 224 -rw-r--r--  1 root  wheel  228972 Jan  1  2010 /boot/kernel/linker.hints
> 
> Well, that's a nonsense timestamp because FreeBSD didn't support AllWinner
> in 2010.  My guess is that your system clock was wrong.
> 
>> how can this be fixed?
> 
> 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 ‘kldxref’ runs but the time stamp is wrong,
probably touch /boot/kernel/linker.hints after the clock is corrected solves the problem

thanks,
	danny

> 
> -- 
> Peter Jeremy



More information about the freebsd-stable mailing list