Bug#922478: have yet to find an armhf board that works with 4.9.144-3

2019-02-18 Thread Timo Sigurdsson
Hi Cyril,

Cyril Brulebois schrieb am 18.02.2019 17:09:

> Based on this suggestion and Julien's suggested patch on IRC a couple
> hours ago, I've tested the attached patch successfully (as in: from a
> busy loop in qemu-system-arm to the “expected” kernel panic, as
> discussed in another subthread).
> 
> I've uploaded linux-image binaries (armmp and armmp-lpae) here, which
> were cross-built through sbuild, thanks to Vagrant's suggestion on IRC:
>  https://people.debian.org/~kibi/linux-bug-922478/
> 
> which is:
>  DEBIAN_KERNEL_DISABLE_DEBUG=yes sbuild -d stretch-proposed-updates -c
>  stretch-amd64-sbuild --build=amd64 --profiles='pkg.linux.notools nodoc
>  nopython cross pkg.linux.nosource' --host=armhf linux_4.9.144-4.dsc
> 
> Checking this on real hardware would be great, trying to put everyone
> involved in the loop through cc.
> 

Thanks for the patch and effort. I can confirm your kernel package boots fine 
on my LeMaker BananaPi.
  $ uname -a
  Linux bananapi 4.9.0-8-armmp-lpae #1 SMP Debian 4.9.144-4 (2019-02-18) armv7l 
GNU/Linux

journalctl also shows no errors that haven't been there before.


Regards,

Timo



Bug#922478: have yet to find an armhf board that works with 4.9.144-3

2019-02-18 Thread Reco
Hi.

On Mon, Feb 18, 2019 at 05:09:12PM +0100, Cyril Brulebois wrote:
> Checking this on real hardware would be great, trying to put everyone
> involved in the loop through cc.

Confirming that the patched kernel booted successfully on
Armada385/Caiman.

Reco



Bug#922478: have yet to find an armhf board that works with 4.9.144-3

2019-02-18 Thread Neil Williams
On Mon, 18 Feb 2019 17:09:12 +0100
Cyril Brulebois  wrote:

> Control: tag -1 patch
> 
> Adrian Bunk  (2019-02-17):
> > On Sun, Feb 17, 2019 at 09:52:48AM -0800, Vagrant Cascadian wrote:  
> > > After upgrading to the latest 4.9.x kernel in sid, all of the
> > > armhf boards running this kernel failed to boot.
> > > 
> > > Adding to the list:
> > > 
> > > imx6: Cubox-i4pro, Cubox-i4x4, Wandboard Quad
> > > exynos5: Odroid-XU4
> > > exynos4: Odroid-U3
> > > rk3328: firefly-rk3288
> > > sunxi A20: Cubietruck
> > > 
> > > 
> > > So it clearly impacts a wide variety of systems...  
> > 
> > debian/patches/debian/arm-avoid-abi-change-in-4.9.139.patch changes
> > the order of struct processor but lacks a corresponding change to 
> > arch/arm/mm/proc-macros.S  
> 
> Based on this suggestion and Julien's suggested patch on IRC a couple
> hours ago, I've tested the attached patch successfully (as in: from a
> busy loop in qemu-system-arm to the “expected” kernel panic, as
> discussed in another subthread).
> 
> I've uploaded linux-image binaries (armmp and armmp-lpae) here, which
> were cross-built through sbuild, thanks to Vagrant's suggestion on
> IRC: https://people.debian.org/~kibi/linux-bug-922478/
> 
> which is:
>   DEBIAN_KERNEL_DISABLE_DEBUG=yes sbuild -d stretch-proposed-updates
> -c stretch-amd64-sbuild --build=amd64 --profiles='pkg.linux.notools
> nodoc nopython cross pkg.linux.nosource' --host=armhf
> linux_4.9.144-4.dsc
> 
> Checking this on real hardware would be great, trying to put everyone
> involved in the loop through cc.

Passes on a cubietruck in LAVA:

https://staging.validation.linaro.org/scheduler/job/249113



-- 

Neil Williams
h...@codehelp.co.uk



pgp83ihs0RERA.pgp
Description: OpenPGP digital signature


Bug#922478: have yet to find an armhf board that works with 4.9.144-3

2019-02-18 Thread Steve McIntyre
On Mon, Feb 18, 2019 at 05:09:12PM +0100, Cyril Brulebois wrote:
>Control: tag -1 patch
>
>Adrian Bunk  (2019-02-17):
>> On Sun, Feb 17, 2019 at 09:52:48AM -0800, Vagrant Cascadian wrote:
>> > After upgrading to the latest 4.9.x kernel in sid, all of the armhf
>> > boards running this kernel failed to boot.
>> > 
>> > Adding to the list:
>> > 
>> > imx6: Cubox-i4pro, Cubox-i4x4, Wandboard Quad
>> > exynos5: Odroid-XU4
>> > exynos4: Odroid-U3
>> > rk3328: firefly-rk3288
>> > sunxi A20: Cubietruck
>> > 
>> > 
>> > So it clearly impacts a wide variety of systems...
>> 
>> debian/patches/debian/arm-avoid-abi-change-in-4.9.139.patch changes
>> the order of struct processor but lacks a corresponding change to 
>> arch/arm/mm/proc-macros.S
>
>Based on this suggestion and Julien's suggested patch on IRC a couple
>hours ago, I've tested the attached patch successfully (as in: from a
>busy loop in qemu-system-arm to the “expected” kernel panic, as
>discussed in another subthread).
>
>I've uploaded linux-image binaries (armmp and armmp-lpae) here, which
>were cross-built through sbuild, thanks to Vagrant's suggestion on IRC:
>  https://people.debian.org/~kibi/linux-bug-922478/
>
>which is:
>  DEBIAN_KERNEL_DISABLE_DEBUG=yes sbuild -d stretch-proposed-updates -c 
> stretch-amd64-sbuild --build=amd64 --profiles='pkg.linux.notools nodoc 
> nopython cross pkg.linux.nosource' --host=armhf linux_4.9.144-4.dsc
>
>Checking this on real hardware would be great, trying to put everyone
>involved in the loop through cc.
>
>
>Cheers,
>-- 
>Cyril Brulebois (k...@debian.org)
>D-I release manager -- Release team member -- Freelance Consultant

>From 07f237b3911a685b18a7584456ace1293636bcc7 Mon Sep 17 00:00:00 2001
>From: Cyril Brulebois 
>Date: Mon, 18 Feb 2019 13:49:50 +0100
>Subject: [PATCH] Update debian/arm-avoid-abi-change-in-4.9.139.patch (Closes:
> #922478).
>
>This makes it take into account the function pointers reordering in
>arch/arm/mm/proc-macros.S (addition of check_bugs), fixing the failure
>to boot many armhf devices.
>
>With thanks to Adrian Bunk for the hint, and Julien Cristau for the
>prospective patch.

...

Just to confirm: installed this on the Armada XP on my desk (copy of
the buildd hardware we're using) and it works just fine.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"Every time you use Tcl, God kills a kitten." -- Malcolm Ray



Processed: Re: Bug#922478: have yet to find an armhf board that works with 4.9.144-3

2019-02-18 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 patch
Bug #922478 [src:linux] upgrade linux-image-4.9.0-8-armmp-lpae:armhf from 
4.9.130-2 to 4.9.144-3 renders many systems unbootable
Bug #922532 [src:linux] upgrade linux-image-4.9.0-8-armmp-lpae:armhf from 
4.9.130-2 to 4.9.144-3 renders many systems unbootable
Bug #922547 [src:linux] linux-image-4.9.0-8-armmp: Failed to boot after 
upgrading to linux-image-4.9.0-8-armmp version 4.9.144-3
Added tag(s) patch.
Added tag(s) patch.
Added tag(s) patch.

-- 
922478: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922478
922532: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922532
922547: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922547
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#922478: have yet to find an armhf board that works with 4.9.144-3

2019-02-18 Thread Cyril Brulebois
Control: tag -1 patch

Adrian Bunk  (2019-02-17):
> On Sun, Feb 17, 2019 at 09:52:48AM -0800, Vagrant Cascadian wrote:
> > After upgrading to the latest 4.9.x kernel in sid, all of the armhf
> > boards running this kernel failed to boot.
> > 
> > Adding to the list:
> > 
> > imx6: Cubox-i4pro, Cubox-i4x4, Wandboard Quad
> > exynos5: Odroid-XU4
> > exynos4: Odroid-U3
> > rk3328: firefly-rk3288
> > sunxi A20: Cubietruck
> > 
> > 
> > So it clearly impacts a wide variety of systems...
> 
> debian/patches/debian/arm-avoid-abi-change-in-4.9.139.patch changes
> the order of struct processor but lacks a corresponding change to 
> arch/arm/mm/proc-macros.S

Based on this suggestion and Julien's suggested patch on IRC a couple
hours ago, I've tested the attached patch successfully (as in: from a
busy loop in qemu-system-arm to the “expected” kernel panic, as
discussed in another subthread).

I've uploaded linux-image binaries (armmp and armmp-lpae) here, which
were cross-built through sbuild, thanks to Vagrant's suggestion on IRC:
  https://people.debian.org/~kibi/linux-bug-922478/

which is:
  DEBIAN_KERNEL_DISABLE_DEBUG=yes sbuild -d stretch-proposed-updates -c 
stretch-amd64-sbuild --build=amd64 --profiles='pkg.linux.notools nodoc nopython 
cross pkg.linux.nosource' --host=armhf linux_4.9.144-4.dsc

Checking this on real hardware would be great, trying to put everyone
involved in the loop through cc.


Cheers,
-- 
Cyril Brulebois (k...@debian.org)
D-I release manager -- Release team member -- Freelance Consultant
From 07f237b3911a685b18a7584456ace1293636bcc7 Mon Sep 17 00:00:00 2001
From: Cyril Brulebois 
Date: Mon, 18 Feb 2019 13:49:50 +0100
Subject: [PATCH] Update debian/arm-avoid-abi-change-in-4.9.139.patch (Closes:
 #922478).

This makes it take into account the function pointers reordering in
arch/arm/mm/proc-macros.S (addition of check_bugs), fixing the failure
to boot many armhf devices.

With thanks to Adrian Bunk for the hint, and Julien Cristau for the
prospective patch.
---
 debian/changelog   | 10 ++
 .../debian/arm-avoid-abi-change-in-4.9.139.patch   | 18 ++
 2 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b0d5b6082859..3ef3c29c6fca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+linux (4.9.144-4) UNRELEASED; urgency=medium
+
+  * Update debian/arm-avoid-abi-change-in-4.9.139.patch to take into
+account the function pointers reordering in arch/arm/mm/proc-macros.S
+(addition of check_bugs), fixing the failure to boot many armhf
+devices (Closes: #922478). With thanks to Adrian Bunk for the hint,
+and Julien Cristau for the prospective patch.
+
+ -- Cyril Brulebois   Mon, 18 Feb 2019 13:46:37 +0100
+
 linux (4.9.144-3) stretch; urgency=medium
 
   * libceph: fix CEPH_FEATURE_CEPHX_V2 check in calc_signature()
diff --git a/debian/patches/debian/arm-avoid-abi-change-in-4.9.139.patch b/debian/patches/debian/arm-avoid-abi-change-in-4.9.139.patch
index 7f73ea0066c8..bf1dc1e86731 100644
--- a/debian/patches/debian/arm-avoid-abi-change-in-4.9.139.patch
+++ b/debian/patches/debian/arm-avoid-abi-change-in-4.9.139.patch
@@ -40,3 +40,21 @@ building modules, to make sure they really don't use it.
  } processor;
  
  #ifndef MULTI_CPU
+--- a/arch/arm/mm/proc-macros.S
 b/arch/arm/mm/proc-macros.S
+@@ -281,7 +281,6 @@ ENTRY(\name\()_processor_functions)
+ 	.word	\dabort
+ 	.word	\pabort
+ 	.word	cpu_\name\()_proc_init
+-	.word	\bugs
+ 	.word	cpu_\name\()_proc_fin
+ 	.word	cpu_\name\()_reset
+ 	.word	cpu_\name\()_do_idle
+@@ -309,6 +308,7 @@ ENTRY(\name\()_processor_functions)
+ 	.word	0
+ 	.endif
+ 
++	.word	\bugs
+ 	.size	\name\()_processor_functions, . - \name\()_processor_functions
+ .endm
+ 
-- 
2.11.0



signature.asc
Description: PGP signature


Bug#922478: have yet to find an armhf board that works with 4.9.144-3

2019-02-17 Thread Adrian Bunk
On Sun, Feb 17, 2019 at 09:52:48AM -0800, Vagrant Cascadian wrote:
> After upgrading to the latest 4.9.x kernel in sid, all of the armhf
> boards running this kernel failed to boot.
> 
> Adding to the list:
> 
> imx6: Cubox-i4pro, Cubox-i4x4, Wandboard Quad
> exynos5: Odroid-XU4
> exynos4: Odroid-U3
> rk3328: firefly-rk3288
> sunxi A20: Cubietruck
> 
> 
> So it clearly impacts a wide variety of systems...

debian/patches/debian/arm-avoid-abi-change-in-4.9.139.patch changes
the order of struct processor but lacks a corresponding change to 
arch/arm/mm/proc-macros.S

> live well,
>   vagrant

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#922478: have yet to find an armhf board that works with 4.9.144-3

2019-02-17 Thread Vagrant Cascadian
After upgrading to the latest 4.9.x kernel in sid, all of the armhf
boards running this kernel failed to boot.

Adding to the list:

imx6: Cubox-i4pro, Cubox-i4x4, Wandboard Quad
exynos5: Odroid-XU4
exynos4: Odroid-U3
rk3328: firefly-rk3288
sunxi A20: Cubietruck


So it clearly impacts a wide variety of systems...


live well,
  vagrant


signature.asc
Description: PGP signature