Re: Rebuilding Wheezy kernel
Hi, sorry for the late answer. I marked it as »to-do« and forgot about it. (Also I hoped that somebody else would answer.) On Wed, Nov 07, 2012 at 02:33:55PM -0600, Dave Jones wrote: > fakeroot make -f debian/rules.gen binary-arch_s390x_none_s390x > > wakeup_source_unregister module: vmlinux, > version: 0x7c778579, export: EXPORT_SYMBOL_GPL > make[1]: *** [debian/stamps/build_s390x_none_s390x_plain] Error 1 > make[1]: Leaving directory `/root/linux-3.2.23' > make: *** [binary-arch_s390x_none_s390x_real] Error 2 > root@debian:~/linux-3.2.23# > > Where might I find the build log that would expound on what's really > wrong here? The reason for this is that Debian kernel builds check that no symbols unexpectedly appear or disappear. If that happens modules that were compiled against a given kernel version would break. That's the -4- in 3.2.0-4-s390x. This is increased when symbols are incompatible and modules need to be rebuilt. It might work to comment out the following line in »debian/rules.real«: python debian/bin/buildcheck.py $(DIR) $(ARCH) $(FEATURESET) $(FLAVOUR) Then probably rules.gen needs to be regenerated. Kind regards Philipp Kern signature.asc Description: Digital signature
Re: Rebuilding Wheezy kernel
Hello, everyone. On 11/06/2012 03:52 AM, Philipp Kern wrote: > On Mon, Nov 05, 2012 at 03:19:05PM -0600, Dave Jones wrote: >> 1) If I install the libncurses5-dev package and use the >> instructions found in Chapter 4, Section 5 of the Debian Linux >> Kernel Handbook (i.e., the make menuconfig, make clean, make >> deb-pkg steps), the kernel built is for the s390 architecture and >> not the s390x one. > > What does «dpkg-architecture -qDEB_HOST_ARCH» say? > It says: root@debian:~/linux-3.2.23# dpkg-architecture -qDEB_HOST_ARCH s390x >> 4) Why is the kernel build process for s390x different than the >> one documented in the Handbook? > > «Because the handbook is outdated» would be my guess. > OK, that's a good answer.:-) Now another problem has arisenfollowing the method that Philipp outlines in earlier notes, I am getting the following error message in the build modules step of: fakeroot make -f debian/rules.gen binary-arch_s390x_none_s390x wakeup_source_unregister module: vmlinux, version: 0x7c778579, export: EXPORT_SYMBOL_GPL make[1]: *** [debian/stamps/build_s390x_none_s390x_plain] Error 1 make[1]: Leaving directory `/root/linux-3.2.23' make: *** [binary-arch_s390x_none_s390x_real] Error 2 root@debian:~/linux-3.2.23# Where might I find the build log that would expound on what's really wrong here? Thanks and have a good one, too. DJ > Kind regards Philipp Kern > -- Dave Jones V/Soft Software www.vsoft-software.com Houston, TX 281.578.7544 -- To UNSUBSCRIBE, email to debian-s390-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/509ac5b3.9050...@vsoft-software.com
Re: Rebuilding Wheezy kernel
On Mon, Nov 05, 2012 at 03:19:05PM -0600, Dave Jones wrote: > 1) If I install the libncurses5-dev package and use the instructions > found in Chapter 4, Section 5 of the Debian Linux Kernel Handbook (i.e., > the make menuconfig, make clean, make deb-pkg steps), the kernel built > is for the s390 architecture and not the s390x one. What does «dpkg-architecture -qDEB_HOST_ARCH» say? > 4) Why is the kernel build process for s390x different than the one > documented in the Handbook? «Because the handbook is outdated» would be my guess. Kind regards Philipp Kern signature.asc Description: Digital signature