Re: Going to 11-STABLE

2016-08-23 Thread Renato Botelho
> On Aug 23, 2016, at 11:30, Ricardo Campos Passanezi  
> wrote:
> 
> Hello all.
> 
> I'm using an old 11-CURRENT (FreeBSD 11.0-CURRENT #2 r293335) and with
> the relase date for 11 getting closer, I'd like to go to 11-STABLE.
> 
> I had the "URL: svn://svn.freebsd.org/base/head" under /usr/src and
> switched to "URL: svn://svn.freebsd.org/base/stable/11".
> 
> Is this the right way to go (after the svn ends, i'll make buildworld,
> make buildkernel, and so on)? Just to be sure...
> 
> Thanks in advance,

Yes, it’s correct

--
Renato Botelho

___
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"

Going to 11-STABLE

2016-08-23 Thread Ricardo Campos Passanezi
Hello all.

I'm using an old 11-CURRENT (FreeBSD 11.0-CURRENT #2 r293335) and with
the relase date for 11 getting closer, I'd like to go to 11-STABLE.

I had the "URL: svn://svn.freebsd.org/base/head" under /usr/src and
switched to "URL: svn://svn.freebsd.org/base/stable/11".

Is this the right way to go (after the svn ends, i'll make buildworld,
make buildkernel, and so on)? Just to be sure...

Thanks in advance,

-- 
Ricardo Campos Passanezi
___
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: ath (AR9460) no longer works after going to 11-STABLE r302483

2016-07-16 Thread Wolfgang Zenker
Hi,

[sorry, forgot to Cc current first]

* Adrian Chadd  [160715 22:40]:
> On 15 July 2016 at 13:28, Wolfgang Zenker  wrote:
>> * Adrian Chadd  [160715 00:00]:
>>> On 14 July 2016 at 14:37, Wolfgang Zenker  wrote:
 * Adrian Chadd  [160710 21:47]:
> Since you've reverted the ath driver directories without success, I'm
> mostly out of simple ideas. I think you need to bisect the whole
> kernel version until you find the commit that broke things.

 done. The commit is 11-STABLE r302410. AFAICS the only change here
 is the removal of debugging options from the GENERIC kernel config:

 https://svnweb.freebsd.org/base/stable/11/sys/amd64/conf/GENERIC?r1=302408=302410

>>> ... loool, okay. Let me see.

>>> Try INVARIANTS and INVARIANT_SUPPORT. Maybe something in the ath
>>> driver needs it.. oops!

>> Nope, wlan0 still works after disabling INVARIANTS and INVARIANT_SUPPORT.
>> Any suggestions for next try?

> Just try disabling the others and see what happens.

commenting out DEADLKRES and MALLOC_DEBUG_MAXZONES in addition to 
INVARIANTS and INVARIANT_SUPPORT did not change the situation: ath
still worked. Re-enabling all of the above and disabling WITNESS
resulted in ath failing.

Wolfgang
___
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: ath (AR9460) no longer works after going to 11-STABLE r302483

2016-07-15 Thread Adrian Chadd
Hi,

Just try disabling the others and see what happens.

Thanks!


-a


On 15 July 2016 at 13:28, Wolfgang Zenker  wrote:
> * Adrian Chadd  [160715 00:00]:
>> On 14 July 2016 at 14:37, Wolfgang Zenker  wrote:
>>> * Adrian Chadd  [160710 21:47]:
 Since you've reverted the ath driver directories without success, I'm
 mostly out of simple ideas. I think you need to bisect the whole
 kernel version until you find the commit that broke things.
>
>>> done. The commit is 11-STABLE r302410. AFAICS the only change here
>>> is the removal of debugging options from the GENERIC kernel config:
>
>>> https://svnweb.freebsd.org/base/stable/11/sys/amd64/conf/GENERIC?r1=302408=302410
>
>> ... loool, okay. Let me see.
>
>> Try INVARIANTS and INVARIANT_SUPPORT. Maybe something in the ath
>> driver needs it.. oops!
>
> Nope, wlan0 still works after disabling INVARIANTS and INVARIANT_SUPPORT.
> Any suggestions for next try?
>
> Wolfgang
___
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: ath (AR9460) no longer works after going to 11-STABLE r302483

2016-07-15 Thread Wolfgang Zenker
* Adrian Chadd  [160715 00:00]:
> On 14 July 2016 at 14:37, Wolfgang Zenker  wrote:
>> * Adrian Chadd  [160710 21:47]:
>>> Since you've reverted the ath driver directories without success, I'm
>>> mostly out of simple ideas. I think you need to bisect the whole
>>> kernel version until you find the commit that broke things.

>> done. The commit is 11-STABLE r302410. AFAICS the only change here
>> is the removal of debugging options from the GENERIC kernel config:

>> https://svnweb.freebsd.org/base/stable/11/sys/amd64/conf/GENERIC?r1=302408=302410

> ... loool, okay. Let me see.

> Try INVARIANTS and INVARIANT_SUPPORT. Maybe something in the ath
> driver needs it.. oops!

Nope, wlan0 still works after disabling INVARIANTS and INVARIANT_SUPPORT.
Any suggestions for next try?

Wolfgang
___
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: ath (AR9460) no longer works after going to 11-STABLE r302483

2016-07-14 Thread Adrian Chadd
On 14 July 2016 at 14:37, Wolfgang Zenker  wrote:
> Hi,
>
> * Adrian Chadd  [160710 21:47]:
>> Since you've reverted the ath driver directories without success, I'm
>> mostly out of simple ideas. I think you need to bisect the whole
>> kernel version until you find the commit that broke things.
>
> done. The commit is 11-STABLE r302410. AFAICS the only change here
> is the removal of debugging options from the GENERIC kernel config:
>
> https://svnweb.freebsd.org/base/stable/11/sys/amd64/conf/GENERIC?r1=302408=302410

... loool, okay. Let me see.

Try INVARIANTS and INVARIANT_SUPPORT. Maybe something in the ath
driver needs it.. oops!



-adrian

>
> I guess next would be to remove single debugging options one after the
> other?
>
> Wolfgang
> ___
> 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: ath (AR9460) no longer works after going to 11-STABLE r302483

2016-07-14 Thread Wolfgang Zenker
Hi,

* Adrian Chadd  [160710 21:47]:
> Since you've reverted the ath driver directories without success, I'm
> mostly out of simple ideas. I think you need to bisect the whole
> kernel version until you find the commit that broke things.

done. The commit is 11-STABLE r302410. AFAICS the only change here
is the removal of debugging options from the GENERIC kernel config:

https://svnweb.freebsd.org/base/stable/11/sys/amd64/conf/GENERIC?r1=302408=302410

I guess next would be to remove single debugging options one after the
other?

Wolfgang
___
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: ath (AR9460) no longer works after going to 11-STABLE r302483

2016-07-10 Thread Adrian Chadd
Hi,

That message just means a receive interrupt was handled whilst the NIC
was in reset, which is mostly fine.

Since you've reverted the ath driver directories without success, I'm
mostly out of simple ideas. I think you need to bisect the whole
kernel version until you find the commit that broke things.

Thanks!


-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: ath (AR9460) no longer works after going to 11-STABLE r302483

2016-07-10 Thread Wolfgang Zenker
* Wolfgang Zenker  [160710 19:47]:
> * Adrian Chadd  [160709 21:33]:
>> There weren't any changes in net80211 between those times, and ath(4)
>> only has some changes for locationing; nothing that should cause that
>> particular issue.

>> I'll go update to the latest -head on something with that NIC and test
>> it out some more.

>> Try reverting sys/dev/ath/ and sys/contrib/dev/ath/ back to r302387
>> and test? (but leave the rest of the kernel as-is.)

> using a kernel with sys/dev/ath/ and sys/contrib/dev/ath/ from r302387
> and the rest at r302483 the nic does not work either, same symptoms.

> Any other things to test?

I noticed one more thing: after a while I get this message on console:

ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping

Wolfgang
___
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: ath (AR9460) no longer works after going to 11-STABLE r302483

2016-07-10 Thread Wolfgang Zenker
Hi,

* Adrian Chadd  [160709 21:33]:
> There weren't any changes in net80211 between those times, and ath(4)
> only has some changes for locationing; nothing that should cause that
> particular issue.

> I'll go update to the latest -head on something with that NIC and test
> it out some more.

> Try reverting sys/dev/ath/ and sys/contrib/dev/ath/ back to r302387
> and test? (but leave the rest of the kernel as-is.)

using a kernel with sys/dev/ath/ and sys/contrib/dev/ath/ from r302387
and the rest at r302483 the nic does not work either, same symptoms.

Any other things to test?

Wolfgang
___
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: ath (AR9460) no longer works after going to 11-STABLE r302483

2016-07-09 Thread Adrian Chadd
hi,

There weren't any changes in net80211 between those times, and ath(4)
only has some changes for locationing; nothing that should cause that
particular issue.

I'll go update to the latest -head on something with that NIC and test
it out some more.

Try reverting sys/dev/ath/ and sys/contrib/dev/ath/ back to r302387
and test? (but leave the rest of the kernel as-is.)

Thanks,



-adrian

On 9 July 2016 at 12:01, Wolfgang Zenker  wrote:
> Hi,
>
> I just brought my Acer C720 from HEAD r302387 up to 11-STABLE r302483,
> using a GENERIC kernel. After the upgrade wlan0 failed to connect.
>
> Booting back into kernel.old with the new userland, wlan0 connects with
> IPv4, IPv6 only startet working after manually calling rtsol (or I might
> just have been to impatient).
>
> Relevant lines from /var/log/messages:
>
> Before the upgrade:
> Jul  9 11:58:19 faunus kernel: FreeBSD 11.0-ALPHA6 #26 r302387: Thu Jul  7 
> 14:35:59 CEST 2016
> Jul  9 11:58:19 faunus kernel: wolfgang@faunus:/usr/obj/usr/src/sys/GENERIC 
> amd64
> Jul  9 11:58:19 faunus kernel: FreeBSD clang version 3.8.0 
> (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
> Jul  9 11:58:19 faunus kernel: WARNING: WITNESS option enabled, expect 
> reduced performance.
> Jul  9 11:58:19 faunus kernel: can't re-use a leaf (ixl_rx_miss_bufs)!
> Jul  9 11:58:19 faunus kernel: VT(vga): resolution 640x480
> Jul  9 11:58:19 faunus kernel: CPU: Intel(R) Celeron(R) 2955U @ 1.40GHz 
> (1396.79-MHz K8-class CPU)
> Jul  9 11:58:19 faunus kernel: Origin="GenuineIntel"  Id=0x40651  Family=0x6  
> Model=0x45  Stepping=1
> [..]
> Jul  9 11:58:19 faunus kernel: TSC: P-state invariant, performance statistics
> Jul  9 11:58:19 faunus kernel: real memory  = 4301258752 (4102 MB)
> Jul  9 11:58:19 faunus kernel: avail memory = 1914245120 (1825 MB)
> Jul  9 11:58:19 faunus kernel: Event timer "LAPIC" quality 600
> Jul  9 11:58:19 faunus kernel: ACPI APIC Table: 
> Jul  9 11:58:19 faunus kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 
> CPUs
> Jul  9 11:58:19 faunus kernel: FreeBSD/SMP: 1 package(s) x 2 core(s)
> [..]
> Jul  9 11:58:19 faunus kernel: pcib1:  at device 28.0 on 
> pci0
> Jul  9 11:58:19 faunus kernel: pci1:  on pcib1
> Jul  9 11:58:19 faunus kernel: ath0:  mem 
> 0xe040-0xe047 at device 0.0 on pci1
> Jul  9 11:58:19 faunus kernel: ar9300_attach: calling ar9300_hw_attach
> Jul  9 11:58:19 faunus kernel: ar9300_hw_attach: calling ar9300_eeprom_attach
> Jul  9 11:58:19 faunus kernel: ar9300_flash_map: unimplemented for now
> Jul  9 11:58:19 faunus kernel: Restoring Cal data from DRAM
> Jul  9 11:58:19 faunus kernel: Restoring Cal data from EEPROM
> Jul  9 11:58:19 faunus kernel: Restoring Cal data from Flash
> Jul  9 11:58:19 faunus kernel: Restoring Cal data from Flash
> Jul  9 11:58:19 faunus kernel: Restoring Cal data from OTP
> Jul  9 11:58:19 faunus kernel: ar9300_hw_attach: ar9300_eeprom_attach 
> returned 0
> Jul  9 11:58:19 faunus kernel: ath0: [HT] enabling HT modes
> Jul  9 11:58:19 faunus kernel: ath0: [HT] enabling short-GI in 20MHz mode
> Jul  9 11:58:19 faunus kernel: ath0: [HT] 1 stream STBC receive enabled
> Jul  9 11:58:19 faunus kernel: ath0: [HT] 1 stream STBC transmit enabled
> Jul  9 11:58:19 faunus kernel: ath0: [HT] LDPC transmit/receive enabled
> Jul  9 11:58:19 faunus kernel: ath0: [HT] 2 RX streams; 2 TX streams
> Jul  9 11:58:19 faunus kernel: ath0: AR9460 mac 640.2 RF5110 phy 610.2
> Jul  9 11:58:19 faunus kernel: ath0: 2GHz radio: 0x; 5GHz radio: 0x
> [..]
> Jul  9 11:58:19 faunus kernel: SMP: AP CPU #1 Launched!
> Jul  9 11:58:19 faunus kernel: Timecounter "TSC" frequency 1396793908 Hz 
> quality 1000
> Jul  9 11:58:19 faunus kernel: WARNING: WITNESS option enabled, expect 
> reduced performance.
> Jul  9 11:58:19 faunus kernel: Trying to mount root from 
> zfs:zroot/ROOT/default []...
> Jul  9 11:58:19 faunus kernel: wlan0: Ethernet address: 9c:d2:1e:9b:e6:41
> Jul  9 11:58:19 faunus kernel: wlan0: link state changed to UP
>
> After the upgrade:
> Jul  9 20:14:19 faunus kernel: FreeBSD 11.0-BETA1 #0 r302483: Sat Jul  9 
> 18:15:16 CEST 2016
> Jul  9 20:14:19 faunus kernel: wolfgang@faunus:/usr/obj/usr/src/sys/GENERIC 
> amd64
> Jul  9 20:14:19 faunus kernel: FreeBSD clang version 3.8.0 
> (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
> Jul  9 20:14:19 faunus kernel: can't re-use a leaf (ixl_rx_miss_bufs)!
> Jul  9 20:14:19 faunus kernel: VT(vga): resolution 640x480
> Jul  9 20:14:19 faunus kernel: CPU: Intel(R) Celeron(R) 2955U @ 1.40GHz 
> (1396.80-MHz K8-class CPU)
> Jul  9 20:14:19 faunus kernel: Origin="GenuineIntel"  Id=0x40651  Family=0x6  
> Model=0x45  Stepping=1
> [..]
> Jul  9 20:14:19 faunus kernel: TSC: P-state invariant, performance statistics
> Jul  9 20:14:19 faunus kernel: real memory  = 4301258752 (4102 MB)
> Jul  9 20:14:19 faunus kernel: avail memory = 1918545920 (1829 MB)
> Jul  9 20:14:19 faunus kernel: Event timer "LAPIC" quality 600
> Jul  9 

ath (AR9460) no longer works after going to 11-STABLE r302483

2016-07-09 Thread Wolfgang Zenker
Hi,

I just brought my Acer C720 from HEAD r302387 up to 11-STABLE r302483,
using a GENERIC kernel. After the upgrade wlan0 failed to connect.

Booting back into kernel.old with the new userland, wlan0 connects with
IPv4, IPv6 only startet working after manually calling rtsol (or I might
just have been to impatient).

Relevant lines from /var/log/messages:

Before the upgrade:
Jul  9 11:58:19 faunus kernel: FreeBSD 11.0-ALPHA6 #26 r302387: Thu Jul  7 
14:35:59 CEST 2016
Jul  9 11:58:19 faunus kernel: wolfgang@faunus:/usr/obj/usr/src/sys/GENERIC 
amd64
Jul  9 11:58:19 faunus kernel: FreeBSD clang version 3.8.0 
(tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
Jul  9 11:58:19 faunus kernel: WARNING: WITNESS option enabled, expect reduced 
performance.
Jul  9 11:58:19 faunus kernel: can't re-use a leaf (ixl_rx_miss_bufs)!
Jul  9 11:58:19 faunus kernel: VT(vga): resolution 640x480
Jul  9 11:58:19 faunus kernel: CPU: Intel(R) Celeron(R) 2955U @ 1.40GHz 
(1396.79-MHz K8-class CPU)
Jul  9 11:58:19 faunus kernel: Origin="GenuineIntel"  Id=0x40651  Family=0x6  
Model=0x45  Stepping=1
[..]
Jul  9 11:58:19 faunus kernel: TSC: P-state invariant, performance statistics
Jul  9 11:58:19 faunus kernel: real memory  = 4301258752 (4102 MB)
Jul  9 11:58:19 faunus kernel: avail memory = 1914245120 (1825 MB)
Jul  9 11:58:19 faunus kernel: Event timer "LAPIC" quality 600
Jul  9 11:58:19 faunus kernel: ACPI APIC Table: 
Jul  9 11:58:19 faunus kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 
CPUs
Jul  9 11:58:19 faunus kernel: FreeBSD/SMP: 1 package(s) x 2 core(s)
[..]
Jul  9 11:58:19 faunus kernel: pcib1:  at device 28.0 on 
pci0
Jul  9 11:58:19 faunus kernel: pci1:  on pcib1
Jul  9 11:58:19 faunus kernel: ath0:  mem 
0xe040-0xe047 at device 0.0 on pci1
Jul  9 11:58:19 faunus kernel: ar9300_attach: calling ar9300_hw_attach
Jul  9 11:58:19 faunus kernel: ar9300_hw_attach: calling ar9300_eeprom_attach
Jul  9 11:58:19 faunus kernel: ar9300_flash_map: unimplemented for now
Jul  9 11:58:19 faunus kernel: Restoring Cal data from DRAM
Jul  9 11:58:19 faunus kernel: Restoring Cal data from EEPROM
Jul  9 11:58:19 faunus kernel: Restoring Cal data from Flash
Jul  9 11:58:19 faunus kernel: Restoring Cal data from Flash
Jul  9 11:58:19 faunus kernel: Restoring Cal data from OTP
Jul  9 11:58:19 faunus kernel: ar9300_hw_attach: ar9300_eeprom_attach returned 0
Jul  9 11:58:19 faunus kernel: ath0: [HT] enabling HT modes
Jul  9 11:58:19 faunus kernel: ath0: [HT] enabling short-GI in 20MHz mode
Jul  9 11:58:19 faunus kernel: ath0: [HT] 1 stream STBC receive enabled
Jul  9 11:58:19 faunus kernel: ath0: [HT] 1 stream STBC transmit enabled
Jul  9 11:58:19 faunus kernel: ath0: [HT] LDPC transmit/receive enabled
Jul  9 11:58:19 faunus kernel: ath0: [HT] 2 RX streams; 2 TX streams
Jul  9 11:58:19 faunus kernel: ath0: AR9460 mac 640.2 RF5110 phy 610.2
Jul  9 11:58:19 faunus kernel: ath0: 2GHz radio: 0x; 5GHz radio: 0x
[..]
Jul  9 11:58:19 faunus kernel: SMP: AP CPU #1 Launched!
Jul  9 11:58:19 faunus kernel: Timecounter "TSC" frequency 1396793908 Hz 
quality 1000
Jul  9 11:58:19 faunus kernel: WARNING: WITNESS option enabled, expect reduced 
performance.
Jul  9 11:58:19 faunus kernel: Trying to mount root from zfs:zroot/ROOT/default 
[]...
Jul  9 11:58:19 faunus kernel: wlan0: Ethernet address: 9c:d2:1e:9b:e6:41
Jul  9 11:58:19 faunus kernel: wlan0: link state changed to UP

After the upgrade:
Jul  9 20:14:19 faunus kernel: FreeBSD 11.0-BETA1 #0 r302483: Sat Jul  9 
18:15:16 CEST 2016
Jul  9 20:14:19 faunus kernel: wolfgang@faunus:/usr/obj/usr/src/sys/GENERIC 
amd64
Jul  9 20:14:19 faunus kernel: FreeBSD clang version 3.8.0 
(tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
Jul  9 20:14:19 faunus kernel: can't re-use a leaf (ixl_rx_miss_bufs)!
Jul  9 20:14:19 faunus kernel: VT(vga): resolution 640x480
Jul  9 20:14:19 faunus kernel: CPU: Intel(R) Celeron(R) 2955U @ 1.40GHz 
(1396.80-MHz K8-class CPU)
Jul  9 20:14:19 faunus kernel: Origin="GenuineIntel"  Id=0x40651  Family=0x6  
Model=0x45  Stepping=1
[..]
Jul  9 20:14:19 faunus kernel: TSC: P-state invariant, performance statistics
Jul  9 20:14:19 faunus kernel: real memory  = 4301258752 (4102 MB)
Jul  9 20:14:19 faunus kernel: avail memory = 1918545920 (1829 MB)
Jul  9 20:14:19 faunus kernel: Event timer "LAPIC" quality 600
Jul  9 20:14:19 faunus kernel: ACPI APIC Table: 
Jul  9 20:14:19 faunus kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 
CPUs
Jul  9 20:14:19 faunus kernel: FreeBSD/SMP: 1 package(s) x 2 core(s)
[..]
Jul  9 20:14:19 faunus kernel: pcib1:  at device 28.0 on 
pci0
Jul  9 20:14:19 faunus kernel: pci1:  on pcib1
Jul  9 20:14:19 faunus kernel: ath0:  mem 
0xe040-0xe047 at device 0.0 on pci1
Jul  9 20:14:19 faunus kernel: ar9300_attach: calling ar9300_hw_attach
Jul  9 20:14:19 faunus kernel: ar9300_hw_attach: calling ar9300_eeprom_attach
Jul  9 20:14:19 faunus kernel: ar9300_flash_map: unimplemented for now
Jul  9 20:14:19 faunus kernel: