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

Goto page 1, 2  Next  
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: Mon May 11, 2015 4:52 pm    Post subject: insmod iwlwifi failed Reply with quote

this is my wireless card:
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
Subsystem: Intel Corporation Wireless-N 7260
Kernel modules: iwlwifi

and kernel:
Linux liu 3.18.11-gentoo #1 SMP Tue May 12 04:04:34 CST 2015 i686 Intel(R) Celeron(R) CPU N2830 @ 2.16GHz GenuineIntel GNU/Linux

and config like here: https://wiki.gentoo.org/wiki/Wifi

and write /etc/conf.d/modules
modules="iwlwifi"

When startup gentoo, I can see:
failed to load iwlwifi.ko

and lsmod:
Module Size Used by
libkmod: kmod_module_get_holders: could not open '/sys/module/iwlwifi/holders': No such file or directory
iwlwifi 172171 -2
r8169 60157 0

what should i do....i have make kernel more than 30 times....
thanks! 8O
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Mon May 11, 2015 5:17 pm    Post subject: Re: insmod iwlwifi failed Reply with quote

liu_fanyi wrote:
what should i do....i have make kernel more than 30 times....
thanks! 8O

The missing iwlwifi.ko should be in /lib/modules/3.18.11-gentoo/kernel/drivers/net/wireless/iwlegacy/iwl3945.ko
Did you forget to "make modules_install"? Have a look in "modinfo iwlwifi".
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon May 11, 2015 11:25 pm    Post subject: Reply with quote

Code:
emerge linux-firmware


https://forums.gentoo.org/viewtopic-t-1016886-highlight-intel+ucode.html may be of interest
_________________
Defund the FCC.
Back to top
View user's profile Send private message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Mon May 11, 2015 11:44 pm    Post subject: Re: insmod iwlwifi failed Reply with quote

charles17 wrote:
liu_fanyi wrote:
what should i do....i have make kernel more than 30 times....
thanks! 8O

The missing iwlwifi.ko should be in /lib/modules/3.18.11-gentoo/kernel/drivers/net/wireless/iwlegacy/iwl3945.ko
Did you forget to "make modules_install"? Have a look in "modinfo iwlwifi".


I have "make modules_install"
and modinfo iwlwifi:

filename: /lib/modules/3.18.11-gentoo/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
license: GPL
author: Copyright(c) 2003- 2014 Intel Corporation <ilw@linux.intel.com>
version: in-tree:d
description: Intel(R) Wireless WiFi driver for Linux
firmware: iwlwifi-100-5.ucode
firmware: iwlwifi-1000-5.ucode
firmware: iwlwifi-135-6.ucode
firmware: iwlwifi-105-6.ucode
firmware: iwlwifi-2030-6.ucode
firmware: iwlwifi-2000-6.ucode
firmware: iwlwifi-5150-2.ucode
firmware: iwlwifi-5000-5.ucode
firmware: iwlwifi-6000g2b-6.ucode
firmware: iwlwifi-6000g2a-5.ucode
firmware: iwlwifi-6050-5.ucode
firmware: iwlwifi-6000-4.ucode
firmware: iwlwifi-7265-9.ucode
firmware: iwlwifi-3165-9.ucode
firmware: iwlwifi-3160-9.ucode
firmware: iwlwifi-7260-9.ucode
firmware: iwlwifi-8000-8.ucode
srcversion: 341FB22A6C83349D9767570
alias: pci:v00008086d000024F4sv*sd00000030bc*sc*i*
....
alias: pci:v00008086d00004232sv*sd00001201bc*sc*i*
depends:
intree: Y
vermagic: 3.18.11-gentoo SMP mod_unload 686
parm: debug:debug output mask (uint)
parm: swcrypto:using crypto in software (default 0 [hardware]) (int)
parm: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
parm: amsdu_size_8K:enable 8K amsdu size (default 0) (int)
parm: fw_restart:restart firmware in case of error (default true) (bool)
parm: antenna_coupling:specify antenna coupling in dB (default: 0 dB) (int)
parm: wd_disable:Disable stuck queue watchdog timer 0=system default, 1=disable (default: 1) (int)
parm: nvm_file:NVM file name (charp)
parm: uapsd_disable:disable U-APSD functionality (default: N) (bool)
parm: bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
parm: led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
parm: power_save:enable WiFi power management (default: disable) (bool)
parm: power_level:default power save level (range from 1 - 5, default: 1) (int)
Back to top
View user's profile Send private message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Mon May 11, 2015 11:48 pm    Post subject: Reply with quote

DONAHUE wrote:
Code:
emerge linux-firmware


https://forums.gentoo.org/viewtopic-t-1016886-highlight-intel+ucode.html may be of interest


I have "emerge linux-firmware" before
They are under /lib/firmware :
2634773 -rw-r--r-- 1 root root 337572 May 12 15:35 iwlwifi-100-5.ucode
2634774 -rw-r--r-- 1 root root 335056 May 12 15:35 iwlwifi-1000-3.ucode
2634775 -rw-r--r-- 1 root root 337520 May 12 15:35 iwlwifi-1000-5.ucode
2634776 -rw-r--r-- 1 root root 689680 May 12 15:35 iwlwifi-105-6.ucode
2634777 -rw-r--r-- 1 root root 701228 May 12 15:35 iwlwifi-135-6.ucode
2634778 -rw-r--r-- 1 root root 695876 May 12 15:35 iwlwifi-2000-6.ucode
2634779 -rw-r--r-- 1 root root 707392 May 12 15:35 iwlwifi-2030-6.ucode
2634780 -rw-r--r-- 1 root root 609892 May 12 15:35 iwlwifi-3160-10.ucode
2634781 -rw-r--r-- 1 root root 683996 May 12 15:35 iwlwifi-3160-12.ucode
2634782 -rw-r--r-- 1 root root 670484 May 12 15:35 iwlwifi-3160-7.ucode
2634783 -rw-r--r-- 1 root root 667284 May 12 15:35 iwlwifi-3160-8.ucode
2634784 -rw-r--r-- 1 root root 669872 May 12 15:35 iwlwifi-3160-9.ucode
2634785 -rw-r--r-- 1 root root 150100 May 12 15:35 iwlwifi-3945-2.ucode
2634786 -rw-r--r-- 1 root root 187972 May 12 15:35 iwlwifi-4965-2.ucode
2634787 -rw-r--r-- 1 root root 345008 May 12 15:35 iwlwifi-5000-1.ucode
2634788 -rw-r--r-- 1 root root 353240 May 12 15:35 iwlwifi-5000-2.ucode
2634789 -rw-r--r-- 1 root root 340696 May 12 15:35 iwlwifi-5000-5.ucode
2634790 -rw-r--r-- 1 root root 337400 May 12 15:35 iwlwifi-5150-2.ucode
2634791 -rw-r--r-- 1 root root 454608 May 12 15:35 iwlwifi-6000-4.ucode
2634792 -rw-r--r-- 1 root root 444128 May 12 15:35 iwlwifi-6000g2a-5.ucode
2634793 -rw-r--r-- 1 root root 677296 May 12 15:35 iwlwifi-6000g2a-6.ucode
2634794 -rw-r--r-- 1 root root 460236 May 12 15:35 iwlwifi-6000g2b-5.ucode
2634795 -rw-r--r-- 1 root root 679436 May 12 15:35 iwlwifi-6000g2b-6.ucode
2634796 -rw-r--r-- 1 root root 463692 May 12 15:35 iwlwifi-6050-4.ucode
2634797 -rw-r--r-- 1 root root 469780 May 12 15:35 iwlwifi-6050-5.ucode
2634798 -rw-r--r-- 1 root root 672352 May 12 15:35 iwlwifi-7260-10.ucode
2634799 -rw-r--r-- 1 root root 782300 May 12 15:35 iwlwifi-7260-12.ucode
2634800 -rw-r--r-- 1 root root 683236 May 12 15:35 iwlwifi-7260-7.ucode
2634801 -rw-r--r-- 1 root root 679780 May 12 15:35 iwlwifi-7260-8.ucode
2634802 -rw-r--r-- 1 root root 680508 May 12 15:35 iwlwifi-7260-9.ucode
2634803 -rw-r--r-- 1 root root 736844 May 12 15:35 iwlwifi-7265-10.ucode
2634804 -rw-r--r-- 1 root root 880604 May 12 15:35 iwlwifi-7265-12.ucode
2634805 -rw-r--r-- 1 root root 690452 May 12 15:35 iwlwifi-7265-8.ucode
2634806 -rw-r--r-- 1 root root 697828 May 12 15:35 iwlwifi-7265-9.ucode
2634807 -rw-r--r-- 1 root root 740436 May 12 15:35 iwlwifi-7265D-10.ucode
2634808 -rw-r--r-- 1 root root 1002800 May 12 15:35 iwlwifi-7265D-12.ucode

but not helpful...
Thanks! 8O
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue May 12, 2015 5:08 am    Post subject: Reply with quote

liu_fanyi wrote:
DONAHUE wrote:
Code:
emerge linux-firmware


https://forums.gentoo.org/viewtopic-t-1016886-highlight-intel+ucode.html may be of interest


I have "emerge linux-firmware" before
They are under /lib/firmware :
2634773 -rw-r--r-- 1 root root 337572 May 12 15:35 iwlwifi-100-5.ucode
...
2634798 -rw-r--r-- 1 root root 672352 May 12 15:35 iwlwifi-7260-10.ucode
2634799 -rw-r--r-- 1 root root 782300 May 12 15:35 iwlwifi-7260-12.ucode
2634800 -rw-r--r-- 1 root root 683236 May 12 15:35 iwlwifi-7260-7.ucode
2634801 -rw-r--r-- 1 root root 679780 May 12 15:35 iwlwifi-7260-8.ucode
2634802 -rw-r--r-- 1 root root 680508 May 12 15:35 iwlwifi-7260-9.ucode
...
2634803 -rw-r--r-- 1 root root 736844 May 12 15:35 iwlwifi-7265-10.ucode


Are those the same as given by your "modinfo iwlwifi"?
Back to top
View user's profile Send private message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Tue May 12, 2015 10:51 am    Post subject: Reply with quote

charles17 wrote:
liu_fanyi wrote:
DONAHUE wrote:
Code:
emerge linux-firmware


https://forums.gentoo.org/viewtopic-t-1016886-highlight-intel+ucode.html may be of interest


I have "emerge linux-firmware" before
They are under /lib/firmware :
2634773 -rw-r--r-- 1 root root 337572 May 12 15:35 iwlwifi-100-5.ucode
...
2634798 -rw-r--r-- 1 root root 672352 May 12 15:35 iwlwifi-7260-10.ucode
2634799 -rw-r--r-- 1 root root 782300 May 12 15:35 iwlwifi-7260-12.ucode
2634800 -rw-r--r-- 1 root root 683236 May 12 15:35 iwlwifi-7260-7.ucode
2634801 -rw-r--r-- 1 root root 679780 May 12 15:35 iwlwifi-7260-8.ucode
2634802 -rw-r--r-- 1 root root 680508 May 12 15:35 iwlwifi-7260-9.ucode
...
2634803 -rw-r--r-- 1 root root 736844 May 12 15:35 iwlwifi-7265-10.ucode


Are those the same as given by your "modinfo iwlwifi"?


Quote:
I have "make modules_install"
and modinfo iwlwifi:

filename: /lib/modules/3.18.11-gentoo/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
license: GPL
author: Copyright(c) 2003- 2014 Intel Corporation <ilw@linux.intel.com>
version: in-tree:d
description: Intel(R) Wireless WiFi driver for Linux
firmware: iwlwifi-100-5.ucode
firmware: iwlwifi-1000-5.ucode
firmware: iwlwifi-135-6.ucode
firmware: iwlwifi-105-6.ucode
firmware: iwlwifi-2030-6.ucode
firmware: iwlwifi-2000-6.ucode
firmware: iwlwifi-5150-2.ucode
firmware: iwlwifi-5000-5.ucode
firmware: iwlwifi-6000g2b-6.ucode
firmware: iwlwifi-6000g2a-5.ucode
firmware: iwlwifi-6050-5.ucode
firmware: iwlwifi-6000-4.ucode
firmware: iwlwifi-7265-9.ucode
firmware: iwlwifi-3165-9.ucode
firmware: iwlwifi-3160-9.ucode
firmware: iwlwifi-7260-9.ucode
firmware: iwlwifi-8000-8.ucode


looks like they are same?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue May 12, 2015 11:13 am    Post subject: Reply with quote

You could check dmesg for useful information, maybe filtering with grep like
Quote:
$ dmesg | grep -i 'iwl\|wlp\|network\|dhcpcd\|firmware\|modul'
Back to top
View user's profile Send private message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Tue May 12, 2015 11:19 am    Post subject: Reply with quote

charles17 wrote:
You could check dmesg for useful information, maybe filtering with grep like
Quote:
$ dmesg | grep -i 'iwl\|wlp\|network\|dhcpcd\|firmware\|modul'


and i get this:
Quote:
liu ~ # dmesg | grep -i 'iwl\|wlp\|network\|dhcpcd\|firmware\|modul'
[ 0.087850] ACPI: Added _OSI(Module Device)
[ 1.052934] RPC: Registered named UNIX socket transport module.
[ 1.053017] RPC: Registered udp transport module.
[ 1.053097] RPC: Registered tcp transport module.
[ 1.053176] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.735134] loop: module loaded
[ 1.747375] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[ 1.747415] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 1.747653] ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
[ 1.747871] iwlwifi 0000:02:00.0: pci_enable_msi failed(0Xffffffda)
[ 1.748002] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:
[ 1.748009] iwl4965: Copyright(c) 2003-2011 Intel Corporation
[ 1.748039] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
[ 1.748047] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[ 1.748178] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-10.ucode failed with error -2
[ 1.748206] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-9.ucode failed with error -2
[ 1.748209] iwlwifi 0000:02:00.0: request for firmware file 'iwlwifi-7260-9.ucode' failed.
[ 1.748254] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-8.ucode failed with error -2
[ 1.748258] iwlwifi 0000:02:00.0: request for firmware file 'iwlwifi-7260-8.ucode' failed.
[ 1.748260] iwlwifi 0000:02:00.0: no suitable firmware found!
[ 1.765114] netconsole: network logging started
[ 6.670927] iwlwifi: module is already loaded
[ 8.450202] Modules linked in: iwlwifi(+) r8169
[ 8.506955] [<c10d1a61>] trace_module_notify+0x121/0x1b0
[ 8.520803] [<c10a276b>] load_module+0x14cb/0x1d60
[ 8.527828] [<c10a30fc>] SyS_finit_module+0x5c/0x70


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


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue May 12, 2015 11:39 am    Post subject: Reply with quote

The problem is the line marked red.

Quote:
liu ~ # dmesg | grep -i 'iwl\|wlp\|network\|dhcpcd\|firmware\|modul'
[ 0.087850] ACPI: Added _OSI(Module Device)
[ 1.052934] RPC: Registered named UNIX socket transport module.
[ 1.053017] RPC: Registered udp transport module.
[ 1.053097] RPC: Registered tcp transport module.
[ 1.053176] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.735134] loop: module loaded
[ 1.747375] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[ 1.747415] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 1.747653] ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
[ 1.747871] iwlwifi 0000:02:00.0: pci_enable_msi failed(0Xffffffda)
[ 1.748002] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:
[ 1.748009] iwl4965: Copyright(c) 2003-2011 Intel Corporation
[ 1.748039] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
[ 1.748047] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[ 1.748178] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-10.ucode failed with error -2
[ 1.748206] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-9.ucode failed with error -2
[ 1.748209] iwlwifi 0000:02:00.0: request for firmware file 'iwlwifi-7260-9.ucode' failed.
[ 1.748254] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-8.ucode failed with error -2
[ 1.748258] iwlwifi 0000:02:00.0: request for firmware file 'iwlwifi-7260-8.ucode' failed.
[ 1.748260] iwlwifi 0000:02:00.0: no suitable firmware found!
[ 1.765114] netconsole: network logging started
[ 6.670927] iwlwifi: module is already loaded
[ 8.450202] Modules linked in: iwlwifi(+) r8169
[ 8.506955] [<c10d1a61>] trace_module_notify+0x121/0x1b0
[ 8.520803] [<c10a276b>] load_module+0x14cb/0x1d60
[ 8.527828] [<c10a30fc>] SyS_finit_module+0x5c/0x70


The other drivers, e100, e1000, ipw2100, iwl4965 and iwl3945 should not harm, but may be disabled in the kernel.
Can you extend the grep with \|0000:02:00.0 ?
Back to top
View user's profile Send private message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Tue May 12, 2015 11:50 am    Post subject: Reply with quote

charles17 wrote:
The problem is the line marked red.

Quote:
liu ~ # dmesg | grep -i 'iwl\|wlp\|network\|dhcpcd\|firmware\|modul'
[ 0.087850] ACPI: Added _OSI(Module Device)
[ 1.052934] RPC: Registered named UNIX socket transport module.
[ 1.053017] RPC: Registered udp transport module.
[ 1.053097] RPC: Registered tcp transport module.
[ 1.053176] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.735134] loop: module loaded
[ 1.747375] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[ 1.747415] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 1.747653] ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
[ 1.747871] iwlwifi 0000:02:00.0: pci_enable_msi failed(0Xffffffda)
[ 1.748002] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:
[ 1.748009] iwl4965: Copyright(c) 2003-2011 Intel Corporation
[ 1.748039] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
[ 1.748047] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[ 1.748178] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-10.ucode failed with error -2
[ 1.748206] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-9.ucode failed with error -2
[ 1.748209] iwlwifi 0000:02:00.0: request for firmware file 'iwlwifi-7260-9.ucode' failed.
[ 1.748254] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-8.ucode failed with error -2
[ 1.748258] iwlwifi 0000:02:00.0: request for firmware file 'iwlwifi-7260-8.ucode' failed.
[ 1.748260] iwlwifi 0000:02:00.0: no suitable firmware found!
[ 1.765114] netconsole: network logging started
[ 6.670927] iwlwifi: module is already loaded
[ 8.450202] Modules linked in: iwlwifi(+) r8169
[ 8.506955] [<c10d1a61>] trace_module_notify+0x121/0x1b0
[ 8.520803] [<c10a276b>] load_module+0x14cb/0x1d60
[ 8.527828] [<c10a30fc>] SyS_finit_module+0x5c/0x70


The other drivers, e100, e1000, ipw2100, iwl4965 and iwl3945 should not harm, but may be disabled in the kernel.
Can you extend the grep with \|0000:02:00.0 ?


I get this
Quote:

liu ~ # dmesg | grep -i '0000:02:00.0'
[ 0.565966] pci 0000:02:00.0: [8086:08b1] type 00 class 0x028000
[ 0.566014] pci 0000:02:00.0: reg 0x10: [mem 0xd0700000-0xd0701fff 64bit]
[ 0.566174] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[ 0.566222] pci 0000:02:00.0: System wakeup disabled by ACPI
[ 1.737691] iwlwifi 0000:02:00.0: pci_enable_msi failed(0Xffffffda)
[ 1.738077] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-10.ucode failed with error -2
[ 1.738104] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-9.ucode failed with error -2
[ 1.738124] iwlwifi 0000:02:00.0: request for firmware file 'iwlwifi-7260-9.ucode' failed.
[ 1.738149] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-8.ucode failed with error -2
[ 1.738159] iwlwifi 0000:02:00.0: request for firmware file 'iwlwifi-7260-8.ucode' failed.
[ 1.738168] iwlwifi 0000:02:00.0: no suitable firmware found!


Thanks! :P
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Tue May 12, 2015 11:56 am    Post subject: Reply with quote

Code:
grep PCI_MSI /usr/src/linux/.config

It should be enabled for you automatically.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue May 12, 2015 11:57 am    Post subject: Reply with quote

Sorry, I was mistaken. Please see https://forums.gentoo.org/viewtopic-t-1001638.html and check those kernel options (BTW: Are those mentioned in the wiki?).
Back to top
View user's profile Send private message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Tue May 12, 2015 12:24 pm    Post subject: Reply with quote

Jaglover wrote:
Code:
grep PCI_MSI /usr/src/linux/.config

It should be enabled for you automatically.


It's not useful
Even r8169.ko cant be loaded...
Back to top
View user's profile Send private message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Tue May 12, 2015 12:43 pm    Post subject: Reply with quote

charles17 wrote:
Sorry, I was mistaken. Please see https://forums.gentoo.org/viewtopic-t-1001638.html and check those kernel options (BTW: Are those mentioned in the wiki?).


I have found this before...
And just config like this:
Quote:
# Generic Driver Options
#
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
# CONFIG_FIRMWARE_IN_KERNEL is not set
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FW_LOADER_USER_HELPER=y
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y

CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLDVM=m
CONFIG_IWLMVM=m
CONFIG_IWLWIFI_OPMODE_MODULAR=y
# CONFIG_IWLWIFI_BCAST_FILTERING is not set
# CONFIG_IWLWIFI_UAPSD is not set


but no useful...
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Tue May 12, 2015 1:02 pm    Post subject: Reply with quote

liu_fanyi wrote:
Jaglover wrote:
Code:
grep PCI_MSI /usr/src/linux/.config

It should be enabled for you automatically.


It's not useful
Even r8169.ko cant be loaded...

Sorry, I do not understand your response. Is CONFIG_PCI_MSI enabled or not? Are you editing .config by hand?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue May 12, 2015 1:11 pm    Post subject: Reply with quote

liu_fanyi wrote:
charles17 wrote:
Sorry, I was mistaken. Please see https://forums.gentoo.org/viewtopic-t-1001638.html and check those kernel options (BTW: Are those mentioned in the wiki?).


I have found this before...
And just config like this:
Quote:
# Generic Driver Options
#
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
# CONFIG_FIRMWARE_IN_KERNEL is not set
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FW_LOADER_USER_HELPER=y
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y

CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLDVM=m
CONFIG_IWLMVM=m
CONFIG_IWLWIFI_OPMODE_MODULAR=y
# CONFIG_IWLWIFI_BCAST_FILTERING is not set
# CONFIG_IWLWIFI_UAPSD is not set


but no useful...

But you should now get reasonable output from lsmod, do you?
Back to top
View user's profile Send private message
liu_fanyi
n00b
n00b


Joined: 17 Apr 2015
Posts: 22

PostPosted: Tue May 12, 2015 1:23 pm    Post subject: Reply with quote

Jaglover wrote:
liu_fanyi wrote:
Jaglover wrote:
Code:
grep PCI_MSI /usr/src/linux/.config

It should be enabled for you automatically.


It's not useful
Even r8169.ko cant be loaded...

Sorry, I do not understand your response. Is CONFIG_PCI_MSI enabled or not? Are you editing .config by hand?


no,
after
Quote:
make menuconfig

I use "/" to find CONFIG_PCI_MSI
and set "*"

then when I reboot os
and "lsmod"
there is nothing...
last time, it have :
Quote:
Module Size Used by
r8169 60157 0


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


Joined: 17 Apr 2015
Posts: 22

PostPosted: Tue May 12, 2015 1:26 pm    Post subject: Reply with quote

charles17 wrote:
liu_fanyi wrote:
charles17 wrote:
Sorry, I was mistaken. Please see https://forums.gentoo.org/viewtopic-t-1001638.html and check those kernel options (BTW: Are those mentioned in the wiki?).


I have found this before...
And just config like this:
Quote:
# Generic Driver Options
#
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
# CONFIG_FIRMWARE_IN_KERNEL is not set
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FW_LOADER_USER_HELPER=y
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y

CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLDVM=m
CONFIG_IWLMVM=m
CONFIG_IWLWIFI_OPMODE_MODULAR=y
# CONFIG_IWLWIFI_BCAST_FILTERING is not set
# CONFIG_IWLWIFI_UAPSD is not set


but no useful...

But you should now get reasonable output from lsmod, do you?


this time...:
Quote:

liu ~ # dmesg | grep -i 'iwl\|wlp\|network\|dhcpcd\|firmware\|modul'
[ 0.087964] ACPI: Added _OSI(Module Device)
[ 1.052767] RPC: Registered named UNIX socket transport module.
[ 1.052851] RPC: Registered udp transport module.
[ 1.052930] RPC: Registered tcp transport module.
[ 1.053009] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.736797] loop: module loaded
[ 1.749230] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[ 1.749274] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 1.749497] ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
[ 1.749704] iwlwifi 0000:02:00.0: pci_enable_msi failed(0Xffffffda)
[ 1.749857] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:
[ 1.749864] iwl4965: Copyright(c) 2003-2011 Intel Corporation
[ 1.749899] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
[ 1.749907] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[ 1.750081] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-10.ucode failed with error -2
[ 1.750123] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-9.ucode failed with error -2
[ 1.750134] iwlwifi 0000:02:00.0: request for firmware file 'iwlwifi-7260-9.ucode' failed.
[ 1.750157] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-8.ucode failed with error -2
[ 1.750167] iwlwifi 0000:02:00.0: request for firmware file 'iwlwifi-7260-8.ucode' failed.
[ 1.750176] iwlwifi 0000:02:00.0: no suitable firmware found!
[ 1.766885] netconsole: network logging started
liu ~ # lsmod
Module Size Used by
r8169 60157 0


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


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue May 12, 2015 2:25 pm    Post subject: Reply with quote

liu_fanyi wrote:
this time...:
Quote:

liu ~ # lsmod
Module Size Used by
r8169 60157 0


Thanks..8O

Looks like module iwlwifi were not available. But at least lsmod seems to work now.
Maybe you should do a "make clean" before doing "make && make install modules_install".

Still with CONFIG_IWLWIFI=m of course!!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Tue May 12, 2015 2:38 pm    Post subject: Reply with quote

[ 1.750081] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-10.ucode failed with error -2
[ 1.750123] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-9.ucode failed with error -2
[ 1.750134] iwlwifi 0000:02:00.0: request for firmware file 'iwlwifi-7260-9.ucode' failed.
[ 1.750157] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7260-8.ucode failed with error -2
[ 1.750167] iwlwifi 0000:02:00.0: request for firmware file 'iwlwifi-7260-8.ucode' failed.
[ 1.750176] iwlwifi 0000:02:00.0: no suitable firmware found!

Suggest add sys-kernel/linux-firmware ~amd64 to /etc/portage/package.keywords or /etc/portage/package.accept_keywords or wherever you keep them and re-emerge linux-firmware . iwlwifi-7260-12 exists in 0320 version. If already keyworded, never mind.

https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi may be of interest Shows version -12 needed for kernel 3.19+ and version -13 for kernel 4.1+ .
_________________
Defund the FCC.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue May 12, 2015 5:43 pm    Post subject: Reply with quote

DONAHUE wrote:
https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi may be of interest Shows version -12 needed for kernel 3.19+ and version -13 for kernel 4.1+ .

iwlwifi-7260-ucode-25.17.12.0.tgz seems to also be in iwl7260-ucode/iwl7260-ucode-0.12.16.25.

How could one explain this hell of version numbers in the wiki article?
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:13 am    Post subject: Reply with quote

charles17 wrote:
liu_fanyi wrote:
this time...:
Quote:

liu ~ # lsmod
Module Size Used by
r8169 60157 0


Thanks..8O

Looks like module iwlwifi were not available. But at least lsmod seems to work now.
Maybe you should do a "make clean" before doing "make && make install modules_install".

Still with CONFIG_IWLWIFI=m of course!!


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"


And it will display "Failed load iwlegacy.ko" when startup os.


If I set as this:
Quote:
modules="r8169"
modules="iwlwifi"


And it will display "Failed load iwlwifi.ko" when startup os.

Looks like there is something wrong...

Thanks 8O
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

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

Code:
modules="r8169 iwlwifi"


What error you get when you do
Code:
modprobe r8169
?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Wed May 13, 2015 6:56 am    Post subject: Reply with quote

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.
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 1, 2  Next
Page 1 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