Package: kernel-package Version: 11.015 Severity: minor During installation of a kernel image package created on and for the s390 architecture by kernel-package version 11.015, I get the following messages:
======================================================================== Selecting previously deselected package linux-image-2.6.26-custom2-s390. (Reading database ... 27959 files and directories currently installed.) Unpacking linux-image-2.6.26-custom2-s390 (from linux-image-2.6.26-custom2-s390_1_s390.deb) ... Done. Setting up linux-image-2.6.26-custom2-s390 (1) ... Running depmod. Finding valid ramdisk creators. Using mkinitramfs-kpkg to build the ramdisk. You already have a ZIPL configuration in /etc/zipl.conf Do we really want to run bootloader zipl? Configuring linux-image-2.6.26-custom2-s390 -------------------------------------------- The default boot loader for this architecture is zipl, which is present. However, you have not explicitly requested the boot loader zipl should be run in the configuration file /etc/kernel-img.conf, and you seem to have grub installed, and have set a postinst hook (which is used to hook in grub after a kernel image installation). At this point, it is perfectly likely that this system is using grub as a bootloader, and not the builtin default of zipl. If that is the case, running zipl instead of grub might make the machine unbootable. I need to know whether to run the default bootloader zipl, or just let the postinst hook script update grub later. The default is to run zipl. Run the default bootloader? ======================================================================== The contents of /etc/kernel-img.conf are as follows: ======================================================================== # Kernel image management overrides # See kernel-img.conf(5) for details do_symlinks = yes relative_links = yes do_bootloader = yes do_bootfloppy = no do_initrd = yes link_in_boot = yes ======================================================================== I don't know why the installation script thinks that grub is installed. The /boot/grub directory does not exist, and the package management system says that grub is not installed. If I reply "Y" to the install question, the kernel seems to install OK; but the install script should have just run zipl without asking any questions, as far as I can tell. The package was created by the following commands. At the time these commands were issued, there were two installed kernel images: linux-image-2.6.26-1-s390, and linux-image-2.6.26-2-s390, both of which are stock Debian kernels, linux-image-2.6.26-2-s390 was the default kernel, and linux-image-2.6.26-1-s390 was the currently running kernel. kernel-package and its prerequisites have been previously installed. I was logged in as root. ======================================================================== aptitude install linux-source-2.6.26 aptitude clean cd /usr/src tar -xjf linux-source-2.6.26.tar.bz2 rm linux-source-2.6.26.tar.bz2 cd linux-source-2.6.26 cp -a /boot/config-2.6.26-2-s390 .config cd arch/s390/lib vi div64.c [change "alr %1,%2\n" to "ahi %1,1\n", file it] <== manual patch for a bug. See bug number 523942 for details. cd /boot aptitude purge linux-image-2.6.26-2-s390 linux-image-s390 ln -s vmlinuz-2.6.26-1-s390 vmlinuz ln -s initrd.img-2.6.26-1-s390 initrd.img rm initrd.img.old rm vmlinuz.old zipl cd /usr/src/linux-source-2.6.26 make menuconfig [Exit without making any configuration changes] make-kpkg clean make-kpkg --append-to-version -custom2-s390 --revision 1 --initrd kernel_image ======================================================================== Finally, the kernel image package was installed with ======================================================================== cd .. dpkg -i linux-image-2.6.26-custom2-s390_1_s390.deb ======================================================================== This seems somewhat similar to bug number 515138.

