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

Bug#534201: [initramfs-tools] output



Package: initramfs-tools
Version: 0.93.4

--- Please enter the report below this line. ---


The output of sh -x update-initramfs -u (as root) was (when the bug
occured and with version 0.93.3):

> + STATEDIR=/var/lib/initramfs-tools
> + BOOTDIR=/boot
> + CONF=/etc/initramfs-tools/update-initramfs.conf
> + KPKGCONF=/etc/kernel-img.conf
> + USETRIGGERS=true
> + mode=
> + version=
> + set -e
> + '[' -r /etc/initramfs-tools/update-initramfs.conf ']'
> + . /etc/initramfs-tools/update-initramfs.conf
> ++ update_initramfs=yes
> ++ backup_initramfs=yes
> + true
> + '[' x '!=' x ']'
> + verbose=0
> + yes=0
> + takeover=0
> + getopts 'k:cudyvtb:h?' flag
> + case "${flag}" in
> + mode=u
> + getopts 'k:cudyvtb:h?' flag
> + shift 1
> + '[' 0 -ne 0 ']'
> + '[' -z u ']'
> + '[' '' = all ']'
> + '[' yes = all ']'
> + case "${mode}" in
> + update
> + '[' yes = no ']'
> + '[' -z '' ']'
> + set_highest_version
> + get_sorted_versions
> + version_list=
> + for gsv_x in '"${STATEDIR}"/*'
> ++ basename /var/lib/initramfs-tools/2.6.21-2-amd64
> + gsv_x=2.6.21-2-amd64
> + '[' 2.6.21-2-amd64 = '*' ']'
> + worklist=
> + '[' 2.6.21-2-amd64 '!=' '' ']'
> + worklist=' 2.6.21-2-amd64'
> + version_list=' 2.6.21-2-amd64'
> + for gsv_x in '"${STATEDIR}"/*'
> ++ basename /var/lib/initramfs-tools/2.6.22-2-amd64
> + gsv_x=2.6.22-2-amd64
> + '[' 2.6.22-2-amd64 = '*' ']'
> + worklist=
> + for gsv_i in '$version_list'
> + dpkg --compare-versions 2.6.22-2-amd64 '>' 2.6.21-2-amd64
> + worklist=' 2.6.22-2-amd64 2.6.21-2-amd64'
> + gsv_x=
> + '[' '' '!=' '' ']'
> + version_list=' 2.6.22-2-amd64 2.6.21-2-amd64'
> + for gsv_x in '"${STATEDIR}"/*'
> ++ basename /var/lib/initramfs-tools/2.6.22-3-amd64
> + gsv_x=2.6.22-3-amd64
> + '[' 2.6.22-3-amd64 = '*' ']'
> + worklist=
> + for gsv_i in '$version_list'
> + dpkg --compare-versions 2.6.22-3-amd64 '>' 2.6.22-2-amd64
> + worklist=' 2.6.22-3-amd64 2.6.22-2-amd64'
> + gsv_x=
> + for gsv_i in '$version_list'
> + dpkg --compare-versions '' '>' 2.6.21-2-amd64
> + worklist=' 2.6.22-3-amd64 2.6.22-2-amd64 2.6.21-2-amd64'
> + '[' '' '!=' '' ']'
> + version_list=' 2.6.22-3-amd64 2.6.22-2-amd64 2.6.21-2-amd64'
> + for gsv_x in '"${STATEDIR}"/*'
> ++ basename /var/lib/initramfs-tools/2.6.26-1-amd64
> + gsv_x=2.6.26-1-amd64
> + '[' 2.6.26-1-amd64 = '*' ']'
> + worklist=
> + for gsv_i in '$version_list'
> + dpkg --compare-versions 2.6.26-1-amd64 '>' 2.6.22-3-amd64
> + worklist=' 2.6.26-1-amd64 2.6.22-3-amd64'
> + gsv_x=
> + for gsv_i in '$version_list'
> + dpkg --compare-versions '' '>' 2.6.22-2-amd64
> + worklist=' 2.6.26-1-amd64 2.6.22-3-amd64 2.6.22-2-amd64'
> + for gsv_i in '$version_list'
> + dpkg --compare-versions '' '>' 2.6.21-2-amd64
> + worklist=' 2.6.26-1-amd64 2.6.22-3-amd64 2.6.22-2-amd64 2.6.21-2-amd64'
> + '[' '' '!=' '' ']'
> + version_list=' 2.6.26-1-amd64 2.6.22-3-amd64 2.6.22-2-amd64
2.6.21-2-amd64'
> + for gsv_x in '"${STATEDIR}"/*'
> ++ basename /var/lib/initramfs-tools/2.6.26-2-amd64
> + gsv_x=2.6.26-2-amd64
> + '[' 2.6.26-2-amd64 = '*' ']'
> + worklist=
> + for gsv_i in '$version_list'
> + dpkg --compare-versions 2.6.26-2-amd64 '>' 2.6.26-1-amd64
> + worklist=' 2.6.26-2-amd64 2.6.26-1-amd64'
> + gsv_x=
> + for gsv_i in '$version_list'
> + dpkg --compare-versions '' '>' 2.6.22-3-amd64
> + worklist=' 2.6.26-2-amd64 2.6.26-1-amd64 2.6.22-3-amd64'
> + for gsv_i in '$version_list'
> + dpkg --compare-versions '' '>' 2.6.22-2-amd64
> + worklist=' 2.6.26-2-amd64 2.6.26-1-amd64 2.6.22-3-amd64 2.6.22-2-amd64'
> + for gsv_i in '$version_list'
> + dpkg --compare-versions '' '>' 2.6.21-2-amd64
> + worklist=' 2.6.26-2-amd64 2.6.26-1-amd64 2.6.22-3-amd64
2.6.22-2-amd64 2.6.21-2-amd64'
> + '[' '' '!=' '' ']'
> + version_list=' 2.6.26-2-amd64 2.6.26-1-amd64 2.6.22-3-amd64
2.6.22-2-amd64 2.6.21-2-amd64'
> + verbose 'Available versions:  2.6.26-2-amd64 2.6.26-1-amd64
2.6.22-3-amd64 2.6.22-2-amd64 2.6.21-2-amd64'
> + '[' 0 = 1 ']'
> + set -- 2.6.26-2-amd64 2.6.26-1-amd64 2.6.22-3-amd64 2.6.22-2-amd64
2.6.21-2-amd64
> + version=2.6.26-2-amd64
> + '[' -z 2.6.26-2-amd64 ']'
> + '[' -z 2.6.26-2-amd64 ']'
> + '[' -z 2.6.26-2-amd64 ']'
> + set_initramfs
> + initramfs=/boot/initrd.img-2.6.26-2-amd64
> + ro_boot_check
> + '[' '!' -r /proc/mounts ']'
> + chrooted
> ++ stat -c %d/%i /
> ++ stat -Lc %d/%i /proc/1/root
> + '[' 65024/2 = 65024/2 ']'
> + return 1
> ++ awk '/boot/{if ((match($4, /^ro/) || match($4, /,ro/)) \
> 		&& $2 == "/boot") print "ro"}' /proc/mounts
> + boot_opts=
> + '[' -n '' ']'
> + altered_check
> + '[' 0 = 1 ']'
> + '[' '!' -e /boot/initrd.img-2.6.26-2-amd64 ']'
> + compare_sha1
> + sha1sum /boot/initrd.img-2.6.26-2-amd64
> + diff /var/lib/initramfs-tools/2.6.26-2-amd64 -
> + return 0
> + backup_initramfs
> + '[' '!' -r /boot/initrd.img-2.6.26-2-amd64 ']'
> + initramfs_bak=/boot/initrd.img-2.6.26-2-amd64.dpkg-bak
> + '[' -r /boot/initrd.img-2.6.26-2-amd64.dpkg-bak ']'
> + rm -f /boot/initrd.img-2.6.26-2-amd64.dpkg-bak
> + ln -f /boot/initrd.img-2.6.26-2-amd64
/boot/initrd.img-2.6.26-2-amd64.dpkg-bak
> + verbose 'Keeping /boot/initrd.img-2.6.26-2-amd64.dpkg-bak'
> + '[' 0 = 1 ']'
> + generate_initramfs
> + echo 'update-initramfs: Generating /boot/initrd.img-2.6.26-2-amd64'
> update-initramfs: Generating /boot/initrd.img-2.6.26-2-amd64
> + OPTS=-o
> + '[' 0 = 1 ']'
> + mkinitramfs -o /boot/initrd.img-2.6.26-2-amd64.new 2.6.26-2-amd64
> + mv -f /boot/initrd.img-2.6.26-2-amd64.new
/boot/initrd.img-2.6.26-2-amd64
> + set_sha1
> + sha1sum /boot/initrd.img-2.6.26-2-amd64
> + run_bootloader
> + command -v update-grub
> + '[' -e /etc/lilo.conf ']'
> + '[' -r /etc/lilo.conf ']'
> + command -v elilo
> + elilo
> dpkg: warning: obsolete option '--print-installation-architecture',
please use '--print-architecture' instead.
> elilo: /etc/elilo.conf: No such file or directory

Now the problem got solved and the output is:


"
> + STATEDIR=/var/lib/initramfs-tools
> + BOOTDIR=/boot
> + CONF=/etc/initramfs-tools/update-initramfs.conf
> + KPKGCONF=/etc/kernel-img.conf
> + USETRIGGERS=true
> + mode=
> + version=
> + set -e
> + '[' -r /etc/initramfs-tools/update-initramfs.conf ']'
> + . /etc/initramfs-tools/update-initramfs.conf
> ++ update_initramfs=yes
> ++ backup_initramfs=yes
> + true
> + '[' x '!=' x ']'
> + verbose=0
> + yes=0
> + takeover=0
> + getopts 'k:cudyvtb:h?' flag
> + case "${flag}" in
> + mode=u
> + getopts 'k:cudyvtb:h?' flag
> update-initramfs: illegal option -- #
> + case "${flag}" in
> + usage
> + '[' -n '' ']'
> + cat
> Usage: update-initramfs [OPTION]...
>
> Options:
>  -k [version]	Specify kernel version or 'all'
>  -c		Create a new initramfs
>  -u		Update an existing initramfs
>  -d		Remove an existing initramfs
>  -t		Take over a custom initramfs with this one
>  -b		Set alternate boot directory
>  -v		Be verbose
>  -h		This message
>
> + exit 1

"

The >s were inserted by iceweasel.

There may be people having this problem too, so I don't want to close
this bug.


Thank you for your fine work!
Matthias Krüger

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.26-2-amd64

Debian Release: squeeze/sid
  500 testing         141.76.2.4
  500 stable          security.debian.org
  500 stable          http.us.debian.org

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-=============
klibc-utils           (>= 1.5.9-1) | 1.5.15-1
cpio                               | 2.10-1
module-init-tools                  | 3.9-2
udev                  (>= 0.086-1) | 0.141-1
findutils              (>= 4.2.24) | 4.4.2-1


Recommends                 (Version) | Installed
====================================-+-===============
busybox               (>= 1:1.01-3)  | 1:1.10.2-2
 OR busybox-initramfs                |


Package's Suggests field is empty.


--- Output from package bug script ---
-- /proc/cmdline
root=/dev/mapper/raven-root ro quiet vga=775

-- /proc/filesystems
	ext3
	fuseblk

-- lsmod
Module                  Size  Used by
binfmt_misc            13580  1
ppdev                  11656  0
lp                     14724  0
kvm                   127592  0
tun                    14084  1
powernow_k8            17156  1
cpufreq_ondemand       11792  0
cpufreq_powersave       6400  0
cpufreq_stats           9120  0
freq_table              9344  3 powernow_k8,cpufreq_ondemand,cpufreq_stats
cpufreq_userspace       8452  0
cpufreq_conservative    11784  0
ipv6                  288328  24
fuse                   53184  1
dm_crypt               17032  0
crypto_blkcipher       21636  1 dm_crypt
loop                   19468  0
snd_hda_intel         436440  6
snd_pcm_oss            41760  0
snd_mixer_oss          18816  4 snd_pcm_oss
snd_pcm                81672  2 snd_hda_intel,snd_pcm_oss
snd_seq_dummy           7428  0
snd_seq_oss            33280  0
serio_raw               9860  0
snd_seq_midi           11072  0
snd_rawmidi            26784  1 snd_seq_midi
shpchp                 34208  0
snd_seq_midi_event     11904  2 snd_seq_oss,snd_seq_midi
snd_seq                54304  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
psmouse                42268  0
pci_hotplug            32056  1 shpchp
snd_timer              25744  2 snd_pcm,snd_seq
parport_pc             31016  1
snd_seq_device         11668  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
pcspkr                  7040  0
parport                41776  3 ppdev,lp,parport_pc
k8temp                  9216  0
joydev                 14848  0
i2c_piix4              13072  0
snd                    63688  15
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  4 snd
i2c_core               27936  1 i2c_piix4
snd_page_alloc         13072  2 snd_hda_intel,snd_pcm
button                 11680  0
evdev                  14208  4
ext3                  124944  6
jbd                    51240  1 ext3
mbcache                12804  1 ext3
dm_snapshot            19400  0
usbhid                 45920  0
hid                    41664  1 usbhid
ff_memless              9224  1 usbhid
ide_cd_mod             36360  0
cdrom                  37928  1 ide_cd_mod
ata_generic            10116  0
ide_pci_generic         9220  0 [permanent]
sd_mod                 29376  3
ohci_hcd               25092  0
atiixp                  8324  0 [permanent]
r8169                  31492  0
ide_core              128284  3 ide_cd_mod,ide_pci_generic,atiixp
ahci                   33036  2
libata                165600  2 ata_generic,ahci
scsi_mod              160760  2 sd_mod,libata
dock                   14112  1 libata
ehci_hcd               35980  0
thermal                22816  0
processor              42304  2 powernow_k8,thermal
fan                     9352  0
thermal_sys            17728  3 thermal,processor,fan
dm_mirror              20608  0
dm_log                 13956  1 dm_mirror
dm_mod                 58864  17 dm_crypt,dm_snapshot,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

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>




Reply to: