Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] lsmod modules blank and can not load end of gentoo tutorial
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kevinlll4
n00b
n00b


Joined: 27 Aug 2016
Posts: 9

PostPosted: Mon Aug 29, 2016 11:51 pm    Post subject: [SOLVED] lsmod modules blank and can not load end of gentoo Reply with quote

I followed the gentoo Spanish tutorial to the letter, to reboot and use lsmod see that is blank,

Code:
$ lsmod

Module Size Used by

Other links I see that says maybe because I have installed a monolithic kernel, or not mount proc, but seeing /usr/src/linux/.config configuration file, I see this if full, besides that if mount proc before chroot.

I try to upload a module with modprobe atl1c (my ethernet), the latter does not recognize it, although it is on the route /lib/modules/4.4.6-gentoo/sources/drivers/net/ethernet/atheros /atl1c/atl1c.ko.

leaving the following message: Code:
Code:

$ modprobe atl1c

modprobe: FATAL: Module atl1c not found in /lib/modules/4.4.6-gentoo.

when I try to load the module for my wireless (ath9k) card ejects the following:

Code:
$ modprobe ath9k

modprobe: Error: could not insert 'ath9k': Unknown symbol in module, or unknown parameter (see dmesg).

looking've found this links https://forums.gentoo.org/viewtopic-t-1002532-start-0.html, which already Segui but still the same, also when I dmesg | tail, does not display error messages that sends me modprobe.

Any suggestions thank you in advance
_________________
kk


Last edited by kevinlll4 on Wed Aug 31, 2016 8:01 pm; edited 2 times in total
Back to top
View user's profile Send private message
Syl20
Guru
Guru


Joined: 04 Aug 2005
Posts: 564
Location: France

PostPosted: Wed Aug 31, 2016 1:06 pm    Post subject: Reply with quote

Where are you in the tutorial ? Are you in a chroot from the installation media, or did you boot on your new system ?

Please pastebin your mounted FS list (# df -h), the contents of /etc/fstab, your kernel config, and your # emerge --info.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43557
Location: 56N 3W

PostPosted: Wed Aug 31, 2016 3:55 pm    Post subject: Reply with quote

Syl20,

Code:
/lib/modules/4.4.6-gentoo/sources/drivers/net/ethernet/atheros /atl1c/atl1c.ko.

That's the build location for the atl1c module. The loadable module is in
Code:
/lib/modules/4.4.6-gentoo/kernel/drivers/net/...


From your
Code:
modprobe: FATAL: Module atl1c not found in /lib/modules/4.4.6-gentoo.
You either omitted the
Code:
make modules_install
step or your network driver is built inta the kernel.

What interfaces does
Code:
ifconfig -a
show?

Code:
Unknown symbol in module, or unknown parameter (see dmesg).
Tells that the module is present, so you must have done
Code:
make modules_install
but that something that ath9k depends on in the kernel is missing.
dmesg will tell the missing symbol(s)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kevinlll4
n00b
n00b


Joined: 27 Aug 2016
Posts: 9

PostPosted: Wed Aug 31, 2016 6:52 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Syl20,

Code:
/lib/modules/4.4.6-gentoo/sources/drivers/net/ethernet/atheros /atl1c/atl1c.ko.

That's the build location for the atl1c module. The loadable module is in
Code:
/lib/modules/4.4.6-gentoo/kernel/drivers/net/...


From your
Code:
modprobe: FATAL: Module atl1c not found in /lib/modules/4.4.6-gentoo.
You either omitted the
Code:
make modules_install
step or your network driver is built inta the kernel.

What interfaces does
Code:
ifconfig -a
show?

Code:
Unknown symbol in module, or unknown parameter (see dmesg).
Tells that the module is present, so you must have done
Code:
make modules_install
but that something that ath9k depends on in the kernel is missing.
dmesg will tell the missing symbol(s)


Already resolved, in the case of the ethernet interface had not activated the driver when compiling the kernel, and once because I could not raise the driver with modprobe ath9k, it was because it was on MODVERSIONS in recompiling the kernel, but the only problem I do lsmod esque persists, and there is no driver loaded, although it works my ethernet card, touchpad and other things, but perhaps drivers appear these devices should not work?

the system works well, but lsmod is empty, that is? , Although I have to operate the touchpad and the ethernet interface.
_________________
kk
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43557
Location: 56N 3W

PostPosted: Wed Aug 31, 2016 6:58 pm    Post subject: Reply with quote

kevinlll4,

lsmod shows only loadable modules that have been loaded.

When you set an option as <*> the code goes into the kernel binary in /boot.
When you set an option as <M> the code goes into /lib/modules/`uname -r`/

I'm pleased you have fixed the problem.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kevinlll4
n00b
n00b


Joined: 27 Aug 2016
Posts: 9

PostPosted: Wed Aug 31, 2016 8:03 pm    Post subject: Reply with quote

NeddySeagoon wrote:
kevinlll4,

lsmod shows only loadable modules that have been loaded.

When you set an option as <*> the code goes into the kernel binary in /boot.
When you set an option as <M> the code goes into /lib/modules/`uname -r`/

I'm pleased you have fixed the problem.


thanks not know that, try putting resolved the issue, but have a limit on the allowed characters, and edit, I see that do not validate level back end length characters in the titles, at least it's something minor.
_________________
kk
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum