Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Yet another Intel 7260 wifi driver issue
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
sbring88
n00b
n00b


Joined: 10 Aug 2015
Posts: 4

PostPosted: Tue Aug 11, 2015 8:03 am    Post subject: Yet another Intel 7260 wifi driver issue Reply with quote

Hi.

I'm having issues installing the Intel Dual Band Wireless-AC 7260 driver and it's driving me crazy. I've already read all other Intel 7260 and iwlwifi related posts on this forum, and I'll try to be brief in describing what I tried.

After finishing the installation process, as described in the handbook, I rebooted the system, and I found myself in a situation in which ifconfig doesn't show any network interface other than the loopback.

I tried to load the iwlwifi firmware via /etc/conf.d/modules, but it does not work.
I searched for some solutions, and it turns out that I need to compile the driver in the kernel, and that I might need some further kernel configuration.
I compiled with:
CONFIG_PCI_MSI=y (as suggested by this thread)
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y (as suggested by this thread)
Device Drivers ---> Generic Driver Options ---> External firmware blobs to build into the kernel binary (iwlwifi-7260-10.ucode)
Device Drivers ---> Generic Driver Options ---> Firmware blobs root directory (/lib/firmware)

Then I tried to add the ucode to initramfs with
Code:
dracut --install /lib/firmware/iwlwifi-7260-10.ucode
as suggested by this thread

After all this, ifconfig it's still only showing the loopback interface. I also tried to install sys-firmware/iwl7260-ucode instead of sys-kernel/linux-firmware, but apparently, the Intel 7260 drivers delivered are the same.

The point is that when I use the Gentoo live USB image, during the installation process, the system sees my wifi interface without any problem. And with lsmod I can actually see the iwlwifi driver correctly loaded.
Is there a way to inspect the live USB image configuration files, and figure out what configurations are needed?
What else can I try?
Please help.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Tue Aug 11, 2015 8:27 am    Post subject: Reply with quote

when you booted up your livecd you can use

zcat /proc/config.gz

to save the kernel configuration whihc is currently running:

zcat /proc/config.gz >> file-name.file-type

than move that kernel config to your kernel directory. make oldconfig and build a kernel from it.
usually its called .config for that purpose
you may backup your current kernel config because you may overwrite it wiht my procedure...
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2657

PostPosted: Tue Aug 11, 2015 8:54 am    Post subject: Re: Yet another Intel 7260 wifi driver issue Reply with quote

sbring88 wrote:
Hi.

I'm having issues installing the Intel Dual Band Wireless-AC 7260 driver and it's driving me crazy. I've already read all other Intel 7260 and iwlwifi related posts on this forum, and I'll try to be brief in describing what I tried.

After finishing the installation process, as described in the handbook, I rebooted the system, and I found myself in a situation in which ifconfig doesn't show any network interface other than the loopback.

I tried to load the iwlwifi firmware via /etc/conf.d/modules, but it does not work.
I searched for some solutions, and it turns out that I need to compile the driver in the kernel, and that I might need some further kernel configuration.
I compiled with:
CONFIG_PCI_MSI=y (as suggested by this thread)
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y (as suggested by this thread)
Device Drivers ---> Generic Driver Options ---> External firmware blobs to build into the kernel binary (iwlwifi-7260-10.ucode)
Device Drivers ---> Generic Driver Options ---> Firmware blobs root directory (/lib/firmware)

Are you having
Quote:
<M> Intel Wireless WiFi DVM Firmware support
<M> Intel Wireless WiFi MVM Firmware support
as suggested by the Wifi article?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Tue Aug 11, 2015 8:19 pm    Post subject: Reply with quote

boot the install media
mount the gentoo partitions
enter the chroot
run
Code:
emerge -pv wgetpaste gentoolkit wireless-tools iw iproute2 dhcpcd wpa_supplicant
then run
Code:
ifconfig -a | wgetpaste -t
lspci -k | wgetpaste -t
zcat /proc/config.gz | wgetpaste -t
ls -l /lib/firmware/iwlwifi* | wgetpaste -t
post the url's returned
_________________
Defund the FCC.
Back to top
View user's profile Send private message
sbring88
n00b
n00b


Joined: 10 Aug 2015
Posts: 4

PostPosted: Thu Aug 13, 2015 5:01 pm    Post subject: Reply with quote

tw04l124 wrote:

zcat /proc/config.gz >> file-name.file-type

Tried this. Then I compiled the kernel and installed it with make && make modules_install && make install
but it doesn't boot properly. It can't find the root block device (even tho I didn't change /etc/fstab or grub.cfg).
charles17 wrote:

<M> Intel Wireless WiFi DVM Firmware support
<M> Intel Wireless WiFi MVM Firmware support

DONAHUE wrote:

run
Code:

ifconfig -a | wgetpaste -t
lspci -k | wgetpaste -t
zcat /proc/config.gz | wgetpaste -t
ls -l /lib/firmware/iwlwifi* | wgetpaste -t   

post the url's returned

ifconfig -a
https://bpaste.net/show/841fb717ddb9

lspci -k
https://bpaste.net/show/b3eb5a586958

/proc/config.gz
https://bpaste.net/show/2e445d9e62d1

ls -l /lib/firmware/iwlwifi*
Code:
-rw-r--r-- 1 root root 782300 Aug 11 00:53 /lib/firmware/iwlwifi-7260-12.ucode
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Thu Aug 13, 2015 5:36 pm    Post subject: Reply with quote

enp5s0f2 did not start on the install media?
wlp6s0 did start on the install media.
you probably need to boot the install media again, mount the gentoo partitions, enter the chroot, and at minimum run:
Code:
 grub2-mkconfig -o /boot/grub/grub.cfg
wgetpaste -t /boot/grub/grub.cfg
post the url returned.
The content of /boot becomes very interesting in deciding what you need to do to recover the ability to boot:
Code:
ls -l /boot | wgetpaste -t
post the url returned.
You may have lost the initramfs.
presuming you used genkernel initially, you can use genkernel --menuconfig all to preserve function and nomenclature while acquiring control over the congiguration.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
sbring88
n00b
n00b


Joined: 10 Aug 2015
Posts: 4

PostPosted: Thu Aug 13, 2015 7:29 pm    Post subject: Reply with quote

DONAHUE wrote:
enp5s0f2 did not start on the install media?

I was connected only with wifi, by the time I took the logs.
Anyway I followed your instructions and I managed to make my kernel boot correctly again, thanks. Still no wifi tho.

ls -l /boot
Code:
total 23223
-rw-r--r-- 1 root root 2423719 Aug 12 22:07 System.map-4.0.5-gentoo
-rw-r--r-- 1 root root 3766544 Aug 11 16:16 System.map-4.0.5-gentoo.old
-rw-r--r-- 1 root root  103101 Aug 12 22:07 config-4.0.5-gentoo
-rw-r--r-- 1 root root  100621 Aug 11 16:16 config-4.0.5-gentoo.old
drwxr-xr-x 6 root root    1024 Aug 13 21:53 grub
-rw------- 1 root root 5022160 Aug 11 16:13 initramfs-4.0.5-gentoo.img
-rw-r--r-- 1 root root 1316644 Aug  7 23:55 initramfs-genkernel-x86_64-4.0.5-gentoo
drwx------ 2 root root   12288 Aug  7 23:24 lost+found
-rw-r--r-- 1 root root 2992656 Aug 12 22:07 vmlinuz-4.0.5-gentoo
-rw-r--r-- 1 root root 7934592 Aug 11 16:16 vmlinuz-4.0.5-gentoo.old
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Thu Aug 13, 2015 8:09 pm    Post subject: Reply with quote

boot gentoo
Code:
ifconfig -a
still see wlp6s0? if so,
Code:
ifconfig wlp6s0 up
ifconfig
did it start? If not,
Code:
dmesg | grep -i 7260 >> /grep_result
dmesg | grep -i wlan0  >> /grep_result
dmesg | grep -i wlp6s0 >> /grep_result
reboot the install media mount the gentoo partitions and
Code:
wgetpaste -t /mnt/gentoo/grep.result
post url
Code:
lspci -nnk
what pciid is used for the nic? should look like Network controller: Intel Corporation Wireless 7260 [xxxx:xxxx] (rev bb)
if ifconfig wlp6s0 up did start the interface:
Code:
ifconfig wlp6s0 down
dhcpcd wlp6s0


any error messages of obvious interest.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
sbring88
n00b
n00b


Joined: 10 Aug 2015
Posts: 4

PostPosted: Fri Aug 14, 2015 5:23 pm    Post subject: Reply with quote

Code:
ifconfig -a
did not show the wifi interface.
Code:
dmesg
had no 7260, wlan, wpl or any other wifi related word to grep.
Then I tried:
Code:
lspci -nnk | grep 7260
Network controller: Intel Corporation Wireless 7260 [8086:08b1] (rev bb)

and it went just like you predicted.
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 8045
Location: ~Brussels - Belgique

PostPosted: Fri Aug 14, 2015 6:36 pm    Post subject: Reply with quote

Hi!

with recent kernels, you need a newer version of the 7260 firmware, which is not in linux-firmware.
-13 for kernel 4.1 : https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-7260-ucode-25.30.13.0.tgz
-14 for kernel 4.2 https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-7260-ucode-25.30.14.0.tgz
Download them at kernel.org and unpack them to /lib/firmware
https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi

the kernel 4.0 is really buggy with this wireless chip, avoid it.
(source: https://bugzilla.kernel.org/show_bug.cgi?id=93431 and https://bugzilla.kernel.org/show_bug.cgi?id=95941)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Fri Aug 14, 2015 7:13 pm    Post subject: Reply with quote

Quote:
ifconfig -a
did not show the wifi interface.
tells us that the kernel that was booted to produce that result is not configured with the iwlwifi module.
if you are using genkernel:
boot the install media, mount the gentoo partitions, enter the chroot, run
Code:
echo "=sys-kernel/gentoo-sources-4.1.5 ~amd64" >> /etc/portage/package.keywords
emerge --sync
emerge gentoo-sources
eselect kernel set linux-4.1.5-gentoo
genkernel --menuconfig all
in menuconfig edit to add iwlwifi and bluetooth support, exit menuconfig saving the configuration. Allow genkernl to finish. Run
Code:
grub2-mkconfig -o /boot/grub/grub.cfg
As xaviermiller (thanks to xavier) suggested, download and install updated firrmware. Reboot to gentoo. Recheck per my earlier post of Thu Aug 13, 2015 3:09 pm.

my guess at menucnfig:
Quote:
-*- Networking support --->
Device Drivers --->
<M> Bluetooth subsystem support --->
--- Bluetooth subsystem support
[*] Bluetooth Classic (BR/EDR) features (NEW)
< > RFCOMM protocol support (NEW)
< > BNEP protocol support (NEW)
< > HIDP protocol support (NEW)
[*] Bluetooth Low Energy (LE) features (NEW)
[ ] Bluetooth self testing support (NEW)
[*] Export Bluetooth internals in debugfs (NEW)
Bluetooth device drivers --->
< > HCI USB driver (NEW)
< > HCI SDIO driver (NEW)
<M> HCI UART driver
-*- UART (H4) protocol support
[*] BCSP protocol support
[*] Atheros AR300x serial support
[*] HCILL protocol support
[*] Three-wire UART (H5) protocol support
[*] Intel protocol support
[ ] Broadcom protocol support (NEW)
< > HCI BCM203x USB driver
< > HCI BPA10x USB driver
< > HCI BlueFRITZ! USB driver
< > HCI VHCI (Virtual HCI device) driver
< > Marvell Bluetooth driver support (NEW)
< > RxRPC session sockets
-*- Wireless --->
-M- cfg80211 - wireless configuration API
[*] cfg80211 wireless extensions compatibility
<M> Generic IEEE 802.11 Networking Stack (mac80211)
< > WiMAX Wireless Broadband support ----
<M> RF switch subsystem support ----

Device Drivers --->
[*] Network device support --->
[*] Ethernet driver support --->
[*] Realtek devices
<M> Realtek 8169 gigabit ethernet support
[*] Wireless LAN --->
<M> Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ul
< > Intel Wireless WiFi DVM Firmware support
<M> Intel Wireless WiFi MVM Firmware support
[ ] Enable broadcast filtering
[ ] enable U-APSD by default
[*] X86 Platform Specific Device Drivers --->
<M> WMI
< > MSI WMI extras
<M> Intel Intelligent Power Sharing
<M> WMI support for MXM Laptop Graphics
<M> Intel Oaktrail Platform Extras

_________________
Defund the FCC.
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