hi, well, at least for allwinner, even running /etc/rc.d/kldxref has no effect, I noticed this when trying out a wifi dongle, ... Starting devd. Autoloading module: if_rtwn_usb.ko 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 and strangely, other modules loaded did not complain. how can this be fixed? thanks, danny
> On 12 Nov 2019, at 10:30, Daniel Braniss <danny at cs.huji.ac.il> wrote: > > hi, > well, at least for allwinner, even running /etc/rc.d/kldxref has no effect, > I noticed this when trying out a wifi dongle, > ... > Starting devd. > Autoloading module: if_rtwn_usb.ko > 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 > > and strangely, other modules loaded did not complain. > > how can this be fixed?by removing the old file :-)> > thanks, > danny > _______________________________________________ > freebsd-stable at freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
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.hintsWell, 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). -- Peter Jeremy -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 963 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20191112/37ad7be6/attachment.sig>