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

Bug#525072: marked as done (initramfs-tools: update-initramfs failure resulted in broken dpkg and presumably unbootable system)



Your message dated Wed, 22 Apr 2009 15:55:35 +0100
with message-id <[🔎] 20090422145535.GA3783@qusp.dowland>
and subject line Re: Bug#525072: initramfs-tools: update-initramfs failure resulted in broken dpkg and presumably unbootable system
has caused the Debian Bug report #525072,
regarding initramfs-tools: update-initramfs failure resulted in broken dpkg and presumably unbootable system
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
525072: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525072
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.93.2
Severity: important

~# dpkg --configure -a
Setting up initramfs-tools (0.93.2) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-2.6.26-1-686 (2.6.26-13) ...
Running depmod.
Running mkinitramfs-kpkg.
Deprecation WARNING: use update-initramfs(8)
cpio: ./etc/modprobe.d/arch-aliases.conf: Cannot stat: No such file or directory
mkinitramfs-kpkg failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.26-1-686 (--configure):
 subprocess post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of linux-image-2.6-686:
 linux-image-2.6-686 depends on linux-image-2.6.26-2-686; however:
  Package linux-image-2.6.26-2-686 is not installed.
dpkg: error processing linux-image-2.6-686 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.28-1-686
cpio: ./etc/modprobe.d/arch-aliases.conf: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.28-1-686
dpkg: subprocess post-installation script returned error exit status 1



I'm a bit stumped how to get myself out of this one. At the
moment I cannot do any dpkg operations and I'm not too
confident my system will boot this kernel if I restart it.

-- Package-specific info:
-- /proc/cmdline
root=/dev/mapper/qusp--vg1-qusp--lv--root ro 

-- /proc/filesystems
	ext3
	fuseblk

-- lsmod
Module                  Size  Used by
sha256_generic         11392  0 
cbc                     3264  1 
ipt_MASQUERADE          2656  1 
iptable_nat             4900  1 
nf_nat                 16244  2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4      11660  3 iptable_nat,nf_nat
nf_conntrack           57000  4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4          1920  1 nf_conntrack_ipv4
ip_tables              10128  1 iptable_nat
x_tables               13540  3 ipt_MASQUERADE,iptable_nat,ip_tables
i915                   48900  2 
drm                    76456  3 i915
ppdev                   6500  0 
lp                      8140  0 
parport                30964  2 ppdev,lp
rfcomm                 31024  2 
l2cap                  18336  9 rfcomm
bluetooth              47808  4 rfcomm,l2cap
uinput                  6784  1 
ipv6                  231536  20 
cpufreq_stats           3844  0 
cpufreq_powersave       1536  0 
cpufreq_conservative     5672  0 
cpufreq_userspace       2916  0 
michael_mic             2304  2 
arc4                    1824  2 
ecb                     2624  2 
ieee80211_crypt_tkip     8032  1 
aes_i586                7744  3 
aes_generic            27784  1 aes_i586
ieee80211_crypt_ccmp     4896  1 
fuse                   44860  1 
dm_crypt               11204  1 
speedstep_centrino      5568  0 
loop                   13036  0 
pcmcia                 30676  0 
snd_intel8x0m          12428  0 
snd_intel8x0           26172  0 
snd_pcm_oss            32128  0 
snd_ac97_codec         91716  2 snd_intel8x0m,snd_intel8x0
snd_mixer_oss          12256  1 snd_pcm_oss
ac97_bus                1728  1 snd_ac97_codec
snd_seq_dummy           2628  0 
snd_pcm                63332  4 snd_intel8x0m,snd_intel8x0,snd_pcm_oss,snd_ac97_codec
snd_seq_oss            24636  0 
snd_seq_midi            5760  0 
snd_rawmidi            18784  1 snd_seq_midi
snd_seq_midi_event      6368  2 snd_seq_oss,snd_seq_midi
snd_seq                41576  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
yenta_socket           21452  1 
irtty_sir               4448  0 
ipw2200               121960  0 
thinkpad_acpi          50352  0 
snd_timer              17992  2 snd_pcm,snd_seq
snd_seq_device          6412  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
rsrc_nonstatic          9696  1 yenta_socket
sir_dev                11076  1 irtty_sir
rfkill                  9744  1 thinkpad_acpi
ieee80211              25320  1 ipw2200
ieee80211_crypt         5124  3 ieee80211_crypt_tkip,ieee80211_crypt_ccmp,ieee80211
pcmcia_core            30964  3 pcmcia,yenta_socket,rsrc_nonstatic
snd                    45912  11 snd_intel8x0m,snd_intel8x0,snd_pcm_oss,snd_ac97_codec,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               6440  1 snd
i2c_i801                8176  0 
psmouse                36752  0 
led_class               3844  1 thinkpad_acpi
shpchp                 27316  0 
snd_page_alloc          8200  3 snd_intel8x0m,snd_intel8x0,snd_pcm
i2c_core               20948  1 i2c_i801
serio_raw               4836  0 
intel_agp              22812  1 
pcspkr                  2368  0 
evdev                   8356  12 
nvram                   7180  2 thinkpad_acpi
pci_hotplug            23648  1 shpchp
rng_core                3908  0 
irda                   95368  1 sir_dev
video                  16848  0 
output                  2784  1 video
battery                10116  0 
ac                      4164  0 
button                  6032  0 
agpgart                30740  3 drm,intel_agp
crc_ccitt               2080  1 irda
ext3                  105704  4 
jbd                    41492  1 ext3
mbcache                 7396  1 ext3
dm_mirror              12320  0 
dm_region_hash         10816  1 dm_mirror
dm_log                  8548  2 dm_mirror,dm_region_hash
dm_snapshot            15972  0 
dm_mod                 47188  15 dm_crypt,dm_mirror,dm_log,dm_snapshot
ide_gd_mod             19396  4 
ata_generic             4644  0 
libata                148108  1 ata_generic
scsi_mod              135628  1 libata
ide_pci_generic         3652  0 
piix                    5864  3 
sdhci_pci               6592  0 
sdhci                  13860  1 sdhci_pci
ide_core               95256  3 ide_gd_mod,ide_pci_generic,piix
ehci_hcd               30188  0 
uhci_hcd               19632  0 
e1000                 103780  0 
mmc_core               43036  1 sdhci
usbcore               122204  3 ehci_hcd,uhci_hcd
thermal                15292  0 
processor              40044  2 thermal
fan                     4388  0 
thermal_sys            10536  4 video,thermal,processor,fan

-- /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

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
# crypthome /dev/mapper/qusp--vg1-qusp--lv1--backend none luks


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  cpio                          2.9.90-3   GNU cpio -- a program to manage ar
ii  findutils                     4.4.0-3    utilities for finding files--find,
ii  klibc-utils                   1.5.15-1   small utilities built with klibc f
ii  module-init-tools             3.7-pre9-1 tools for managing Linux kernel mo
ii  udev                          0.140-2    /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

-- 
Jon Dowland
http://jmtd.net/



--- End Message ---
--- Begin Message ---
On Wed, Apr 22, 2009 at 04:14:49PM +0200, maximilian attems wrote:
> please post output of:
>  ls -l /etc/modprobe.d/arch

total 0

aha that could be the culprit:

>  tree /etc/modprobe.d/

trickier, no tree on this machine (yet), will find do for
now?

/etc/modprobe.d
/etc/modprobe.d/libpisock9.conf
/etc/modprobe.d/blacklist.conf.dpkg-old
/etc/modprobe.d/alsa-base.conf.dpkg-old
/etc/modprobe.d/aliases
/etc/modprobe.d/blacklist.conf
/etc/modprobe.d/alsa-base.conf
/etc/modprobe.d/arch-aliases.conf
/etc/modprobe.d/mt-st.conf
/etc/modprobe.d/ibm_acpi.modprobe.conf
/etc/modprobe.d/arch.conf
/etc/modprobe.d/arch.conf/x86_64
/etc/modprobe.d/arch.conf/i386
/etc/modprobe.d/pnp-hotplug.conf
/etc/modprobe.d/sound.conf
/etc/modprobe.d/aliases.conf
/etc/modprobe.d/bluez.conf
/etc/modprobe.d/linux-sound-base_noOSS.conf
/etc/modprobe.d/oss-compat.conf
/etc/modprobe.d/alsa-base-blacklist.conf
/etc/modprobe.d/hsf.conflicts.conf
/etc/modprobe.d/display_class.conf
/etc/modprobe.d/arch
/etc/modprobe.d/hsf.conf

Just performed

    rmdir arch
    mv arch.conf arch

and then

    dpkg --configure -a

This appears to have unstuck dpkg/apt!

I wonder if I did something dumb like 

rename 's,^(.*)$,$1.conf' in /etc/modprobe.d to try and
shut out Marco's annoying warning messages?

Thank you for your help.


-- 
Jon Dowland

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: