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

Bug#523828: linux-image-2.6.26-2-486: fails to find modules.pcimap



forcemerge 519866 523828
thanks

On Sun, Apr 12, 2009 at 09:37:51PM +0200, Beat Bolli wrote:
> Package: linux-image-2.6.26-2-486
> Version: 2.6.26-15
> Severity: grave
> Justification: renders package unusable
> 
> During installation of the latest 2.6 kernel I get the following:
> 
> Setting up linux-image-2.6.26-2-486 (2.6.26-15) ...
> Running depmod.
> Running mkinitrd.yaird.
> yaird error: can't open pci module list /lib/modules/2.6.26-2-486/modules.pcimap (fatal)
> mkinitrd.yaird failed to create initrd image.
> Failed to create initrd image.
> dpkg: error processing linux-image-2.6.26-2-486 (--configure):
>  subprocess post-installation script returned error exit status 9
>  
> A second "aptitude full-upgrade" produces the same messages.

The root issue here is that module-init-tools version in squeeze has
stopped generating the .map files by default. From the upstream changelog:

3.6 Version:
o depmod: make building map files optional (does anyone use them anyway?)

So either yaird needs to be updated to no longer require the
modules.pcimap file, or make sure the map files still get generated
either by calling depmod -m itself, or working with the kernel team
to have the image postinst modified to include -m.

Note that 2.6.26 kernels are only being updated for use in lenny. The
reason this update appeared in squeeze is because a newer release has
not yet migrated from sid into squeeze, but we need squeeze versions
of package to be greater than or equal to the versions in
lenny. Changing maintainer scripts in the lenny packages will unlikely
be done unless its shown to break upgrades to lenny.

As a workaround, you might consider trying initramfs-tools instead of
yaird, or manually running:

  # depmod -a -m -F /boot/System.map-2.6.26-2-686 2.6.26-2-686
  # dpkg --configure -a

> Thanks,
> 
> Beat Bolli
> -- Package-specific info:
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.26-1-486
> Locale: LANG=en_US.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages linux-image-2.6.26-2-486 depends on:
> ii  debconf [debconf-2.0]         1.5.26     Debian configuration management sy
> ii  module-init-tools             3.7-pre9-1 tools for managing Linux kernel mo
> ii  yaird [linux-initramfs-tool]  0.0.13-5   Yet Another mkInitRD
> 
> linux-image-2.6.26-2-486 recommends no packages.
> 
> Versions of packages linux-image-2.6.26-2-486 suggests:
> ii  grub-pc [grub]           1.96+20090317-1 GRand Unified Bootloader, version 
> pn  linux-doc-2.6.26         <none>          (no description available)
> 
> -- debconf information:
>   linux-image-2.6.26-2-486/preinst/abort-install-2.6.26-2-486:
>   linux-image-2.6.26-2-486/preinst/lilo-has-ramdisk:
>   linux-image-2.6.26-2-486/preinst/lilo-initrd-2.6.26-2-486: true
>   linux-image-2.6.26-2-486/postinst/create-kimage-link-2.6.26-2-486: true
>   linux-image-2.6.26-2-486/postinst/bootloader-error-2.6.26-2-486:
>   linux-image-2.6.26-2-486/prerm/removing-running-kernel-2.6.26-2-486: true
>   linux-image-2.6.26-2-486/preinst/failed-to-move-modules-2.6.26-2-486:
>   linux-image-2.6.26-2-486/postinst/old-initrd-link-2.6.26-2-486: true
>   linux-image-2.6.26-2-486/postinst/old-dir-initrd-link-2.6.26-2-486: true
>   linux-image-2.6.26-2-486/postinst/depmod-error-initrd-2.6.26-2-486: false
>   shared/kernel-image/really-run-bootloader: true
>   linux-image-2.6.26-2-486/postinst/depmod-error-2.6.26-2-486: false
>   linux-image-2.6.26-2-486/preinst/initrd-2.6.26-2-486:
>   linux-image-2.6.26-2-486/preinst/elilo-initrd-2.6.26-2-486: true
>   linux-image-2.6.26-2-486/preinst/overwriting-modules-2.6.26-2-486: true
>   linux-image-2.6.26-2-486/postinst/old-system-map-link-2.6.26-2-486: true
>   linux-image-2.6.26-2-486/postinst/bootloader-test-error-2.6.26-2-486:
>   linux-image-2.6.26-2-486/prerm/would-invalidate-boot-loader-2.6.26-2-486: true
>   linux-image-2.6.26-2-486/preinst/bootloader-initrd-2.6.26-2-486: true
>   linux-image-2.6.26-2-486/preinst/abort-overwrite-2.6.26-2-486:
>   linux-image-2.6.26-2-486/postinst/kimage-is-a-directory:
> 
> 
> 

-- 
dann frazier




Reply to: