You are not logged in.

#1 2013-04-17 04:00:20

earsplit
Member
Registered: 2012-03-31
Posts: 187
Website

Netctl frequent reconnects after netcfg replacement (iwlwifi)

I recently replaced Netcfg with Netctl and netctl is giving me very frequent disconnects (about once every 10 minutes)

Attached is relevant information:

 > cat /etc/netctl/school.edu
Connection='wireless'
Interface=wlan0
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
    'ssid="school.edu"'
    'key_mgmt=WPA-EAP'
    'eap=PEAP MSCHAPV2'
    'group=CCMP'
    'pairwise=CCMP'
    'identity="USER"'
    'password="PASSWORD"'
    'priority=1'
    'phase1="peapver=0"'
    'phase2="MSCHAPV2"'
)
 > journalctl | grep wlan0

Apr 16 23:53:02 x230 kernel: wlan0: deauthenticating from 00:24:6c:b6:e4:58 by local choice (reason=3)
Apr 16 23:53:02 x230 dhcpcd[13546]: wlan0: carrier lost
Apr 16 23:53:13 x230 kernel: wlan0: authenticate with d8:c7:c8:a1:bb:20
Apr 16 23:53:13 x230 kernel: wlan0: direct probe to d8:c7:c8:a1:bb:20 (try 1/3)
Apr 16 23:53:14 x230 kernel: wlan0: direct probe to d8:c7:c8:a1:bb:20 (try 2/3)
Apr 16 23:53:14 x230 kernel: wlan0: direct probe to d8:c7:c8:a1:bb:20 (try 3/3)
Apr 16 23:53:14 x230 kernel: wlan0: authentication with d8:c7:c8:a1:bb:20 timed out
Apr 16 23:53:16 x230 kernel: wlan0: authenticate with d8:c7:c8:a1:bb:28
Apr 16 23:53:16 x230 kernel: wlan0: send auth to d8:c7:c8:a1:bb:28 (try 1/3)
Apr 16 23:53:16 x230 kernel: wlan0: send auth to d8:c7:c8:a1:bb:28 (try 2/3)
Apr 16 23:53:16 x230 kernel: wlan0: authenticated
Apr 16 23:53:16 x230 kernel: wlan0: associate with d8:c7:c8:a1:bb:28 (try 1/3)
Apr 16 23:53:16 x230 kernel: wlan0: RX AssocResp from d8:c7:c8:a1:bb:28 (capab=0x411 status=0 aid=2)
Apr 16 23:53:16 x230 kernel: wlan0: associated
Apr 16 23:53:16 x230 dhcpcd[13546]: wlan0: carrier acquired
Apr 16 23:53:16 x230 dhcpcd[13546]: wlan0: sending IPv6 Router Solicitation
Apr 16 23:53:16 x230 dhcpcd[13546]: wlan0: rebinding lease of 134.82.115.83
Apr 16 23:53:16 x230 dhcpcd[13546]: wlan0: acknowledged 134.82.115.83 from 172.20.2.2
Apr 16 23:53:16 x230 dhcpcd[13546]: wlan0: checking for 134.82.115.83
Apr 16 23:53:20 x230 dhcpcd[13546]: wlan0: sending IPv6 Router Solicitation
Apr 16 23:53:21 x230 dhcpcd[13546]: wlan0: leased 134.82.115.83 for 7200 seconds
Apr 16 23:53:24 x230 dhcpcd[13546]: wlan0: sending IPv6 Router Solicitation
Apr 16 23:53:28 x230 dhcpcd[13546]: wlan0: sending IPv6 Router Solicitation
Apr 16 23:53:28 x230 dhcpcd[13546]: wlan0: no IPv6 Routers available
 >  uname -r                                                                                                                                                                                                                                          ~
3.8.7-1-ARCH
 >  lspci -vvv                                                                                                                                                                                                                                 ~
03:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 3e)
	Subsystem: Intel Corporation Centrino Ultimate-N 6300 3x3 AGN
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 44
	Region 0: Memory at f1c00000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi

Any way to debug this problem? Its really bugging me. It is even happening on my school's open guest network all over campus.

Last edited by earsplit (2013-04-23 23:04:14)


((( configs :: website )))

Offline

#2 2013-04-17 20:37:36

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: Netctl frequent reconnects after netcfg replacement (iwlwifi)

Netctl can't give you disconnects because it merely spawns wpa_supplicant which handles things from there. Also, your logs are all normal and don't show the 10min disconnects you're talking about.


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#3 2013-04-18 19:15:47

earsplit
Member
Registered: 2012-03-31
Posts: 187
Website

Re: Netctl frequent reconnects after netcfg replacement (iwlwifi)

Is there anything else I can do to debug this error? I've been booting into Ubuntu for the time being =[

I found some more errors on the disconnect...

dmesg

[ 8133.640696] iwlwifi 0000:03:00.0: Microcode SW error detected.  Restarting 0x82000000.
[ 8133.640704] iwlwifi 0000:03:00.0: CSR values:
[ 8133.640708] iwlwifi 0000:03:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
[ 8133.640715] iwlwifi 0000:03:00.0:        CSR_HW_IF_CONFIG_REG: 0X0048d304
[ 8133.640744] iwlwifi 0000:03:00.0:          CSR_INT_COALESCING: 0X0000ff40
[ 8133.640772] iwlwifi 0000:03:00.0:                     CSR_INT: 0X00000000
[ 8133.640803] iwlwifi 0000:03:00.0:                CSR_INT_MASK: 0X00000000
[ 8133.640831] iwlwifi 0000:03:00.0:           CSR_FH_INT_STATUS: 0X00000000
[ 8133.640859] iwlwifi 0000:03:00.0:                 CSR_GPIO_IN: 0X0000000f
[ 8133.640886] iwlwifi 0000:03:00.0:                   CSR_RESET: 0X00000000
[ 8133.640914] iwlwifi 0000:03:00.0:                CSR_GP_CNTRL: 0X080403c5
[ 8133.640942] iwlwifi 0000:03:00.0:                  CSR_HW_REV: 0X00000074
[ 8133.640970] iwlwifi 0000:03:00.0:              CSR_EEPROM_REG: 0X88fa0ffd
[ 8133.640998] iwlwifi 0000:03:00.0:               CSR_EEPROM_GP: 0X90000001
[ 8133.641037] iwlwifi 0000:03:00.0:              CSR_OTP_GP_REG: 0X00030001
[ 8133.641069] iwlwifi 0000:03:00.0:                 CSR_GIO_REG: 0X00080042
[ 8133.641097] iwlwifi 0000:03:00.0:            CSR_GP_UCODE_REG: 0X0000f168
[ 8133.641125] iwlwifi 0000:03:00.0:           CSR_GP_DRIVER_REG: 0X00000000
[ 8133.641154] iwlwifi 0000:03:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
[ 8133.641182] iwlwifi 0000:03:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
[ 8133.641210] iwlwifi 0000:03:00.0:                 CSR_LED_REG: 0X00000058
[ 8133.641237] iwlwifi 0000:03:00.0:        CSR_DRAM_INT_TBL_REG: 0X88117655
[ 8133.641265] iwlwifi 0000:03:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
[ 8133.641293] iwlwifi 0000:03:00.0:             CSR_ANA_PLL_CFG: 0X00000000
[ 8133.641320] iwlwifi 0000:03:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
[ 8133.641348] iwlwifi 0000:03:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
[ 8133.641350] iwlwifi 0000:03:00.0: FH register values:
[ 8133.641412] iwlwifi 0000:03:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X117ab500
[ 8133.641462] iwlwifi 0000:03:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X01175ff0
[ 8133.641518] iwlwifi 0000:03:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X00000068
[ 8133.641574] iwlwifi 0000:03:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00811114
[ 8133.641630] iwlwifi 0000:03:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
[ 8133.641686] iwlwifi 0000:03:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X03130000
[ 8133.641742] iwlwifi 0000:03:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
[ 8133.641798] iwlwifi 0000:03:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
[ 8133.641854] iwlwifi 0000:03:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
[ 8133.641859] iwlwifi 0000:03:00.0: Loaded firmware version: 9.221.4.1 build 25532
[ 8133.642264] iwlwifi 0000:03:00.0: Start IWL Error Log Dump:
[ 8133.642267] iwlwifi 0000:03:00.0: Status: 0x0000004C, count: 5
[ 8133.642271] iwlwifi 0000:03:00.0: 0x0000000C | FH_ERROR                    
[ 8133.642274] iwlwifi 0000:03:00.0: 0x000006B4 | uPc
[ 8133.642277] iwlwifi 0000:03:00.0: 0x0000067A | branchlink1
[ 8133.642279] iwlwifi 0000:03:00.0: 0x000007B8 | branchlink2
[ 8133.642282] iwlwifi 0000:03:00.0: 0x00001532 | interruptlink1
[ 8133.642285] iwlwifi 0000:03:00.0: 0x00001532 | interruptlink2
[ 8133.642287] iwlwifi 0000:03:00.0: 0x00000020 | data1
[ 8133.642290] iwlwifi 0000:03:00.0: 0x03130000 | data2
[ 8133.642293] iwlwifi 0000:03:00.0: 0x00007B96 | line
[ 8133.642296] iwlwifi 0000:03:00.0: 0x118118D3 | beacon time
[ 8133.642298] iwlwifi 0000:03:00.0: 0xBD6C972D | tsf low
[ 8133.642301] iwlwifi 0000:03:00.0: 0x0000007E | tsf hi
[ 8133.642304] iwlwifi 0000:03:00.0: 0x00000000 | time gp1
[ 8133.642306] iwlwifi 0000:03:00.0: 0x2256A3D8 | time gp2
[ 8133.642309] iwlwifi 0000:03:00.0: 0x00000000 | time gp3
[ 8133.642312] iwlwifi 0000:03:00.0: 0x000109DD | uCode version
[ 8133.642314] iwlwifi 0000:03:00.0: 0x00000074 | hw version
[ 8133.642317] iwlwifi 0000:03:00.0: 0x0048D304 | board version
[ 8133.642320] iwlwifi 0000:03:00.0: 0x044A0048 | hcmd
[ 8133.642323] iwlwifi 0000:03:00.0: 0xAFD63800 | isr0
[ 8133.642325] iwlwifi 0000:03:00.0: 0x1143E000 | isr1
[ 8133.642328] iwlwifi 0000:03:00.0: 0x0000011A | isr2
[ 8133.642331] iwlwifi 0000:03:00.0: 0x014200C2 | isr3
[ 8133.642333] iwlwifi 0000:03:00.0: 0x00000000 | isr4
[ 8133.642336] iwlwifi 0000:03:00.0: 0x00000110 | isr_pref
[ 8133.642339] iwlwifi 0000:03:00.0: 0x00007B96 | wait_event
[ 8133.642341] iwlwifi 0000:03:00.0: 0x0000B864 | l2p_control
[ 8133.642344] iwlwifi 0000:03:00.0: 0x00000025 | l2p_duration
[ 8133.642347] iwlwifi 0000:03:00.0: 0x0000000F | l2p_mhvalid
[ 8133.642350] iwlwifi 0000:03:00.0: 0x0000C0A4 | l2p_addr_match
[ 8133.642352] iwlwifi 0000:03:00.0: 0x00000005 | lmpm_pmg_sel
[ 8133.642355] iwlwifi 0000:03:00.0: 0x02061043 | timestamp
[ 8133.642358] iwlwifi 0000:03:00.0: 0x00146878 | flow_handler
[ 8133.642532] iwlwifi 0000:03:00.0: Log capacity 1024 is bogus, limit to 512 entries
[ 8133.642535] iwlwifi 0000:03:00.0: Log write index 871 is bogus, limit to 512
[ 8133.642538] iwlwifi 0000:03:00.0: Start IWL Event Log Dump: display last 20 entries
[ 8133.642610] iwlwifi 0000:03:00.0: EVT_LOGT:0576079291:0x000000d4:0303
[ 8133.642657] iwlwifi 0000:03:00.0: EVT_LOGT:0576079338:0x00000119:0106
[ 8133.642705] iwlwifi 0000:03:00.0: EVT_LOGT:0576079340:0x00000000:0302
[ 8133.642746] iwlwifi 0000:03:00.0: EVT_LOGT:0576079371:0x000000b4:0303
[ 8133.642786] iwlwifi 0000:03:00.0: EVT_LOGT:0576079381:0x00000119:0106
[ 8133.642833] iwlwifi 0000:03:00.0: EVT_LOGT:0576079383:0x00000000:0302
[ 8133.642880] iwlwifi 0000:03:00.0: EVT_LOGT:0576079415:0x000000c4:0303
[ 8133.642926] iwlwifi 0000:03:00.0: EVT_LOGT:0576079428:0x00000119:0106
[ 8133.642973] iwlwifi 0000:03:00.0: EVT_LOGT:0576079430:0x00000000:0302
[ 8133.643020] iwlwifi 0000:03:00.0: EVT_LOGT:0576079455:0x0000047d:0323
[ 8133.643067] iwlwifi 0000:03:00.0: EVT_LOGT:0576079491:0x00000119:0106
[ 8133.643107] iwlwifi 0000:03:00.0: EVT_LOGT:0576079493:0x00000000:0302
[ 8133.643153] iwlwifi 0000:03:00.0: EVT_LOGT:0576079527:0x00000094:0303
[ 8133.643200] iwlwifi 0000:03:00.0: EVT_LOGT:0576079588:0x00000119:0106
[ 8133.643246] iwlwifi 0000:03:00.0: EVT_LOGT:0576079590:0x00000000:0302
[ 8133.643287] iwlwifi 0000:03:00.0: EVT_LOGT:0576079616:0x0000047d:0323
[ 8133.643333] iwlwifi 0000:03:00.0: EVT_LOGT:0576079733:0x00000119:0106
[ 8133.643380] iwlwifi 0000:03:00.0: EVT_LOGT:0576079735:0x00000000:0302
[ 8133.643426] iwlwifi 0000:03:00.0: EVT_LOGT:0576079761:0x0000047d:0323
[ 8133.643467] iwlwifi 0000:03:00.0: EVT_LOGT:0576079843:0x00000119:0106
[ 8133.644343] ieee80211 phy0: Hardware restart was requested
[ 8133.644505] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[ 8133.651301] iwlwifi 0000:03:00.0: Radio type=0x0-0x3-0x1
[ 8331.255294] wlan0: deauthenticating from 00:1a:1e:22:35:32 by local choice (reason=3)
[ 8331.266886] cfg80211: Calling CRDA to update world regulatory domain
[ 8342.934733] wlan0: authenticate with 00:1a:1e:22:56:c2
[ 8342.991685] wlan0: send auth to 00:1a:1e:22:56:c2 (try 1/3)
[ 8342.995215] wlan0: authenticated
[ 8342.997529] wlan0: associate with 00:1a:1e:22:56:c2 (try 1/3)
[ 8343.008342] wlan0: RX AssocResp from 00:1a:1e:22:56:c2 (capab=0x431 status=0 aid=5)
[ 8343.012834] wlan0: associated

((( configs :: website )))

Offline

#4 2013-04-18 22:07:15

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: Netctl frequent reconnects after netcfg replacement (iwlwifi)

Are these FW errors occur on every boot/regularly? In this case, you have an issue with FS or driver. You can try booting with linux-lts, to see if it works around the problem. But the best solution is to report a bug at kernel bugzilla.


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#5 2013-04-20 22:11:23

earsplit
Member
Registered: 2012-03-31
Posts: 187
Website

Re: Netctl frequent reconnects after netcfg replacement (iwlwifi)

An update to TLP (Thinkpad scripts) fixed this issue. I had to set

/etc/default/tlp

DISABLE_TPACPIBAT = 0

Which seems weird, since the comment says "Set 1 to disable on Sandy Bridge or new Thinkpads". I'm running an Ivy bridge..


((( configs :: website )))

Offline

#6 2013-04-23 23:03:38

earsplit
Member
Registered: 2012-03-31
Posts: 187
Website

Re: Netctl frequent reconnects after netcfg replacement (iwlwifi)

This appeared to be fixed, but it was only hiding for an hour or so. The only line in journalctl that appears when i disconnect is:

Apr 23 19:00:35 x230 kernel: wlan0: deauthenticating from 6c:f3:7f:b8:ac:00 by local choice (reason=3)
Apr 23 19:00:36 x230 kernel: cfg80211: Calling CRDA to update world regulatory domain
Apr 23 19:00:47 x230 kernel: wlan0: authenticate with 6c:f3:7f:b8:ac:00
Apr 23 19:00:47 x230 kernel: wlan0: send auth to 6c:f3:7f:b8:ac:00 (try 1/3)
Apr 23 19:00:47 x230 kernel: wlan0: 6c:f3:7f:b8:ac:00 denied authentication (status 17)
Apr 23 19:00:49 x230 kernel: wlan0: authenticate with 00:1a:1e:23:99:a2
Apr 23 19:00:49 x230 kernel: wlan0: send auth to 00:1a:1e:23:99:a2 (try 1/3)
Apr 23 19:00:49 x230 kernel: wlan0: 00:1a:1e:23:99:a2 denied authentication (status 17)
Apr 23 19:00:51 x230 kernel: wlan0: authenticate with 6c:f3:7f:b8:a8:70
Apr 23 19:00:51 x230 kernel: wlan0: send auth to 6c:f3:7f:b8:a8:70 (try 1/3)
Apr 23 19:00:51 x230 kernel: wlan0: send auth to 6c:f3:7f:b8:a8:70 (try 2/3)
Apr 23 19:00:51 x230 kernel: wlan0: authenticated
Apr 23 19:00:51 x230 kernel: wlan0: associate with 6c:f3:7f:b8:a8:70 (try 1/3)
Apr 23 19:00:51 x230 kernel: wlan0: RX AssocResp from 6c:f3:7f:b8:a8:70 (capab=0x411 status=0 aid=1)
Apr 23 19:00:51 x230 kernel: wlan0: associated

How would i go about debugging this? This is bugging me to no end.


((( configs :: website )))

Offline

Board footer

Powered by FluxBB