All of lore.kernel.org
 help / color / mirror / Atom feed
* n900 in 4.1-rc0
@ 2015-04-16  9:32 ` Pavel Machek
  0 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-04-16  9:32 UTC (permalink / raw)
  To: pali.rohar, sre, sre, kernel list, linux-arm-kernel, linux-omap,
	tony, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan

Hi!

Just tried booting 4.1-rc0 on n900 (commit
34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.

Any ideas?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.1-rc0
@ 2015-04-16  9:32 ` Pavel Machek
  0 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-04-16  9:32 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

Just tried booting 4.1-rc0 on n900 (commit
34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.

Any ideas?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.1-rc0
  2015-04-16  9:32 ` Pavel Machek
@ 2015-04-16  9:37   ` Marc Zyngier
  -1 siblings, 0 replies; 43+ messages in thread
From: Marc Zyngier @ 2015-04-16  9:37 UTC (permalink / raw)
  To: Pavel Machek, pali.rohar, sre, sre, kernel list,
	linux-arm-kernel, linux-omap, tony, khilman, aaro.koskinen,
	ivo.g.dimitrov.75, patrikbachan

On 16/04/15 10:32, Pavel Machek wrote:
> Hi!
> 
> Just tried booting 4.1-rc0 on n900 (commit
> 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.
> 
> Any ideas?

To such a question, the only answer I have is "Yes".

For a more useful reply, I'm afraid you'll have to ask a better question.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.1-rc0
@ 2015-04-16  9:37   ` Marc Zyngier
  0 siblings, 0 replies; 43+ messages in thread
From: Marc Zyngier @ 2015-04-16  9:37 UTC (permalink / raw)
  To: linux-arm-kernel

On 16/04/15 10:32, Pavel Machek wrote:
> Hi!
> 
> Just tried booting 4.1-rc0 on n900 (commit
> 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.
> 
> Any ideas?

To such a question, the only answer I have is "Yes".

For a more useful reply, I'm afraid you'll have to ask a better question.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.1-rc0
  2015-04-16  9:37   ` Marc Zyngier
@ 2015-04-16 16:35     ` Tony Lindgren
  -1 siblings, 0 replies; 43+ messages in thread
From: Tony Lindgren @ 2015-04-16 16:35 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Pavel Machek, pali.rohar, sre, sre, kernel list,
	linux-arm-kernel, linux-omap, khilman, aaro.koskinen,
	ivo.g.dimitrov.75, patrikbachan

* Marc Zyngier <marc.zyngier@arm.com> [150416 02:38]:
> On 16/04/15 10:32, Pavel Machek wrote:
> > Hi!
> > 
> > Just tried booting 4.1-rc0 on n900 (commit
> > 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.
> > 
> > Any ideas?
> 
> To such a question, the only answer I have is "Yes".
> 
> For a more useful reply, I'm afraid you'll have to ask a better question.

Just tried it at 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085
and it boots just fine on my n900.

Regards,

Tony

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.1-rc0
@ 2015-04-16 16:35     ` Tony Lindgren
  0 siblings, 0 replies; 43+ messages in thread
From: Tony Lindgren @ 2015-04-16 16:35 UTC (permalink / raw)
  To: linux-arm-kernel

* Marc Zyngier <marc.zyngier@arm.com> [150416 02:38]:
> On 16/04/15 10:32, Pavel Machek wrote:
> > Hi!
> > 
> > Just tried booting 4.1-rc0 on n900 (commit
> > 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.
> > 
> > Any ideas?
> 
> To such a question, the only answer I have is "Yes".
> 
> For a more useful reply, I'm afraid you'll have to ask a better question.

Just tried it at 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085
and it boots just fine on my n900.

Regards,

Tony

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.1-rc0
  2015-04-16  9:32 ` Pavel Machek
@ 2015-04-16 16:45   ` Tyler Baker
  -1 siblings, 0 replies; 43+ messages in thread
From: Tyler Baker @ 2015-04-16 16:45 UTC (permalink / raw)
  To: Pavel Machek
  Cc: pali.rohar, sre, sre, kernel list, linux-arm-kernel, linux-omap,
	tony, Kevin's boot bot, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

On 16 April 2015 at 02:32, Pavel Machek <pavel@ucw.cz> wrote:
> Hi!
>
> Just tried booting 4.1-rc0 on n900 (commit
> 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.
>
> Any ideas?

Looks like DT and legacy booting are working fine in our labs. [0][1]

>                                                                         Pavel
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Tyler

[0] http://kernelci.org/boot/omap3-n900/
[1] http://kernelci.org/boot/omap3-n900,legacy/

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.1-rc0
@ 2015-04-16 16:45   ` Tyler Baker
  0 siblings, 0 replies; 43+ messages in thread
From: Tyler Baker @ 2015-04-16 16:45 UTC (permalink / raw)
  To: linux-arm-kernel

On 16 April 2015 at 02:32, Pavel Machek <pavel@ucw.cz> wrote:
> Hi!
>
> Just tried booting 4.1-rc0 on n900 (commit
> 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.
>
> Any ideas?

Looks like DT and legacy booting are working fine in our labs. [0][1]

>                                                                         Pavel
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Tyler

[0] http://kernelci.org/boot/omap3-n900/
[1] http://kernelci.org/boot/omap3-n900,legacy/

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.1-rc0
  2015-04-16 16:35     ` Tony Lindgren
@ 2015-04-26 10:15       ` Pavel Machek
  -1 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-04-26 10:15 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Marc Zyngier, pali.rohar, sre, sre, kernel list,
	linux-arm-kernel, linux-omap, khilman, aaro.koskinen,
	ivo.g.dimitrov.75, patrikbachan

On Thu 2015-04-16 09:35:54, Tony Lindgren wrote:
> * Marc Zyngier <marc.zyngier@arm.com> [150416 02:38]:
> > On 16/04/15 10:32, Pavel Machek wrote:
> > > Hi!
> > > 
> > > Just tried booting 4.1-rc0 on n900 (commit
> > > 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.
> > > 
> > > Any ideas?
> > 
> > To such a question, the only answer I have is "Yes".
> > 
> > For a more useful reply, I'm afraid you'll have to ask a better question.
> 
> Just tried it at 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085
> and it boots just fine on my n900.

Thanks for testing. I did some investigation, and found that twl4030
charger (that is not useful on n900) was breaking my boot. (And it may
be interaction with some of my local changes).

Best regards (and sorry for the noise),
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.1-rc0
@ 2015-04-26 10:15       ` Pavel Machek
  0 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-04-26 10:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu 2015-04-16 09:35:54, Tony Lindgren wrote:
> * Marc Zyngier <marc.zyngier@arm.com> [150416 02:38]:
> > On 16/04/15 10:32, Pavel Machek wrote:
> > > Hi!
> > > 
> > > Just tried booting 4.1-rc0 on n900 (commit
> > > 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.
> > > 
> > > Any ideas?
> > 
> > To such a question, the only answer I have is "Yes".
> > 
> > For a more useful reply, I'm afraid you'll have to ask a better question.
> 
> Just tried it at 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085
> and it boots just fine on my n900.

Thanks for testing. I did some investigation, and found that twl4030
charger (that is not useful on n900) was breaking my boot. (And it may
be interaction with some of my local changes).

Best regards (and sorry for the noise),
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.1-rc0
  2015-04-16 16:45   ` Tyler Baker
@ 2015-04-26 10:20     ` Pavel Machek
  -1 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-04-26 10:20 UTC (permalink / raw)
  To: Tyler Baker
  Cc: pali.rohar, sre, sre, kernel list, linux-arm-kernel, linux-omap,
	tony, Kevin's boot bot, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

Hi!

> > Just tried booting 4.1-rc0 on n900 (commit
> > 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.
> >
> > Any ideas?
> 
> Looks like DT and legacy booting are working fine in our
> labs. [0][1]

Interesting web pages, thanks.

I noticed that legacy booting indicates broken today, but... Is there
list of your targets somewhere?

Best regards,
									Pavel



> [0] http://kernelci.org/boot/omap3-n900/
> [1] http://kernelci.org/boot/omap3-n900,legacy/

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.1-rc0
@ 2015-04-26 10:20     ` Pavel Machek
  0 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-04-26 10:20 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

> > Just tried booting 4.1-rc0 on n900 (commit
> > 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.
> >
> > Any ideas?
> 
> Looks like DT and legacy booting are working fine in our
> labs. [0][1]

Interesting web pages, thanks.

I noticed that legacy booting indicates broken today, but... Is there
list of your targets somewhere?

Best regards,
									Pavel



> [0] http://kernelci.org/boot/omap3-n900/
> [1] http://kernelci.org/boot/omap3-n900,legacy/

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.1-rc0
  2015-04-26 10:20     ` Pavel Machek
@ 2015-04-27 18:58       ` Tyler Baker
  -1 siblings, 0 replies; 43+ messages in thread
From: Tyler Baker @ 2015-04-27 18:58 UTC (permalink / raw)
  To: Pavel Machek
  Cc: pali.rohar, sre, sre, kernel list, linux-arm-kernel, linux-omap,
	Tony Lindgren, Kevin's boot bot, aaro.koskinen,
	ivo.g.dimitrov.75, Patrik Bachan, Kevin Hilman

Hi Pavel,

On 26 April 2015 at 03:20, Pavel Machek <pavel@ucw.cz> wrote:
> Hi!
>
>> > Just tried booting 4.1-rc0 on n900 (commit
>> > 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.
>> >
>> > Any ideas?
>>
>> Looks like DT and legacy booting are working fine in our
>> labs. [0][1]
>
> Interesting web pages, thanks.

No problem.

>
> I noticed that legacy booting indicates broken today, but... Is there
> list of your targets somewhere?

It looks to have failed it's boot test on the stable v3.14 based LSK
today, however it is booting fine still on the upstream development
trees. You can also use a query[0] to refine your view if you would
like. The up to date list of targets can be found here[1] and if
interested in receiving email reports you can subscribe here[2].

>
> Best regards,
>                                                                         Pavel
>
>
>
>> [0] http://kernelci.org/boot/omap3-n900/
>> [1] http://kernelci.org/boot/omap3-n900,legacy/
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Cheers,

Tyler

[0] http://kernelci.org/boot/?n900&fail
[1] https://wiki.linaro.org/ProductTechnology/kernelci.org
[2] https://lists.linaro.org/mailman/listinfo/kernel-build-reports

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.1-rc0
@ 2015-04-27 18:58       ` Tyler Baker
  0 siblings, 0 replies; 43+ messages in thread
From: Tyler Baker @ 2015-04-27 18:58 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Pavel,

On 26 April 2015 at 03:20, Pavel Machek <pavel@ucw.cz> wrote:
> Hi!
>
>> > Just tried booting 4.1-rc0 on n900 (commit
>> > 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken.
>> >
>> > Any ideas?
>>
>> Looks like DT and legacy booting are working fine in our
>> labs. [0][1]
>
> Interesting web pages, thanks.

No problem.

>
> I noticed that legacy booting indicates broken today, but... Is there
> list of your targets somewhere?

It looks to have failed it's boot test on the stable v3.14 based LSK
today, however it is booting fine still on the upstream development
trees. You can also use a query[0] to refine your view if you would
like. The up to date list of targets can be found here[1] and if
interested in receiving email reports you can subscribe here[2].

>
> Best regards,
>                                                                         Pavel
>
>
>
>> [0] http://kernelci.org/boot/omap3-n900/
>> [1] http://kernelci.org/boot/omap3-n900,legacy/
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Cheers,

Tyler

[0] http://kernelci.org/boot/?n900&fail
[1] https://wiki.linaro.org/ProductTechnology/kernelci.org
[2] https://lists.linaro.org/mailman/listinfo/kernel-build-reports

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
  2015-04-16  9:32 ` Pavel Machek
                   ` (2 preceding siblings ...)
  (?)
@ 2015-06-29  9:11 ` Pavel Machek
  2015-06-29 10:45     ` Pali Rohár
  2015-06-30  9:24     ` Pavel Machek
  -1 siblings, 2 replies; 43+ messages in thread
From: Pavel Machek @ 2015-06-29  9:11 UTC (permalink / raw)
  To: pali.rohar, sre, sre, kernel list, linux-arm-kernel, linux-omap,
	tony, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan

Hi!

Just tried booting 4.2-rc0 on n900 (commit
4a10a91756ef381bced7b88cfb9232f660b92d93) and it is broken. Previous
-rc0 version worked. This time, there's some output on console, but
too fast for me to read.

It seems oopses happen before mounting root. If you have serial
console, they should be easy to see.

I tried booting same kernel in qemu, but it seems to work ok there.

Any ideas? Thanks,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-06-29  9:11 ` n900 in 4.2-rc0: repeating oopses Pavel Machek
@ 2015-06-29 10:45     ` Pali Rohár
  2015-06-30  9:24     ` Pavel Machek
  1 sibling, 0 replies; 43+ messages in thread
From: Pali Rohár @ 2015-06-29 10:45 UTC (permalink / raw)
  To: Pavel Machek
  Cc: sre, sre, kernel list, linux-arm-kernel, linux-omap, tony,
	khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan

Hi!

On Monday 29 June 2015 11:11:46 Pavel Machek wrote:
> Hi!
> 
> Just tried booting 4.2-rc0 on n900 (commit
> 4a10a91756ef381bced7b88cfb9232f660b92d93) and it is broken. Previous
> -rc0 version worked. This time, there's some output on console, but
> too fast for me to read.
> 

What happen after errors are reported? Maybe you can enable R&D mode and
disable HW watchdogs to prevent device reboots...

> It seems oopses happen before mounting root. If you have serial
> console, they should be easy to see.
> 
> I tried booting same kernel in qemu, but it seems to work ok there.
> 

Hm... Maybe problem with HS code?

By chance, can you try to disable (omap) sham node in n900 DT file?
(same way like omap aes is disabled)

> Any ideas? Thanks,
> 									Pavel

-- 
Pali Rohár
pali.rohar@gmail.com

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-06-29 10:45     ` Pali Rohár
  0 siblings, 0 replies; 43+ messages in thread
From: Pali Rohár @ 2015-06-29 10:45 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

On Monday 29 June 2015 11:11:46 Pavel Machek wrote:
> Hi!
> 
> Just tried booting 4.2-rc0 on n900 (commit
> 4a10a91756ef381bced7b88cfb9232f660b92d93) and it is broken. Previous
> -rc0 version worked. This time, there's some output on console, but
> too fast for me to read.
> 

What happen after errors are reported? Maybe you can enable R&D mode and
disable HW watchdogs to prevent device reboots...

> It seems oopses happen before mounting root. If you have serial
> console, they should be easy to see.
> 
> I tried booting same kernel in qemu, but it seems to work ok there.
> 

Hm... Maybe problem with HS code?

By chance, can you try to disable (omap) sham node in n900 DT file?
(same way like omap aes is disabled)

> Any ideas? Thanks,
> 									Pavel

-- 
Pali Roh?r
pali.rohar at gmail.com

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-06-29  9:11 ` n900 in 4.2-rc0: repeating oopses Pavel Machek
@ 2015-06-30  9:24     ` Pavel Machek
  2015-06-30  9:24     ` Pavel Machek
  1 sibling, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-06-30  9:24 UTC (permalink / raw)
  To: pali.rohar, sre, sre, kernel list, linux-arm-kernel, linux-omap,
	tony, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan

Hi!

> Just tried booting 4.2-rc0 on n900 (commit
> 4a10a91756ef381bced7b88cfb9232f660b92d93) and it is broken. Previous
> -rc0 version worked. This time, there's some output on console, but
> too fast for me to read.
> 
> It seems oopses happen before mounting root. If you have serial
> console, they should be easy to see.

I tried again according to pali's instructions, and it is still
broken the same way. Any other ideas? Does it work for you?

diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index 69a40cf..ff6f2bf 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -570,6 +570,7 @@
 			interrupts = <49>;
 			dmas = <&sdma 69>;
 			dma-names = "rx";
+			status = "disabled";
 		};
 
 		smartreflex_core: smartreflex@480cb000 {

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply related	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-06-30  9:24     ` Pavel Machek
  0 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-06-30  9:24 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

> Just tried booting 4.2-rc0 on n900 (commit
> 4a10a91756ef381bced7b88cfb9232f660b92d93) and it is broken. Previous
> -rc0 version worked. This time, there's some output on console, but
> too fast for me to read.
> 
> It seems oopses happen before mounting root. If you have serial
> console, they should be easy to see.

I tried again according to pali's instructions, and it is still
broken the same way. Any other ideas? Does it work for you?

diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index 69a40cf..ff6f2bf 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -570,6 +570,7 @@
 			interrupts = <49>;
 			dmas = <&sdma 69>;
 			dma-names = "rx";
+			status = "disabled";
 		};
 
 		smartreflex_core: smartreflex at 480cb000 {

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply related	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-06-30  9:24     ` Pavel Machek
@ 2015-06-30  9:53       ` Pali Rohár
  -1 siblings, 0 replies; 43+ messages in thread
From: Pali Rohár @ 2015-06-30  9:53 UTC (permalink / raw)
  To: Pavel Machek
  Cc: sre, sre, kernel list, linux-arm-kernel, linux-omap, tony,
	khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan

On Tuesday 30 June 2015 11:24:04 Pavel Machek wrote:
> Hi!
> 
> > Just tried booting 4.2-rc0 on n900 (commit
> > 4a10a91756ef381bced7b88cfb9232f660b92d93) and it is broken. Previous
> > -rc0 version worked. This time, there's some output on console, but
> > too fast for me to read.
> > 
> > It seems oopses happen before mounting root. If you have serial
> > console, they should be easy to see.
> 
> I tried again according to pali's instructions, and it is still
> broken the same way. Any other ideas? Does it work for you?
> 
> diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
> index 69a40cf..ff6f2bf 100644
> --- a/arch/arm/boot/dts/omap3.dtsi
> +++ b/arch/arm/boot/dts/omap3.dtsi
> @@ -570,6 +570,7 @@
>  			interrupts = <49>;
>  			dmas = <&sdma 69>;
>  			dma-names = "rx";
> +			status = "disabled";
>  		};
>  
>  		smartreflex_core: smartreflex@480cb000 {
> 
> 									Pavel
> 

Ok, then it is not problem with omap crypto and HS device...

I will try 4.2 at the end of week.

-- 
Pali Rohár
pali.rohar@gmail.com

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-06-30  9:53       ` Pali Rohár
  0 siblings, 0 replies; 43+ messages in thread
From: Pali Rohár @ 2015-06-30  9:53 UTC (permalink / raw)
  To: linux-arm-kernel

On Tuesday 30 June 2015 11:24:04 Pavel Machek wrote:
> Hi!
> 
> > Just tried booting 4.2-rc0 on n900 (commit
> > 4a10a91756ef381bced7b88cfb9232f660b92d93) and it is broken. Previous
> > -rc0 version worked. This time, there's some output on console, but
> > too fast for me to read.
> > 
> > It seems oopses happen before mounting root. If you have serial
> > console, they should be easy to see.
> 
> I tried again according to pali's instructions, and it is still
> broken the same way. Any other ideas? Does it work for you?
> 
> diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
> index 69a40cf..ff6f2bf 100644
> --- a/arch/arm/boot/dts/omap3.dtsi
> +++ b/arch/arm/boot/dts/omap3.dtsi
> @@ -570,6 +570,7 @@
>  			interrupts = <49>;
>  			dmas = <&sdma 69>;
>  			dma-names = "rx";
> +			status = "disabled";
>  		};
>  
>  		smartreflex_core: smartreflex at 480cb000 {
> 
> 									Pavel
> 

Ok, then it is not problem with omap crypto and HS device...

I will try 4.2 at the end of week.

-- 
Pali Roh?r
pali.rohar at gmail.com

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-06-30  9:53       ` Pali Rohár
@ 2015-07-01  6:59         ` Tony Lindgren
  -1 siblings, 0 replies; 43+ messages in thread
From: Tony Lindgren @ 2015-07-01  6:59 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Pavel Machek, sre, sre, kernel list, linux-arm-kernel,
	linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

* Pali Rohár <pali.rohar@gmail.com> [150630 02:55]:
> 
> I will try 4.2 at the end of week.

At least today's 4.1.0-11549-g05a8256 boots just fine on my n900.

Regards,

Tony

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-07-01  6:59         ` Tony Lindgren
  0 siblings, 0 replies; 43+ messages in thread
From: Tony Lindgren @ 2015-07-01  6:59 UTC (permalink / raw)
  To: linux-arm-kernel

* Pali Roh?r <pali.rohar@gmail.com> [150630 02:55]:
> 
> I will try 4.2 at the end of week.

At least today's 4.1.0-11549-g05a8256 boots just fine on my n900.

Regards,

Tony

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-07-01  6:59         ` Tony Lindgren
@ 2015-07-01  7:22           ` Pali Rohár
  -1 siblings, 0 replies; 43+ messages in thread
From: Pali Rohár @ 2015-07-01  7:22 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Tony Lindgren, sre, sre, kernel list, linux-arm-kernel,
	linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

On Tuesday 30 June 2015 23:59:33 Tony Lindgren wrote:
> * Pali Rohár <pali.rohar@gmail.com> [150630 02:55]:
> > 
> > I will try 4.2 at the end of week.
> 
> At least today's 4.1.0-11549-g05a8256 boots just fine on my n900.
> 
> Regards,
> 
> Tony

So, Pavel can you re-test? Maybe there can be problem with some driver
which Tony did not compiled into zImage? Just speculation...

-- 
Pali Rohár
pali.rohar@gmail.com

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-07-01  7:22           ` Pali Rohár
  0 siblings, 0 replies; 43+ messages in thread
From: Pali Rohár @ 2015-07-01  7:22 UTC (permalink / raw)
  To: linux-arm-kernel

On Tuesday 30 June 2015 23:59:33 Tony Lindgren wrote:
> * Pali Roh?r <pali.rohar@gmail.com> [150630 02:55]:
> > 
> > I will try 4.2 at the end of week.
> 
> At least today's 4.1.0-11549-g05a8256 boots just fine on my n900.
> 
> Regards,
> 
> Tony

So, Pavel can you re-test? Maybe there can be problem with some driver
which Tony did not compiled into zImage? Just speculation...

-- 
Pali Roh?r
pali.rohar at gmail.com

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-07-01  7:22           ` Pali Rohár
@ 2015-07-01  9:59             ` Pavel Machek
  -1 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-07-01  9:59 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Tony Lindgren, sre, sre, kernel list, linux-arm-kernel,
	linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

On Wed 2015-07-01 09:22:55, Pali Rohár wrote:
> On Tuesday 30 June 2015 23:59:33 Tony Lindgren wrote:
> > * Pali Rohár <pali.rohar@gmail.com> [150630 02:55]:
> > > 
> > > I will try 4.2 at the end of week.
> > 
> > At least today's 4.1.0-11549-g05a8256 boots just fine on my n900.
> > 
> > Regards,
> > 
> > Tony
> 
> So, Pavel can you re-test? Maybe there can be problem with some driver
> which Tony did not compiled into zImage? Just speculation...

I re-tested with today's git, and it seems to boot. Thanks for help...

Now. "echo mem > /sys/power/state" is broken, as in "returns
immediately in about 50% cases". The messages are

Powerdomain (per_pwrdm) didn't enter target state 1
Powerdomain (core_pwerdm) didn't enter target state 1

Any ideas? Thanks,

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-07-01  9:59             ` Pavel Machek
  0 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-07-01  9:59 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed 2015-07-01 09:22:55, Pali Roh?r wrote:
> On Tuesday 30 June 2015 23:59:33 Tony Lindgren wrote:
> > * Pali Roh?r <pali.rohar@gmail.com> [150630 02:55]:
> > > 
> > > I will try 4.2 at the end of week.
> > 
> > At least today's 4.1.0-11549-g05a8256 boots just fine on my n900.
> > 
> > Regards,
> > 
> > Tony
> 
> So, Pavel can you re-test? Maybe there can be problem with some driver
> which Tony did not compiled into zImage? Just speculation...

I re-tested with today's git, and it seems to boot. Thanks for help...

Now. "echo mem > /sys/power/state" is broken, as in "returns
immediately in about 50% cases". The messages are

Powerdomain (per_pwrdm) didn't enter target state 1
Powerdomain (core_pwerdm) didn't enter target state 1

Any ideas? Thanks,

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-07-01  9:59             ` Pavel Machek
@ 2015-07-01 10:34               ` Tony Lindgren
  -1 siblings, 0 replies; 43+ messages in thread
From: Tony Lindgren @ 2015-07-01 10:34 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Pali Rohár, sre, sre, kernel list, linux-arm-kernel,
	linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

* Pavel Machek <pavel@ucw.cz> [150701 03:02]:
> On Wed 2015-07-01 09:22:55, Pali Rohár wrote:
> > On Tuesday 30 June 2015 23:59:33 Tony Lindgren wrote:
> > > * Pali Rohár <pali.rohar@gmail.com> [150630 02:55]:
> > > > 
> > > > I will try 4.2 at the end of week.
> > > 
> > > At least today's 4.1.0-11549-g05a8256 boots just fine on my n900.
> > > 
> > > Regards,
> > > 
> > > Tony
> > 
> > So, Pavel can you re-test? Maybe there can be problem with some driver
> > which Tony did not compiled into zImage? Just speculation...
> 
> I re-tested with today's git, and it seems to boot. Thanks for help...

OK good to hear.
 
> Now. "echo mem > /sys/power/state" is broken, as in "returns
> immediately in about 50% cases". The messages are
> 
> Powerdomain (per_pwrdm) didn't enter target state 1
> Powerdomain (core_pwerdm) didn't enter target state 1
> 
> Any ideas? Thanks,

Works for me after enabling the idle timeouts with the following
script and blanking the screen and disconnecting USB:

Also both keyboard LEDs should start blinking after the idle
timeout with screen blanked and USB disconnected. If not, you
have some module loaded that blocks the deeper idle states.

Regrads,

Tony

8< ----
#!/bin/bash

modprobe leds-gpio
modprobe ledtrig-default-on

uarts=$(find /sys/class/tty/ttyO*/device/power/ -type d)
for uart in $uarts; do
        echo 3000 > $uart/autosuspend_delay_ms
        #echo -1 > $uart/autosuspend_delay_ms
done

uarts=$(find /sys/class/tty/ttyO*/power/ -type d)
for uart in $uarts; do
        echo enabled > $uart/wakeup
        echo auto > $uart/control
done

echo 255 > /sys/class/backlight/acx565akm/brightness
echo 1 > /sys/devices/platform/omapfb/graphics/fb0/blank

echo 1 > /sys/kernel/debug/pm_debug/enable_off_mode

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-07-01 10:34               ` Tony Lindgren
  0 siblings, 0 replies; 43+ messages in thread
From: Tony Lindgren @ 2015-07-01 10:34 UTC (permalink / raw)
  To: linux-arm-kernel

* Pavel Machek <pavel@ucw.cz> [150701 03:02]:
> On Wed 2015-07-01 09:22:55, Pali Roh?r wrote:
> > On Tuesday 30 June 2015 23:59:33 Tony Lindgren wrote:
> > > * Pali Roh?r <pali.rohar@gmail.com> [150630 02:55]:
> > > > 
> > > > I will try 4.2 at the end of week.
> > > 
> > > At least today's 4.1.0-11549-g05a8256 boots just fine on my n900.
> > > 
> > > Regards,
> > > 
> > > Tony
> > 
> > So, Pavel can you re-test? Maybe there can be problem with some driver
> > which Tony did not compiled into zImage? Just speculation...
> 
> I re-tested with today's git, and it seems to boot. Thanks for help...

OK good to hear.
 
> Now. "echo mem > /sys/power/state" is broken, as in "returns
> immediately in about 50% cases". The messages are
> 
> Powerdomain (per_pwrdm) didn't enter target state 1
> Powerdomain (core_pwerdm) didn't enter target state 1
> 
> Any ideas? Thanks,

Works for me after enabling the idle timeouts with the following
script and blanking the screen and disconnecting USB:

Also both keyboard LEDs should start blinking after the idle
timeout with screen blanked and USB disconnected. If not, you
have some module loaded that blocks the deeper idle states.

Regrads,

Tony

8< ----
#!/bin/bash

modprobe leds-gpio
modprobe ledtrig-default-on

uarts=$(find /sys/class/tty/ttyO*/device/power/ -type d)
for uart in $uarts; do
        echo 3000 > $uart/autosuspend_delay_ms
        #echo -1 > $uart/autosuspend_delay_ms
done

uarts=$(find /sys/class/tty/ttyO*/power/ -type d)
for uart in $uarts; do
        echo enabled > $uart/wakeup
        echo auto > $uart/control
done

echo 255 > /sys/class/backlight/acx565akm/brightness
echo 1 > /sys/devices/platform/omapfb/graphics/fb0/blank

echo 1 > /sys/kernel/debug/pm_debug/enable_off_mode

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-07-01 10:34               ` Tony Lindgren
@ 2015-07-01 13:09                 ` Pavel Machek
  -1 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-07-01 13:09 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Pali Rohár, sre, sre, kernel list, linux-arm-kernel,
	linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

On Wed 2015-07-01 03:34:22, Tony Lindgren wrote:
> * Pavel Machek <pavel@ucw.cz> [150701 03:02]:
> > On Wed 2015-07-01 09:22:55, Pali Rohár wrote:
> > > On Tuesday 30 June 2015 23:59:33 Tony Lindgren wrote:
> > > > * Pali Rohár <pali.rohar@gmail.com> [150630 02:55]:
> > > > > 
> > > > > I will try 4.2 at the end of week.
> > > > 
> > > > At least today's 4.1.0-11549-g05a8256 boots just fine on my n900.
> > > > 
> > > > Regards,
> > > > 
> > > > Tony
> > > 
> > > So, Pavel can you re-test? Maybe there can be problem with some driver
> > > which Tony did not compiled into zImage? Just speculation...
> > 
> > I re-tested with today's git, and it seems to boot. Thanks for help...
> 
> OK good to hear.
>  
> > Now. "echo mem > /sys/power/state" is broken, as in "returns
> > immediately in about 50% cases". The messages are
> > 
> > Powerdomain (per_pwrdm) didn't enter target state 1
> > Powerdomain (core_pwerdm) didn't enter target state 1
> > 
> > Any ideas? Thanks,
> 
> Works for me after enabling the idle timeouts with the following
> script and blanking the screen and disconnecting USB:

Um. I'm forcing suspend with "echo mem > /sys/power/state" . (It
worked in 4.1). That should just make it sleep, no autosuspend-related
trickery... (But yes, I guess I should set up the leds and try
autosuspend, too.)

Regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-07-01 13:09                 ` Pavel Machek
  0 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-07-01 13:09 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed 2015-07-01 03:34:22, Tony Lindgren wrote:
> * Pavel Machek <pavel@ucw.cz> [150701 03:02]:
> > On Wed 2015-07-01 09:22:55, Pali Roh?r wrote:
> > > On Tuesday 30 June 2015 23:59:33 Tony Lindgren wrote:
> > > > * Pali Roh?r <pali.rohar@gmail.com> [150630 02:55]:
> > > > > 
> > > > > I will try 4.2 at the end of week.
> > > > 
> > > > At least today's 4.1.0-11549-g05a8256 boots just fine on my n900.
> > > > 
> > > > Regards,
> > > > 
> > > > Tony
> > > 
> > > So, Pavel can you re-test? Maybe there can be problem with some driver
> > > which Tony did not compiled into zImage? Just speculation...
> > 
> > I re-tested with today's git, and it seems to boot. Thanks for help...
> 
> OK good to hear.
>  
> > Now. "echo mem > /sys/power/state" is broken, as in "returns
> > immediately in about 50% cases". The messages are
> > 
> > Powerdomain (per_pwrdm) didn't enter target state 1
> > Powerdomain (core_pwerdm) didn't enter target state 1
> > 
> > Any ideas? Thanks,
> 
> Works for me after enabling the idle timeouts with the following
> script and blanking the screen and disconnecting USB:

Um. I'm forcing suspend with "echo mem > /sys/power/state" . (It
worked in 4.1). That should just make it sleep, no autosuspend-related
trickery... (But yes, I guess I should set up the leds and try
autosuspend, too.)

Regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-07-01 13:09                 ` Pavel Machek
@ 2015-07-02  6:16                   ` Tony Lindgren
  -1 siblings, 0 replies; 43+ messages in thread
From: Tony Lindgren @ 2015-07-02  6:16 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Pali Rohár, sre, sre, kernel list, linux-arm-kernel,
	linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

* Pavel Machek <pavel@ucw.cz> [150701 06:11]:
> On Wed 2015-07-01 03:34:22, Tony Lindgren wrote:
> > 
> > Works for me after enabling the idle timeouts with the following
> > script and blanking the screen and disconnecting USB:
> 
> Um. I'm forcing suspend with "echo mem > /sys/power/state" . (It
> worked in 4.1). That should just make it sleep, no autosuspend-related
> trickery... (But yes, I guess I should set up the leds and try
> autosuspend, too.)

That too works just fine for me with omap2plus_defconfig after
echo enabled > /sys/class/tty/ttyO2/power/wakeup as I have n900
in my test rack.

You probably have some additional drivers enabled?

Regards,

Tony

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-07-02  6:16                   ` Tony Lindgren
  0 siblings, 0 replies; 43+ messages in thread
From: Tony Lindgren @ 2015-07-02  6:16 UTC (permalink / raw)
  To: linux-arm-kernel

* Pavel Machek <pavel@ucw.cz> [150701 06:11]:
> On Wed 2015-07-01 03:34:22, Tony Lindgren wrote:
> > 
> > Works for me after enabling the idle timeouts with the following
> > script and blanking the screen and disconnecting USB:
> 
> Um. I'm forcing suspend with "echo mem > /sys/power/state" . (It
> worked in 4.1). That should just make it sleep, no autosuspend-related
> trickery... (But yes, I guess I should set up the leds and try
> autosuspend, too.)

That too works just fine for me with omap2plus_defconfig after
echo enabled > /sys/class/tty/ttyO2/power/wakeup as I have n900
in my test rack.

You probably have some additional drivers enabled?

Regards,

Tony

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-07-01 10:34               ` Tony Lindgren
@ 2015-07-02 20:25                 ` Pavel Machek
  -1 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-07-02 20:25 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Pali Rohár, sre, sre, kernel list, linux-arm-kernel,
	linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

On Wed 2015-07-01 03:34:22, Tony Lindgren wrote:
> * Pavel Machek <pavel@ucw.cz> [150701 03:02]:
> > On Wed 2015-07-01 09:22:55, Pali Rohár wrote:
> > > On Tuesday 30 June 2015 23:59:33 Tony Lindgren wrote:
> > > > * Pali Rohár <pali.rohar@gmail.com> [150630 02:55]:
> > > > > 
> > > > > I will try 4.2 at the end of week.
> > > > 
> > > > At least today's 4.1.0-11549-g05a8256 boots just fine on my n900.
> > > > 
> > > > Regards,
> > > > 
> > > > Tony
> > > 
> > > So, Pavel can you re-test? Maybe there can be problem with some driver
> > > which Tony did not compiled into zImage? Just speculation...
> > 
> > I re-tested with today's git, and it seems to boot. Thanks for help...
> 
> OK good to hear.

Hmm. Tried to toggle brightness on 4.1, and after few changes:

root@n900:~# echo 255 > /sys/class/backlight/acx565akm/brightness
root@n900:~# echo 120 > /sys/class/backlight/acx565akm/brightness
root@n900:~# echo 10 > /sys/class/backlight/acx565akm/brightness
root@n900:~# echo 1 > /sys/class/backlight/acx565akm/brightness



^C^C
^Z

seems like acx565akm hung :-(.
									Pavel
									
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-07-02 20:25                 ` Pavel Machek
  0 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-07-02 20:25 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed 2015-07-01 03:34:22, Tony Lindgren wrote:
> * Pavel Machek <pavel@ucw.cz> [150701 03:02]:
> > On Wed 2015-07-01 09:22:55, Pali Roh?r wrote:
> > > On Tuesday 30 June 2015 23:59:33 Tony Lindgren wrote:
> > > > * Pali Roh?r <pali.rohar@gmail.com> [150630 02:55]:
> > > > > 
> > > > > I will try 4.2 at the end of week.
> > > > 
> > > > At least today's 4.1.0-11549-g05a8256 boots just fine on my n900.
> > > > 
> > > > Regards,
> > > > 
> > > > Tony
> > > 
> > > So, Pavel can you re-test? Maybe there can be problem with some driver
> > > which Tony did not compiled into zImage? Just speculation...
> > 
> > I re-tested with today's git, and it seems to boot. Thanks for help...
> 
> OK good to hear.

Hmm. Tried to toggle brightness on 4.1, and after few changes:

root at n900:~# echo 255 > /sys/class/backlight/acx565akm/brightness
root at n900:~# echo 120 > /sys/class/backlight/acx565akm/brightness
root at n900:~# echo 10 > /sys/class/backlight/acx565akm/brightness
root at n900:~# echo 1 > /sys/class/backlight/acx565akm/brightness



^C^C
^Z

seems like acx565akm hung :-(.
									Pavel
									
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-07-01 10:34               ` Tony Lindgren
@ 2015-07-26  9:26                 ` Pavel Machek
  -1 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-07-26  9:26 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Pali Rohár, sre, sre, kernel list, linux-arm-kernel,
	linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

Hi!

> > > So, Pavel can you re-test? Maybe there can be problem with some driver
> > > which Tony did not compiled into zImage? Just speculation...
> > 
> > I re-tested with today's git, and it seems to boot. Thanks for help...
> 
> OK good to hear.
>  
> > Now. "echo mem > /sys/power/state" is broken, as in "returns
> > immediately in about 50% cases". The messages are
> > 
> > Powerdomain (per_pwrdm) didn't enter target state 1
> > Powerdomain (core_pwerdm) didn't enter target state 1
> > 
> > Any ideas? Thanks,
> 
> Works for me after enabling the idle timeouts with the following
> script and blanking the screen and disconnecting USB:
> 
> Also both keyboard LEDs should start blinking after the idle
> timeout with screen blanked and USB disconnected. If not, you
> have some module loaded that blocks the deeper idle states.

Ok, tried that, I had to do:

 cd /sys/class/gpio
 echo 162 > export
 cd gpio162
 echo out > direction
 echo 1 > value

to get the debug lights to work. But I could not get those leds to
blink.

> modprobe leds-gpio
> modprobe ledtrig-default-on

Is this actually neccessary/relevant?

> echo 255 > /sys/class/backlight/acx565akm/brightness

And this?

Thanks,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-07-26  9:26                 ` Pavel Machek
  0 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-07-26  9:26 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

> > > So, Pavel can you re-test? Maybe there can be problem with some driver
> > > which Tony did not compiled into zImage? Just speculation...
> > 
> > I re-tested with today's git, and it seems to boot. Thanks for help...
> 
> OK good to hear.
>  
> > Now. "echo mem > /sys/power/state" is broken, as in "returns
> > immediately in about 50% cases". The messages are
> > 
> > Powerdomain (per_pwrdm) didn't enter target state 1
> > Powerdomain (core_pwerdm) didn't enter target state 1
> > 
> > Any ideas? Thanks,
> 
> Works for me after enabling the idle timeouts with the following
> script and blanking the screen and disconnecting USB:
> 
> Also both keyboard LEDs should start blinking after the idle
> timeout with screen blanked and USB disconnected. If not, you
> have some module loaded that blocks the deeper idle states.

Ok, tried that, I had to do:

 cd /sys/class/gpio
 echo 162 > export
 cd gpio162
 echo out > direction
 echo 1 > value

to get the debug lights to work. But I could not get those leds to
blink.

> modprobe leds-gpio
> modprobe ledtrig-default-on

Is this actually neccessary/relevant?

> echo 255 > /sys/class/backlight/acx565akm/brightness

And this?

Thanks,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-07-02  6:16                   ` Tony Lindgren
@ 2015-07-26 22:31                     ` Pavel Machek
  -1 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-07-26 22:31 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Pali Rohár, sre, sre, kernel list, linux-arm-kernel,
	linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

On Wed 2015-07-01 23:16:21, Tony Lindgren wrote:
> * Pavel Machek <pavel@ucw.cz> [150701 06:11]:
> > On Wed 2015-07-01 03:34:22, Tony Lindgren wrote:
> > > 
> > > Works for me after enabling the idle timeouts with the following
> > > script and blanking the screen and disconnecting USB:
> > 
> > Um. I'm forcing suspend with "echo mem > /sys/power/state" . (It
> > worked in 4.1). That should just make it sleep, no autosuspend-related
> > trickery... (But yes, I guess I should set up the leds and try
> > autosuspend, too.)
> 
> That too works just fine for me with omap2plus_defconfig after
> echo enabled > /sys/class/tty/ttyO2/power/wakeup as I have n900
> in my test rack.

Going through that. AFAICT, you are not using devicetree on n900?

CONFIG_MACH_NOKIA_RX51=y

Unfortunately, not having serials, it is tricky to get any output from
that cnofiguration, so I don't know what I got wrong...
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-07-26 22:31                     ` Pavel Machek
  0 siblings, 0 replies; 43+ messages in thread
From: Pavel Machek @ 2015-07-26 22:31 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed 2015-07-01 23:16:21, Tony Lindgren wrote:
> * Pavel Machek <pavel@ucw.cz> [150701 06:11]:
> > On Wed 2015-07-01 03:34:22, Tony Lindgren wrote:
> > > 
> > > Works for me after enabling the idle timeouts with the following
> > > script and blanking the screen and disconnecting USB:
> > 
> > Um. I'm forcing suspend with "echo mem > /sys/power/state" . (It
> > worked in 4.1). That should just make it sleep, no autosuspend-related
> > trickery... (But yes, I guess I should set up the leds and try
> > autosuspend, too.)
> 
> That too works just fine for me with omap2plus_defconfig after
> echo enabled > /sys/class/tty/ttyO2/power/wakeup as I have n900
> in my test rack.

Going through that. AFAICT, you are not using devicetree on n900?

CONFIG_MACH_NOKIA_RX51=y

Unfortunately, not having serials, it is tricky to get any output from
that cnofiguration, so I don't know what I got wrong...
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-07-26 22:31                     ` Pavel Machek
@ 2015-07-27  7:12                       ` Pali Rohár
  -1 siblings, 0 replies; 43+ messages in thread
From: Pali Rohár @ 2015-07-27  7:12 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Tony Lindgren, sre, sre, kernel list, linux-arm-kernel,
	linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

On Monday 27 July 2015 00:31:19 Pavel Machek wrote:
> On Wed 2015-07-01 23:16:21, Tony Lindgren wrote:
> > * Pavel Machek <pavel@ucw.cz> [150701 06:11]:
> > > On Wed 2015-07-01 03:34:22, Tony Lindgren wrote:
> > > > 
> > > > Works for me after enabling the idle timeouts with the following
> > > > script and blanking the screen and disconnecting USB:
> > > 
> > > Um. I'm forcing suspend with "echo mem > /sys/power/state" . (It
> > > worked in 4.1). That should just make it sleep, no autosuspend-related
> > > trickery... (But yes, I guess I should set up the leds and try
> > > autosuspend, too.)
> > 
> > That too works just fine for me with omap2plus_defconfig after
> > echo enabled > /sys/class/tty/ttyO2/power/wakeup as I have n900
> > in my test rack.
> 
> Going through that. AFAICT, you are not using devicetree on n900?
> 
> CONFIG_MACH_NOKIA_RX51=y
> 
> Unfortunately, not having serials, it is tricky to get any output from
> that cnofiguration, so I don't know what I got wrong...
> 									Pavel

You can try to test it in qemu. It has emulation also of serial.

-- 
Pali Rohár
pali.rohar@gmail.com

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-07-27  7:12                       ` Pali Rohár
  0 siblings, 0 replies; 43+ messages in thread
From: Pali Rohár @ 2015-07-27  7:12 UTC (permalink / raw)
  To: linux-arm-kernel

On Monday 27 July 2015 00:31:19 Pavel Machek wrote:
> On Wed 2015-07-01 23:16:21, Tony Lindgren wrote:
> > * Pavel Machek <pavel@ucw.cz> [150701 06:11]:
> > > On Wed 2015-07-01 03:34:22, Tony Lindgren wrote:
> > > > 
> > > > Works for me after enabling the idle timeouts with the following
> > > > script and blanking the screen and disconnecting USB:
> > > 
> > > Um. I'm forcing suspend with "echo mem > /sys/power/state" . (It
> > > worked in 4.1). That should just make it sleep, no autosuspend-related
> > > trickery... (But yes, I guess I should set up the leds and try
> > > autosuspend, too.)
> > 
> > That too works just fine for me with omap2plus_defconfig after
> > echo enabled > /sys/class/tty/ttyO2/power/wakeup as I have n900
> > in my test rack.
> 
> Going through that. AFAICT, you are not using devicetree on n900?
> 
> CONFIG_MACH_NOKIA_RX51=y
> 
> Unfortunately, not having serials, it is tricky to get any output from
> that cnofiguration, so I don't know what I got wrong...
> 									Pavel

You can try to test it in qemu. It has emulation also of serial.

-- 
Pali Roh?r
pali.rohar at gmail.com

^ permalink raw reply	[flat|nested] 43+ messages in thread

* Re: n900 in 4.2-rc0: repeating oopses
  2015-07-26  9:26                 ` Pavel Machek
@ 2015-07-28  6:01                   ` Tony Lindgren
  -1 siblings, 0 replies; 43+ messages in thread
From: Tony Lindgren @ 2015-07-28  6:01 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Pali Rohár, sre, sre, kernel list, linux-arm-kernel,
	linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75,
	patrikbachan

* Pavel Machek <pavel@ucw.cz> [150726 02:29]:
> Hi!
> 
> > > > So, Pavel can you re-test? Maybe there can be problem with some driver
> > > > which Tony did not compiled into zImage? Just speculation...
> > > 
> > > I re-tested with today's git, and it seems to boot. Thanks for help...
> > 
> > OK good to hear.
> >  
> > > Now. "echo mem > /sys/power/state" is broken, as in "returns
> > > immediately in about 50% cases". The messages are
> > > 
> > > Powerdomain (per_pwrdm) didn't enter target state 1
> > > Powerdomain (core_pwerdm) didn't enter target state 1
> > > 
> > > Any ideas? Thanks,
> > 
> > Works for me after enabling the idle timeouts with the following
> > script and blanking the screen and disconnecting USB:
> > 
> > Also both keyboard LEDs should start blinking after the idle
> > timeout with screen blanked and USB disconnected. If not, you
> > have some module loaded that blocks the deeper idle states.
> 
> Ok, tried that, I had to do:
> 
>  cd /sys/class/gpio
>  echo 162 > export
>  cd gpio162
>  echo out > direction
>  echo 1 > value
> 
> to get the debug lights to work. But I could not get those leds to
> blink.

I think that's the GPIO override for them? And in that case the
PMIC sys_clkreq and sys_off_mode signals are not cutting off the
LEDs I believe.

Also not that any driver blocking the deeper idle states will
also cause the LEDs to stay on. And USB cable being plugged in
too at least for core off.. So you if you're using NFSroot over
USB Ethernet, you probably can only see the left LED ever go off.
 
> > modprobe leds-gpio
> > modprobe ledtrig-default-on
> 
> Is this actually neccessary/relevant?

Yes at least with omap2plus_defconfig.
 
> > echo 255 > /sys/class/backlight/acx565akm/brightness
> 
> And this?

It used to be the backlight did not come on initially as modules
or something.. May not be needed any longer.

Regards,

Tony

^ permalink raw reply	[flat|nested] 43+ messages in thread

* n900 in 4.2-rc0: repeating oopses
@ 2015-07-28  6:01                   ` Tony Lindgren
  0 siblings, 0 replies; 43+ messages in thread
From: Tony Lindgren @ 2015-07-28  6:01 UTC (permalink / raw)
  To: linux-arm-kernel

* Pavel Machek <pavel@ucw.cz> [150726 02:29]:
> Hi!
> 
> > > > So, Pavel can you re-test? Maybe there can be problem with some driver
> > > > which Tony did not compiled into zImage? Just speculation...
> > > 
> > > I re-tested with today's git, and it seems to boot. Thanks for help...
> > 
> > OK good to hear.
> >  
> > > Now. "echo mem > /sys/power/state" is broken, as in "returns
> > > immediately in about 50% cases". The messages are
> > > 
> > > Powerdomain (per_pwrdm) didn't enter target state 1
> > > Powerdomain (core_pwerdm) didn't enter target state 1
> > > 
> > > Any ideas? Thanks,
> > 
> > Works for me after enabling the idle timeouts with the following
> > script and blanking the screen and disconnecting USB:
> > 
> > Also both keyboard LEDs should start blinking after the idle
> > timeout with screen blanked and USB disconnected. If not, you
> > have some module loaded that blocks the deeper idle states.
> 
> Ok, tried that, I had to do:
> 
>  cd /sys/class/gpio
>  echo 162 > export
>  cd gpio162
>  echo out > direction
>  echo 1 > value
> 
> to get the debug lights to work. But I could not get those leds to
> blink.

I think that's the GPIO override for them? And in that case the
PMIC sys_clkreq and sys_off_mode signals are not cutting off the
LEDs I believe.

Also not that any driver blocking the deeper idle states will
also cause the LEDs to stay on. And USB cable being plugged in
too at least for core off.. So you if you're using NFSroot over
USB Ethernet, you probably can only see the left LED ever go off.
 
> > modprobe leds-gpio
> > modprobe ledtrig-default-on
> 
> Is this actually neccessary/relevant?

Yes at least with omap2plus_defconfig.
 
> > echo 255 > /sys/class/backlight/acx565akm/brightness
> 
> And this?

It used to be the backlight did not come on initially as modules
or something.. May not be needed any longer.

Regards,

Tony

^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2015-07-28  6:01 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-16  9:32 n900 in 4.1-rc0 Pavel Machek
2015-04-16  9:32 ` Pavel Machek
2015-04-16  9:37 ` Marc Zyngier
2015-04-16  9:37   ` Marc Zyngier
2015-04-16 16:35   ` Tony Lindgren
2015-04-16 16:35     ` Tony Lindgren
2015-04-26 10:15     ` Pavel Machek
2015-04-26 10:15       ` Pavel Machek
2015-04-16 16:45 ` Tyler Baker
2015-04-16 16:45   ` Tyler Baker
2015-04-26 10:20   ` Pavel Machek
2015-04-26 10:20     ` Pavel Machek
2015-04-27 18:58     ` Tyler Baker
2015-04-27 18:58       ` Tyler Baker
2015-06-29  9:11 ` n900 in 4.2-rc0: repeating oopses Pavel Machek
2015-06-29 10:45   ` Pali Rohár
2015-06-29 10:45     ` Pali Rohár
2015-06-30  9:24   ` Pavel Machek
2015-06-30  9:24     ` Pavel Machek
2015-06-30  9:53     ` Pali Rohár
2015-06-30  9:53       ` Pali Rohár
2015-07-01  6:59       ` Tony Lindgren
2015-07-01  6:59         ` Tony Lindgren
2015-07-01  7:22         ` Pali Rohár
2015-07-01  7:22           ` Pali Rohár
2015-07-01  9:59           ` Pavel Machek
2015-07-01  9:59             ` Pavel Machek
2015-07-01 10:34             ` Tony Lindgren
2015-07-01 10:34               ` Tony Lindgren
2015-07-01 13:09               ` Pavel Machek
2015-07-01 13:09                 ` Pavel Machek
2015-07-02  6:16                 ` Tony Lindgren
2015-07-02  6:16                   ` Tony Lindgren
2015-07-26 22:31                   ` Pavel Machek
2015-07-26 22:31                     ` Pavel Machek
2015-07-27  7:12                     ` Pali Rohár
2015-07-27  7:12                       ` Pali Rohár
2015-07-02 20:25               ` Pavel Machek
2015-07-02 20:25                 ` Pavel Machek
2015-07-26  9:26               ` Pavel Machek
2015-07-26  9:26                 ` Pavel Machek
2015-07-28  6:01                 ` Tony Lindgren
2015-07-28  6:01                   ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.