Wifi laggy in RC2 - was: FreeBSD 11 RC1 - no wifi

2016-08-27 Thread Stefan Wendler
On 08/26/2016 05:17, lenz wrote:
> I run a X1 Carbon 4th gen and can report that the iwm driver now runs very
> reliable with RC2, reliable enough that I moved it back into loader.conf
> and did not see any panics after a bunch or reboots. Thanks for the good
> work on this :)
> 
> cheers
> Lenz
> 
With my W530 Wifi with iwn works now without the lagg config as well as
with the patch from here
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211689#c4 and lagg config

Anyway. I have switched now to my T540p with a 7260AC wifi chip. When I
load iwm during boot, the computer crashes and enters a boot loop until
I disable iwm at the loader prompt. I can then load it manually after
boot and have wifi for some time. But it is pretty laggy and reconnects
every 5 minutes or so with the following dmesg entry.

-- dmesg --
wlan0: link state changed to DOWN
wlan0: ieee80211_new_state_locked: pending SCAN -> ASSOC transition lost
iwm0: iwm_update_edca: called
iwm0: dumping device error log
iwm0: Start Error Log Dump:
iwm0: Status: 0x3, count: 6
iwm0: 0x0086 | NMI_INTERRUPT_INST_ACTION_PT
iwm0: 02F0 | trm_hw_status0
iwm0:  | trm_hw_status1
iwm0: 0B2C | branchlink2
iwm0: 00016A90 | interruptlink1
iwm0: 00015A28 | interruptlink2
iwm0:  | data1
iwm0: 0004 | data2
iwm0: 0703 | data3
iwm0: 00307A6F | beacon time
iwm0: 000F858F | tsf low
iwm0:  | tsf hi
iwm0:  | time gp1
iwm0: 000F8590 | time gp2
iwm0:  | uCode revision type
iwm0: 0010 | uCode version major
iwm0: 0003B2EE | uCode version minor
iwm0: 0144 | hw version
iwm0: 9004 | board version
iwm0: 001C | hcmd
iwm0: 00022088 | isr0
iwm0: 0080 | isr1
iwm0: 0002 | isr2
iwm0: 004034C1 | isr3
iwm0:  | isr4
iwm0: 01010112 | last cmd Id
iwm0:  | wait_event
iwm0: 00A0 | l2p_control
iwm0:  | l2p_duration
iwm0:  | l2p_mhvalid
iwm0:  | l2p_addr_match
iwm0: 0007 | lmpm_pmg_sel
iwm0: 22121936 | timestamp
iwm0: 00342028 | flow_handler
iwm0: driver status:
iwm0:   tx ring  0: qid=0  cur=2   queued=2
iwm0:   tx ring  1: qid=1  cur=0   queued=0
iwm0:   tx ring  2: qid=2  cur=0   queued=0
iwm0:   tx ring  3: qid=3  cur=0   queued=0
iwm0:   tx ring  4: qid=4  cur=0   queued=0
iwm0:   tx ring  5: qid=5  cur=0   queued=0
iwm0:   tx ring  6: qid=6  cur=0   queued=0
iwm0:   tx ring  7: qid=7  cur=0   queued=0
iwm0:   tx ring  8: qid=8  cur=0   queued=0
iwm0:   tx ring  9: qid=9  cur=34  queued=0
iwm0:   tx ring 10: qid=10 cur=0   queued=0
iwm0:   tx ring 11: qid=11 cur=0   queued=0
iwm0:   tx ring 12: qid=12 cur=0   queued=0
iwm0:   tx ring 13: qid=13 cur=0   queued=0
iwm0:   tx ring 14: qid=14 cur=0   queued=0
iwm0:   tx ring 15: qid=15 cur=0   queued=0
iwm0:   tx ring 16: qid=16 cur=0   queued=0
iwm0:   tx ring 17: qid=17 cur=0   queued=0
iwm0:   tx ring 18: qid=18 cur=0   queued=0
iwm0:   tx ring 19: qid=19 cur=0   queued=0
iwm0:   tx ring 20: qid=20 cur=0   queued=0
iwm0:   tx ring 21: qid=21 cur=0   queued=0
iwm0:   tx ring 22: qid=22 cur=0   queued=0
iwm0:   tx ring 23: qid=23 cur=0   queued=0
iwm0:   tx ring 24: qid=24 cur=0   queued=0
iwm0:   tx ring 25: qid=25 cur=0   queued=0
iwm0:   tx ring 26: qid=26 cur=0   queued=0
iwm0:   tx ring 27: qid=27 cur=0   queued=0
iwm0:   tx ring 28: qid=28 cur=0   queued=0
iwm0:   tx ring 29: qid=29 cur=0   queued=0
iwm0:   tx ring 30: qid=30 cur=0   queued=0
iwm0:   rx ring: cur=34
iwm0:   802.11 state 1
iwm0: iwm_intr: controller panicked, iv_state = 1; restarting
wlan0: ieee80211_new_state_locked: pending SCAN -> AUTH transition lost
iwm0: PHY ctxt cmd error. ret=35
iwm0: iwm_auth: failed add phy ctxt!
iwm0: iwm_newstate: could not move to auth state: 60
iwm0: iwm_update_edca: called
iwm0: iwm_update_edca: called
iwm0: iwm_update_edca: called
wlan0: link state changed to UP
-- end dmesg --

Cheers,
Stefan
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD 11 RC1 - no wifi

2016-08-25 Thread lenz
I run a X1 Carbon 4th gen and can report that the iwm driver now runs very
reliable with RC2, reliable enough that I moved it back into loader.conf
and did not see any panics after a bunch or reboots. Thanks for the good
work on this :)

cheers
Lenz

On Fri, Aug 26, 2016 at 9:06 AM, Adrian Chadd 
wrote:

> On 25 August 2016 at 12:45, Stefan Wendler 
> wrote:
> > Hi,
> >
> > is this fixed in RC2? I haven't tried it yet but would be nice to know
>
> Hi,
>
> Just so everyone who may be interested/involved can see - I don't have
> the spare bandwidth/cycles to try and make wifi + lagg "work", and
> personally I still maintain it's unsupported until someone takes
> ownership of it.
>
> So I'd appreciate it if someone else would fix it up to continue
> working. Please not rely on me to fix it. :)
>
>
> -a
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD 11 RC1 - no wifi

2016-08-25 Thread Adrian Chadd
On 25 August 2016 at 12:45, Stefan Wendler  wrote:
> Hi,
>
> is this fixed in RC2? I haven't tried it yet but would be nice to know

Hi,

Just so everyone who may be interested/involved can see - I don't have
the spare bandwidth/cycles to try and make wifi + lagg "work", and
personally I still maintain it's unsupported until someone takes
ownership of it.

So I'd appreciate it if someone else would fix it up to continue
working. Please not rely on me to fix it. :)


-a
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD 11 RC1 - no wifi

2016-08-25 Thread Stefan Wendler
Hi,

is this fixed in RC2? I haven't tried it yet but would be nice to know

Cheers

On 08/23/2016 22:58, Jan Kokemüller wrote:
> 
> On 23.08.16 21:18, Stefan Wendler wrote:
>> Hi,
>>
>> I have upgraded from FreeBSD 10.3 to 11 RC1 on my Lenovo W450 with Intel
>> Centrino Ultimate-N 6300
>>
>> After upgrade and a last reboot the iwn driver gets loaded but no iwn0
>> interface pops up. Doing a 'service netif restart' crashes the machine
>> and a core is written.
> 
> It's probably this bug:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211689#c4
> 
> I've attached a patch there that fixes this issue for me.
> 
> -Jan
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD 11 RC1 - no wifi

2016-08-23 Thread Jan Kokemüller


On 23.08.16 21:18, Stefan Wendler wrote:

Hi,

I have upgraded from FreeBSD 10.3 to 11 RC1 on my Lenovo W450 with Intel
Centrino Ultimate-N 6300

After upgrade and a last reboot the iwn driver gets loaded but no iwn0
interface pops up. Doing a 'service netif restart' crashes the machine
and a core is written.


It's probably this bug:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211689#c4

I've attached a patch there that fixes this issue for me.

-Jan
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD 11 RC1 - no wifi

2016-08-23 Thread Kurt Jaeger
Hi!

> After upgrade and a last reboot the iwn driver gets loaded but no iwn0
> interface pops up.

In 11, the hardware interfaces no longer appear.

They still can be found with

sysctl net.wlan.devices

> Doing a 'service netif restart' crashes the machine
> and a core is written.

The crash should not happen.

-- 
p...@opsec.eu+49 171 3101372 4 years to go !
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD 11 RC1 - no wifi

2016-08-23 Thread Stefan Wendler
EDIT: It's a W 530, not a 540

On 08/23/2016 21:18, Stefan Wendler wrote:
> Hi,
> 
> I have upgraded from FreeBSD 10.3 to 11 RC1 on my Lenovo W450 with Intel
> Centrino Ultimate-N 6300
> 
> After upgrade and a last reboot the iwn driver gets loaded but no iwn0
> interface pops up. Doing a 'service netif restart' crashes the machine
> and a core is written.
> 
> I have attached the output of the dmesg command. If somebody needs the
> core, I can upload it somewhere and give you the download link.
> 
> Please tell me how I can help you guys.
> 
> Cheers,
> Stefan
> 
> 
> 
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> 

-- 
Stefan Wendler
stefan.wend...@tngtech.com
+49 (0) 176 -  2438 3835
Senior Consultant

TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Christoph Stock, Dr. Robert Dahlke
Sitz: Unterföhring * Amtsgericht München * HRB 135082
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


FreeBSD 11 RC1 - no wifi

2016-08-23 Thread Stefan Wendler
Hi,

I have upgraded from FreeBSD 10.3 to 11 RC1 on my Lenovo W450 with Intel
Centrino Ultimate-N 6300

After upgrade and a last reboot the iwn driver gets loaded but no iwn0
interface pops up. Doing a 'service netif restart' crashes the machine
and a core is written.

I have attached the output of the dmesg command. If somebody needs the
core, I can upload it somewhere and give you the download link.

Please tell me how I can help you guys.

Cheers,
Stefan
tun0: link state changed to DOWN
wlan0: link state changed to DOWN
lagg0: link state changed to DOWN
wlan0: link state changed to UP
lagg0: link state changed to UP
pid 97228 (wine), uid 1001: exited on signal 10 (core dumped)
wlan0: link state changed to DOWN
lagg0: link state changed to DOWN
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...0 0 0 0 0 0 done
All buffers synced.
Uptime: 10h16m41s
GEOM_ELI: Device ada1p1.eli destroyed.
GEOM_ELI: Detached ada1p1.eli on last close.
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 10.3-RELEASE-p4 #0: Sat May 28 12:23:44 UTC 2016
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
CPU: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz (2394.61-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306a9  Family=0x6  Model=0x3a  Stepping=9
  
Features=0xbfebfbff
  
Features2=0x7fbae3bf
  AMD Features=0x28100800
  AMD Features2=0x1
  Structured Extended Features=0x281
  XSAVE Features=0x1
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  = 34359738368 (32768 MB)
avail memory = 32887021568 (31363 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
random:  initialized
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
cryptosoft0:  on motherboard
aesni0:  on motherboard
acpi0:  on motherboard
acpi_ec0:  port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
cpu4:  on acpi0
cpu5:  on acpi0
cpu6:  on acpi0
cpu7:  on acpi0
attimer0:  port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
hpet0:  iomem 0xfed0-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
atrtc0:  port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_lid0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  irq 16 at device 1.0 on pci0
pci1:  on pcib1
vgapci0:  port 0x5000-0x507f mem 
0xf200-0xf2ff,0xe000-0xefff,0xf000-0xf1ff irq 16 at 
device 0.0 on pci1
nvidia0:  on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: Boot video device
hdac0:  mem 0xf300-0xf3003fff irq 17 at 
device 0.1 on pci1
xhci0:  mem 0xf532-0xf532 irq 
16 at device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
xhci0: Port routing mask set to 0x
usbus0 on xhci0
pci0:  at device 22.0 (no driver attached)
em0:  port 0x6040-0x605f mem 
0xf530-0xf531,0xf533b000-0xf533bfff irq 20 at device 25.0 on pci0
em0: Using an MSI interrupt
em0: Ethernet address: 3c:97:0e:c3:c9:d0
ehci0:  mem 0xf533a000-0xf533a3ff irq 
16 at device 26.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
hdac1:  mem 0xf533-0xf5333fff irq 22 at 
device 27.0 on pci0
pcib2:  irq 16 at device 28.0 on pci0
pci2:  on pcib2
sdhci_pci0:  mem 0xf4a01000-0xf4a010ff irq 16 at device 0.0 
on pci2
sdhci_pci0: 1 slot(s) allocated
pci2:  at device 0.3 (no driver attached)
pcib3:  irq 17 at device 28.1 on pci0
pci3:  on pcib3
iwn0:  mem 0xf490-0xf4901fff irq 17 at 
device 0.0 on pci3
pcib4:  irq 18 at device 28.2 on pci0
pci4:  on pcib4
ehci1:  mem 0xf5339000-0xf53393ff irq 
23 at device 29.0 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci1
isab0:  at device 31.0 on pci0
isa0:  on isab0
ahci0:  port 
0x6068-0x606f,0x6074-0x6077,0x6060-0x6067,0x6070-0x6073,0x6020-0x603f mem 
0xf5338000-0xf53387ff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not