Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
insmod iwlwifi failed
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Wed May 13, 2015 12:21 pm    Post subject: Reply with quote

Jaglover wrote:
Code:
modules="r8169 iwlwifi"


What error you get when you do
Code:
modprobe r8169
?


I will get:
Quote:
bash: modprobe: command not found


but when lsmod:
Quote:
Module zsize Used by
r8169 60157 0


So r8169 should have been loaded right...

Thanks 8O
Back to top
View user's profile Send private message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Wed May 13, 2015 12:29 pm    Post subject: Reply with quote

charles17 wrote:
liu_fanyi wrote:
Could you tell me who should be set in /etc/conf.d/module...

I set as this:
Quote:
modules="r8169"
modules="iwlwifi"
modules="iwldvm"
modules="iwlmvm"
modules="rt2x00mmio"
modules="rt2800lib"
modules="rt2800mmio"
modules="rt2x00pci"
modules="rt2x00lib"
modules="rt2800pci"
modules="b43"
modules="iwl4965"
modules="iwl3945"
modules="iwlegacy"

Hm, mine is full of commented-out lines (# at the beginning).
Maybe service /etc/init.d/modules is no longer needed? I don't have it in any runlevel.


But if I don't config this file...
lsmod won't have anything...
It's hard to understand...

Thanks 8O :?:
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Wed May 13, 2015 2:08 pm    Post subject: Reply with quote

liu_fanyi wrote:


But if I don't config this file...
lsmod won't have anything...
It's hard to understand...


Somewhat complex matter, true.
But /etc/conf.d/modules is the configuration file for the service /etc/init.d/modules. IIRC, this service was used in the past for loading mudules before this could be done by the kernel (or is it done by udev? I don't know).

lsmod works independent from that service.
Back to top
View user's profile Send private message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Fri May 15, 2015 12:05 am    Post subject: Reply with quote

charles17 wrote:
liu_fanyi wrote:


But if I don't config this file...
lsmod won't have anything...
It's hard to understand...


Somewhat complex matter, true.
But /etc/conf.d/modules is the configuration file for the service /etc/init.d/modules. IIRC, this service was used in the past for loading mudules before this could be done by the kernel (or is it done by udev? I don't know).

lsmod works independent from that service.


I try to use modprobe, and get this:
Quote:
modprobe: ERROR: could not insert 'iwlwifi': Exec format error


...There is something wrong with iwlwifi.ko and kernel?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri May 15, 2015 1:12 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-953410-start-0.html
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
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
Goto page Previous  1, 2
Page 2 of 2

 
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