[kernel] r11712 - in dists/sid/linux-2.6/debian: . patches/bugfix patches/series

Maximilian Attems maks at alioth.debian.org
Thu Jun 26 22:17:18 UTC 2008


Author: maks
Date: Thu Jun 26 22:17:17 2008
New Revision: 11712

Log:
add inconsistent kallsyms data patch by waldi

if alpha would have a buildserver that could be prevented much earlier.

Added:
   dists/sid/linux-2.6/debian/patches/bugfix/alpha-kallsyms-data.patch
Modified:
   dists/sid/linux-2.6/debian/changelog
   dists/sid/linux-2.6/debian/patches/series/6

Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	(original)
+++ dists/sid/linux-2.6/debian/changelog	Thu Jun 26 22:17:17 2008
@@ -87,6 +87,7 @@
     - opti621: disable read prefetch
     - Fix tty speed handling on 8250
     - x86-64: Fix "bytes left to copy" return value for copy_from_user()
+   * Fix alpha build due too inconsistent kallsyms data.
 
  -- maximilian attems <maks at debian.org>  Tue, 17 Jun 2008 15:32:16 +0200
 

Added: dists/sid/linux-2.6/debian/patches/bugfix/alpha-kallsyms-data.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/bugfix/alpha-kallsyms-data.patch	Thu Jun 26 22:17:17 2008
@@ -0,0 +1,61 @@
+From: Bastian Blank <waldi at debian.org>
+To: debian-kernel at lists.debian.org, rth at twiddle.net
+Cc: debian-alpha at lists.debian.org
+Subject: Alpha Linux kernel fails with inconsistent kallsyms data
+Message-ID: <20080622201143.GA28262 at wavehammer.waldi.eu.org>
+
+Hi folks
+
+The build of the Alpha Linux kernel currently fails[1] with inconsistent
+kallsyms data. As I never saw that before, I thought about hardware
+problems. But in fact it is a bug in the Linux kernel.
+
+The end of the rodata section is marked with the "__end_rodata" symbol.
+This symbol have different aligning constraints than the inittext parts
+and therefor the start marked "_sinittext". Because of that the
+__end_rodata symbol shifts between < _sinittext and =3D=3D _sinittext. The
+later variant is seen as a code symbol and recorded in the kallsyms
+data.
+
+On fix would be to move the exception table a little bit and get some
+space between that two areas.
+
+Bastian
+
+[1]: http://buildd.debian.org/fetch.cgi?pkg=3Dlinux-2.6&arch=3Dalpha&ver=3D=
+2.6.25-5&stamp=3D1213919009&file=3Dlog&as=3Draw
+
+diff --git a/arch/alpha/kernel/vmlinux.lds.S b/arch/alpha/kernel/vmlinux.ld=
+s.S
+index f13249b..ef37fc1 100644
+--- a/arch/alpha/kernel/vmlinux.lds.S
++++ b/arch/alpha/kernel/vmlinux.lds.S
+@@ -25,6 +25,13 @@ SECTIONS
+ 	} :kernel
+ 	_etext =3D .;	/* End of text section */
+=20
++	NOTES :kernel :note
++	.dummy : {
++		*(.dummy)
++	} :kernel
++
++	RODATA
++
+ 	/* Exception table */
+ 	. =3D ALIGN(16);
+ 	__ex_table : {
+@@ -33,13 +40,6 @@ SECTIONS
+ 		__stop___ex_table =3D .;
+ 	}
+=20
+-	NOTES :kernel :note
+-	.dummy : {
+-		*(.dummy)
+-	} :kernel
+-
+-	RODATA
+-
+ 	/* Will be freed after init */
+ 	. =3D ALIGN(PAGE_SIZE);
+ 	/* Init code and data */
+

Modified: dists/sid/linux-2.6/debian/patches/series/6
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/6	(original)
+++ dists/sid/linux-2.6/debian/patches/series/6	Thu Jun 26 22:17:17 2008
@@ -1,3 +1,4 @@
 + bugfix/all/stable/2.6.25.7.patch
 + bugfix/all/stable/2.6.25.8.patch
 + bugfix/all/stable/2.6.25.9.patch
++ bugfix/alpha-kallsyms-data.patch



More information about the Kernel-svn-changes mailing list