FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 07-12-2011, 01:31 PM
Stefan Bader
 
Default UBUNTU: SAUCE: Re-enable RODATA for i386 virtual

This basically reverts the following commit as it seems now fixed.

commit 0b111980fe515c5ab24bf21aca5aebd24c70f605
Author: Stefan Bader <stefan.bader@canonical.com>
Date: Tue Jan 11 23:29:25 2011 +0000

UBUNTU: Temporarily disable RODATA for virtual i386

Setting to RO was ok, but the whole patchset seems to cause
i386 EC instances to panic on boot when setting the kernel data
to read-only and no-execute. So while there is no proper fix
found disable this in the i386 virtual flavour.

BugLink: http://bugs.launchpad.net/bugs/809838

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
debian.master/config/amd64/config.common.amd64 | 1 -
debian.master/config/armel/config.common.armel | 1 -
debian.master/config/config.common.ubuntu | 1 +
debian.master/config/enforce | 3 +--
debian.master/config/i386/config.flavour.generic | 1 -
.../config/i386/config.flavour.generic-pae | 1 -
debian.master/config/i386/config.flavour.virtual | 1 -
debian.master/config/powerpc/config.common.powerpc | 1 -
8 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/debian.master/config/amd64/config.common.amd64 b/debian.master/config/amd64/config.common.amd64
index 9fd4f33..6180099 100644
--- a/debian.master/config/amd64/config.common.amd64
+++ b/debian.master/config/amd64/config.common.amd64
@@ -59,7 +59,6 @@ CONFIG_CRYPTO_SEQIV=m
CONFIG_DAB=y
CONFIG_DAVICOM_PHY=y
CONFIG_DEBUG_INFO=y
-CONFIG_DEBUG_RODATA=y
CONFIG_DISPLAY_SUPPORT=m
# CONFIG_DL2K is not set
CONFIG_DM_MIRROR=y
diff --git a/debian.master/config/armel/config.common.armel b/debian.master/config/armel/config.common.armel
index 8e75666..6860819 100644
--- a/debian.master/config/armel/config.common.armel
+++ b/debian.master/config/armel/config.common.armel
@@ -41,7 +41,6 @@ CONFIG_CRYPTO_SEQIV=m
CONFIG_DAB=y
CONFIG_DAVICOM_PHY=y
CONFIG_DEBUG_INFO=y
-CONFIG_DEBUG_RODATA=y
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_IOSCHED="cfq"
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 0bfd697..5a8a56f 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -1094,6 +1094,7 @@ CONFIG_DEBUG_MEMORY_INIT=y
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
+CONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
CONFIG_DEBUG_SET_MODULE_RONX=y
diff --git a/debian.master/config/enforce b/debian.master/config/enforce
index e0411b9..67847e4 100644
--- a/debian.master/config/enforce
+++ b/debian.master/config/enforce
@@ -15,8 +15,7 @@ value CONFIG_DEFAULT_SECURITY_APPARMOR y
# For architectures which support this option ensure it is enabled.
!exists CONFIG_SECCOMP | value CONFIG_SECCOMP y
!exists CONFIG_CC_STACKPROTECTOR | value CONFIG_CC_STACKPROTECTOR y
-!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y |
- (flavour virtual & arch i386 & value CONFIG_DEBUG_RODATA n)
+!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y
!exists CONFIG_DEBUG_SET_MODULE_RONX | value CONFIG_DEBUG_SET_MODULE_RONX y
!exists CONFIG_STRICT_DEVMEM | value CONFIG_STRICT_DEVMEM y
# For architectures which support this option ensure it is disabled.
diff --git a/debian.master/config/i386/config.flavour.generic b/debian.master/config/i386/config.flavour.generic
index b282bda..1148655 100644
--- a/debian.master/config/i386/config.flavour.generic
+++ b/debian.master/config/i386/config.flavour.generic
@@ -3,7 +3,6 @@
#
# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
-CONFIG_DEBUG_RODATA=y
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_INTEL_IDLE=y
diff --git a/debian.master/config/i386/config.flavour.generic-pae b/debian.master/config/i386/config.flavour.generic-pae
index 7a12bef..3620b5b 100644
--- a/debian.master/config/i386/config.flavour.generic-pae
+++ b/debian.master/config/i386/config.flavour.generic-pae
@@ -3,7 +3,6 @@
#
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
-CONFIG_DEBUG_RODATA=y
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
CONFIG_INTEL_IDLE=y
diff --git a/debian.master/config/i386/config.flavour.virtual b/debian.master/config/i386/config.flavour.virtual
index c72e8f7..d4ddb92 100644
--- a/debian.master/config/i386/config.flavour.virtual
+++ b/debian.master/config/i386/config.flavour.virtual
@@ -3,7 +3,6 @@
#
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
-# CONFIG_DEBUG_RODATA is not set
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
# CONFIG_INTEL_IDLE is not set
diff --git a/debian.master/config/powerpc/config.common.powerpc b/debian.master/config/powerpc/config.common.powerpc
index 9d583e8..c68dce0 100644
--- a/debian.master/config/powerpc/config.common.powerpc
+++ b/debian.master/config/powerpc/config.common.powerpc
@@ -49,7 +49,6 @@ CONFIG_CRYPTO_HMAC=y
# CONFIG_DAB is not set
CONFIG_DAVICOM_PHY=m
# CONFIG_DEBUG_INFO is not set
-CONFIG_DEBUG_RODATA=y
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_IOSCHED="cfq"
--
1.7.0.4


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

Wed Jul 13 18:30:07 2011
Return-path: <users-bounces@lists.fedoraproject.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Wed, 13 Jul 2011 17:36:45 +0300
Received: from bastion02.fedoraproject.org ([209.132.181.3]:38241 helo=bastion.fedoraproject.org)
by s2.java-tips.org with esmtp (Exim 4.69)
(envelope-from <users-bounces@lists.fedoraproject.org>)
id 1Qh0YN-00024q-UC
for tom@linux-archive.org; Wed, 13 Jul 2011 17:36:45 +0300
Received: from lists.fedoraproject.org (collab1.vpn.fedoraproject.org [192.168.1.21])
by bastion02.phx2.fedoraproject.org (Postfix) with ESMTP id E86C6110632;
Wed, 13 Jul 2011 14:39:13 +0000 (UTC)
Received: from collab1.fedoraproject.org (localhost.localdomain [127.0.0.1])
by lists.fedoraproject.org (Postfix) with ESMTP id 8C1E93267A3;
Wed, 13 Jul 2011 14:39:12 +0000 (UTC)
X-Original-To: users@lists.fedoraproject.org
Delivered-To: users@lists.fedoraproject.org
Received: from smtp-mm01.fedoraproject.org (smtp-mm01.fedoraproject.org
[80.239.156.217])
by lists.fedoraproject.org (Postfix) with ESMTP id A631A32677E
for <users@lists.fedoraproject.org>;
Wed, 13 Jul 2011 14:39:07 +0000 (UTC)
Received: from smtp509.mail.kks.yahoo.co.jp (smtp509.mail.kks.yahoo.co.jp
[114.111.99.158])
by smtp-mm01.fedoraproject.org (Postfix) with SMTP id 012DE87E6E
for <users@lists.fedoraproject.org>;
Wed, 13 Jul 2011 14:39:05 +0000 (UTC)
Received: (qmail 17916 invoked by alias); 13 Jul 2011 14:39:02 -0000
Received: from unknown (HELO ?192.168.1.22?) (111.168.155.120 with plain)
by smtp509.mail.kks.yahoo.co.jp with SMTP; 13 Jul 2011 14:39:02 -0000
X-Apparently-From: <supergiantpotato@yahoo.co.jp>
Subject: Gnome 3 ~ Windows 8?
From: =?UTF-8?Q?=E5=A4=9C=E7=A5=9E_=E5=B2=A9=E7=94=B7?=
<supergiantpotato@yahoo.co.jp>
To: users@lists.fedoraproject.org
In-Reply-To: <4E1DA5AF.7040309@wildblue.net>
References: <4E1DA5AF.7040309@wildblue.net>
Date: Wed, 13 Jul 2011 23:39:01 +0900
Message-ID: <1310567941.31259.62.camel@ika.shinden.murasaki>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14)
X-BeenThere: users@lists.fedoraproject.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Community support for Fedora users <users@lists.fedoraproject.org>
List-Id: Community support for Fedora users <users.lists.fedoraproject.org>
List-Unsubscribe: <https://admin.fedoraproject.org/mailman/listinfo/users>,
<mailto:users-request@lists.fedoraproject.org?subject=unsubscrib e>
List-Archive: <http://lists.fedoraproject.org/pipermail/users>
List-Post: <mailto:users@lists.fedoraproject.org>
List-Help: <mailto:users-request@lists.fedoraproject.org?subject=help>
List-Subscribe: <https://admin.fedoraproject.org/mailman/listinfo/users>,
<mailto:users-request@lists.fedoraproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: users-bounces@lists.fedoraproject.org
Errors-To: users-bounces@lists.fedoraproject.org

Without intending a flamewar (after all, we have to move forward,
wherever that means), the linked article[1] is not interesting or unique
in its blatant criticism of the Windows 8 interface, but it is
interesting that the author sees the Windows 8 interface as a chance for
Linux to get the upper hand on the desktop:

http://www.pcmag.com/article2/0,2817,2386343,00.asp?obref=obinsite

Is he right and we're moving badly in the wrong direction (as in, an
interface with a more traditional GUI feel would be a big winner?) or is
competing with a similar look-and-feel as the default while providing
lots of traditional-feeling alternatives a winning attitude?

I haven't found any debate written anywhere public about a deliberate
decision to try to "out-Windows8 Windows8" as far as interface is
concerned, but it seems this is what Gnome 3 is aimed at.

Now that F15 has had a few weeks of heavy use, and people have either
adapted to the new interface or adopted a permanently frustrated
attitude toward it, I'm curious the general feeling. (Sorry, my English
is giving out -- I think this last sentence may be weird.)

-Iwao

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-12-2011, 01:31 PM
Stefan Bader
 
Default UBUNTU: SAUCE: Re-enable RODATA for i386 virtual

This basically reverts the following commit as it seems now fixed.

commit 0b111980fe515c5ab24bf21aca5aebd24c70f605
Author: Stefan Bader <stefan.bader@canonical.com>
Date: Tue Jan 11 23:29:25 2011 +0000

UBUNTU: Temporarily disable RODATA for virtual i386

Setting to RO was ok, but the whole patchset seems to cause
i386 EC instances to panic on boot when setting the kernel data
to read-only and no-execute. So while there is no proper fix
found disable this in the i386 virtual flavour.

BugLink: http://bugs.launchpad.net/bugs/809838

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
debian.master/config/amd64/config.common.amd64 | 1 -
debian.master/config/armel/config.common.armel | 1 -
debian.master/config/config.common.ubuntu | 1 +
debian.master/config/enforce | 3 +--
debian.master/config/i386/config.flavour.generic | 1 -
.../config/i386/config.flavour.generic-pae | 1 -
debian.master/config/i386/config.flavour.virtual | 1 -
debian.master/config/powerpc/config.common.powerpc | 1 -
8 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/debian.master/config/amd64/config.common.amd64 b/debian.master/config/amd64/config.common.amd64
index 9fd4f33..6180099 100644
--- a/debian.master/config/amd64/config.common.amd64
+++ b/debian.master/config/amd64/config.common.amd64
@@ -59,7 +59,6 @@ CONFIG_CRYPTO_SEQIV=m
CONFIG_DAB=y
CONFIG_DAVICOM_PHY=y
CONFIG_DEBUG_INFO=y
-CONFIG_DEBUG_RODATA=y
CONFIG_DISPLAY_SUPPORT=m
# CONFIG_DL2K is not set
CONFIG_DM_MIRROR=y
diff --git a/debian.master/config/armel/config.common.armel b/debian.master/config/armel/config.common.armel
index 8e75666..6860819 100644
--- a/debian.master/config/armel/config.common.armel
+++ b/debian.master/config/armel/config.common.armel
@@ -41,7 +41,6 @@ CONFIG_CRYPTO_SEQIV=m
CONFIG_DAB=y
CONFIG_DAVICOM_PHY=y
CONFIG_DEBUG_INFO=y
-CONFIG_DEBUG_RODATA=y
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_IOSCHED="cfq"
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 0bfd697..5a8a56f 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -1094,6 +1094,7 @@ CONFIG_DEBUG_MEMORY_INIT=y
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
+CONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
CONFIG_DEBUG_SET_MODULE_RONX=y
diff --git a/debian.master/config/enforce b/debian.master/config/enforce
index e0411b9..67847e4 100644
--- a/debian.master/config/enforce
+++ b/debian.master/config/enforce
@@ -15,8 +15,7 @@ value CONFIG_DEFAULT_SECURITY_APPARMOR y
# For architectures which support this option ensure it is enabled.
!exists CONFIG_SECCOMP | value CONFIG_SECCOMP y
!exists CONFIG_CC_STACKPROTECTOR | value CONFIG_CC_STACKPROTECTOR y
-!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y |
- (flavour virtual & arch i386 & value CONFIG_DEBUG_RODATA n)
+!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y
!exists CONFIG_DEBUG_SET_MODULE_RONX | value CONFIG_DEBUG_SET_MODULE_RONX y
!exists CONFIG_STRICT_DEVMEM | value CONFIG_STRICT_DEVMEM y
# For architectures which support this option ensure it is disabled.
diff --git a/debian.master/config/i386/config.flavour.generic b/debian.master/config/i386/config.flavour.generic
index b282bda..1148655 100644
--- a/debian.master/config/i386/config.flavour.generic
+++ b/debian.master/config/i386/config.flavour.generic
@@ -3,7 +3,6 @@
#
# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
-CONFIG_DEBUG_RODATA=y
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_INTEL_IDLE=y
diff --git a/debian.master/config/i386/config.flavour.generic-pae b/debian.master/config/i386/config.flavour.generic-pae
index 7a12bef..3620b5b 100644
--- a/debian.master/config/i386/config.flavour.generic-pae
+++ b/debian.master/config/i386/config.flavour.generic-pae
@@ -3,7 +3,6 @@
#
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
-CONFIG_DEBUG_RODATA=y
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
CONFIG_INTEL_IDLE=y
diff --git a/debian.master/config/i386/config.flavour.virtual b/debian.master/config/i386/config.flavour.virtual
index c72e8f7..d4ddb92 100644
--- a/debian.master/config/i386/config.flavour.virtual
+++ b/debian.master/config/i386/config.flavour.virtual
@@ -3,7 +3,6 @@
#
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
-# CONFIG_DEBUG_RODATA is not set
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
# CONFIG_INTEL_IDLE is not set
diff --git a/debian.master/config/powerpc/config.common.powerpc b/debian.master/config/powerpc/config.common.powerpc
index 9d583e8..c68dce0 100644
--- a/debian.master/config/powerpc/config.common.powerpc
+++ b/debian.master/config/powerpc/config.common.powerpc
@@ -49,7 +49,6 @@ CONFIG_CRYPTO_HMAC=y
# CONFIG_DAB is not set
CONFIG_DAVICOM_PHY=m
# CONFIG_DEBUG_INFO is not set
-CONFIG_DEBUG_RODATA=y
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_IOSCHED="cfq"
--
1.7.0.4


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

Wed Jul 13 18:30:07 2011
Return-path: <users-bounces@lists.fedoraproject.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Wed, 13 Jul 2011 17:36:45 +0300
Received: from bastion02.fedoraproject.org ([209.132.181.3]:38241 helo=bastion.fedoraproject.org)
by s2.java-tips.org with esmtp (Exim 4.69)
(envelope-from <users-bounces@lists.fedoraproject.org>)
id 1Qh0YN-00024q-UC
for tom@linux-archive.org; Wed, 13 Jul 2011 17:36:45 +0300
Received: from lists.fedoraproject.org (collab1.vpn.fedoraproject.org [192.168.1.21])
by bastion02.phx2.fedoraproject.org (Postfix) with ESMTP id E86C6110632;
Wed, 13 Jul 2011 14:39:13 +0000 (UTC)
Received: from collab1.fedoraproject.org (localhost.localdomain [127.0.0.1])
by lists.fedoraproject.org (Postfix) with ESMTP id 8C1E93267A3;
Wed, 13 Jul 2011 14:39:12 +0000 (UTC)
X-Original-To: users@lists.fedoraproject.org
Delivered-To: users@lists.fedoraproject.org
Received: from smtp-mm01.fedoraproject.org (smtp-mm01.fedoraproject.org
[80.239.156.217])
by lists.fedoraproject.org (Postfix) with ESMTP id A631A32677E
for <users@lists.fedoraproject.org>;
Wed, 13 Jul 2011 14:39:07 +0000 (UTC)
Received: from smtp509.mail.kks.yahoo.co.jp (smtp509.mail.kks.yahoo.co.jp
[114.111.99.158])
by smtp-mm01.fedoraproject.org (Postfix) with SMTP id 012DE87E6E
for <users@lists.fedoraproject.org>;
Wed, 13 Jul 2011 14:39:05 +0000 (UTC)
Received: (qmail 17916 invoked by alias); 13 Jul 2011 14:39:02 -0000
Received: from unknown (HELO ?192.168.1.22?) (111.168.155.120 with plain)
by smtp509.mail.kks.yahoo.co.jp with SMTP; 13 Jul 2011 14:39:02 -0000
X-Apparently-From: <supergiantpotato@yahoo.co.jp>
Subject: Gnome 3 ~ Windows 8?
From: =?UTF-8?Q?=E5=A4=9C=E7=A5=9E_=E5=B2=A9=E7=94=B7?=
<supergiantpotato@yahoo.co.jp>
To: users@lists.fedoraproject.org
In-Reply-To: <4E1DA5AF.7040309@wildblue.net>
References: <4E1DA5AF.7040309@wildblue.net>
Date: Wed, 13 Jul 2011 23:39:01 +0900
Message-ID: <1310567941.31259.62.camel@ika.shinden.murasaki>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14)
X-BeenThere: users@lists.fedoraproject.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Community support for Fedora users <users@lists.fedoraproject.org>
List-Id: Community support for Fedora users <users.lists.fedoraproject.org>
List-Unsubscribe: <https://admin.fedoraproject.org/mailman/listinfo/users>,
<mailto:users-request@lists.fedoraproject.org?subject=unsubscrib e>
List-Archive: <http://lists.fedoraproject.org/pipermail/users>
List-Post: <mailto:users@lists.fedoraproject.org>
List-Help: <mailto:users-request@lists.fedoraproject.org?subject=help>
List-Subscribe: <https://admin.fedoraproject.org/mailman/listinfo/users>,
<mailto:users-request@lists.fedoraproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: users-bounces@lists.fedoraproject.org
Errors-To: users-bounces@lists.fedoraproject.org

Without intending a flamewar (after all, we have to move forward,
wherever that means), the linked article[1] is not interesting or unique
in its blatant criticism of the Windows 8 interface, but it is
interesting that the author sees the Windows 8 interface as a chance for
Linux to get the upper hand on the desktop:

http://www.pcmag.com/article2/0,2817,2386343,00.asp?obref=obinsite

Is he right and we're moving badly in the wrong direction (as in, an
interface with a more traditional GUI feel would be a big winner?) or is
competing with a similar look-and-feel as the default while providing
lots of traditional-feeling alternatives a winning attitude?

I haven't found any debate written anywhere public about a deliberate
decision to try to "out-Windows8 Windows8" as far as interface is
concerned, but it seems this is what Gnome 3 is aimed at.

Now that F15 has had a few weeks of heavy use, and people have either
adapted to the new interface or adopted a permanently frustrated
attitude toward it, I'm curious the general feeling. (Sorry, my English
is giving out -- I think this last sentence may be weird.)

-Iwao

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-13-2011, 01:00 PM
Stefan Bader
 
Default UBUNTU: SAUCE: Re-enable RODATA for i386 virtual

This basically reverts the following commit as it seems now fixed.

commit 0b111980fe515c5ab24bf21aca5aebd24c70f605
Author: Stefan Bader <stefan.bader@canonical.com>
Date: Tue Jan 11 23:29:25 2011 +0000

UBUNTU: Temporarily disable RODATA for virtual i386

Setting to RO was ok, but the whole patchset seems to cause
i386 EC instances to panic on boot when setting the kernel data
to read-only and no-execute. So while there is no proper fix
found disable this in the i386 virtual flavour

BugLink: http://bugs.launchpad.net/bugs/809838

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
debian.master/config/amd64/config.common.amd64 | 1 -
debian.master/config/armel/config.common.armel | 1 -
debian.master/config/config.common.ubuntu | 1 +
debian.master/config/enforce | 3 +--
debian.master/config/i386/config.flavour.generic | 1 -
.../config/i386/config.flavour.generic-pae | 1 -
debian.master/config/i386/config.flavour.virtual | 1 -
debian.master/config/powerpc/config.common.powerpc | 1 -
8 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/debian.master/config/amd64/config.common.amd64 b/debian.master/config/amd64/config.common.amd64
index ef7e7df..eea6ca9 100644
--- a/debian.master/config/amd64/config.common.amd64
+++ b/debian.master/config/amd64/config.common.amd64
@@ -55,7 +55,6 @@ CONFIG_CRYPTO_SEQIV=m
CONFIG_DAB=y
CONFIG_DAVICOM_PHY=y
CONFIG_DEBUG_INFO=y
-CONFIG_DEBUG_RODATA=y
CONFIG_DISPLAY_SUPPORT=m
# CONFIG_DL2K is not set
CONFIG_DM_MIRROR=y
diff --git a/debian.master/config/armel/config.common.armel b/debian.master/config/armel/config.common.armel
index 6bcf617..9f7e05f 100644
--- a/debian.master/config/armel/config.common.armel
+++ b/debian.master/config/armel/config.common.armel
@@ -48,7 +48,6 @@ CONFIG_CRYPTO_SEQIV=m
CONFIG_DAB=y
CONFIG_DAVICOM_PHY=y
CONFIG_DEBUG_INFO=y
-CONFIG_DEBUG_RODATA=y
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_IOSCHED="cfq"
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 671614b..d2cbee3 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -1111,6 +1111,7 @@ CONFIG_DEBUG_MEMORY_INIT=y
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
+CONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
diff --git a/debian.master/config/enforce b/debian.master/config/enforce
index e0411b9..67847e4 100644
--- a/debian.master/config/enforce
+++ b/debian.master/config/enforce
@@ -15,8 +15,7 @@ value CONFIG_DEFAULT_SECURITY_APPARMOR y
# For architectures which support this option ensure it is enabled.
!exists CONFIG_SECCOMP | value CONFIG_SECCOMP y
!exists CONFIG_CC_STACKPROTECTOR | value CONFIG_CC_STACKPROTECTOR y
-!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y |
- (flavour virtual & arch i386 & value CONFIG_DEBUG_RODATA n)
+!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y
!exists CONFIG_DEBUG_SET_MODULE_RONX | value CONFIG_DEBUG_SET_MODULE_RONX y
!exists CONFIG_STRICT_DEVMEM | value CONFIG_STRICT_DEVMEM y
# For architectures which support this option ensure it is disabled.
diff --git a/debian.master/config/i386/config.flavour.generic b/debian.master/config/i386/config.flavour.generic
index 0fccf04..8f1f93e 100644
--- a/debian.master/config/i386/config.flavour.generic
+++ b/debian.master/config/i386/config.flavour.generic
@@ -3,7 +3,6 @@
#
# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
-CONFIG_DEBUG_RODATA=y
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_I2C_PXA_PCI=y
diff --git a/debian.master/config/i386/config.flavour.generic-pae b/debian.master/config/i386/config.flavour.generic-pae
index 1cc1fa0..cff8c2a 100644
--- a/debian.master/config/i386/config.flavour.generic-pae
+++ b/debian.master/config/i386/config.flavour.generic-pae
@@ -3,7 +3,6 @@
#
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
-CONFIG_DEBUG_RODATA=y
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
# CONFIG_I2C_PXA_PCI is not set
diff --git a/debian.master/config/i386/config.flavour.virtual b/debian.master/config/i386/config.flavour.virtual
index 76767d6..54e78a3 100644
--- a/debian.master/config/i386/config.flavour.virtual
+++ b/debian.master/config/i386/config.flavour.virtual
@@ -3,7 +3,6 @@
#
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
-# CONFIG_DEBUG_RODATA is not set
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
# CONFIG_I2C_PXA_PCI is not set
diff --git a/debian.master/config/powerpc/config.common.powerpc b/debian.master/config/powerpc/config.common.powerpc
index 10cb125..dec42e8 100644
--- a/debian.master/config/powerpc/config.common.powerpc
+++ b/debian.master/config/powerpc/config.common.powerpc
@@ -45,7 +45,6 @@ CONFIG_CRYPTO_HMAC=y
# CONFIG_DAB is not set
CONFIG_DAVICOM_PHY=m
# CONFIG_DEBUG_INFO is not set
-CONFIG_DEBUG_RODATA=y
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_IOSCHED="cfq"
--
1.7.4.1


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 07-13-2011, 01:00 PM
Stefan Bader
 
Default UBUNTU: SAUCE: Re-enable RODATA for i386 virtual

This basically reverts the following commit as it seems now fixed.

commit 0b111980fe515c5ab24bf21aca5aebd24c70f605
Author: Stefan Bader <stefan.bader@canonical.com>
Date: Tue Jan 11 23:29:25 2011 +0000

UBUNTU: Temporarily disable RODATA for virtual i386

Setting to RO was ok, but the whole patchset seems to cause
i386 EC instances to panic on boot when setting the kernel data
to read-only and no-execute. So while there is no proper fix
found disable this in the i386 virtual flavour

BugLink: http://bugs.launchpad.net/bugs/809838

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
debian.master/config/amd64/config.common.amd64 | 1 -
debian.master/config/armel/config.common.armel | 1 -
debian.master/config/config.common.ubuntu | 1 +
debian.master/config/enforce | 3 +--
debian.master/config/i386/config.flavour.generic | 1 -
.../config/i386/config.flavour.generic-pae | 1 -
debian.master/config/i386/config.flavour.virtual | 1 -
debian.master/config/powerpc/config.common.powerpc | 1 -
8 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/debian.master/config/amd64/config.common.amd64 b/debian.master/config/amd64/config.common.amd64
index ef7e7df..eea6ca9 100644
--- a/debian.master/config/amd64/config.common.amd64
+++ b/debian.master/config/amd64/config.common.amd64
@@ -55,7 +55,6 @@ CONFIG_CRYPTO_SEQIV=m
CONFIG_DAB=y
CONFIG_DAVICOM_PHY=y
CONFIG_DEBUG_INFO=y
-CONFIG_DEBUG_RODATA=y
CONFIG_DISPLAY_SUPPORT=m
# CONFIG_DL2K is not set
CONFIG_DM_MIRROR=y
diff --git a/debian.master/config/armel/config.common.armel b/debian.master/config/armel/config.common.armel
index 6bcf617..9f7e05f 100644
--- a/debian.master/config/armel/config.common.armel
+++ b/debian.master/config/armel/config.common.armel
@@ -48,7 +48,6 @@ CONFIG_CRYPTO_SEQIV=m
CONFIG_DAB=y
CONFIG_DAVICOM_PHY=y
CONFIG_DEBUG_INFO=y
-CONFIG_DEBUG_RODATA=y
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_IOSCHED="cfq"
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 671614b..d2cbee3 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -1111,6 +1111,7 @@ CONFIG_DEBUG_MEMORY_INIT=y
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
+CONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
diff --git a/debian.master/config/enforce b/debian.master/config/enforce
index e0411b9..67847e4 100644
--- a/debian.master/config/enforce
+++ b/debian.master/config/enforce
@@ -15,8 +15,7 @@ value CONFIG_DEFAULT_SECURITY_APPARMOR y
# For architectures which support this option ensure it is enabled.
!exists CONFIG_SECCOMP | value CONFIG_SECCOMP y
!exists CONFIG_CC_STACKPROTECTOR | value CONFIG_CC_STACKPROTECTOR y
-!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y |
- (flavour virtual & arch i386 & value CONFIG_DEBUG_RODATA n)
+!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y
!exists CONFIG_DEBUG_SET_MODULE_RONX | value CONFIG_DEBUG_SET_MODULE_RONX y
!exists CONFIG_STRICT_DEVMEM | value CONFIG_STRICT_DEVMEM y
# For architectures which support this option ensure it is disabled.
diff --git a/debian.master/config/i386/config.flavour.generic b/debian.master/config/i386/config.flavour.generic
index 0fccf04..8f1f93e 100644
--- a/debian.master/config/i386/config.flavour.generic
+++ b/debian.master/config/i386/config.flavour.generic
@@ -3,7 +3,6 @@
#
# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
-CONFIG_DEBUG_RODATA=y
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_I2C_PXA_PCI=y
diff --git a/debian.master/config/i386/config.flavour.generic-pae b/debian.master/config/i386/config.flavour.generic-pae
index 1cc1fa0..cff8c2a 100644
--- a/debian.master/config/i386/config.flavour.generic-pae
+++ b/debian.master/config/i386/config.flavour.generic-pae
@@ -3,7 +3,6 @@
#
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
-CONFIG_DEBUG_RODATA=y
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
# CONFIG_I2C_PXA_PCI is not set
diff --git a/debian.master/config/i386/config.flavour.virtual b/debian.master/config/i386/config.flavour.virtual
index 76767d6..54e78a3 100644
--- a/debian.master/config/i386/config.flavour.virtual
+++ b/debian.master/config/i386/config.flavour.virtual
@@ -3,7 +3,6 @@
#
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
-# CONFIG_DEBUG_RODATA is not set
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
# CONFIG_I2C_PXA_PCI is not set
diff --git a/debian.master/config/powerpc/config.common.powerpc b/debian.master/config/powerpc/config.common.powerpc
index 10cb125..dec42e8 100644
--- a/debian.master/config/powerpc/config.common.powerpc
+++ b/debian.master/config/powerpc/config.common.powerpc
@@ -45,7 +45,6 @@ CONFIG_CRYPTO_HMAC=y
# CONFIG_DAB is not set
CONFIG_DAVICOM_PHY=m
# CONFIG_DEBUG_INFO is not set
-CONFIG_DEBUG_RODATA=y
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_IOSCHED="cfq"
--
1.7.4.1


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 07-13-2011, 02:37 PM
Stefan Bader
 
Default UBUNTU: SAUCE: Re-enable RODATA for i386 virtual

 
Old 07-13-2011, 02:37 PM
Stefan Bader
 
Default UBUNTU: SAUCE: Re-enable RODATA for i386 virtual

 
Old 07-13-2011, 02:37 PM
Stefan Bader
 
Default UBUNTU: SAUCE: Re-enable RODATA for i386 virtual

 
Old 07-13-2011, 02:37 PM
Stefan Bader
 
Default UBUNTU: SAUCE: Re-enable RODATA for i386 virtual

 
Old 07-13-2011, 02:42 PM
Herton Ronaldo Krzesinski
 
Default UBUNTU: SAUCE: Re-enable RODATA for i386 virtual

On Wed, Jul 13, 2011 at 04:37:40PM +0200, Stefan Bader wrote:
> From 47cde49e9a25d5fd6b8ec01aeb1b0611538d6e13 Mon Sep 17 00:00:00 2001
> From: Stefan Bader <stefan.bader@canonical.com>
> Date: Tue, 12 Jul 2011 13:31:16 +0000
> Subject: [PATCH] UBUNTU: SAUCE: Re-enable RODATA for i386 virtual
>
> This basically reverts the following commit as it seems now fixed.
>
> commit 0b111980fe515c5ab24bf21aca5aebd24c70f605
> Author: Stefan Bader <stefan.bader@canonical.com>
> Date: Tue Jan 11 23:29:25 2011 +0000
>
> UBUNTU: Temporarily disable RODATA for virtual i386
>
> Setting to RO was ok, but the whole patchset seems to cause
> i386 EC instances to panic on boot when setting the kernel data
> to read-only and no-execute. So while there is no proper fix
> found disable this in the i386 virtual flavour.
>
> BugLink: http://bugs.launchpad.net/bugs/809838
>
> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
> ---
> debian.master/config/amd64/config.common.amd64 | 1 -
> debian.master/config/armel/config.common.armel | 1 -
> debian.master/config/config.common.ubuntu | 1 +
> debian.master/config/enforce | 3 +--
> debian.master/config/i386/config.flavour.generic | 1 -
> .../config/i386/config.flavour.generic-pae | 1 -
> debian.master/config/i386/config.flavour.virtual | 1 -
> debian.master/config/powerpc/config.common.powerpc | 1 -
> 8 files changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/debian.master/config/amd64/config.common.amd64 b/debian.master/config/amd64/config.common.amd64
> index 9fd4f33..6180099 100644
> --- a/debian.master/config/amd64/config.common.amd64
> +++ b/debian.master/config/amd64/config.common.amd64
> @@ -59,7 +59,6 @@ CONFIG_CRYPTO_SEQIV=m
> CONFIG_DAB=y
> CONFIG_DAVICOM_PHY=y
> CONFIG_DEBUG_INFO=y
> -CONFIG_DEBUG_RODATA=y
> CONFIG_DISPLAY_SUPPORT=m
> # CONFIG_DL2K is not set
> CONFIG_DM_MIRROR=y
> diff --git a/debian.master/config/armel/config.common.armel b/debian.master/config/armel/config.common.armel
> index 8e75666..6860819 100644
> --- a/debian.master/config/armel/config.common.armel
> +++ b/debian.master/config/armel/config.common.armel
> @@ -41,7 +41,6 @@ CONFIG_CRYPTO_SEQIV=m
> CONFIG_DAB=y
> CONFIG_DAVICOM_PHY=y
> CONFIG_DEBUG_INFO=y
> -CONFIG_DEBUG_RODATA=y
> CONFIG_DEFAULT_CFQ=y
> # CONFIG_DEFAULT_DEADLINE is not set
> CONFIG_DEFAULT_IOSCHED="cfq"
> diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
> index 0bfd697..5a8a56f 100644
> --- a/debian.master/config/config.common.ubuntu
> +++ b/debian.master/config/config.common.ubuntu
> @@ -1094,6 +1094,7 @@ CONFIG_DEBUG_MEMORY_INIT=y
> # CONFIG_DEBUG_PAGEALLOC is not set
> # CONFIG_DEBUG_PERF_USE_VMALLOC is not set
> # CONFIG_DEBUG_PER_CPU_MAPS is not set
> +CONFIG_DEBUG_RODATA=y
> # CONFIG_DEBUG_RODATA_TEST is not set
> # CONFIG_DEBUG_RT_MUTEXES is not set
> CONFIG_DEBUG_SET_MODULE_RONX=y
> diff --git a/debian.master/config/enforce b/debian.master/config/enforce
> index e0411b9..67847e4 100644
> --- a/debian.master/config/enforce
> +++ b/debian.master/config/enforce
> @@ -15,8 +15,7 @@ value CONFIG_DEFAULT_SECURITY_APPARMOR y
> # For architectures which support this option ensure it is enabled.
> !exists CONFIG_SECCOMP | value CONFIG_SECCOMP y
> !exists CONFIG_CC_STACKPROTECTOR | value CONFIG_CC_STACKPROTECTOR y
> -!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y |
> - (flavour virtual & arch i386 & value CONFIG_DEBUG_RODATA n)
> +!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y
> !exists CONFIG_DEBUG_SET_MODULE_RONX | value CONFIG_DEBUG_SET_MODULE_RONX y
> !exists CONFIG_STRICT_DEVMEM | value CONFIG_STRICT_DEVMEM y
> # For architectures which support this option ensure it is disabled.
> diff --git a/debian.master/config/i386/config.flavour.generic b/debian.master/config/i386/config.flavour.generic
> index b282bda..1148655 100644
> --- a/debian.master/config/i386/config.flavour.generic
> +++ b/debian.master/config/i386/config.flavour.generic
> @@ -3,7 +3,6 @@
> #
> # CONFIG_ARCH_DMA_ADDR_T_64BIT is not set
> # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
> -CONFIG_DEBUG_RODATA=y
> CONFIG_HIGHMEM4G=y
> # CONFIG_HIGHMEM64G is not set
> CONFIG_INTEL_IDLE=y
> diff --git a/debian.master/config/i386/config.flavour.generic-pae b/debian.master/config/i386/config.flavour.generic-pae
> index 7a12bef..3620b5b 100644
> --- a/debian.master/config/i386/config.flavour.generic-pae
> +++ b/debian.master/config/i386/config.flavour.generic-pae
> @@ -3,7 +3,6 @@
> #
> CONFIG_ARCH_DMA_ADDR_T_64BIT=y
> CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
> -CONFIG_DEBUG_RODATA=y
> # CONFIG_HIGHMEM4G is not set
> CONFIG_HIGHMEM64G=y
> CONFIG_INTEL_IDLE=y
> diff --git a/debian.master/config/i386/config.flavour.virtual b/debian.master/config/i386/config.flavour.virtual
> index c72e8f7..d4ddb92 100644
> --- a/debian.master/config/i386/config.flavour.virtual
> +++ b/debian.master/config/i386/config.flavour.virtual
> @@ -3,7 +3,6 @@
> #
> CONFIG_ARCH_DMA_ADDR_T_64BIT=y
> CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
> -# CONFIG_DEBUG_RODATA is not set
> # CONFIG_HIGHMEM4G is not set
> CONFIG_HIGHMEM64G=y
> # CONFIG_INTEL_IDLE is not set
> diff --git a/debian.master/config/powerpc/config.common.powerpc b/debian.master/config/powerpc/config.common.powerpc
> index 9d583e8..c68dce0 100644
> --- a/debian.master/config/powerpc/config.common.powerpc
> +++ b/debian.master/config/powerpc/config.common.powerpc
> @@ -49,7 +49,6 @@ CONFIG_CRYPTO_HMAC=y
> # CONFIG_DAB is not set
> CONFIG_DAVICOM_PHY=m
> # CONFIG_DEBUG_INFO is not set
> -CONFIG_DEBUG_RODATA=y
> CONFIG_DEFAULT_CFQ=y
> # CONFIG_DEFAULT_DEADLINE is not set
> CONFIG_DEFAULT_IOSCHED="cfq"
> --
> 1.7.0.4

Acked-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>

--
[]'s
Herton

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 07-13-2011, 02:42 PM
Herton Ronaldo Krzesinski
 
Default UBUNTU: SAUCE: Re-enable RODATA for i386 virtual

On Wed, Jul 13, 2011 at 04:37:40PM +0200, Stefan Bader wrote:
> From 47cde49e9a25d5fd6b8ec01aeb1b0611538d6e13 Mon Sep 17 00:00:00 2001
> From: Stefan Bader <stefan.bader@canonical.com>
> Date: Tue, 12 Jul 2011 13:31:16 +0000
> Subject: [PATCH] UBUNTU: SAUCE: Re-enable RODATA for i386 virtual
>
> This basically reverts the following commit as it seems now fixed.
>
> commit 0b111980fe515c5ab24bf21aca5aebd24c70f605
> Author: Stefan Bader <stefan.bader@canonical.com>
> Date: Tue Jan 11 23:29:25 2011 +0000
>
> UBUNTU: Temporarily disable RODATA for virtual i386
>
> Setting to RO was ok, but the whole patchset seems to cause
> i386 EC instances to panic on boot when setting the kernel data
> to read-only and no-execute. So while there is no proper fix
> found disable this in the i386 virtual flavour.
>
> BugLink: http://bugs.launchpad.net/bugs/809838
>
> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
> ---
> debian.master/config/amd64/config.common.amd64 | 1 -
> debian.master/config/armel/config.common.armel | 1 -
> debian.master/config/config.common.ubuntu | 1 +
> debian.master/config/enforce | 3 +--
> debian.master/config/i386/config.flavour.generic | 1 -
> .../config/i386/config.flavour.generic-pae | 1 -
> debian.master/config/i386/config.flavour.virtual | 1 -
> debian.master/config/powerpc/config.common.powerpc | 1 -
> 8 files changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/debian.master/config/amd64/config.common.amd64 b/debian.master/config/amd64/config.common.amd64
> index 9fd4f33..6180099 100644
> --- a/debian.master/config/amd64/config.common.amd64
> +++ b/debian.master/config/amd64/config.common.amd64
> @@ -59,7 +59,6 @@ CONFIG_CRYPTO_SEQIV=m
> CONFIG_DAB=y
> CONFIG_DAVICOM_PHY=y
> CONFIG_DEBUG_INFO=y
> -CONFIG_DEBUG_RODATA=y
> CONFIG_DISPLAY_SUPPORT=m
> # CONFIG_DL2K is not set
> CONFIG_DM_MIRROR=y
> diff --git a/debian.master/config/armel/config.common.armel b/debian.master/config/armel/config.common.armel
> index 8e75666..6860819 100644
> --- a/debian.master/config/armel/config.common.armel
> +++ b/debian.master/config/armel/config.common.armel
> @@ -41,7 +41,6 @@ CONFIG_CRYPTO_SEQIV=m
> CONFIG_DAB=y
> CONFIG_DAVICOM_PHY=y
> CONFIG_DEBUG_INFO=y
> -CONFIG_DEBUG_RODATA=y
> CONFIG_DEFAULT_CFQ=y
> # CONFIG_DEFAULT_DEADLINE is not set
> CONFIG_DEFAULT_IOSCHED="cfq"
> diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
> index 0bfd697..5a8a56f 100644
> --- a/debian.master/config/config.common.ubuntu
> +++ b/debian.master/config/config.common.ubuntu
> @@ -1094,6 +1094,7 @@ CONFIG_DEBUG_MEMORY_INIT=y
> # CONFIG_DEBUG_PAGEALLOC is not set
> # CONFIG_DEBUG_PERF_USE_VMALLOC is not set
> # CONFIG_DEBUG_PER_CPU_MAPS is not set
> +CONFIG_DEBUG_RODATA=y
> # CONFIG_DEBUG_RODATA_TEST is not set
> # CONFIG_DEBUG_RT_MUTEXES is not set
> CONFIG_DEBUG_SET_MODULE_RONX=y
> diff --git a/debian.master/config/enforce b/debian.master/config/enforce
> index e0411b9..67847e4 100644
> --- a/debian.master/config/enforce
> +++ b/debian.master/config/enforce
> @@ -15,8 +15,7 @@ value CONFIG_DEFAULT_SECURITY_APPARMOR y
> # For architectures which support this option ensure it is enabled.
> !exists CONFIG_SECCOMP | value CONFIG_SECCOMP y
> !exists CONFIG_CC_STACKPROTECTOR | value CONFIG_CC_STACKPROTECTOR y
> -!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y |
> - (flavour virtual & arch i386 & value CONFIG_DEBUG_RODATA n)
> +!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y
> !exists CONFIG_DEBUG_SET_MODULE_RONX | value CONFIG_DEBUG_SET_MODULE_RONX y
> !exists CONFIG_STRICT_DEVMEM | value CONFIG_STRICT_DEVMEM y
> # For architectures which support this option ensure it is disabled.
> diff --git a/debian.master/config/i386/config.flavour.generic b/debian.master/config/i386/config.flavour.generic
> index b282bda..1148655 100644
> --- a/debian.master/config/i386/config.flavour.generic
> +++ b/debian.master/config/i386/config.flavour.generic
> @@ -3,7 +3,6 @@
> #
> # CONFIG_ARCH_DMA_ADDR_T_64BIT is not set
> # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
> -CONFIG_DEBUG_RODATA=y
> CONFIG_HIGHMEM4G=y
> # CONFIG_HIGHMEM64G is not set
> CONFIG_INTEL_IDLE=y
> diff --git a/debian.master/config/i386/config.flavour.generic-pae b/debian.master/config/i386/config.flavour.generic-pae
> index 7a12bef..3620b5b 100644
> --- a/debian.master/config/i386/config.flavour.generic-pae
> +++ b/debian.master/config/i386/config.flavour.generic-pae
> @@ -3,7 +3,6 @@
> #
> CONFIG_ARCH_DMA_ADDR_T_64BIT=y
> CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
> -CONFIG_DEBUG_RODATA=y
> # CONFIG_HIGHMEM4G is not set
> CONFIG_HIGHMEM64G=y
> CONFIG_INTEL_IDLE=y
> diff --git a/debian.master/config/i386/config.flavour.virtual b/debian.master/config/i386/config.flavour.virtual
> index c72e8f7..d4ddb92 100644
> --- a/debian.master/config/i386/config.flavour.virtual
> +++ b/debian.master/config/i386/config.flavour.virtual
> @@ -3,7 +3,6 @@
> #
> CONFIG_ARCH_DMA_ADDR_T_64BIT=y
> CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
> -# CONFIG_DEBUG_RODATA is not set
> # CONFIG_HIGHMEM4G is not set
> CONFIG_HIGHMEM64G=y
> # CONFIG_INTEL_IDLE is not set
> diff --git a/debian.master/config/powerpc/config.common.powerpc b/debian.master/config/powerpc/config.common.powerpc
> index 9d583e8..c68dce0 100644
> --- a/debian.master/config/powerpc/config.common.powerpc
> +++ b/debian.master/config/powerpc/config.common.powerpc
> @@ -49,7 +49,6 @@ CONFIG_CRYPTO_HMAC=y
> # CONFIG_DAB is not set
> CONFIG_DAVICOM_PHY=m
> # CONFIG_DEBUG_INFO is not set
> -CONFIG_DEBUG_RODATA=y
> CONFIG_DEFAULT_CFQ=y
> # CONFIG_DEFAULT_DEADLINE is not set
> CONFIG_DEFAULT_IOSCHED="cfq"
> --
> 1.7.0.4

Acked-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>

--
[]'s
Herton

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 02:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org