View previous topic :: View next topic |
Author |
Message |
roboto Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Terminator/movie_the_terminator_machine.gif)
Joined: 15 Feb 2017 Posts: 156 Location: My IP address.
|
Posted: Mon Mar 20, 2017 5:54 pm Post subject: [SOLVED] Error loading modules? |
|
|
This had happened out of the blue a few days ago when I found this in /usr/sbin/klogd:
^@^@^@^@^@Cannot allocate Module array.
^@^@No module symbols loaded - kernel modules not enabled.
^@Error loading kernel symbols - %s
How do I enable modules? I haven't touched them.
My system still works, but I can't introduce new hardware to my computer because of this.
How do I fix it?
EDIT: I also tried modprobe, and nothing happened and no modules.
Code: |
nano 2.6.3 File: /etc/conf.d/modules
# Linux users can define a list of modules for a specific kernel version,
# a released kernel version, a main kernel version or all kernel versions.
# The most specific versioned variable will take precedence.
# FreeBSD users can only use the modules="foo bar" setting.
modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
modules_2_6_23="tun ieee1394"
modules_2_6="tun"
modules_2="ipv6"
modules="ohci1394"
modules="usbcore"
modules="soundcore"
# Linux users can give modules a different name when they load - the new name
# will also be used to pick arguments below.
# This is not supported on FreeBSD.
#modules="dummy:dummy1"
# Linux users can give the modules some arguments if needed, per version
# if necessary.
# Again, the most specific versioned variable will take precedence.
# This is not supported on FreeBSD.
module_ieee1394_args="debug"
module_ieee1394_args_2_6_23_gentoo_r5="debug2"
module_ieee1394_args_2_6_23="debug3"
module_ieee1394_args_2_6="debug4"
module_ieee1394_args_2="debug5"
# You should consult your kernel documentation and configuration
# for a list of modules and their options. |
[Moderator edit: added [code] tags to preserve output layout. -Hu] _________________ Answers please.
The true hater of man expects nothing from him and is indiscriminate to his works.
-Ayn Rand
Quote: | Dude. Minus 30 credibility points. |
Yep
Last edited by roboto on Wed Mar 22, 2017 6:20 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9891 Location: almost Mile High in the USA
|
Posted: Mon Mar 20, 2017 6:00 pm Post subject: |
|
|
If you disabled module loading support when you built your kernel, you won't be allowed to insmod any modules...? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
roboto Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Terminator/movie_the_terminator_machine.gif)
Joined: 15 Feb 2017 Posts: 156 Location: My IP address.
|
Posted: Mon Mar 20, 2017 6:33 pm Post subject: |
|
|
I haven't touch the kernel configuration ever since I installed Gentoo...
All the modules I have are built into the kernel, but they stopped loading properly. _________________ Answers please.
The true hater of man expects nothing from him and is indiscriminate to his works.
-Ayn Rand
Quote: | Dude. Minus 30 credibility points. |
Yep |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Mon Mar 20, 2017 6:47 pm Post subject: |
|
|
roboto wrote: | All the modules I have are built into the kernel, but they stopped loading properly. |
roboto ... in which case you don't have any modules to load. Also your /etc/conf.d/modules seems to be very much out of date, 2.6{{.23,},-gentoo-r5} being now antiques.
best ... khay |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
roboto Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Terminator/movie_the_terminator_machine.gif)
Joined: 15 Feb 2017 Posts: 156 Location: My IP address.
|
Posted: Mon Mar 20, 2017 6:57 pm Post subject: |
|
|
How do I update it then?
Besides... sysklogd is showing me errors on loading modules. _________________ Answers please.
The true hater of man expects nothing from him and is indiscriminate to his works.
-Ayn Rand
Quote: | Dude. Minus 30 credibility points. |
Yep |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
roboto Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Terminator/movie_the_terminator_machine.gif)
Joined: 15 Feb 2017 Posts: 156 Location: My IP address.
|
Posted: Mon Mar 20, 2017 7:08 pm Post subject: |
|
|
etc-update's output:
Scanning Configuration files...
Exiting: Nothing left to do; exiting. _________________ Answers please.
The true hater of man expects nothing from him and is indiscriminate to his works.
-Ayn Rand
Quote: | Dude. Minus 30 credibility points. |
Yep |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
roboto Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Terminator/movie_the_terminator_machine.gif)
Joined: 15 Feb 2017 Posts: 156 Location: My IP address.
|
Posted: Mon Mar 20, 2017 7:16 pm Post subject: |
|
|
# emerge -avDuN /etc/conf.d/modules
These are the packages that would be merged, in order:
Calculating dependencies ... done!
Total: 0 packages, Size of downloads: 0 KiB _________________ Answers please.
The true hater of man expects nothing from him and is indiscriminate to his works.
-Ayn Rand
Quote: | Dude. Minus 30 credibility points. |
Yep |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Mon Mar 20, 2017 7:22 pm Post subject: |
|
|
roboto wrote: | How do I update it then? |
roboto ... it's explained in that file:
/etc/conf.d/modules: | # You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
# The most specific versioned variable will take precedence. |
For some reason you have the examples of how to do this uncommented.
roboto wrote: | Besides... sysklogd is showing me errors on loading modules. |
You've just said, you don't have any modules, "all the modules [...] are built into the kernel". I suspect what has happened is you've built a kernel but not run 'make modules_install', but that is a complete guess in the absence of information.
Code: | # find /lib/modules/$(uname -r) -type f -name '*.ko' -print |
best ... khay |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
roboto Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Terminator/movie_the_terminator_machine.gif)
Joined: 15 Feb 2017 Posts: 156 Location: My IP address.
|
Posted: Mon Mar 20, 2017 7:34 pm Post subject: |
|
|
I see... I have not typed make modules_install and I will update /etc/conf.d/modules.
Wish me luck on rebuilding the kernel. _________________ Answers please.
The true hater of man expects nothing from him and is indiscriminate to his works.
-Ayn Rand
Quote: | Dude. Minus 30 credibility points. |
Yep |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|