kernel panic with newly compiles module
I have done an in tree compile of the rtl8812u module. I can load it using modprobe and when I insert the usb dongle it is recognised and functional.
However, if I boot with the wifi dongle inserted or if I insert it after the system is up I get a kernel panic. Code:
[ end Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: r8712_efuse_pg_packet_read+0x80/0x1b8 [r8712u] ] Code:
# make modules_prepare |
Seems like the wrong module is loaded/used if the correct module isn't loaded first. Add "/sbin/modprobe rtl8812u" to /etc/rc.d/rc.modules.local
|
Thanks for the reply. Using rc.modules_local I can boot with the wifi dongle inserted and not get a kernel panic. I can the use iwconfig to set up the device but after 'ifconfig up' when I try to run iwlist wlan0 scan I have a kernel panic with the same message.
This wireless dongle had been working with slackwarearm current from back in May on this same BananaPro only in that install I had compiled a new kernel and set of modules. I have another exact same setup that has been running panic free for over a year. It there must have been something wrong or that I neglected to do yesterday when I compiled that module. Here's some infe from the one running in my garden shed. Code:
root@bpro9:/home/rick# uname -r |
@justwantin
The kernel wireless wiki page lists rtl8192su for your adapter (considering the output of your lsusb): https://wireless.wiki.kernel.org/en/...rivers/rtl819x Quote:
Have you tried building and using that module? If your kernel (udev) loads a different module, you can always blacklist it by creating: /lib/modprobe.d/blacklist-module-name.conf containing the name of the module(s) you wish to blacklist. |
I have had the exact same setup with a bananapro and the same wifi dongle running without problems for a very long time. I had the same wifi dongle working on this bananapro up until I installed current 19/12/2019 and consequently needed to compile a new module.
Code:
Device drivers > Staging Drivers > Realtek RTL8712u (RTL8192SU) Wireless LAN NIC Driver Code:
root@bpro9:/# lsusb Code:
root@bpro9:/# lsmod | grep r8712u |
I finally compiled a r8712u module. I think the problem may have been I did not run a make clean inside the source before compiling not sure. In any case I built and installed a module that will load at boot if the wife dongle is already inserted as well as load if inserted after boot without a kernel panic. So far so good but I've sat here long. I'll come back to it when I'm fresh.
|
OK, finally got around to configuring wifi on this dongle and wifi is working. I can most likely attribute my problem to not running make clean before I did anything else.
I may as well provide my steps for compiling a single module from the kernel source as installed in Slackware/Slackwarearm in case someone ends up in this thread looking for how to do it. Code:
# cd /usr/src/linux |
All times are GMT -5. The time now is 01:10 PM. |