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

2009-04-13 Thread Beat Bolli
maximilian attems schrieb:
 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.
 
 well you are using the wrong tool it seems.

So why does the kernel depend on a broken tool? (only half-joking...)

 apt-get install initramfs-tools

OK, after this, the kernel can be configured.

 and post the output of cat /etc/kernel-img.conf

 snip
link_in_boot = Yes
do_initrd = Yes
 snap

/boot looks fine to me.

Thanks for your help!

Beat

-- 
mail: echo 'bnbol...@ewaspnetam.ch' | tr -d '[A-S]'
pgp: 0x506A903A; 49D5 794A EA77 F907 764F  D89E 304B 93CF 506A 903A
gsm: 4.7.7.6.0.7.7.9.7.1.4.e164.arpa
icbm: 47.0452 N, 7.2715 E

It takes love over gold, and mind over matter -- Dire Straits



signature.asc
Description: OpenPGP digital signature


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

2009-04-13 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Apr 12, 2009 at 03:40:33PM -0600, dann frazier wrote:

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 for the detailed info, Dann!


  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknjRNcACgkQn7DbMsAkQLhVIwCfdj1lgXvpIYiqgXnCvxtHNsrj
7KMAmgLUNl2wuVuJvzhWFiEsF66MqnA/
=ZH1+
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2009-04-12 Thread Beat Bolli
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.

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:



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2009-04-12 Thread maximilian attems
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.

well you are using the wrong tool it seems.

apt-get install initramfs-tools

and post the output of cat /etc/kernel-img.conf




-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2009-04-12 Thread dann frazier
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




-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org