Patchwork [Raring,Nexus7] UBUNTU: [Config] Set config flag to enable core dump generation

login
register
mail settings
Submitter Iain Lane
Date Dec. 13, 2012, 10:39 a.m.
Message ID <20121213103958.GA7430@raleigh>
Download mbox | patch
Permalink /patch/205844/
State New
Headers show

Comments

Iain Lane - Dec. 13, 2012, 10:39 a.m.
Hi,

CONFIG_ELF_CORE isn't set in the nexus 7 kernel, meaning we don't get
core dumps to generate crash reports.

  http://www.rt-embedded.com/blog/archives/enabling-core-dumps-in-embedded-systems/

It was probably unnecessary to have it enabled for Android, but we
surely want this on Ubuntu.

Cheers,
Tim Gardner - Dec. 14, 2012, 4:52 p.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Uploaded linux-nexus7_3.1.10-8.18

- -- 
Tim Gardner tim.gardner@canonical.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBCgAGBQJQy1kwAAoJED12yEX6FEfKkkEP/iJF1Y2O/TSCPozED/nR0E1c
qN7KZgJxTCfEzGWDDDK25CpWT3Y2bPLJrrQmIsMbG+qH73ytw03Dxa9Xb58hif4G
x2caiHfcV9WmreGAgVsAFu1V8RPf5CVNAQFlSuL6i7bWS0TERQtGTgQAKo7C3gUX
jfWjQ1Qfcmq+2GR1v+ie6dIisAb0X9RGLyV1WAsplUAcqv/RAv/6geXZHPuW4mcV
wIpM5JkwED/48jFXqH92tGgWxyMeH8bHQcjYHYGgb+RlrMoZEb1wdNnnmQ6DYy2+
FdVpNwAIHGbiYMfawkTjW22uxiF9ljtyn6WVGOGPO1K9lSPD0Vp71+g6Ni6FONrF
dXFMYgR9Aqw9j9nQV8gNGASq21pLSnVdLcK84ErcVg09QvEMfpwYZAl5T+Z9uEEF
1VPIeZCm+eGk0Lz1xVq7djBUhpGwMAQ0RvUcwR3BB41jWnON+lEydkOg+UeJrOv3
+MqaTO4LMeRMUe5C5TfnycpjTn38XrL6DO7LNS/YJbm0/pgtr8woNDDxhL1YvWw8
NMrflono/NAtyxP20Fd9sQrkiUudD6mOSizA3XfOQbdORaCCZap7gbYNJ3wKrgCQ
Wwy/T+jD44lVrC8PfdbhpjoLlBZeloTmmgMcYMckeV5bAcw7raIxwNhUHQTCNG7P
J3xDZRXvfLHyjo0XDI2Y
=N9la
-----END PGP SIGNATURE-----

Patch

From 8764636ce1be193e34036a55e680ed7756a57f6b Mon Sep 17 00:00:00 2001
From: Iain Lane <iain.lane@canonical.com>
Date: Wed, 12 Dec 2012 17:27:35 +0000
Subject: [PATCH] UBUNTU: [Config] Set config flag to enable core dump
 generation

 - CONFIG_ELF_CORE=y

Signed-off-by: Iain Lane <iain.lane@canonical.com>
---
 debian.linaro/config/config.common.ubuntu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian.linaro/config/config.common.ubuntu b/debian.linaro/config/config.common.ubuntu
index eb725c6..0c9776b 100644
--- a/debian.linaro/config/config.common.ubuntu
+++ b/debian.linaro/config/config.common.ubuntu
@@ -605,7 +605,7 @@  CONFIG_EEPROM_AT24=y
 # CONFIG_EEPROM_MAX6875 is not set
 CONFIG_EFI_PARTITION=y
 # CONFIG_EFS_FS is not set
-# CONFIG_ELF_CORE is not set
+CONFIG_ELF_CORE=y
 CONFIG_EMBEDDED=y
 CONFIG_ENABLE_DEFAULT_TRACERS=y
 CONFIG_ENABLE_MUST_CHECK=y
-- 
1.8.0