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

Bug#380292: linux-image-2.6.16-2-k7-smp: upgrade re-ran lilo



Package: linux-image-2.6.16-2-k7-smp
Version: 2.6.16-17
Severity: normal

I upgraded this image and the installation process re-ran lilo.  This
had the unfortunate effect of taking control of the boot back from
grub, and of making my system unbootable.

I've reinstalled grub (i.e., I'm OK), but I thought lilo was no longer
getting run by default.  I was so sure, I didn't even check before
reboot :(.

If this is actually a feature, feel free to close (though I'd
appreciate knowing if there is a way to disable it).

If this misbehavior belongs to some other package (e.g., initramfs)
please reassign as appropriate.

Here's the relevant part of my log:
------------------------------------------------------------------------------
Preparing to replace linux-image-2.6.16-2-k7-smp 2.6.16-15 (using .../linux-image-2.6.16-2-k7-smp_2.6.16-17_i386.deb) ...
The directory /lib/modules/2.6.16-2-k7-smp still exists. Continuing as directed.
Configuring linux-image-2.6.16-2-k7-smp
---------------------------------------

 The kernel version running is the same as the one being installed

You are attempting to install a kernel version that is the same as the version you are currently running (version
2.6.16-2-k7-smp). The modules list is quite likely to have been changed, and the modules dependency file
/lib/modules/2.6.16-2-k7-smp/modules.dep needs to be re-built. It can not be built correctly right now, since the module
list for the running kernel are likely to be different from the kernel installed. I am creating a new modules.dep file, but
that may not be correct. It shall be regenerated correctly at next reboot.

I repeat: you have to reboot in order for the modules file to be created correctly. Until you reboot, it may be impossible
to load some modules. Reboot as soon as this install is finished (Do not reboot right now, since you may not be able to
boot back up until installation is over, but boot immediately after). I can not stress that too much. You need to reboot
soon.

Done.
Unpacking replacement linux-image-2.6.16-2-k7-smp ...


# and later

Setting up linux-image-2.6.16-2-k7-smp (2.6.16-17) ...

 Hmm. The package shipped with a symbolic link /lib/modules/2.6.16-2-k7-smp/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.16-2-k7-smp/source

Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Other valid candidates: mkinitramfs-kpkg mkinitrd.yaird
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.16-15 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.16-15 was configured last, according to dpkg)
You already have a LILO configuration in /etc/lilo.conf
Testing lilo.conf ...
Testing successful.
Installing the partition boot sector...
Running /sbin/lilo  ...
Installation successful.
---------------------------------------------------------------------

My system has both grub and lilo on it.  Originally I used lilo, but I
switched to grub.

P.S. reportbug gave me a bunch of messages about checksum mismatches
with various files.  I suspect it took the checksum with the old
kernel's files, and isn't happy now that the new ones are there.



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages linux-image-2.6.16-2-k7-smp depends on:
ii  initramfs-tools [linux-initra 0.69b      tools for generating an initramfs
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  yaird [linux-initramfs-tool]  0.0.12-15  Yet Another mkInitRD

Versions of packages linux-image-2.6.16-2-k7-smp recommends:
pn  libc6-i686                    <none>     (no description available)

-- debconf information:
  linux-image-2.6.16-2-k7-smp/preinst/overwriting-modules-2.6.16-2-k7-smp: true
  linux-image-2.6.16-2-k7-smp/postinst/old-dir-initrd-link-2.6.16-2-k7-smp: true
* linux-image-2.6.16-2-k7-smp/preinst/already-running-this-2.6.16-2-k7-smp:
  linux-image-2.6.16-2-k7-smp/preinst/abort-overwrite-2.6.16-2-k7-smp:
  linux-image-2.6.16-2-k7-smp/preinst/initrd-2.6.16-2-k7-smp:
  linux-image-2.6.16-2-k7-smp/postinst/old-initrd-link-2.6.16-2-k7-smp: true
  linux-image-2.6.16-2-k7-smp/preinst/lilo-has-ramdisk:
  linux-image-2.6.16-2-k7-smp/postinst/create-kimage-link-2.6.16-2-k7-smp: true
  linux-image-2.6.16-2-k7-smp/prerm/would-invalidate-boot-loader-2.6.16-2-k7-smp: true
  linux-image-2.6.16-2-k7-smp/preinst/abort-install-2.6.16-2-k7-smp:
  linux-image-2.6.16-2-k7-smp/postinst/kimage-is-a-directory:
  linux-image-2.6.16-2-k7-smp/prerm/removing-running-kernel-2.6.16-2-k7-smp: true
  linux-image-2.6.16-2-k7-smp/preinst/elilo-initrd-2.6.16-2-k7-smp: true
  linux-image-2.6.16-2-k7-smp/postinst/bootloader-test-error-2.6.16-2-k7-smp:
  linux-image-2.6.16-2-k7-smp/postinst/depmod-error-initrd-2.6.16-2-k7-smp: false
  linux-image-2.6.16-2-k7-smp/preinst/bootloader-initrd-2.6.16-2-k7-smp: true
  linux-image-2.6.16-2-k7-smp/postinst/bootloader-error-2.6.16-2-k7-smp:
  linux-image-2.6.16-2-k7-smp/postinst/depmod-error-2.6.16-2-k7-smp: false
  linux-image-2.6.16-2-k7-smp/postinst/old-system-map-link-2.6.16-2-k7-smp: true
  linux-image-2.6.16-2-k7-smp/preinst/failed-to-move-modules-2.6.16-2-k7-smp:
* linux-image-2.6.16-2-k7-smp/preinst/lilo-initrd-2.6.16-2-k7-smp: true



Reply to: