Re: [gentoo-user] Lost wireless interface after updates

2015-10-19 Thread Mansour Al Akeel
The hardware button (hidden on Lenovo T420s), was switched off.
Sorry for this guys.


On Mon, Oct 19, 2015 at 12:12 AM, Stroller
 wrote:
>
>> On Sun, 18 October 2015, at 7:22 p.m., Mansour Al Akeel 
>>  wrote:
>>
>> I haven't updated my system "emerge --sync" in a while (2-3 months).
>> Few days ago I did.
>> After that I lost my wireless interface.
>
> I apologise, but I'm extremely dubious of this claim.
>
> wifi doesn't stop working when you simply update the Portage database - there 
> is no connection between the two things.
>
> You updated the Portage database (with `emerge --sync`) *and then did 
> something else* which caused your wifi to stop working.
>
> Surely, you updated the Portage database (with `emerge --sync`) and then 
> installed a bunch of updated packages?
> (something like `emerge -u world`)
>
> I don't mean to sound antagonistic, or like I'm attacking you. I'm sorry if 
> this email has a negative tone, but what you wrote raises two issues.
>
> 1. It's easier to help you if we know exactly what you did.
>
> 2. When you're updating a bunch of packages, you should run `emerge -p` 
> first. When you've done so, there's a good case for identifying 
> system-critical packages (such as anything related to wifi, networking and 
> system init) and emerging them separately (`emerge -1 package`); then you can 
> deal with the package notices or any problems separately, knowing exactly 
> what update you're responding to.
>
> Stroller.
>
>



Re: [gentoo-user] Lost wireless interface after updates

2015-10-19 Thread Mick
On Monday 19 Oct 2015 11:32:50 Mansour Al Akeel wrote:
> The hardware button (hidden on Lenovo T420s), was switched off.
> Sorry for this guys.

No problem - some times it is easy to think that the switch is on, when in 
reality it was toggled to off.  The give away in your log was this:

[64525.131109] iwlwifi :03:00.0: L1 Enabled - LTR Disabled
[64525.131401] iwlwifi :03:00.0: RF_KILL bit toggled to disable radio.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Lost wireless interface after updates

2015-10-18 Thread Stroller

> On Sun, 18 October 2015, at 7:22 p.m., Mansour Al Akeel 
>  wrote:
> 
> I haven't updated my system "emerge --sync" in a while (2-3 months).
> Few days ago I did.
> After that I lost my wireless interface.

I apologise, but I'm extremely dubious of this claim. 

wifi doesn't stop working when you simply update the Portage database - there 
is no connection between the two things.

You updated the Portage database (with `emerge --sync`) *and then did something 
else* which caused your wifi to stop working.

Surely, you updated the Portage database (with `emerge --sync`) and then 
installed a bunch of updated packages?
(something like `emerge -u world`)

I don't mean to sound antagonistic, or like I'm attacking you. I'm sorry if 
this email has a negative tone, but what you wrote raises two issues. 

1. It's easier to help you if we know exactly what you did.

2. When you're updating a bunch of packages, you should run `emerge -p` first. 
When you've done so, there's a good case for identifying system-critical 
packages (such as anything related to wifi, networking and system init) and 
emerging them separately (`emerge -1 package`); then you can deal with the 
package notices or any problems separately, knowing exactly what update you're 
responding to.

Stroller.




Re: [gentoo-user] Lost wireless interface after updates

2015-10-18 Thread Mick
On Sunday 18 Oct 2015 19:22:40 Mansour Al Akeel wrote:
> Hello all,
> 
> I haven't updated my system "emerge --sync" in a while (2-3 months).
> Few days ago I did.
> After that I lost my wireless interface. I am using wpa_supplicant to
> connect, but this is not the issue. The interface is not initialized,
> and I am not sure what changes are needed to get it working again.
> Here's some troubleshooting commands. If I missed something, please
> let me know. By  the way, rfkill is not working. Thank you in advance.
> 
> rfkill list
> Can't open RFKILL control device: No such file or directory
> 
> ifconfig -a
> enp0s25: flags=4163  mtu 1500
> inet 192.168.1.7  netmask 255.255.255.0  broadcast 192.168.1.255
> ether f0:de:f1:6f:6d:00  txqueuelen 1000  (Ethernet)
> RX packets 42308  bytes 45223536 (43.1 MiB)
> RX errors 0  dropped 3  overruns 0  frame 0
> TX packets 29996  bytes 4063319 (3.8 MiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> device interrupt 20  memory 0xf160-f162
> 
> lo: flags=73  mtu 65536
> inet 127.0.0.1  netmask 255.0.0.0
> loop  txqueuelen 0  (Local Loopback)
> RX packets 6688  bytes 2077181 (1.9 MiB)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 6688  bytes 2077181 (1.9 MiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> 
> wlp3s0: flags=4098  mtu 1500
> ether a0:88:b4:97:b5:2c  txqueuelen 1000  (Ethernet)
> RX packets 0  bytes 0 (0.0 B)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 0  bytes 0 (0.0 B)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> 
> ===
> 
> iwconfig
> 
> wlp3s0IEEE 802.11abgn  ESSID:off/any
>   Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm
>   Retry short limit:7   RTS thr:off   Fragment thr:off
>   Encryption key:off
>   Power Management:off
> 
> ===
> lsmod | grep iw
> 
> iwldvm124450  0
> mac80211  326868  1 iwldvm
> iwlwifi89259  1 iwldvm
> cfg80211  227681  3 iwlwifi,mac80211,iwldvm
> led_class   3231  2 iwldvm,thinkpad_acpi
> 
> ===
> rmmod iwldvm iwlwifi mac80211 cfg80211
> modprobe iwlwifi
> 
> The relevant dmesg:
> 
> [64508.554638] iwlwifi :03:00.0: L1 Enabled - LTR Disabled
> [64525.117691] cfg80211: Calling CRDA to update world regulatory domain
> [64525.120109] Intel(R) Wireless WiFi driver for Linux
> [64525.120113] Copyright(c) 2003- 2014 Intel Corporation
> [64525.120460] iwlwifi :03:00.0: can't disable ASPM; OS doesn't
> have ASPM control
> [64525.123065] iwlwifi :03:00.0: loaded firmware version
> 18.168.6.1 op_mode iwldvm
> [64525.125585] cfg80211: World regulatory domain updated:
> [64525.125590] cfg80211:  DFS Master region: unset
> [64525.125593] cfg80211:   (start_freq - end_freq @ bandwidth),
> (max_antenna_gain, max_eirp), (dfs_cac_time)
> [64525.125600] cfg80211:   (2402000 KHz - 2472000 KHz @ 4 KHz),
> (N/A, 2000 mBm), (N/A)
> [64525.125604] cfg80211:   (2457000 KHz - 2482000 KHz @ 4 KHz),
> (N/A, 2000 mBm), (N/A)
> [64525.125607] cfg80211:   (2474000 KHz - 2494000 KHz @ 2 KHz),
> (N/A, 2000 mBm), (N/A)
> [64525.125612] cfg80211:   (517 KHz - 525 KHz @ 8 KHz,
> 16 KHz AUTO), (N/A, 2000 mBm), (N/A)
> [64525.125617] cfg80211:   (525 KHz - 533 KHz @ 8 KHz,
> 16 KHz AUTO), (N/A, 2000 mBm), (0 s)
> [64525.125620] cfg80211:   (549 KHz - 573 KHz @ 16 KHz),
> (N/A, 2000 mBm), (0 s)
> [64525.125623] cfg80211:   (5735000 KHz - 5835000 KHz @ 8 KHz),
> (N/A, 2000 mBm), (N/A)
> [64525.125627] cfg80211:   (5724 KHz - 6372 KHz @ 216
> KHz), (N/A, 0 mBm), (N/A)
> [64525.130881] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEBUG disabled
> [64525.130888] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
> [64525.130891] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
> [64525.130896] iwlwifi :03:00.0: Detected Intel(R) Centrino(R)
> Advanced-N 6205 AGN, REV=0xB0
> [64525.131109] iwlwifi :03:00.0: L1 Enabled - LTR Disabled
> [64525.131401] iwlwifi :03:00.0: RF_KILL bit toggled to disable radio.
> [64525.142887] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
> [64525.155277] iwlwifi :03:00.0 wlp3s0: renamed from wlan0
> [64525.162396] systemd-udevd[21982]: renamed network interface wlan0 to
> wlp3s0 [64525.219188] iwlwifi :03:00.0: Failed to run INIT ucode: -132
> [64525.219379] iwlwifi :03:00.0: Unable to initialize device.
> [64525.290764] iwlwifi :03:00.0: Failed to run INIT ucode: -132
> [64525.290942] iwlwifi :03:00.0: Unable to initialize 

Re: [gentoo-user] Lost wireless interface after updates

2015-10-18 Thread Alexander Kapshuk
On Sun, Oct 18, 2015 at 9:22 PM, Mansour Al Akeel  wrote:

> Hello all,
>
> ifconfig -a
> enp0s25: flags=4163  mtu 1500
> inet 192.168.1.7  netmask 255.255.255.0  broadcast 192.168.1.255
> ether f0:de:f1:6f:6d:00  txqueuelen 1000  (Ethernet)
> RX packets 42308  bytes 45223536 (43.1 MiB)
> RX errors 0  dropped 3  overruns 0  frame 0
> TX packets 29996  bytes 4063319 (3.8 MiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> device interrupt 20  memory 0xf160-f162
>
> lo: flags=73  mtu 65536
> inet 127.0.0.1  netmask 255.0.0.0
> loop  txqueuelen 0  (Local Loopback)
> RX packets 6688  bytes 2077181 (1.9 MiB)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 6688  bytes 2077181 (1.9 MiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
> wlp3s0: flags=4098  mtu 1500
> ether a0:88:b4:97:b5:2c  txqueuelen 1000  (Ethernet)
> RX packets 0  bytes 0 (0.0 B)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 0  bytes 0 (0.0 B)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>

Your wired interface seems to be up, while your wireless one seems to be
down. Do you normally have both interfaces up?


> ===
>
> iwconfig
>
> wlp3s0IEEE 802.11abgn  ESSID:off/any
>   Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm
>   Retry short limit:7   RTS thr:off   Fragment thr:off
>   Encryption key:off
>   Power Management:off
>
> During the last update, did you by any chance update your
'net-wireless/wpa_supplicant'? If so, can you ensure your '/etc/conf.d/net'
and '/etc/wpa_supplicant/wpa_supplicant.conf' are in order.

If you are using openrc, what is the output of:
root# rc-update show | grep net



> The relevant dmesg:
>
> [64508.554638] iwlwifi :03:00.0: L1 Enabled - LTR Disabled
> [64525.117691] cfg80211: Calling CRDA to update world regulatory domain
> [64525.120109] Intel(R) Wireless WiFi driver for Linux
> [64525.120113] Copyright(c) 2003- 2014 Intel Corporation
> [64525.120460] iwlwifi :03:00.0: can't disable ASPM; OS doesn't
> have ASPM control
> [64525.123065] iwlwifi :03:00.0: loaded firmware version
> 18.168.6.1 op_mode iwldvm
> [64525.125585] cfg80211: World regulatory domain updated:
> [64525.125590] cfg80211:  DFS Master region: unset
> [64525.125593] cfg80211:   (start_freq - end_freq @ bandwidth),
> (max_antenna_gain, max_eirp), (dfs_cac_time)
> [64525.125600] cfg80211:   (2402000 KHz - 2472000 KHz @ 4 KHz),
> (N/A, 2000 mBm), (N/A)
> [64525.125604] cfg80211:   (2457000 KHz - 2482000 KHz @ 4 KHz),
> (N/A, 2000 mBm), (N/A)
> [64525.125607] cfg80211:   (2474000 KHz - 2494000 KHz @ 2 KHz),
> (N/A, 2000 mBm), (N/A)
> [64525.125612] cfg80211:   (517 KHz - 525 KHz @ 8 KHz,
> 16 KHz AUTO), (N/A, 2000 mBm), (N/A)
> [64525.125617] cfg80211:   (525 KHz - 533 KHz @ 8 KHz,
> 16 KHz AUTO), (N/A, 2000 mBm), (0 s)
> [64525.125620] cfg80211:   (549 KHz - 573 KHz @ 16 KHz),
> (N/A, 2000 mBm), (0 s)
> [64525.125623] cfg80211:   (5735000 KHz - 5835000 KHz @ 8 KHz),
> (N/A, 2000 mBm), (N/A)
> [64525.125627] cfg80211:   (5724 KHz - 6372 KHz @ 216
> KHz), (N/A, 0 mBm), (N/A)
> [64525.130881] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEBUG disabled
> [64525.130888] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
> [64525.130891] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
> [64525.130896] iwlwifi :03:00.0: Detected Intel(R) Centrino(R)
> Advanced-N 6205 AGN, REV=0xB0
> [64525.131109] iwlwifi :03:00.0: L1 Enabled - LTR Disabled
> [64525.131401] iwlwifi :03:00.0: RF_KILL bit toggled to disable radio.
> [64525.142887] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
> [64525.155277] iwlwifi :03:00.0 wlp3s0: renamed from wlan0
> [64525.162396] systemd-udevd[21982]: renamed network interface wlan0 to
> wlp3s0
> [64525.219188] iwlwifi :03:00.0: Failed to run INIT ucode: -132
> [64525.219379] iwlwifi :03:00.0: Unable to initialize device.
> [64525.290764] iwlwifi :03:00.0: Failed to run INIT ucode: -132
> [64525.290942] iwlwifi :03:00.0: Unable to initialize device.
> [64525.292024] iwlwifi :03:00.0: Failed to run INIT ucode: -132
> [64525.292237] iwlwifi :03:00.0: Unable to initialize device.
>
>
>
A Google search suggested a possible firmware bug. See the link below.

https://forums.gentoo.org/viewtopic-t-979860-view-next.html?sid=06f41bee184e5f8a8463f3d82373067e




> lspci
>
> 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor
> Family DRAM Controller (rev 09)
> 00:02.0 VGA compatible controller: