Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jan 2014 00:09:54 +0800
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        Toomas Aas <toomas.aas@raad.tartu.ee>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: TP-Link TL-WN727N V3 - cannot scan or connect to anything
Message-ID:  <52C2EC52.9040603@FreeBSD.org>
In-Reply-To: <20131231120936.214215rumdf13u1w@webmail.raad.tartu.ee>
References:  <20131230203659.957651ynumecyn40@webmail.raad.tartu.ee> <52C258A9.60907@FreeBSD.org> <20131231120936.214215rumdf13u1w@webmail.raad.tartu.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
Toomas Aas wrote:
> Hello Kevin!
>
>> I hate debugging problems on the last day of the year :-)
>
> Look at the bright side - one more problem fixed in 2013 :)
>
>> It seems like the firmware forgot to MFC. I just MFC'ed r256717.
>> Tested on the 9.2-STABLE (r260119) with the TL-WN727N wlan device.
>
> Confirmed, now it also works for me.

Cool!

>
> BTW, for some reason I cannot build a kernel with "device runfw".
>
> I added the following to my kernel config:
>
> options IEEE80211_DEBUG
> device run
> device runfw
> device wlan
> device wlan_amrr
> device wlan_wep
> device wlan_ccmp
> device wlan_tkip
>
> and buildkernel failed:
>
> clang -c -O -pipe -march=athlon64 -std=c99 -g -Wall -Wredundant-decls 
> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes 
> -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
> -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  
> -Wno-error-tautological-compare -Wno-error-empty-body  
> -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys 
> -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
> -include opt_global.h -fno-omit-frame-pointer 
> -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel 
> -mno-red-zone -mno-mmx -mno-sse -msoft-float  
> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector 
> -Werror  /usr/src/sys/dev/usb/wlan/if_run.c
> clang -O -pipe -march=athlon64 -std=c99 -g -Wall -Wredundant-decls 
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
> -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
> -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  
> -Wno-error-tautological-compare -Wno-error-empty-body  
> -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys 
> -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
> -include opt_global.h -fno-omit-frame-pointer 
> -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel 
> -mno-red-zone -mno-mmx -mno-sse -msoft-float  
> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -c 
> runfw.c
> uudecode -o runfw /usr/src/sys/contrib/dev/run/rt2870.fw.uu
> ld -b binary --no-warn-mismatch -d -warn-common -r  -o runfw.fwo
> ld: no input files
> *** [runfw.fwo] Error code 1
>
> I removed "device runfw" from kernel config, leaving everything else 
> as is. Kernel built successfully and runfw seems to work as loadable 
> module.

Problem fixed by gonzo in r252064.  It's just MFC'ed to stable/9 as 
r260134. :-)

>
> Happy end_of_the_year!

Happy New Year!

     Kevin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52C2EC52.9040603>