Comment 39 for bug 144621

Revision history for this message
jnewton (nevion) wrote :

@aldebx,Matt,

I did as you both said with the driver and linux-headers. Upon make, it'll error because net/mac80211/ieee80211_rate.h is not included the headers package (bug? It would've made compiling the driver _way_ easier). So then I installed the linux-source package and used make KSRC=path_to_kernel. I was met with the need to copy over a bunch of files (.config from /boot, scripts/mod/modpost, Module.symvers, and forced to make prepare (there were probably more files that needed copied over, but make will error saying which are missing, you just have to merge the missing files from the headers package to the linux-source package (preserving relative paths)). After that, depmod, and removing the module from the kernel, I discovered that the old module in ubuntu/wireless would be loaded instead of the newer module on subsequent modprobes... so I had to remove it too&depmod. After all that, things are working peachy. This was alot of work though for a simple module update... At the very least perhaps fix the header inclusion so as to make others testing of the driver easier? Does that require waiting for gusty-updates on the 31st?