if_iwn dhcp troubles

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Sun, 29 May 2016 14:46:55 +0200
Hello,

My laptop has troubles obtaining an ip address on the wlan0 (if_iwn). The  
interface has trouble staying up during dhcp resolving. Below some  
information from logs. *If* it obtains an IP address it seems quite stable  
afterwards.
Before https://svnweb.freebsd.org/base?view=revision&revision=300732 I had  
to reboot a couple of times before it would happen to get an IP address.

If I need to supply more information please tell. I'm willing to test  
patches also.

Regards,
Ronald.


 From uname -a:
FreeBSD sjakie.klop.ws 11.0-ALPHA1 FreeBSD 11.0-ALPHA1 #7 r300901M: Sat  
May 28 16:54:00 CEST 2016
root_at_sjakie.klop.ws:/usr/obj/usr/src/sys/GENERIC-NODEBUG  amd64

 From dmesg:
iwn0: <Intel Centrino Advanced 6235> mem 0xf8000000-0xf8001fff irq 17 at  
device 0.0 on pci2

 From /etc/rc.conf.
wlans_iwn0="wlan0"
create_args_wlan0="wlanaddr 00:26:b9:12:40:a4 country NL"
ifconfig_wlan0="WPA"
ifconfig_wlan0="$ifconfig_wlan0 SYNCDHCP"

 From console.log:
May 29 13:34:45 sjakie kernel: Created wlan(4) interfaces: wlan0.
May 29 13:34:45 sjakie kernel: Starting wpa_supplicant.
May 29 13:34:45 sjakie kernel: Starting dhclient.
May 29 13:34:45 sjakie kernel: wlan0: no link ...
May 29 13:34:45 sjakie kernel: ..
May 29 13:34:45 sjakie kernel: ...
May 29 13:34:45 sjakie kernel: got link
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: wlan0 link state up -> down
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: wlan0 link state down -> up
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: wlan0 link state up -> down
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: DHCPDISCOVER on wlan0 to 255.255.255.255  
port 67 interval 6
May 29 13:34:45 sjakie kernel: wlan0 link state down -> up
May 29 13:34:45 sjakie kernel:
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: wlan0 link state up -> down
May 29 13:34:45 sjakie kernel: DHCPDISCOVER on wlan0 to 255.255.255.255  
port 67 interval 15
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: wlan0 link state down -> up
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: wlan0 link state up -> down
May 29 13:34:45 sjakie kernel: DHCPDISCOVER on wlan0 to 255.255.255.255  
port 67 interval 4
May 29 13:34:45 sjakie kernel: DHCPDISCOVER on wlan0 to 255.255.255.255  
port 67 interval 9
May 29 13:34:45 sjakie kernel: wlan0 link state down -> up
May 29 13:34:45 sjakie kernel:
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: wlan0 link state up -> down
May 29 13:34:45 sjakie kernel: DHCPDISCOVER on wlan0 to 255.255.255.255  
port 67 interval 16
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: wlan0 link state down -> up
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: wlan0 link state up -> down
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: DHCPDISCOVER on wlan0 to 255.255.255.255  
port 67 interval 5
May 29 13:34:45 sjakie kernel: DHCPDISCOVER on wlan0 to 255.255.255.255  
port 67 interval 5
May 29 13:34:45 sjakie kernel: DHCPDISCOVER on wlan0 to 255.255.255.255  
port 67 interval 11
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: wlan0 link state down -> up
May 29 13:34:45 sjakie kernel: DHCPREQUEST on wlan0 to 255.255.255.255  
port 67
May 29 13:34:45 sjakie kernel: DHCPDISCOVER on wlan0 to 255.255.255.255  
port 67 interval 12
May 29 13:34:45 sjakie kernel: DHCPACK from 192.168.1.1
May 29 13:34:45 sjakie kernel: bound to 192.168.1.109 -- renewal in  
2147483647 seconds.

 From messages:
May 29 13:34:45 sjakie kernel: wlan0: Ethernet address: 00:26:b9:12:40:a4
May 29 13:34:45 sjakie kernel: iwn0: iwn_read_firmware: ucode  
rev=0x12a80601
May 29 13:34:45 sjakie kernel: wlan0: link state changed to UP
May 29 13:34:45 sjakie kernel: iwn0: iwn_intr: fatal firmware error
May 29 13:34:45 sjakie kernel: firmware error log:
May 29 13:34:45 sjakie kernel: error type      = "UNKNOWN" (0x00000038)
May 29 13:34:45 sjakie kernel: program counter = 0x00009F64
May 29 13:34:45 sjakie kernel: source line     = 0x000003C4
May 29 13:34:45 sjakie kernel: error data      = 0x0000000000000000
May 29 13:34:45 sjakie kernel: branch link     = 0x00009F6000009F60
May 29 13:34:45 sjakie kernel: interrupt link  = 0x0000DBEA00000000
May 29 13:34:45 sjakie kernel: time            = 54908
May 29 13:34:45 sjakie kernel: driver status:
May 29 13:34:45 sjakie kernel: tx ring  0: qid=0  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  1: qid=1  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  2: qid=2  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  3: qid=3  cur=2   queued=0
May 29 13:34:45 sjakie kernel: tx ring  4: qid=4  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  5: qid=5  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  6: qid=6  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  7: qid=7  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  8: qid=8  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  9: qid=9  cur=81  queued=0
May 29 13:34:45 sjakie kernel: tx ring 10: qid=10 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 11: qid=11 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 12: qid=12 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 13: qid=13 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 14: qid=14 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 15: qid=15 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 16: qid=16 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 17: qid=17 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 18: qid=18 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 19: qid=19 cur=0   queued=0
May 29 13:34:45 sjakie kernel: rx ring: cur=39
May 29 13:34:45 sjakie kernel: iwn0: iwn_panicked: controller panicked,  
iv_state = 5; restarting
May 29 13:34:45 sjakie kernel: wlan0: link state changed to DOWN
May 29 13:34:45 sjakie kernel: iwn0: iwn_read_firmware: ucode  
rev=0x12a80601
May 29 13:34:45 sjakie kernel: wlan0: link state changed to UP
May 29 13:34:45 sjakie kernel: wlan0: link state changed to DOWN
May 29 13:34:45 sjakie kernel: iwn0: scan timeout
May 29 13:34:45 sjakie kernel: iwn0: iwn_read_firmware: ucode  
rev=0x12a80601
May 29 13:34:45 sjakie kernel: wlan0: link state changed to UP
May 29 13:34:45 sjakie kernel: wlan0: link state changed to DOWN
May 29 13:34:45 sjakie kernel: iwn0: scan timeout
May 29 13:34:45 sjakie kernel: iwn0: iwn_read_firmware: ucode  
rev=0x12a80601
May 29 13:34:45 sjakie kernel: wlan0: link state changed to UP
May 29 13:34:45 sjakie kernel: iwn0: iwn_intr: fatal firmware error
May 29 13:34:45 sjakie kernel: firmware error log:
May 29 13:34:45 sjakie kernel: error type      = "UNKNOWN" (0x00000038)
May 29 13:34:45 sjakie kernel: program counter = 0x00009F64
May 29 13:34:45 sjakie kernel: source line     = 0x000003C4
May 29 13:34:45 sjakie kernel: error data      = 0x0000000000000000
May 29 13:34:45 sjakie kernel: branch link     = 0x00009F6000009F60
May 29 13:34:45 sjakie kernel: interrupt link  = 0x0000DBEA00000000
May 29 13:34:45 sjakie kernel: time            = 7464
May 29 13:34:45 sjakie kernel: driver status:
May 29 13:34:45 sjakie kernel: tx ring  0: qid=0  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  1: qid=1  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  2: qid=2  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  3: qid=3  cur=2   queued=0
May 29 13:34:45 sjakie kernel: tx ring  4: qid=4  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  5: qid=5  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  6: qid=6  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  7: qid=7  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  8: qid=8  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  9: qid=9  cur=81  queued=0
May 29 13:34:45 sjakie kernel: tx ring 10: qid=10 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 11: qid=11 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 12: qid=12 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 13: qid=13 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 14: qid=14 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 15: qid=15 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 16: qid=16 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 17: qid=17 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 18: qid=18 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 19: qid=19 cur=0   queued=0
May 29 13:34:45 sjakie kernel: rx ring: cur=63
May 29 13:34:45 sjakie kernel: iwn0: iwn_panicked: controller panicked,  
iv_state = 5; restarting
May 29 13:34:45 sjakie kernel: wlan0: link state changed to DOWN
May 29 13:34:45 sjakie kernel: iwn0: iwn_read_firmware: ucode  
rev=0x12a80601
May 29 13:34:45 sjakie kernel: wlan0: link state changed to UP
May 29 13:34:45 sjakie kernel: wlan0: link state changed to DOWN
May 29 13:34:45 sjakie kernel: iwn0: scan timeout
May 29 13:34:45 sjakie kernel: iwn0: iwn_read_firmware: ucode  
rev=0x12a80601
May 29 13:34:45 sjakie kernel: wlan0: link state changed to UP
May 29 13:34:45 sjakie kernel: iwn0: iwn_intr: fatal firmware error
May 29 13:34:45 sjakie kernel: firmware error log:
May 29 13:34:45 sjakie kernel: error type      = "UNKNOWN" (0x00000038)
May 29 13:34:45 sjakie kernel: program counter = 0x00009F64
May 29 13:34:45 sjakie kernel: source line     = 0x000003C4
May 29 13:34:45 sjakie kernel: error data      = 0x0000000000000000
May 29 13:34:45 sjakie kernel: branch link     = 0x00009F6000009F60
May 29 13:34:45 sjakie kernel: interrupt link  = 0x0000DBEA00000000
May 29 13:34:45 sjakie kernel: time            = 69923
May 29 13:34:45 sjakie kernel: driver status:
May 29 13:34:45 sjakie kernel: tx ring  0: qid=0  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  1: qid=1  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  2: qid=2  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  3: qid=3  cur=2   queued=0
May 29 13:34:45 sjakie kernel: tx ring  4: qid=4  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  5: qid=5  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  6: qid=6  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  7: qid=7  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  8: qid=8  cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring  9: qid=9  cur=81  queued=0
May 29 13:34:45 sjakie kernel: tx ring 10: qid=10 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 11: qid=11 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 12: qid=12 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 13: qid=13 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 14: qid=14 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 15: qid=15 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 16: qid=16 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 17: qid=17 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 18: qid=18 cur=0   queued=0
May 29 13:34:45 sjakie kernel: tx ring 19: qid=19 cur=0   queued=0
May 29 13:34:45 sjakie kernel: rx ring: cur=61
May 29 13:34:45 sjakie kernel: iwn0: iwn_panicked: controller panicked,  
iv_state = 5; restarting
May 29 13:34:45 sjakie kernel: wlan0: link state changed to DOWN
May 29 13:34:45 sjakie kernel: iwn0: iwn_read_firmware: ucode  
rev=0x12a80601
May 29 13:34:45 sjakie kernel: wlan0: link state changed to UP
May 29 13:34:45 sjakie kernel: wlan0: link state changed to DOWN
May 29 13:34:45 sjakie kernel: iwn0: scan timeout
May 29 13:34:45 sjakie kernel: iwn0: iwn_read_firmware: ucode  
rev=0x12a80601
May 29 13:34:45 sjakie kernel: wlan0: link state changed to UP
Received on Sun May 29 2016 - 11:03:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:05 UTC