[PATCH 0/1]
cover [PATCH 0/1]
Richard/Saul,
Here's the integration of a change from Khem to fix the gcc 4.8 ARM boot issues.
I'm still seeing some quasi random issues, but this definitely fixes the issue at hand, gets us up and running and is much better than what we had before.
The patch pretty much says everything else:
linux-yocto/3.8: fix gcc 4.8 ARM boot issues
Updating the linux-yocto-3.8 SRCREVs to fix a boot issue with ARM boards when gcc 4.8 is used.
Without the following mainline backports:
f200475 ARM: 7670/1: fix the memset fix
8215b0e ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations
The following trap will be seen on boot:
[<c00fc3b8>] (kmem_cache_alloc_trace+0x54/0x210) from [<c039f074>] (con_insert_unipair+0xcc/0x11c)
[<c039f074>] (con_insert_unipair+0xcc/0x11c) from [<c039fec8>] (con_set_default_unimap+0xfc/0x198)
[<c039fec8>] (con_set_default_unimap+0xfc/0x198) from [<c07ee258>] (console_map_init+0x44/0x58)
[<c07ee258>] (console_map_init+0x44/0x58) from [<c07ee738>] (vty_init+0x16c/0x1b0)
[<c07ee738>] (vty_init+0x16c/0x1b0) from [<c07edb68>] (tty_init+0x108/0x148)
[<c07edb68>] (tty_init+0x108/0x148) from [<c07eead0>] (chr_dev_init+0xb4/0xd8)
[<c07eead0>] (chr_dev_init+0xb4/0xd8) from [<c0008a18>] (do_one_initcall+0x11c/0x18c)
[<c0008a18>] (do_one_initcall+0x11c/0x18c) from [<c07d89d0>] (kernel_init_freeable+0x16c/0x254)
[<c07d89d0>] (kernel_init_freeable+0x16c/0x254) from [<c05a3810>] (kernel_init+0x18/0x160)
[<c05a3810>] (kernel_init+0x18/0x160) from [<c000e530>] (ret_from_fork+0x14/0x20)
Code: e593a000 e35a0000 0a000020 e5943014 (e79a1003)
---[ end trace e6c62de166779f86 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000bModerate stress and board testing shows the fix to hold, and it is good for broader testing.
[YOCTO #4549]
Cheers,
Bruce
The following changes since commit 1dd643b142c69ac9035e29bff11d02201638dc65:
licences: Add SGI license (2013-06-17 16:45:37 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib zedd/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
Bruce Ashfield (1):
linux-yocto/3.8: fix gcc 4.8 ARM boot issues
meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb | 6 +++--- meta/recipes-kernel/linux/linux-yocto-tiny_3.8.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto_3.8.bb | 14 +++++++------- 3 files changed, 12 insertions(+), 12 deletions(-)
Signature · 1 line
1.7.10.4
PATCH 1/1 linux-yocto/3.8: fix gcc 4.8 ARM boot issues
Updating the linux-yocto-3.8 SRCREVs to fix a boot issue with ARM boards when gcc 4.8 is used.
Without the following mainline backports:
f200475 ARM: 7670/1: fix the memset fix
8215b0e ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations
The following trap will be seen on boot:
[<c00fc3b8>] (kmem_cache_alloc_trace+0x54/0x210) from [<c039f074>] (con_insert_unipair+0xcc/0x11c)
[<c039f074>] (con_insert_unipair+0xcc/0x11c) from [<c039fec8>] (con_set_default_unimap+0xfc/0x198)
[<c039fec8>] (con_set_default_unimap+0xfc/0x198) from [<c07ee258>] (console_map_init+0x44/0x58)
[<c07ee258>] (console_map_init+0x44/0x58) from [<c07ee738>] (vty_init+0x16c/0x1b0)
[<c07ee738>] (vty_init+0x16c/0x1b0) from [<c07edb68>] (tty_init+0x108/0x148)
[<c07edb68>] (tty_init+0x108/0x148) from [<c07eead0>] (chr_dev_init+0xb4/0xd8)
[<c07eead0>] (chr_dev_init+0xb4/0xd8) from [<c0008a18>] (do_one_initcall+0x11c/0x18c)
[<c0008a18>] (do_one_initcall+0x11c/0x18c) from [<c07d89d0>] (kernel_init_freeable+0x16c/0x254)
[<c07d89d0>] (kernel_init_freeable+0x16c/0x254) from [<c05a3810>] (kernel_init+0x18/0x160)
[<c05a3810>] (kernel_init+0x18/0x160) from [<c000e530>] (ret_from_fork+0x14/0x20)
Code: e593a000 e35a0000 0a000020 e5943014 (e79a1003)
---[ end trace e6c62de166779f86 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000bModerate stress and board testing shows the fix to hold, and it is good for broader testing.
[YOCTO #4549]
--- meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb | 6 +++--- meta/recipes-kernel/linux/linux-yocto-tiny_3.8.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto_3.8.bb | 14 +++++++------- 3 files changed, 12 insertions(+), 12 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb +3 -3
@@ -8,9 +8,9 @@ LINUX_KERNEL_TYPE = "preempt-rt" KMETA = "meta" -SRCREV_machine ?= "e0ac9992f1bf4830de49df884a3d2f273d02637b" -SRCREV_machine_qemuppc ?= "ea4de76a916dd3620e74e565ff42fafb5bb40843" -SRCREV_meta ?= "edd6461602f6c2fc27bc72997e4437f422a9dccd" +SRCREV_machine ?= "4fb187301ca153d496b2a96293dffde34d3b1a56" +SRCREV_machine_qemuppc ?= "547c4ea570933ab7ece9f10d2c46875b460cd337" +SRCREV_meta ?= "c0851dfb8535635e1e31d4a5146d3f021e30506c" PR = "${INC_PR}.1" PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto-tiny_3.8.bb +2 -2
@@ -12,8 +12,8 @@ LINUX_VERSION ?= "3.8.13" KMETA = "meta" -SRCREV_machine ?= "1f973c0fc8eea9a8f9758f47cf689ba89dbe9a25" -SRCREV_meta ?= "edd6461602f6c2fc27bc72997e4437f422a9dccd" +SRCREV_machine ?= "f20047520a57322f05d95a18a5fbd082fb15cb87" +SRCREV_meta ?= "c0851dfb8535635e1e31d4a5146d3f021e30506c" PR = "${INC_PR}.1" PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_3.8.bb +7 -7
@@ -3,13 +3,13 @@ require recipes-kernel/linux/linux-yocto.inc KBRANCH_DEFAULT = "standard/base" KBRANCH = "${KBRANCH_DEFAULT}" -SRCREV_machine_qemuarm ?= "e267fe88798892416828d89bde7f778380b87a90" -SRCREV_machine_qemumips ?= "813bae2e17db9310f220935e87d168c8e52fafaf" -SRCREV_machine_qemuppc ?= "f90923775f9bcec3ce23246e8fb59d8f9551e566" -SRCREV_machine_qemux86 ?= "1f973c0fc8eea9a8f9758f47cf689ba89dbe9a25" -SRCREV_machine_qemux86-64 ?= "1f973c0fc8eea9a8f9758f47cf689ba89dbe9a25" -SRCREV_machine ?= "1f973c0fc8eea9a8f9758f47cf689ba89dbe9a25" -SRCREV_meta ?= "edd6461602f6c2fc27bc72997e4437f422a9dccd" +SRCREV_machine_qemuarm ?= "aa76cc28408376814752bd36fb0dcf0e25aa5ba3" +SRCREV_machine_qemumips ?= "aa0affda03c955678b26b2fb586f1d9505127871" +SRCREV_machine_qemuppc ?= "698eada61d9385b42dd117858b943655b565084b" +SRCREV_machine_qemux86 ?= "f20047520a57322f05d95a18a5fbd082fb15cb87" +SRCREV_machine_qemux86-64 ?= "f20047520a57322f05d95a18a5fbd082fb15cb87" +SRCREV_machine ?= "f20047520a57322f05d95a18a5fbd082fb15cb87" +SRCREV_meta ?= "c0851dfb8535635e1e31d4a5146d3f021e30506c" SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
Signature · 1 line
1.7.10.4
Apologies for the "no subject" email.
The rest is fine, just the guy typing it up had an itchy trigger finger!
Cheers,
Bruce
Quoted 66 lines · Bruce Ashfield
Richard/Saul,
Here's the integration of a change from Khem to fix the gcc 4.8 ARM boot issues.
I'm still seeing some quasi random issues, but this definitely fixes the issue at hand, gets us up and running and is much better than what we had before.
The patch pretty much says everything else:
linux-yocto/3.8: fix gcc 4.8 ARM boot issues
Updating the linux-yocto-3.8 SRCREVs to fix a boot issue with ARM boards when gcc 4.8 is used.
Without the following mainline backports:
f200475 ARM: 7670/1: fix the memset fix
8215b0e ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizationsThe following trap will be seen on boot:
[<c00fc3b8>] (kmem_cache_alloc_trace+0x54/0x210) from [<c039f074>] (con_insert_unipair+0xcc/0x11c) [<c039f074>] (con_insert_unipair+0xcc/0x11c) from [<c039fec8>] (con_set_default_unimap+0xfc/0x198) [<c039fec8>] (con_set_default_unimap+0xfc/0x198) from [<c07ee258>] (console_map_init+0x44/0x58) [<c07ee258>] (console_map_init+0x44/0x58) from [<c07ee738>] (vty_init+0x16c/0x1b0) [<c07ee738>] (vty_init+0x16c/0x1b0) from [<c07edb68>] (tty_init+0x108/0x148) [<c07edb68>] (tty_init+0x108/0x148) from [<c07eead0>] (chr_dev_init+0xb4/0xd8) [<c07eead0>] (chr_dev_init+0xb4/0xd8) from [<c0008a18>] (do_one_initcall+0x11c/0x18c) [<c0008a18>] (do_one_initcall+0x11c/0x18c) from [<c07d89d0>] (kernel_init_freeable+0x16c/0x254) [<c07d89d0>] (kernel_init_freeable+0x16c/0x254) from [<c05a3810>] (kernel_init+0x18/0x160) [<c05a3810>] (kernel_init+0x18/0x160) from [<c000e530>] (ret_from_fork+0x14/0x20) Code: e593a000 e35a0000 0a000020 e5943014 (e79a1003) ---[ end trace e6c62de166779f86 ]--- Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000bModerate stress and board testing shows the fix to hold, and it is good for broader testing.
[YOCTO #4549]
Signed-off-by Khem Raj <[email protected]>Signed-off-by Bruce Ashfield <[email protected]>Cheers,
Bruce
The following changes since commit
1dd643b142c69ac9035e29bff11d02201638dc65:licences: Add SGI license (2013-06-17 16:45:37 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contribzedd/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernelBruce Ashfield (1):
linux-yocto/3.8: fix gcc 4.8 ARM boot issuesmeta/recipes-kernel/linux/linux-yocto-rt_3.8.bb | 6 +++--- meta/recipes-kernel/linux/linux-yocto-tiny_3.8.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto_3.8.bb | 14 +++++++------- 3 files changed, 12 insertions(+), 12 deletions(-)
Quoted 7 lines
--
1.7.10.4_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"