[kernel] r14286 - in dists/sid/linux-2.6/debian: . patches/bugfix/hppa patches/series
Martin Michlmayr
tbm at alioth.debian.org
Thu Sep 24 17:22:21 UTC 2009
Author: tbm
Date: Thu Sep 24 17:22:20 2009
New Revision: 14286
Log:
fix hppa boot panic
Added:
dists/sid/linux-2.6/debian/patches/bugfix/hppa/
dists/sid/linux-2.6/debian/patches/bugfix/hppa/workaround-duplicate-section-names.patch
Modified:
dists/sid/linux-2.6/debian/changelog
dists/sid/linux-2.6/debian/patches/series/8
Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog Thu Sep 24 17:07:24 2009 (r14285)
+++ dists/sid/linux-2.6/debian/changelog Thu Sep 24 17:22:20 2009 (r14286)
@@ -3,6 +3,8 @@
[ Martin Michlmayr ]
* Disable SYS_HAS_EARLY_PRINTK on SGI IP22 to work around a hang
during bootup (Closes: #507557)
+ * module: workaround duplicate section names to workaround a panic
+ on boot on hppa (Closes: #545229).
-- Martin Michlmayr <tbm at cyrius.com> Thu, 24 Sep 2009 18:06:37 +0100
Added: dists/sid/linux-2.6/debian/patches/bugfix/hppa/workaround-duplicate-section-names.patch
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/sid/linux-2.6/debian/patches/bugfix/hppa/workaround-duplicate-section-names.patch Thu Sep 24 17:22:20 2009 (r14286)
@@ -0,0 +1,20 @@
+This is a combination of:
+http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=1b364bf438cf337a3818aee77d68c0713f3e1fc4
+http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=ea6bff368548d79529421a9dc0710fc5330eb504
+
+module: workaround duplicate section names
+
+--- a/kernel/module.c 2009-09-24 17:18:51.000000000 +0000
++++ b/kernel/module.c 2009-09-24 17:19:42.000000000 +0000
+@@ -1255,6 +1255,10 @@
+ struct module_notes_attrs *notes_attrs;
+ struct bin_attribute *nattr;
+
++ /* failed to create section attributes, so can't create notes */
++ if (!mod->sect_attrs)
++ return;
++
+ /* Count notes sections and allocate structures. */
+ notes = 0;
+ for (i = 0; i < nsect; i++)
+
Modified: dists/sid/linux-2.6/debian/patches/series/8
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/8 Thu Sep 24 17:07:24 2009 (r14285)
+++ dists/sid/linux-2.6/debian/patches/series/8 Thu Sep 24 17:22:20 2009 (r14286)
@@ -1 +1,2 @@
+ bugfix/mips/ip22-no-early-printk.patch
++ bugfix/hppa/workaround-duplicate-section-names.patch
More information about the Kernel-svn-changes
mailing list