Date: Mon, 30 May 2016 23:15:55 +0200 From: "Ronald Klop" <ronald-lists@klop.ws> To: "Adrian Chadd" <adrian.chadd@gmail.com> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: if_iwn dhcp troubles Message-ID: <op.yian0twbkndu52@53555a16.cm-6-6b.dynamic.ziggo.nl> In-Reply-To: <CAJ-VmonnqrR2t8J5ytD_oHU%2B1pTC91qZfAv56-o2=zjGqgYyqQ@mail.gmail.com> References: <op.yh75shomkndu52@53555a16.cm-6-6b.dynamic.ziggo.nl> <CAJ-VmonR5bW4B_AvBHXO3Tm8wbvyYJcs26V8pKSQYPXCR1vyGg@mail.gmail.com> <op.yh8tv0gwkndu52@ronaldradial.radialsg.local> <CAJ-VmonnqrR2t8J5ytD_oHU%2B1pTC91qZfAv56-o2=zjGqgYyqQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 May 2016 03:01:10 +0200, Adrian Chadd <adrian.chadd@gmail.com> wrote: > ok, so there seem to be more lingering 802.11n issues. can you tell me > mrore about the environment there, so I can try to duplicate it? > > I'd like to fix whatever 11n issues there are in iwn! > > Thanks! > > > -a Hi Adrian, I don't know what you want to know, but it is just my laptop at home. I installed an Intel WiFi card, because the Broadcom it had didn't have support in FreeBSD. I normally have if_lagg configured, but disabled it to debug this. I connect with WiFi to a Ubiquiti Unifi AP AC Lite (https://www.ubnt.com/unifi/unifi-ap-ac-lite/). Other (non-freebsd) devices, like a phone, connect happily with the WiFi. pciconf -vl: ... iwn0@pci0:4:0:0: class=0x028000 card=0x40608086 chip=0x088e8086 rev=0x24 hdr=0x00 vendor = 'Intel Corporation' device = 'Centrino Advanced-N 6235' class = network ... ================= cat /etc/wpa_supplicant.conf (really plain) network={ ssid="xxxxxxxxx" psk="yyyyyyyy" } ================= cat /etc/rc.conf: # Kernel zfs_enable="YES" saver="green" accounting_enable="YES" powerd_enable="YES" devfs_system_ruleset="system" background_fsck="NO" dumpdev="AUTO" kld_list="coretemp ichsmb radeonkms fuse if_lagg vboxdrv cuse" keymap="/etc/keymap.test" # if_bwn bwn_v4_lp_ucode" # Networking hostname="sjakie.klop.ws" #wpa_supplicant_flags="$wpa_supplicant_flags -d" wlans_iwn0="wlan0" create_args_wlan0="wlanaddr 00:26:b9:12:40:a4 country NL" ifconfig_wlan0="-ht WPA" #ifconfig_bge0="up" #cloned_interfaces="lagg0" #ifconfig_lagg0="laggproto failover laggport bge0 laggport wlan0 SYNCDHCP" ifconfig_wlan0="$ifconfig_wlan0 DHCP" #ifconfig_DEFAULT="SYNCDHCP" #ifconfig_em0_alias0="inet 192.168.1.36 netmask 0xffffffff" firewall_enable="YES" firewall_type="/etc/ipfw.sjakie" #local_unbound_enable="YES" # Daemons ntpdate_enable="YES" ntpd_enable="YES" sshd_enable="YES" inetd_enable="YES" syslogd_flags="" sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" # Bluetooth #hcsecd_enable="YES" #sdpd_enable="YES" #bthidd_enable="YES" # Ports bsdstats_enable="YES" #postfix_enable="YES" #smtpd_enable="YES" #smtpd_flags="-v" cupsd_enable="YES" dbus_enable="YES" polkitd_enable="YES" #hald_enable="YES" smartd_enable="YES" #mdnsd_enable="YES" avahi_daemon_enable="YES" bruteblockd_enable="YES" bruteblockd_table="1" bruteblockd_flags="-s 5" #collectd_enable="YES" rpcbind_enable="YES" #nfs_client_enable="YES" mountd_enable="YES" nfs_server_enable="YES" panicmail_enable="YES" slim_enable="YES" webcamd_enable="YES" webcamd_flags="-m v4l2-dev.v4l_hflip=1" ============= dmesg: Copyright (c) 1992-2016 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-ALPHA1 #7 r300901M: Sat May 28 16:54:00 CEST 2016 root@sjakie.klop.ws:/usr/obj/usr/src/sys/GENERIC-NODEBUG amd64 FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) can't re-use a leaf (ixl_rx_miss_bufs)! VT(vga): resolution 640x480 CPU: Pentium(R) Dual-Core CPU T4300 @ 2.10GHz (2094.80-MHz K8-class CPU) Origin="GenuineIntel" Id=0x1067a Family=0x6 Model=0x17 Stepping=10 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0xc00e39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,OSXSAVE> AMD Features=0x20100800<SYSCALL,NX,LM> AMD Features2=0x1<LAHF> TSC: P-state invariant, performance statistics real memory = 4294967296 (4096 MB) avail memory = 4047171584 (3859 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <PTLTD APIC > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) random: unblocking device. ioapic0 <Version 2.0> irqs 0-23 on motherboard random: entropy device external interface kbd1 at kbdmux0 netmap: loaded module module_register_init: MOD_LOAD (vesa, 0xffffffff80fe16e0, 0) error 19 vtvga0: <VT VGA driver> on motherboard cryptosoft0: <software crypto> on motherboard acpi0: <DELL QA09 > on motherboard acpi0: Power Button (fixed) Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. Event timer "RTC" frequency 32768 Hz quality 0 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0 pcib1: [GIANT-LOCKED] pci1: <ACPI PCI bus> on pcib1 vgapci0: <VGA-compatible display> port 0x2000-0x20ff mem 0xd0000000-0xdfffffff,0xfc000000-0xfc00ffff irq 16 at device 0.0 on pci1 vgapci0: Boot video device hdac0: <ATI RV730 HDA Controller> mem 0xfc010000-0xfc013fff irq 17 at device 0.1 on pci1 uhci0: <Intel 82801I (ICH9) USB controller> port 0x1800-0x181f irq 16 at device 26.0 on pci0 usbus0 on uhci0 uhci1: <Intel 82801I (ICH9) USB controller> port 0x1820-0x183f irq 21 at device 26.1 on pci0 usbus1 on uhci1 uhci2: <Intel 82801I (ICH9) USB controller> port 0x1840-0x185f irq 19 at device 26.2 on pci0 usbus2 on uhci2 ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xfc504800-0xfc504bff irq 19 at device 26.7 on pci0 usbus3: EHCI version 1.0 usbus3 on ehci0 hdac1: <Intel 82801I HDA Controller> mem 0xfc500000-0xfc503fff irq 22 at device 27.0 on pci0 pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0 pcib2: [GIANT-LOCKED] pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.1 on pci0 pcib3: [GIANT-LOCKED] pci2: <ACPI PCI bus> on pcib3 iwn0: <Intel Centrino Advanced 6235> mem 0xf8000000-0xf8001fff irq 17 at device 0.0 on pci2 pcib4: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0 pcib4: [GIANT-LOCKED] pcib5: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0 pcib5: [GIANT-LOCKED] pci3: <ACPI PCI bus> on pcib5 bge0: <Broadcom NetLink Gigabit Ethernet Controller , ASIC rev. 0x5784100> mem 0xfc100000-0xfc10ffff irq 17 at device 0.0 on pci3 bge0: CHIP ID 0x05784100; ASIC REV 0x5784; CHIP REV 0x57841; PCI-E miibus0: <MII bus> on bge0 brgphy0: <BCM5784 10/100/1000baseT PHY> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Using defaults for TSO: 65518/35/2048 bge0: Ethernet address: 00:26:b9:12:40:a4 uhci3: <Intel 82801I (ICH9) USB controller> port 0x1860-0x187f irq 23 at device 29.0 on pci0 usbus4 on uhci3 uhci4: <Intel 82801I (ICH9) USB controller> port 0x1880-0x189f irq 19 at device 29.1 on pci0 usbus5 on uhci4 uhci5: <Intel 82801I (ICH9) USB controller> port 0x18a0-0x18bf irq 18 at device 29.2 on pci0 usbus6 on uhci5 ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xfc504c00-0xfc504fff irq 23 at device 29.7 on pci0 usbus7: EHCI version 1.0 usbus7 on ehci1 pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci4: <ACPI PCI bus> on pcib6 pci4: <serial bus, FireWire> at device 1.0 (no driver attached) sdhci_pci0: <RICOH R5C822 SD> mem 0xfc200800-0xfc2008ff irq 18 at device 1.1 on pci4 sdhci_pci0: 1 slot(s) allocated isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 ahci0: <Intel ICH9M AHCI SATA controller> port 0x18f0-0x18f7,0x18e4-0x18e7,0x18e8-0x18ef,0x18e0-0x18e3,0x18c0-0x18df mem 0xfc504000-0xfc5047ff irq 19 at device 31.2 on pci0 ahci0: AHCI v1.20 with 4 3Gbps ports, Port Multiplier supported ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 ahcich5: <AHCI channel> at channel 5 on ahci0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_acad0: <AC Adapter> on acpi0 battery0: <ACPI Control Method Battery> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 acpi_tz1: <Thermal Zone> on acpi0 acpi_tz2: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 ppc0: cannot reserve I/O port range est0: <Enhanced SpeedStep Frequency Control> on cpu0 est1: <Enhanced SpeedStep Frequency Control> on cpu1 ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0 hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0 pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0 hdacc1: <IDT 92HD73C1 HDA CODEC> at cad 0 on hdac1 hdaa1: <IDT 92HD73C1 Audio Function Group> at nid 1 on hdacc1 pcm1: <IDT 92HD73C1 (Analog 2.0+HP/2.0)> at nid 13,10 and 14 on hdaa1 pcm2: <IDT 92HD73C1 (Analog)> at nid 15 and 19 on hdaa1 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 ugen0.1: <Intel> at usbus0 uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen1.1: <Intel> at usbus1 uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen2.1: <Intel> at usbus2 uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2 ugen3.1: <Intel> at usbus3 uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ugen4.1: <Intel> at usbus4 uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4 ugen5.1: <Intel> at usbus5 uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5 ugen6.1: <Intel> at usbus6 uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6 ugen7.1: <Intel> at usbus7 uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <Samsung SSD 840 EVO 500GB EXT0BB0Q> ACS-2 ATA SATA 3.x device ada0: Serial Number S1DHNSAD914271K ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 476940MB (976773168 512 byte sectors) ada0: quirks=0x3<4K,NCQ_TRIM_BROKEN> cd0 at ahcich1 bus 0 scbus1 target 0 lun 0 cd0: <HL-DT-ST DVD+-RW GA11N A102> Removable CD-ROM SCSI device cd0: Serial Number KZZ9B7E2004 cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray open SMP: AP CPU #1 Launched! Timecounter "TSC" frequency 2094797271 Hz quality 1000 Trying to mount root from zfs:zroot/root []... Root mount waiting for: usbus7 usbus6 usbus5 usbus4 usbus3 usbus2 usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered Root mount waiting for: usbus7 usbus3 Root mount waiting for: usbus7 usbus3 uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered Root mount waiting for: usbus3 ugen6.2: <vendor 0x8087> at usbus6 ugen0.2: <Broadcom> at usbus0 uhub8: <Broadcom BCM2046B1, class 9/0, rev 2.00/1.00, addr 2> on usbus0 Root mount waiting for: usbus3 uhub8: 3 ports with 0 removable, self powered ugen3.2: <CN0K143J724879B805FS> at usbus3 ugen0.3: <vendor 0x413c> at usbus0 ukbd0: <vendor 0x413c product 0x8157, class 0/0, rev 2.00/1.00, addr 3> on usbus0 kbd2 at ukbd0 GEOM_ELI: Device gpt/swap0.eli created. GEOM_ELI: Encryption: AES-XTS 128 GEOM_ELI: Crypto: software ugen0.4: <vendor 0x413c> at usbus0 coretemp0: <CPU On-Die Thermal Sensors> on cpu0 coretemp1: <CPU On-Die Thermal Sensors> on cpu1 ichsmb0: <Intel 82801I (ICH9) SMBus controller> port 0x1c00-0x1c1f irq 19 at device 31.3 on pci0 smbus0: <System Management Bus> on ichsmb0 info: [drm] Initialized drm 1.1.0 20060810 drmn0: <ATI Mobility Radeon 4500 Series> on vgapci0 info: [drm] RADEON_IS_PCIE info: [drm] initializing kernel modesetting (RV710 0x1002:0x9553 0x1028:0x02BE). info: [drm] register mmio base: 0xFC000000 info: [drm] register mmio size: 65536 info: [drm] radeon_atrm_get_bios: ===> Try ATRM... info: [drm] radeon_atrm_get_bios: pci_find_class() found: 0:1:0:0, vendor=1002, device=9553 info: [drm] radeon_atrm_get_bios: Get ACPI device handle info: [drm] radeon_atrm_get_bios: Get ACPI handle for "ATRM" info: [drm] radeon_atrm_get_bios: Failed to get "ATRM" handle: AE_NOT_FOUND info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT... info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM... info: [drm] igp_read_bios_from_vram: VRAM base address: 0xd0000000 info: [drm] igp_read_bios_from_vram: Map address: 0xfffff800d0000000 (262144 bytes) info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x0000 info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM... info: [drm] radeon_read_bios: Map address: 0xfffff800000c0000 (131072 bytes) info: [drm] ATOM BIOS: BR32787 drmn0: info: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used) drmn0: info: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF info: [drm] Detected VRAM RAM=512M, BAR=256M info: [drm] RAM width 64bits DDR [TTM] Zone kernel: Available graphics memory: 2059256 kiB [TTM] Initializing pool allocator info: [drm] radeon: 512M of VRAM memory ready info: [drm] radeon: 512M of GTT memory ready. info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). info: [drm] Driver supports precise vblank timestamp query. info: [drm] MSI enabled 1 message(s) drmn0: info: radeon: using MSI. info: [drm] radeon: irq initialized. info: [drm] GART: num cpu pages 131072, num gpu pages 131072 info: [drm] probing gen 2 caps for device 8086:2a41 = 1/0 info: [drm] Loading RV710 Microcode info: [drm] PCIE GART of 512M enabled (table at 0x0000000000040000). drmn0: info: WB enabled drmn0: info: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0x0xfffff80014286c00 drmn0: info: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0x0xfffff80014286c0c info: [drm] ring test on 0 succeeded in 1 usecs info: [drm] ring test on 3 succeeded in 1 usecs info: [drm] ib test on ring 0 succeeded in 0 usecs info: [drm] ib test on ring 3 succeeded in 0 usecs info: [drm] radeon_device_init: Taking over the fictitious range 0xd0000000-0xe0000000 iicbus0: <Philips I2C bus> on iicbb0 addr 0xff iic0: <I2C generic I/O> on iicbus0 iicbus1: <Philips I2C bus> on iicbb1 addr 0x0 iic1: <I2C generic I/O> on iicbus1 iicbus2: <Philips I2C bus> on iicbb2 addr 0x0 iic2: <I2C generic I/O> on iicbus2 iicbus3: <Philips I2C bus> on iicbb3 addr 0x0 iic3: <I2C generic I/O> on iicbus3 iicbus4: <Philips I2C bus> on iicbb4 addr 0x0 iic4: <I2C generic I/O> on iicbus4 iicbus5: <Philips I2C bus> on iicbb5 addr 0x0 iic5: <I2C generic I/O> on iicbus5 iicbus6: <Philips I2C bus> on iicbb6 addr 0x0 iic6: <I2C generic I/O> on iicbus6 info: [drm] Radeon Display Connectors info: [drm] Connector 0: info: [drm] VGA-1 info: [drm] DDC: 0x7fa0 0x7fa0 0x7fa4 0x7fa4 0x7fa8 0x7fa8 0x7fac 0x7fac info: [drm] Encoders: info: [drm] CRT1: INTERNAL_KLDSCP_DAC1 info: [drm] Connector 1: info: [drm] HDMI-A-1 info: [drm] HPD1 info: [drm] DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c info: [drm] Encoders: info: [drm] DFP1: INTERNAL_UNIPHY info: [drm] Connector 2: info: [drm] LVDS-1 info: [drm] DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c info: [drm] Encoders: info: [drm] LCD1: INTERNAL_UNIPHY2 info: [drm] Internal thermal controller with fan control info: [drm] radeon: power management initialized info: [drm] Connector VGA-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.VGA-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector HDMI-A-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.HDMI-A-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector LVDS-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.LVDS-1 info: [drm] - kern.vt.fb.default_mode info: [drm] fb mappable at 0xD0142000 info: [drm] vram apper at 0xD0000000 info: [drm] size 8294400 info: [drm] fb depth is 24 info: [drm] pitch is 7680 fbd0 on drmn0 VT: Replacing driver "vga" with new "fb". info: [drm] Initialized radeon 2.29.0 20080528 for drmn0 on minor 0 fuse-freebsd: version 0.4.4, FUSE ABI 7.8 vboxdrv: fAsync=0 offMin=0x2a0 offMax=0xc05 Cuse v0.1.34 @ /dev/cuse wlan0: Ethernet address: 00:26:b9:12:40:a4 iwn0: iwn_read_firmware: ucode rev=0x12a80601 ubt0: <vendor 0x8087 product 0x07da, class 224/1, rev 2.00/78.69, addr 2> on usbus6 ums0: <vendor 0x413c product 0x8158, class 0/0, rev 2.00/1.00, addr 4> on usbus0 ums0: 3 buttons and [XY] coordinates ID=2 wlan0: link state changed to UP WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to deny, logging disabled Accounting enabled I hope this will give a hint. If anything else is needed, please tell. I can also start wpa_supplicant in debug mode or other things which might give info. Regards, Ronald. > > > On 29 May 2016 at 14:27, Ronald Klop <ronald-lists@klop.ws> wrote: >> On Sun, 29 May 2016 19:59:05 +0200, Adrian Chadd >> <adrian.chadd@gmail.com> >> wrote: >> >>> hi, >>> >>> Do ifconfig wlan0 -ht (ie, disable 11n) >>> >>> see if that helps >> >> >> Hi, >> >> This does make the errors go away and startup more smoothly. >> >> Regards, >> Ronald. >> >> >> >>> >>> >>> -a >>> >>> >>> On 29 May 2016 at 05:46, Ronald Klop <ronald-lists@klop.ws> wrote: >>>> >>>> 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@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 >>>> _______________________________________________ >>>> freebsd-current@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>>> To unsubscribe, send any mail to >>>> "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.yian0twbkndu52>