Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] trouble with wireless on new install
Date: Wed, 29 Jul 2015 21:02:30
Message-Id: 201507292202.09539.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] trouble with wireless on new install by gottlieb@nyu.edu
1 On Wednesday 29 Jul 2015 19:35:57 gottlieb@×××.edu wrote:
2 > On Wed, Jul 29 2015, Mick wrote:
3 > > On Wednesday 29 Jul 2015 01:36:22 gottlieb@×××.edu wrote:
4 > >> I am having trouble with wireless on a new install (gnome/systemd).
5 > >>
6 > >> lspci reports
7 > >>
8 > >> 02:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
9 > >>
10 > >> I looked this up and it requires the iwlwifi driver and iwlmvm, which I
11 > >> enabled in the kernel (as modules). lsmod reports
12 > >>
13 > >> Module Size Used by
14 > >> iwlmvm 142993 0
15 > >> mac80211 425803 1 iwlmvm
16 > >> x86_pkg_temp_thermal 4567 0
17 > >> iwlwifi 88075 1 iwlmvm
18 > >>
19 > >> I have merged linux-firmware and ls /lib/firmware/*7265* reports
20 > >>
21 > >> /lib/firmware/iwlwifi-7265-10.ucode
22 > >> /lib/firmware/iwlwifi-7265-9.ucode
23 > >> /lib/firmware/iwlwifi-7265-12.ucode
24 > >>
25 > >> /lib/firmware/iwlwifi-7265D-10.ucode /lib/firmware/iwlwifi-7265-8.ucode
26 > >> /lib/firmware/iwlwifi-7265D-12.ucode
27 > >>
28 > >> dmsg | grep iwl reports
29 > >>
30 > >> [ 2.819953] iwlwifi 0000:02:00.0: irq 48 for MSI/MSI-X
31 > >> [ 2.824130] iwlwifi 0000:02:00.0: loaded firmware version
32 > >> 23.11.10.0
33 > >>
34 > >> op_modeiwlmvm [ 2.836969] iwlwifi 0000:02:00.0: Detected Intel(R)
35 > >> Dual Band Wireless AC 7265, REV=0x210 [ 2.838620] iwlwifi
36 > >> 0000:02:00.0: L1 Disabled - LTR Enabled [ 2.838775] iwlwifi
37 > >> 0000:02:00.0: L1 Disabled - LTR Enabled [ 2.896168] ieee80211 phy0:
38 > >> Selected rate control algorithm 'iwl-mvm-rs' [ 2.899325] iwlwifi
39 > >> 0000:02:00.0 wlp2s0: renamed from wlan0
40 > >>
41 > >> The complaint seems to be "L1 disabled"
42 > >>
43 > >> NetworkManager started the wired network but failed with the wireless
44 > >> E6430s ~ # systemctl -l status NetworkManager
45 > >> ● NetworkManager.service - Network Manager
46 > >>
47 > >> Loaded: loaded (/usr/lib64/systemd/system/NetworkManager.service;
48 > >>
49 > >> enabled; vendor preset: enabled) Active: active (running) since Tue
50 > >> 2015-07-28 19:56:57 EDT; 9min ago Main PID: 232 (NetworkManager)
51 > >>
52 > >> CGroup: /system.slice/NetworkManager.service
53 > >>
54 > >> ├─232 /usr/sbin/NetworkManager --no-daemon
55 > >> └─256 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper
56 > >> -pf
57 > >>
58 > >> /var/run/dhclient-eno1.pid -lf
59 > >> /var/lib/NetworkManager/dhclient-0caab3d6-148f-416a-9906-547ed08596bf-en
60 > >> o1 .lease -cf /var/lib/NetworkManager/dhclient-eno1.conf eno1
61 > >>
62 > >> Jul 28 19:56:59 E6430s dhclient[256]: bound to 192.168.1.107 -- renewal
63 > >> in 43096 seconds. Jul 28 19:56:59 E6430s NetworkManager[232]: <info>
64 > >> NetworkManager state is now CONNECTED_GLOBAL Jul 28 19:56:59 E6430s
65 > >> NetworkManager[232]: <info> Policy set 'Wired connection 1' (eno1) as
66 > >> default for IPv4 routing and DNS. Jul 28 19:56:59 E6430s
67 > >> NetworkManager[232]: <info> (eno1): Activation: successful, device
68 > >> activated. Jul 28 19:57:01 E6430s NetworkManager[232]: <info> (wlp2s0):
69 > >> supplicant interface state: disconnected -> inactive Jul 28 19:57:05
70 > >> E6430s NetworkManager[232]: <info> startup complete Jul 28 19:57:31
71 > >> E6430s NetworkManager[232]: <info> (eno1): Activation: Stage 4 of 5
72 > >> (IPv6 Configure Timeout) scheduled... Jul 28 19:57:31 E6430s
73 > >> NetworkManager[232]: <info> (eno1): Activation: Stage 4 of 5 (IPv6
74 > >> Configure Timeout) started... Jul 28 19:57:31 E6430s
75 > >> NetworkManager[232]: <info> (eno1): Activation: Stage 4 of 5 (IPv6
76 > >> Configure Timeout) complete. Jul 28 19:57:57 E6430s
77 > >> NetworkManager[232]: <info> (wlp2s0): supplicant interface state:
78 > >> inactive -> scanning
79 > >>
80 > >> What step did I forget?
81 > >>
82 > >> thanks in advance,
83 > >> allan
84 > >
85 > > There are reports of driver problems, so you may not have forgotten
86 > > anything. Usual suggestion is to run the latest kernel and firmware, but
87 > > I don't have this card to know more about it. What happens after the
88 > > 'inactive -> scanning' step above? Have you tried to disconnect the
89 > > wired ethernet connection and wait a bit longer for the wireless?
90 >
91 > I just wrote an addendum that crossed in the mail with your msg. This
92 > kernel with these drivers worked last week. I just noticed that I
93 > didn't have an /etc/wpa_supplicant so added the same trivial one I have
94 > on my current machine
95 > # The below line not be changed otherwise we refuse to work
96 > ctrl_interface=/var/run/wpa_supplicant
97 >
98 > network={
99 > key_mgmt=NONE
100 > priority=-9999999
101 > }
102 > Unplugging the wired enet didn't help (I waited a minute).
103 > The trivial /etc/wpa_supplicant/wpa_supplicant.conf had no effect.
104
105 I assume that you had restarted your wireless interface?
106
107
108 > It looks strange. dmesg shows the iwlwifi driver responding,
109 > recognizing the card, and loading the microcode using iwlmvm (see above)
110 > What does L1 disabled mean? I googled and found other getting that msg
111 > but no explanation of what it means.
112 >
113 > thanks,
114 > allan
115
116 I think (but not sure) that L1 is a legacy power management feature of PCIe.
117 LTR is a more dynamic, latency based, power management standard, which auto-
118 adjusts the power on the device depending on how long it takes to wake up. L1
119 on its own would consume more of your battery (if it is a laptop), with LTR it
120 would switch off the power of parts of the circuit so as to avoid exceeding
121 the latency requirement of the device (not all devices take the same time to
122 wake up).
123
124 Could it be that MSWindows has set up on the hardware some aggressive power
125 management setting, which Linux cannot wake up the device from?
126
127 Two things I would try:
128
129 1. In Linux - modinfo <module_name>
130
131 Check what options this gives and tweak the power settings accordingly as your
132 modprobe it, or add it in /etc/modprobe.d/<module_name>.conf. Also check the
133 relevant kernel documentation in case it gives more details.
134
135 2. In MSWindows - Device Manager
136
137 Go into the Hardware/Device Manager and check the different tabs of the
138 driver. Make a note of the original settings and then tweak the power
139 settings so that the device does not go to sleep. Reboot into MSWindows (for
140 good luck) and then boot into Linux.
141
142 Eventually, a more up to date driver ought to deal with this, if all my
143 suggestions fail.
144
145 HTH.
146 --
147 Regards,
148 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] trouble with wireless on new install gottlieb@×××.edu