Comment 25 for bug 662288

Revision history for this message
Greg Whiteley (greg-whiteley) wrote : Re: rt2800pci freeze on module unload [maverick i386]

To get this working (for me) from maverick:

Note: everything here was on i386

The latest automatically installed linux-version at this time (26th Feb 2011) is:
   linux-image-2.6.35-25-generic 2.6.35-25.44
Nothing required to get this.

1. Downloaded compat-wireless-2011-02-24
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2011-02-24.tar.bz2
2. Untar and enter directory
3. ./scripts/driver-select rt2x00 # This parameter is documented in driver-select script help, but not the README
4. make # completed with no problems
5. sudo rmmod rt2800pci # not included in unload below
6. sudo rmmod rt2x00pci # not included in unload below
7. sudo make unload # unloads all affected drivers (except the two above - need to update compat-wireless)
8. sudo make install
9. sudo modprobe rt2800pci

At this point everything worked ok, including removing the module when associated.

To back this change out go back into the compat-wireless directory and run steps 5-7, then
1. sudo make uninstall
2. sudo modprobe rt2800pci # reinstate vanilla (broken) driver

--
To get this working with the kernel-ppa version:

1. Install the kernel-ppa modules (linux-image-generic, linux-header-generic and linux-header) - I used version 2.6.38-999.201102240912
2. Folow steps 1-3 above
3. Edit config.mk and change COMPAT_LATEST_VERSION to 38 (was 39)
4. Follow steps 4-9 above

Back out as for the maverick version.