Bug#538387: /usr/sbin/mkinitramfs: fails with readlink error when trying to use a non-generic kernel in install
Package: initramfs-tools
Version: 0.93.3
Severity: normal
File: /usr/sbin/mkinitramfs
Attempting a fresh install of testing mkinitramfs fails with a readlink error if I select to use a hardware specific image. It works fine if I select generic.
Tail of syslog follows:
Jul 21 20:22:06 in-target: The following extra packages will be installed:
Jul 21 20:22:06 in-target: linux-image-2.6.26-2-amd64
Jul 21 20:22:06 in-target: Suggested packages:
Jul 21 20:22:06 in-target: linux-doc-2.6.26 grub lilo
Jul 21 20:22:06 in-target: The following NEW packages will be installed
Jul 21 20:22:06 in-target: linux-image-2.6-amd64 linux-image-2.6.26-2-amd64
Jul 21 20:22:07 in-target: 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Jul 21 20:22:07 in-target: Need to get 20.9MB of archives.
Jul 21 20:22:07 in-target: After this operation, 82.5MB of additional disk space will be used.
Jul 21 20:22:07 in-target: Get: 1 http://ftp.uk.debian.org squeeze/main linux-image-2.6.26-2-amd64 2.6.26-17 [20.9MB]
Jul 21 20:23:29 in-target: Get: 2 http://ftp.uk.debian.org squeeze/main linux-image-2.6-amd64 2.6.26+17+lenny1 [2514B]
Jul 21 20:23:29 in-target: Preconfiguring packages ...
Jul 21 20:23:29 debconf: Obsolete command TITLE Configuring linux-image-2.6.26-2-amd64 called
Jul 21 20:23:29 in-target: Fetched 20.9MB in 1min 22s (255kB/s)
Jul 21 20:23:29 in-target: Selecting previously deselected package linux-image-2.6.26-2-amd64.
Jul 21 20:23:29 in-target: 9719 files and directories currently installed.)
Jul 21 20:23:29 in-target: Unpacking linux-image-2.6.26-2-amd64 (from .../linux-image-2.6.26-2-amd64_2.6.26-17_amd64.deb) ...
Jul 21 20:23:29 debconf: Obsolete command TITLE Configuring linux-image-2.6.26-2-amd64 called
Jul 21 20:23:29 in-target: Done.
Jul 21 20:23:32 in-target: Selecting previously deselected package linux-image-2.6-amd64.
Jul 21 20:23:32 in-target: Unpacking linux-image-2.6-amd64 (from .../linux-image-2.6-amd64_2.6.26+17+lenny1_amd64.deb) ...
Jul 21 20:23:33 in-target: Setting up linux-image-2.6.26-2-amd64 (2.6.26-17) ...
Jul 21 20:23:33 debconf: Obsolete command TITLE Configuring linux-image-2.6.26-2-amd64 called
Jul 21 20:23:33 in-target: Running depmod.
Jul 21 20:23:34 in-target: Running mkinitramfs-kpkg.
Jul 21 20:23:34 in-target: Deprecation WARNING: use update-initramfs(8)
Jul 21 20:23:34 in-target: readlink:
Jul 21 20:23:34 in-target: missing operand
Jul 21 20:23:34 in-target:
Jul 21 20:23:34 in-target: Try `readlink --help' for more information.
Jul 21 20:23:34 in-target: mkinitramfs-kpkg failed to create initrd image.
Jul 21 20:23:34 in-target: Failed to create initrd image.
Jul 21 20:23:34 in-target: dpkg: error processing linux-image-2.6.26-2-amd64 (--configure):
Jul 21 20:23:34 in-target: subprocess installed post-installation script returned error exit status 9
Jul 21 20:23:34 in-target: dpkg: dependency problems prevent configuration of linux-image-2.6-amd64:
Jul 21 20:23:34 in-target: linux-image-2.6-amd64 depends on linux-image-2.6.26-2-amd64; however:
Jul 21 20:23:34 in-target: Package linux-image-2.6.26-2-amd64 is not configured yet.
Jul 21 20:23:34 in-target: dpkg: error processing linux-image-2.6-amd64 (--configure):
Jul 21 20:23:34 in-target: dependency problems - leaving unconfigured
Jul 21 20:23:34 in-target: Errors were encountered while processing:
Jul 21 20:23:34 in-target: linux-image-2.6.26-2-amd64
Jul 21 20:23:34 in-target: linux-image-2.6-amd64
Jul 21 20:23:34 in-target: E: Sub-process /usr/bin/dpkg returned an error code (1)
Jul 21 20:23:34 base-installer: error: exiting on error base-installer/kernel/failed-install
Jul 21 20:31:12 main-menu[1075]: WARNING **: Configuring 'bootstrap-base' failed with error code 30
Jul 21 20:31:12 main-menu[1075]: WARNING **: Menu item 'bootstrap-base' failed.
Jul 21 20:31:24 main-menu[1075]: INFO: Falling back to the package description for auto-install
Jul 21 20:31:24 main-menu[1075]: INFO: Falling back to the package description for ai-choosers
Jul 21 20:31:24 main-menu[1075]: INFO: Menu item 'di-utils-shell' selected
-- Package-specific info:
-- /proc/cmdline
root=UUID=873dd7e5-b29d-4eb8-82b0-c13dee139334 ro
-- /proc/filesystems
ext3
ext2
-- lsmod
Module Size Used by
radeon 133920 2
drm 91488 3 radeon
binfmt_misc 13580 1
ppdev 11656 0
lp 14724 0
rfcomm 38176 2
l2cap 23936 9 rfcomm
bluetooth 57124 4 rfcomm,l2cap
cpufreq_powersave 6400 0
cpufreq_stats 9120 0
cpufreq_conservative 11784 0
cpufreq_userspace 8452 0
cpufreq_ondemand 11792 0
freq_table 9344 2 cpufreq_stats,cpufreq_ondemand
ipv6 288328 20
ext2 66448 1
loop 19468 0
snd_hda_intel 436440 2
snd_pcm_oss 41760 0
snd_mixer_oss 18816 1 snd_pcm_oss
arc4 6272 2
ecb 7296 2
snd_pcm 81672 2 snd_hda_intel,snd_pcm_oss
crypto_blkcipher 21636 1 ecb
snd_seq_dummy 7428 0
snd_seq_oss 33280 0
pcspkr 7040 0
snd_seq_midi 11072 0
parport_pc 31016 1
parport 41776 3 ppdev,lp,parport_pc
snd_rawmidi 26784 1 snd_seq_midi
b43 126504 0
rfkill 11168 1 b43
rng_core 8968 1 b43
snd_seq_midi_event 11904 2 snd_seq_oss,snd_seq_midi
mac80211 162736 1 b43
snd_seq 54304 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
cfg80211 30096 1 mac80211
led_class 8968 1 b43
input_polldev 8720 1 b43
i2c_ali15x3 11396 0
i2c_ali1535 10884 0
i2c_core 27936 2 i2c_ali15x3,i2c_ali1535
k8temp 9216 0
snd_timer 25744 2 snd_pcm,snd_seq
snd_seq_device 11668 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
shpchp 34208 0
snd 63688 13 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 12064 1 snd
snd_page_alloc 13072 2 snd_hda_intel,snd_pcm
button 11680 0
pci_hotplug 32056 1 shpchp
evdev 14208 3
ext3 124944 2
jbd 51240 1 ext3
mbcache 12804 2 ext2,ext3
usbhid 45920 0
hid 41664 1 usbhid
ff_memless 9224 1 usbhid
ide_cd_mod 36360 0
cdrom 37928 1 ide_cd_mod
ide_disk 16512 5
ata_generic 10116 0
ide_pci_generic 9220 0 [permanent]
ohci_hcd 25092 0
sata_uli 9348 0
libata 165600 2 ata_generic,sata_uli
scsi_mod 160760 1 libata
dock 14112 1 libata
alim15x3 11280 0 [permanent]
ide_core 128284 4 ide_cd_mod,ide_disk,ide_pci_generic,alim15x3
r8169 31492 0
ohci1394 32692 0
ieee1394 93816 1 ohci1394
ssb 43140 1 b43
pcmcia 38680 2 b43,ssb
pcmcia_core 41508 3 b43,ssb,pcmcia
firmware_class 12544 2 b43,pcmcia
ehci_hcd 35980 0
thermal 22816 0
processor 42304 1 thermal
fan 9352 0
thermal_sys 17728 3 thermal,processor,fan
dm_mirror 20608 0
dm_log 13956 1 dm_mirror
dm_mod 58864 2 dm_mirror,dm_log
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = update-grub
postrm_hook = update-grub
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.10-1 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1 utilities for finding files--find,
ii klibc-utils 1.5.15-1 small utilities built with klibc f
ii module-init-tools 3.9-2 tools for managing Linux kernel mo
ii udev 0.141-1 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.10.2-2 Tiny utilities for small and embed
initramfs-tools suggests no packages.
-- no debconf information
Reply to: