DeLi(cate) Forum

Full Version: driver-wireless-rt2570 incompatible with 2.4.37.11
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I realize that driver-wireless-rt2570 has not been modified since DeLi but it does not work with Linux 2.4.37.11. On building the package, it looks for
Code:
/usr/src/linux-2.4.37.11/include/linux/modversions.h
but that has been removed (link). I'll make a proper PKGBUILD for driver-wireless-rt2570 later on. It also depends on kernel-ide-source which is not present in the PKGBUILD.
(02-14-2013 05:08 AM)snacsnoc Wrote: [ -> ]I realize that driver-wireless-rt2570 has not been modified since DeLi but it does not work with Linux 2.4.37.11. On building the package, it looks for
Code:
/usr/src/linux-2.4.37.11/include/linux/modversions.h
but that has been removed (link). I'll make a proper PKGBUILD for driver-wireless-rt2570 later on. It also depends on kernel-ide-source which is not present in the PKGBUILD.

The driver was never present in DeLi. It was introduced by me in the DeLi(cate) 0.1. The issue is caused by my changes in the kernel source. I've already patched all the drivers. They're just not rebuilt and uploaded. Please, hold on :]
Btw. it was never tested by me and confirmed as working :]

I don't have any hardware to test it with.

The only tested drivers are these:
- madwifi-hal 0.10.5.6_r4126_20100324
- driver-wireless-rt61 1.1.2.6
- driver-wireless-rt2860 2.4.0.0
I just uploaded driver-wireless-rt2570-2.0.8.0-3 to the binary and source repository. The sources should not need the missing header anymore. The problem was caused by the MODVERSIONS macro that is known to cause more troubles than it solves. My local copy of the kernel sources used for the driver builds was "dirty". The modversions.h file is generated during the kernel build, but it's empty when the kernel is configured without MODVERSIONS. The resulting files are smaller without the MODVERSIONS macro. Moreover, the macro causes "unresolved symbols" in the trident.o module because of some nasty bug in the kernel sources :]
Reference URL's