* beginner build question
@ 2013-09-06 9:27 Brian O'Connor
2013-09-06 10:21 ` Christian Lamparter
0 siblings, 1 reply; 4+ messages in thread
From: Brian O'Connor @ 2013-09-06 9:27 UTC (permalink / raw)
To: linux-wireless
I am trying to compile rtl8192su in Ubuntu 13.04 and I get the
following error when I "make all":
make -C /lib/modules/3.10.10-031010-generic/build
M=/home/media/rtl8192su/r92su CONFIG_R92SU=m CONFIG_R92SU_DEBUGFS=y
CONFIG_R92SU_WPC=y all EXTRA_CFLAGS="-DDEBUG -DCONFIG_R92SU=m
-DCONFIG_R92SU_DEBUGFS=y -DCONFIG_R92SU_WPC=y"
make[1]: Entering directory `/usr/src/linux-headers-3.10.10-031010-generic'
make[1]: *** No rule to make target `vmlinux', needed by `all'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-3.10.10-031010-generic'
make: *** [all] Error 2
Any suggestions?
Thanks in advance,
Brian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: beginner build question
2013-09-06 9:27 beginner build question Brian O'Connor
@ 2013-09-06 10:21 ` Christian Lamparter
2013-09-10 5:27 ` Brian O'Connor
0 siblings, 1 reply; 4+ messages in thread
From: Christian Lamparter @ 2013-09-06 10:21 UTC (permalink / raw)
To: Brian O'Connor; +Cc: linux-wireless
Hello,
On Friday, September 06, 2013 02:27:26 AM Brian O'Connor wrote:
> I am trying to compile rtl8192su in Ubuntu 13.04 and I get the
> following error when I "make all":
>
> make -C /lib/modules/3.10.10-031010-generic/build
> M=/home/media/rtl8192su/r92su CONFIG_R92SU=m CONFIG_R92SU_DEBUGFS=y
> CONFIG_R92SU_WPC=y all EXTRA_CFLAGS="-DDEBUG -DCONFIG_R92SU=m
^^^
> -DCONFIG_R92SU_DEBUGFS=y -DCONFIG_R92SU_WPC=y"
> make[1]: Entering directory `/usr/src/linux-headers-3.10.10-031010-generic'
> make[1]: *** No rule to make target `vmlinux', needed by `all'. Stop.
> make[1]: Leaving directory `/usr/src/linux-headers-3.10.10-031010-generic'
> make: *** [all] Error 2
>
> Any suggestions?
Thanks for reporting this. I fixed the project's readme.
<https://github.com/chunkeey/rtl8192su/commit/d1934e155840ccd273a429d85f1f2aa407ba49b7>
Just run "make" instead of "make all".
Regards
Chr
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: beginner build question
2013-09-06 10:21 ` Christian Lamparter
@ 2013-09-10 5:27 ` Brian O'Connor
2013-09-10 7:34 ` Christian Lamparter
0 siblings, 1 reply; 4+ messages in thread
From: Brian O'Connor @ 2013-09-10 5:27 UTC (permalink / raw)
To: Christian Lamparter; +Cc: linux-wireless
Hi Christian,
Thanks for getting back to me. I've run into another issue:
# note the extra / before r92su
$ sudo make load
insmod /r92su/r92su.ko
Error: could not load module /r92su/r92su.ko: No such file or directory
make: *** [load] Error 1
# so I manually run
$ sudo insmod r92su/r92su.ko
Error: could not insert module r92su/r92su.ko: Unknown symbol in module
$ dmesg
...
[ 2066.923259] r92su: module verification failed: signature and/or
required key missing - tainting kernel
[ 2066.923332] r92su: Unknown symbol cfg80211_scan_done (err 0)
[ 2066.923362] r92su: Unknown symbol ieee80211_amsdu_to_8023s (err 0)
[ 2066.923386] r92su: Unknown symbol ieee80211_data_from_8023 (err 0)
[ 2066.923403] r92su: Unknown symbol cfg80211_disconnected (err 0)
[ 2066.923432] r92su: Unknown symbol wiphy_register (err 0)
[ 2066.923442] r92su: Unknown symbol wiphy_new (err 0)
[ 2066.923451] r92su: Unknown symbol cfg80211_put_bss (err 0)
[ 2066.923461] r92su: Unknown symbol cfg80211_inform_bss (err 0)
[ 2066.923478] r92su: Unknown symbol cfg80211_ibss_joined (err 0)
[ 2066.923496] r92su: Unknown symbol cfg80211_michael_mic_failure (err 0)
[ 2066.923508] r92su: Unknown symbol cfg80211_connect_result (err 0)
[ 2066.923527] r92su: Unknown symbol wiphy_unregister (err 0)
[ 2066.923546] r92su: Unknown symbol cfg80211_get_bss (err 0)
[ 2066.923576] r92su: Unknown symbol ieee80211_data_to_8023 (err 0)
[ 2066.923597] r92su: Unknown symbol ieee80211_hdrlen (err 0)
[ 2066.923615] r92su: Unknown symbol ieee80211_frequency_to_channel (err 0)
[ 2066.923634] r92su: Unknown symbol cfg80211_unlink_bss (err 0)
[ 2066.923644] r92su: Unknown symbol wiphy_free (err 0)
[ 2233.171269] r8712u 2-4:1.0 wlan0:
r8712_got_addbareq_event_callback: mac = c8:d7:19:xx:xx:xx, seq =
10528, tid = 2
Any idea? I would be happy to provide more debugging if it helps.
Thanks,
Brian
On Fri, Sep 6, 2013 at 3:21 AM, Christian Lamparter
<chunkeey@googlemail.com> wrote:
> Hello,
>
> On Friday, September 06, 2013 02:27:26 AM Brian O'Connor wrote:
>> I am trying to compile rtl8192su in Ubuntu 13.04 and I get the
>> following error when I "make all":
>>
>> make -C /lib/modules/3.10.10-031010-generic/build
>> M=/home/media/rtl8192su/r92su CONFIG_R92SU=m CONFIG_R92SU_DEBUGFS=y
>> CONFIG_R92SU_WPC=y all EXTRA_CFLAGS="-DDEBUG -DCONFIG_R92SU=m
> ^^^
>> -DCONFIG_R92SU_DEBUGFS=y -DCONFIG_R92SU_WPC=y"
>> make[1]: Entering directory `/usr/src/linux-headers-3.10.10-031010-generic'
>> make[1]: *** No rule to make target `vmlinux', needed by `all'. Stop.
>> make[1]: Leaving directory `/usr/src/linux-headers-3.10.10-031010-generic'
>> make: *** [all] Error 2
>>
>> Any suggestions?
> Thanks for reporting this. I fixed the project's readme.
> <https://github.com/chunkeey/rtl8192su/commit/d1934e155840ccd273a429d85f1f2aa407ba49b7>
>
> Just run "make" instead of "make all".
>
> Regards
>
> Chr
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: beginner build question
2013-09-10 5:27 ` Brian O'Connor
@ 2013-09-10 7:34 ` Christian Lamparter
0 siblings, 0 replies; 4+ messages in thread
From: Christian Lamparter @ 2013-09-10 7:34 UTC (permalink / raw)
To: Brian O'Connor; +Cc: linux-wireless
Hello Brain,
On Tuesday 10 September 2013 07:27:39 Brian O'Connor wrote:
> Thanks for getting back to me. I've run into another issue:
>
> # note the extra / before r92su
> $ sudo make load
> insmod /r92su/r92su.ko
> Error: could not load module /r92su/r92su.ko: No such file or directory
> make: *** [load] Error 1
Ok, apparently $(PWD) is not available on all shells?
<http://patchwork.coreboot.org/patch/2002/>
[Should be fixed now]
> # so I manually run
> $ sudo insmod r92su/r92su.ko
> Error: could not insert module r92su/r92su.ko: Unknown symbol in module
>
> $ dmesg
> ...
> [ 2066.923259] r92su: module verification failed: signature and/or required key missing - tainting kernel
Well, there's not much I can do for now. r92su is a unofficial module.
> [ 2066.923332] r92su: Unknown symbol cfg80211_scan_done (err 0)
> [ 2066.923362] r92su: Unknown symbol ieee80211_amsdu_to_8023s (err 0)
> [ 2066.923386] r92su: Unknown symbol ieee80211_data_from_8023 (err 0)
> [ 2066.923403] r92su: Unknown symbol cfg80211_disconnected (err 0)
> [ 2066.923432] r92su: Unknown symbol wiphy_register (err 0)
> [ 2066.923442] r92su: Unknown symbol wiphy_new (err 0)
> [ 2066.923451] r92su: Unknown symbol cfg80211_put_bss (err 0)
> [ 2066.923461] r92su: Unknown symbol cfg80211_inform_bss (err 0)
> [ 2066.923478] r92su: Unknown symbol cfg80211_ibss_joined (err 0)
> [ 2066.923496] r92su: Unknown symbol cfg80211_michael_mic_failure (err 0)
> [ 2066.923508] r92su: Unknown symbol cfg80211_connect_result (err 0)
> [ 2066.923527] r92su: Unknown symbol wiphy_unregister (err 0)
> [ 2066.923546] r92su: Unknown symbol cfg80211_get_bss (err 0)
> [ 2066.923576] r92su: Unknown symbol ieee80211_data_to_8023 (err 0)
> [ 2066.923597] r92su: Unknown symbol ieee80211_hdrlen (err 0)
> [ 2066.923615] r92su: Unknown symbol ieee80211_frequency_to_channel (err 0)
> [ 2066.923634] r92su: Unknown symbol cfg80211_unlink_bss (err 0)
> [ 2066.923644] r92su: Unknown symbol wiphy_free (err 0)
insmod doesn't load any dependent modules.
(In this case all that's missing is: cfg80211 - the new
makefile should take care of that)
> [ 2233.171269] r8712u 2-4:1.0 wlan0: r8712_got_addbareq_event_callback: mac = c8:d7:19:xx:xx:xx, seq = 10528, tid = 2
Ah, unload r8712u before loading r92su [else, r92su won't control the device].
modprobe -r r8712u
If r92su works and you want to stick with it for the time, you can
blacklist r8712u. AFAICT, you just have to follow the instruction at
<https://docs.fedoraproject.org/en-US/Fedora/16/html/Installation_Guide/rescuemode_drivers-blacklisting.html>
Regards
Christian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-09-10 7:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-06 9:27 beginner build question Brian O'Connor
2013-09-06 10:21 ` Christian Lamparter
2013-09-10 5:27 ` Brian O'Connor
2013-09-10 7:34 ` Christian Lamparter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).