[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: wlan0 device not present FC5 x86_64



Toad <keepertoad <at> verizon.net> writes:
> Unable to get ndiswrapper to work on 64 bit kernel.  Works a treat on
> smp kernels.
> 
> lspci shows hardware present.
> 	05:06.0 Network controller: RaLink Ralink RT2500 802.11G
> Cardbus/mini-PCI (rev 01)

Why are you using ndiswrapper in the first place? Use the native rt2500 driver.

http://www.ralinktech.com/supp-1.htm
(The version provided by the manufacturer under the GPL.)

http://rt2x00.serialmonkey.com/wiki/index.php/Downloads
(The version forked off by the Free Software community. There's 3 versions: 
rt2500 Beta, rt2500 CVS or the still experimental rt2x00 CVS.)

Depending on the version you pick, you may need 2 fixes:
* if you're getting an undefined reference to verify_area, add this to the 
affected source file(s):
static inline int __deprecated verify_area(int type, const void __user * addr, 
unsigned long size)
{
        return access_ok(type,addr,size) ? 0 : -EFAULT;
}
* if you're getting an error on a line looking like this:
	.owner =	THIS_MODULE,
just comment it out or delete it, .owner is no longer used in the 2.6.16 
kernel.
Other than that, the module should compile just fine against the standard 
kernel. Let's hope it is 64-bit clean...

        Kevin Kofler


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]