Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-25 Thread Peter Hurley
Hi Gabor, On 03/25/2016 05:59 AM, Gabor Juhos wrote: > 2016.03.24. 4:17 keltezéssel, Peter Hurley írta: >> On 03/23/2016 07:09 PM, Matthias Schiffer wrote: > autoconfig_16550a() is doing all kinds of weird checks to detect different > hardware by writing a lot of register values which are

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-25 Thread Gabor Juhos
2016.03.24. 4:17 keltezéssel, Peter Hurley írta: > On 03/23/2016 07:09 PM, Matthias Schiffer wrote: autoconfig_16550a() is doing all kinds of weird checks to detect different hardware by writing a lot of register values which are documented as reserved in the AR7242 datasheet (there'

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-23 Thread Peter Hurley
On 03/23/2016 07:09 PM, Matthias Schiffer wrote: >>> autoconfig_16550a() is doing all kinds of weird checks to detect different >>> hardware by writing a lot of register values which are documented as >>> reserved in the AR7242 datasheet (there's a leaked version going around >>> that can be easily

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-23 Thread Matthias Schiffer
>> autoconfig_16550a() is doing all kinds of weird checks to detect different >> hardware by writing a lot of register values which are documented as >> reserved in the AR7242 datasheet (there's a leaked version going around >> that can be easily googled...), no idea if any of those are problematic

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-23 Thread Peter Hurley
Hi Matthias, On 03/23/2016 10:40 AM, Matthias Schiffer wrote: > On 03/22/2016 04:38 PM, Peter Hurley wrote: >> On 03/22/2016 06:07 AM, Matthias Schiffer wrote: >>> I've tried your patch and I can't reproduce the issue anymore with it; I >>> have no idea if this actually has to do something with th

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-23 Thread Matthias Schiffer
On 03/22/2016 04:38 PM, Peter Hurley wrote: > On 03/22/2016 06:07 AM, Matthias Schiffer wrote: >> I've tried your patch and I can't reproduce the issue anymore with it; I >> have no idea if this actually has to do something with the issue, or the >> change of the code path just hid the bug again. >

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-22 Thread Peter Hurley
On 03/22/2016 06:07 AM, Matthias Schiffer wrote: > I've tried your patch and I can't reproduce the issue anymore with it; I > have no idea if this actually has to do something with the issue, or the > change of the code path just hid the bug again. > > Regarding your other mail: with "small change

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-22 Thread Matthias Schiffer
>> My theory is the following: >> >> As soon as ttyS0 is detected and installed as the console, there are two >> console drivers active on the serial port at the same time: early0 and >> ttyS0. I suspect that the hang occurs when the primitive early0 >> implementation prom_putchar_ar71xx waits inde

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-22 Thread Matthias Schiffer
On 03/22/2016 06:40 AM, Antony Pavlov wrote: > On Tue, 22 Mar 2016 00:02:57 +0100 > Matthias Schiffer wrote: > >> Hi, >> we're experiencing weird nondeterministic hangs during bootconsole/console >> handover on some ath79 systems on OpenWrt. I've seen this issue myself on >> kernel 3.18.23~3.18.2

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-21 Thread Antony Pavlov
On Tue, 22 Mar 2016 00:02:57 +0100 Matthias Schiffer wrote: > Hi, > we're experiencing weird nondeterministic hangs during bootconsole/console > handover on some ath79 systems on OpenWrt. I've seen this issue myself on > kernel 3.18.23~3.18.27 on a AR7241-based system, but according to other > re

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-21 Thread Peter Hurley
On 03/21/2016 05:52 PM, Matthias Schiffer wrote: > On 03/22/2016 12:08 AM, Greg KH wrote: >> On Tue, Mar 22, 2016 at 12:02:57AM +0100, Matthias Schiffer wrote: >>> Hi, >>> we're experiencing weird nondeterministic hangs during bootconsole/console >>> handover on some ath79 systems on OpenWrt. I've

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-21 Thread Peter Hurley
Hi Matthias, On 03/21/2016 04:02 PM, Matthias Schiffer wrote: > Hi, > we're experiencing weird nondeterministic hangs during bootconsole/console > handover on some ath79 systems on OpenWrt. I've seen this issue myself on > kernel 3.18.23~3.18.27 on a AR7241-based system, but according to other > r

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-21 Thread Matthias Schiffer
On 03/22/2016 12:08 AM, Greg KH wrote: > On Tue, Mar 22, 2016 at 12:02:57AM +0100, Matthias Schiffer wrote: >> Hi, >> we're experiencing weird nondeterministic hangs during bootconsole/console >> handover on some ath79 systems on OpenWrt. I've seen this issue myself on >> kernel 3.18.23~3.18.27 on

Nonterministic hang during bootconsole/console handover on ath79

2016-03-21 Thread Matthias Schiffer
Hi, we're experiencing weird nondeterministic hangs during bootconsole/console handover on some ath79 systems on OpenWrt. I've seen this issue myself on kernel 3.18.23~3.18.27 on a AR7241-based system, but according to other reports ([1], [2]) kernel 4.1.x is affected as well, and other SoCs like Q

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-21 Thread Greg KH
On Tue, Mar 22, 2016 at 12:02:57AM +0100, Matthias Schiffer wrote: > Hi, > we're experiencing weird nondeterministic hangs during bootconsole/console > handover on some ath79 systems on OpenWrt. I've seen this issue myself on > kernel 3.18.23~3.18.27 on a AR7241-based system, but according to other