Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-03-2020, 05:27 AM
|
#1
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889
Rep:
|
current 19/12/2019, kernel modules did not install.
I installed current 19/12/19 on a bananapro two days ago and finally got around to compiling an rtl8192u module for the system today. Compile went well but when I went to put it where it belonged I found that there were no modules installed. I re-installed them manually and all was good afterwards. However, I did a full install less some package groups. the kernel modules package was where it belonged on my install usb. I really don't know what went wrong but if you can't find your kernel modules in current know that you are not alone.
|
|
|
01-03-2020, 12:49 PM
|
#2
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617
|
Quote:
Originally Posted by justwantin
I installed current 19/12/19 on a bananapro two days ago and finally got around to compiling an rtl8192u module
|
Thanks, I'll add that to the kernel config.
Quote:
for the system today. Compile went well but when I went to put it where it belonged I found that there were no modules installed. I re-installed them manually and all was good afterwards. However, I did a full install less some package groups. the kernel modules package was where it belonged on my install usb. I really don't know what went wrong but if you can't find your kernel modules in current know that you are not alone.
|
The package contains the Kernel modules, and works on my systems so I suspect a local problem there:
Code:
root@zippy:~# ls /lib/modules/5.4.5-armv7/kernel/
arch/ block/ crypto/ drivers/ fs/ kernel/ lib/ net/ security/ sound/
root@zippy:~# find /lib/modules/5.4.5-armv7/ -type f| wc -l
3728
Did you build the module from source in /usr/src/linux that is provided by the 'kernel-source' package?
|
|
|
01-03-2020, 02:36 PM
|
#3
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889
Original Poster
Rep:
|
Quote:
Thanks, I'll add that to the kernel config.
|
Never wanted to bother you about it and anyway I don't learn anything if I'm not challenged
Quote:
The package contains the Kernel modules, and works on my systems so I suspect a local problem there:
|
ditto
Quote:
Did you build the module from source in /usr/src/linux that is provided by the 'kernel-source' package?
|
yes, after selecting it in menuconfig and saving
Code:
# make modules_prepare
# make M=staging/rtl8192u
then put it where it belonged in the modules tree.
|
|
|
01-03-2020, 04:43 PM
|
#4
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889
Original Poster
Rep:
|
my apologies .... working from memory ... buffer overrun .. holidays, etc . wrong driver wrong command.
Code:
# make modules_prepare
# make M=drivers/staging/rtl8712
|
|
|
01-05-2020, 01:19 AM
|
#5
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889
Original Poster
Rep:
|
@drmozes
Quote:
The package contains the Kernel modules, and works on my systems so I suspect a local problem there:
Code:
root@zippy:~# ls /lib/modules/5.4.5-armv7/kernel/
arch/ block/ crypto/ drivers/ fs/ kernel/ lib/ net/ security/ sound/
root@zippy:~# find /lib/modules/5.4.5-armv7/ -type f| wc -l
3728
|
I have re-installed current, it boots and seems to be working fine. However, please note that second time around it still appears that the kernel modules did not install.
Code:
root@bpro10:/home/rick# ls /lib/modules/5.4.5-armv7/kernel/
root@bpro10:/home/rick# find /lib/modules/5.4.5-armv7/ -type f| wc -l
12
I selected 'terse' messages and did see a line saying that 'kernel-modules-armv7-5.4.5_armv7' were being installed. However nothing is there,
Code:
root@bpro10:/home/rick# ls /lib/modules/5.4.5-armv7/kernel/
root@bpro10:/home/rick# find /lib/modules/5.4.5-armv7/ -type f| wc -l
12
but after manually installing I have the same as you
Code:
root@bpro10:/home/rick# installpkg kernel-modules-armv7-5.4.5_armv7-arm-1.txz
Verifying package kernel-modules-armv7-5.4.5_armv7-arm-1.txz.
Installing package kernel-modules-armv7-5.4.5_armv7-arm-1.txz:
PACKAGE DESCRIPTION:
# Linux kernel modules for devices with an ARMv7 CPU
<snipped>
Executing install script for kernel-modules-armv7-5.4.5_armv7-arm-1.txz.
Package kernel-modules-armv7-5.4.5_armv7-arm-1.txz installed.
root@bpro10:/home/rick# ls /lib/modules/5.4.5-armv7/kernel/
arch block crypto drivers fs kernel lib net security sound
root@bpro10:/home/rick# find /lib/modules/5.4.5-armv7/ -type f| wc -l
3728
It may be a silly question, and it wouldn't be my first, but where did the modules come from I was using before I installed the modules?
|
|
|
01-05-2020, 02:09 AM
|
#6
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617
|
Hi
The modules your system has loaded (visible from 'lsmod') come from the initrd '/boot/uinitrd-armv7', and indeed the system will boot into run level 3 without /lib/modules.
You will see some error messages during boot, but only a few.
I don't know what the issue is here, but check /tmp/installpkg-report.log to see if there's any output from that package.
I reinstall my machines regularly and I've never seen that before.
|
|
|
01-05-2020, 02:26 AM
|
#7
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889
Original Poster
Rep:
|
I figured I was running on initrd modules but I wasn't sure. Nothing in /tmp/installpkg-report.log except
Code:
Install report for /usb-stick/slackwarearm-current/slackware/a/kernel-modules-armv7-5.4.5_armv7-arm-1.txz:
Quote:
I reinstall my machines regularly and I've never seen that before
|
aha ... that's it ... I might reinstall current once or twice a year. Your machines get a lot more practice!
Last edited by justwantin; 01-05-2020 at 02:27 AM.
Reason: tyop
|
|
|
01-05-2020, 02:48 AM
|
#8
|
SARPi Maintainer
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,067
|
Quote:
Originally Posted by justwantin
aha ... that's it ... I might reinstall current once or twice a year. Your machines get a lot more practice!
|
Yesterday I installed Slackware ARM current 4 times on RPi2/3/4 devices. Yeah, it was a quiet day.
|
|
|
01-05-2020, 06:40 AM
|
#9
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617
|
Quote:
Originally Posted by justwantin
I figured I was running on initrd modules but I wasn't sure. Nothing in /tmp/installpkg-report.log except
Code:
Install report for /usb-stick/slackwarearm-current/slackware/a/kernel-modules-armv7-5.4.5_armv7-arm-1.txz:
aha ... that's it ... I might reinstall current once or twice a year. Your machines get a lot more practice!
|
Reinstall and before rebooting, drop into a shell and check /mnt/lib/modules to see if the modules were installed properly.
|
|
|
01-05-2020, 04:21 PM
|
#10
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889
Original Poster
Rep:
|
OK finished reinstall and mules did indeed install. I have no idea why the didn't install the previous two install. I used the same source on a usb stick and the same b'pro on all three installs.
Code:
root@slackware:/mnt/lib/modules# cd 5.4.5-armv7/
root@slackware:/mnt/lib/modules/5.4.5-armv7# ls
build@ modules.builtin.bin modules.order
kernel/ modules.builtin.modinfo modules.softdep
modules.alias modules.dep modules.symbols
modules.alias.bin modules.dep.bin modules.symbols.bin
modules.builtin modules.devname source@
root@slackware:/mnt/lib/modules/5.4.5-armv7# cd kernel/
root@slackware:/mnt/lib/modules/5.4.5-armv7/kernel# ls
arch/ block/ crypto/ drivers/ fs/ kernel/ lib/ net/ security/ sound/
root@slackware:/mnt/lib/modules/5.4.5-armv7/kernel#
With regards to the incorrect date I reported in another thread, the modification date is correct this time around before and after running make clean. I propose to file this all under Stranger Things for lack of a reasonable explanation.
Code:
root@darkstar:/usr/src/linux# ls -l scripts/kconfig/mconf-cfg.sh*
-rwxr-xr-x 1 root root 1141 Dec 19 2019 scripts/kconfig/mconf-cfg.sh*
|
|
|
All times are GMT -5. The time now is 09:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|