On Saturday, August 10, 2013 9:03:32 pm Adrian Chadd wrote:
> Author: adrian
> Date: Sun Aug 11 01:03:32 2013
> New Revision: 254199
> URL: http://svnweb.freebsd.org/changeset/base/254199
> 
> Log:
>   Update the 6000g2a image.
>   
>   Obtained from:      Linux, Intel
> 
> Added:
>   head/sys/contrib/dev/iwn/iwlwifi-6000g2a-18.168.6.1.fw.uu
> Modified:
>   head/sys/modules/iwnfw/iwn6000g2a/Makefile

This exposed a bug in sys/conf/kmod.mk for me.  I use NO_KERNELCLEAN by 
default when upgrading my kernels (and have for many years), but the version 
information in the 'FIRMWS' variable used to generate the C stub is not 
treated as a dependency of the generated stub.  Thus, when I upgraded past 
this, the firmware module reused the previous C stub which used a symbol that 
hardcoded the previous firmware version number, so the linker saw it as an 
unresolved symbol and failed to load it.  I don't think anything is wrong with 
this commit at all.  I just wonder if there's a good way to make the C stub 
depend on the value of FIRMWS and have it be regenerated if FIRMWS changes.

-- 
John Baldwin
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to