LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 05-17-2018, 03:55 AM   #1
ricemark20
Member
 
Registered: Aug 2003
Location: Wauconda, Illinois, USA
Distribution: Slackware, OpenSuse, Arch Linux on Pi
Posts: 96

Rep: Reputation: 42
uname -r shows a different kernel than /lib/modules


I just installed Slackware ARM on my raspberry pi 3.
Trying to setup up wireless, but ran into a problem just
getting the modules listed from the guide.

http://sarpi.co.uk/index.php?p=wireless-nic#wnic-config

lsmod is not showing any modules at all, and uname -r does not match the kernels in /lib/modules
 
Old 05-17-2018, 11:57 AM   #2
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 231

Rep: Reputation: 67
Quote:
Originally Posted by ricemark20 View Post
I just installed Slackware ARM on my raspberry pi 3.
Trying to setup up wireless, but ran into a problem just
getting the modules listed from the guide.

http://sarpi.co.uk/index.php?p=wireless-nic#wnic-config

lsmod is not showing any modules at all, and uname -r does not match the kernels in /lib/modules
Hi ricemark20,

Did you install Slackware ARM 14.2 or -current?

Did you update/upgrade the system or any package(s), and if so what did you install and how did you achieve it?

Are you using the RPi3 onboard WNIC or your own wireless device?

Does 'ifconfig -a' list the wireless device?

Sorry for so many questions but more information is needed in order to discern what the problem might be for you.
 
Old 05-17-2018, 12:24 PM   #3
ricemark20
Member
 
Registered: Aug 2003
Location: Wauconda, Illinois, USA
Distribution: Slackware, OpenSuse, Arch Linux on Pi
Posts: 96

Original Poster
Rep: Reputation: 42
uname -r shows a different kernel than /lib/modules

Penthux,

I have installed Slackware ARM 14.2, no updates have been done. I am attempting to use the onboard WNIC, but can use a USB dongle if needed, an RTL8192.

Ifconfig -a does not list the onboard wireless, but will detect the USB WNIC.

Thank you for your time.
 
Old 05-17-2018, 04:26 PM   #4
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 231

Rep: Reputation: 67
Quote:
Originally Posted by ricemark20 View Post
I have installed Slackware ARM 14.2, no updates have been done. I am attempting to use the onboard WNIC, but can use a USB dongle if needed, an RTL8192.

Ifconfig -a does not list the onboard wireless, but will detect the USB WNIC.
Hmmm. That's really weird. I would have guessed that something went wrong during the kernel/modules upgrade process but if you haven't done that then it's irrelevant. If you've used the latest SARPi image to install Slackware ARM 14.2 then 'uname -r' should result in 4.14.37-v7-arm.
So, what is the result of 'uname -r' for you and which module dir(s) are you seeing in /lib/modules? I'm asking out of curiosity more than anything.

I'd download the SARPi3 [14.2] kernel, kernel_modules, and firmware packages and install them (even if it was the same version as what I'm currently running) and then 'reboot' to see if it solves the issue. I might even try running 'rpi-update' in the event that the former didn't work for me.

If any or all of the above fails...

What happens if you 'modprobe rtc_ds1307' (for example) and then 'lsmod'? Does it show the module loaded?

What does the output of 'cat /proc/modules' show you?

Are any (or all) of your modules blacklisted? You can use 'modprobe --showconfig' to dump the config in the terminal.

You can, for example, (and as a last resort!) 'modprobe --set-version 4.14.37-v7-arm' to set the kernel version rather than relying on 'uname' to do it for you. ** This won't solve anything if the /lib/modules/4.14.37-v7-arm directory has gone AWOL. **

NB: I'm assuming 4.14.37-v7-arm. Bear that in mind if it's not the same version as the one you have installed.

Please keep me apprised.

Last edited by Penthux; 05-17-2018 at 04:28 PM. Reason: obvousily I can't tpye porperly
 
1 members found this post helpful.
Old 05-17-2018, 09:19 PM   #5
ricemark20
Member
 
Registered: Aug 2003
Location: Wauconda, Illinois, USA
Distribution: Slackware, OpenSuse, Arch Linux on Pi
Posts: 96

Original Poster
Rep: Reputation: 42
All the packages from http://sarpi.co.uk/index.php?p=rpi3get142 are installed.
Now /lib/modules has the modules for 4.14.37-v7-arm, and lsmod shows all available modules.
 
1 members found this post helpful.
Old 05-18-2018, 01:16 AM   #6
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 231

Rep: Reputation: 67
Quote:
Originally Posted by ricemark20 View Post
All the packages from http://sarpi.co.uk/index.php?p=rpi3get142 are installed.
Now /lib/modules has the modules for 4.14.37-v7-arm, and lsmod shows all available modules.
Getting your wireless setup and working will now be a doddle.
 
Old 05-18-2018, 10:49 AM   #7
ricemark20
Member
 
Registered: Aug 2003
Location: Wauconda, Illinois, USA
Distribution: Slackware, OpenSuse, Arch Linux on Pi
Posts: 96

Original Poster
Rep: Reputation: 42
uname -r shows a different kernel than /lib/modules

Wireless was easily done with wicd-curses.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uname shows wrong kernel dewanggaba Red Hat 5 01-21-2013 05:17 AM
custom patched kernel module in /lib/modules/$(uname -r)/updates Meson Linux - Kernel 1 05-28-2011 09:17 AM
NetMos 9865 || 6 x serial port PCI card || What is /lib/modules/$(uname -r)/build ? chadwick Linux - Hardware 29 04-20-2011 04:27 PM
kernel headers & /lib/modules/uname -r/build fof3 Linux - Newbie 4 12-16-2008 02:58 PM
modprobe cant find modules but they are in /lib/modules/'uname blanny Linux - General 15 09-10-2003 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 10:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration