[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#733895: kernel 3.12 FTBFS and parisc patches



Package: linux
Version: 3.12
Severity: bug
Tags: patch

In Bug# 721191 we removed the parisc-smp and parisc64 (non-SMP) kernel variants.
Sadly I forgot to correct the kernel versions in the debian/installer/hppa/kernel-versions file, so that the final build stage failed because it tried to package the parisc64 variant for the debian-installer, while only the parisc64-smp variant is available.
The attached patch fixes this.

Furthermore the attached patch changes the kernel to build-in the AGP modules, else we get an AGP-error at boot (Ben Hutchings suggested in bug 721191 this: "You might yet need to make them built-in, as nothing else ensures that AGP devices are initialised before DRM devices.").

And the attached patch enables the CONFIG_DEBUG_STACKOVERFLOW=y option. With that one, we get enhanced information about stack usage in the /proc/interrupts file and stack overflows was one of the main problems regarding stability of the parisc-kernel in the past.
Performance-penalty of this option is minimal.

Thanks,
Helge
Index: linux/debian/config/hppa/config
===================================================================
--- linux/debian/config/hppa/config	(revision 20943)
+++ linux/debian/config/hppa/config	(working copy)
@@ -21,6 +21,7 @@
 ## file: arch/parisc/Kconfig.debug
 ##
 # CONFIG_DEBUG_RODATA is not set
+CONFIG_DEBUG_STACKOVERFLOW=y
 
 ##
 ## file: block/partitions/Kconfig
Index: linux/debian/config/hppa/config.parisc64-smp
===================================================================
--- linux/debian/config/hppa/config.parisc64-smp	(revision 20943)
+++ linux/debian/config/hppa/config.parisc64-smp	(working copy)
@@ -19,8 +19,8 @@
 ## file: drivers/char/agp/Kconfig
 ##
 #. for ATI FireGL DRM in C8000 workstation
-CONFIG_AGP=m
-CONFIG_AGP_PARISC=m
+CONFIG_AGP=y
+CONFIG_AGP_PARISC=y
 
 ##
 ## file: drivers/gpu/drm/Kconfig
Index: linux/debian/installer/hppa/kernel-versions
===================================================================
--- linux/debian/installer/hppa/kernel-versions	(revision 20943)
+++ linux/debian/installer/hppa/kernel-versions	(working copy)
@@ -1,3 +1,3 @@
-# arch version flavour  installedname suffix build-depends
-hppa   -       parisc   -             y      -
-hppa   -       parisc64 -             y      -
+# arch version flavour      installedname suffix build-depends
+hppa   -       parisc       -             y      -
+hppa   -       parisc64-smp -             y      -

Reply to: