Bug#726226: initramfs-tools: update-initramfs won't compress initram-images
Package: initramfs-tools
Version: 0.114
Severity: normal
Dear Maintainer,
1. I was building new kernel-/initram-images when trying to solve
scrambled/unreadable early boot messages. I tried all available compression
rates in initramfs.conf.
2. I eventually discovered that there was a flaw in the mkinitramfs-script. (I
compared the script with the mkinitramfs-script on my older i386-pc).
In section 353-363 of the script there is a ' gzip >>' instruction and a
'compress >>' instruction.
I changed that to 'gzip >' and 'compress >' , similar to the i386-script, and
after that update-initramfs did its job again as expected.
Greetings
J. Outhuis
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 13M Oct 11 15:45 /boot/initrd.img-3.10-3-amd64
-rw-r--r-- 1 root root 4.1M Oct 11 15:45 /boot/initrd.img-3.10.8
-rw-r--r-- 1 root root 4.1M Oct 11 15:45 /boot/initrd.img-3.11.4
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.11.4 root=UUID=9e4052e7-1447-4ab2-b7e6-14657136f7e6 ro irqpoll console=tty1 quiet splash
-- resume
RESUME=UUID=bd3127cd-5608-4edf-a7f8-afd7d3e6c874
-- /proc/filesystems
ext3
ext2
ext4
fuseblk
-- lsmod
Module Size Used by
bnep 10117 2
rfcomm 29433 0
bluetooth 201503 10 bnep,rfcomm
rfkill 13854 2 bluetooth
uinput 7837 1
nfs 109418 0
lockd 56516 1 nfs
sunrpc 163010 3 nfs,lockd
xt_hl 1217 6
ip6t_rt 1992 3
nf_conntrack_ipv6 6671 14
nf_defrag_ipv6 22243 1 nf_conntrack_ipv6
ipt_REJECT 2257 1
xt_LOG 11778 38
xt_multiport 1638 32
xt_limit 1761 37
xt_tcpudp 2319 82
xt_addrtype 2701 4
nf_conntrack_ipv4 6046 25
nf_defrag_ipv4 1155 1 nf_conntrack_ipv4
xt_state 1143 39
ip6table_filter 1308 1
ip6_tables 15329 1 ip6table_filter
ipv6 264641 46 nf_defrag_ipv6,nf_conntrack_ipv6
nf_conntrack_netbios_ns 1021 0
nf_conntrack_broadcast 1133 1 nf_conntrack_netbios_ns
nf_nat_ftp 1708 0
nf_nat 10961 1 nf_nat_ftp
nf_conntrack_ftp 6751 1 nf_nat_ftp
nf_conntrack 44019 8 nf_nat_ftp,nf_conntrack_netbios_ns,nf_nat,xt_state,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_filter 1336 1
ip_tables 14755 1 iptable_filter
x_tables 15120 13 ip6table_filter,xt_hl,ip_tables,xt_tcpudp,xt_limit,xt_state,xt_LOG,xt_multiport,iptable_filter,ip6t_rt,ipt_REJECT,ip6_tables,xt_addrtype
pl2303 8431 0
usbserial 20050 1 pl2303
fuse 68584 3
snd_hda_codec_hdmi 28513 1
plusb 1419 0
usbnet 18411 1 plusb
snd_usb_audio 112989 0
snd_usbmidi_lib 18516 1 snd_usb_audio
snd_hwdep 5828 1 snd_usb_audio
snd_seq_midi 4624 0
snd_seq_midi_event 5188 1 snd_seq_midi
snd_rawmidi 17577 2 snd_usbmidi_lib,snd_seq_midi
usblp 10458 0
x86_pkg_temp_thermal 4727 0
coretemp 5854 0
crc32c_intel 13809 0
ghash_clmulni_intel 4029 0
snd_hda_codec_realtek 34033 1
aesni_intel 43309 0
aes_x86_64 7279 1 aesni_intel
glue_helper 4041 1 aesni_intel
lrw 3317 1 aesni_intel
gf128mul 5418 1 lrw
ablk_helper 1724 1 aesni_intel
cryptd 7298 3 ghash_clmulni_intel,aesni_intel,ablk_helper
microcode 6393 0
radeon 1132159 2
snd_hda_intel 27147 4
snd_hda_codec 114873 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
i2c_i801 9550 0
lpc_ich 12992 0
mfd_core 2873 1 lpc_ich
drm_kms_helper 27270 1 radeon
mperf 1115 0
ttm 57808 1 radeon
drm 214822 4 ttm,drm_kms_helper,radeon
agpgart 25734 2 drm,ttm
cfbfillrect 3690 1 radeon
cfbimgblt 2079 1 radeon
cfbcopyarea 3390 1 radeon
i2c_algo_bit 5047 1 radeon
button 4325 0
video 10812 0
processor 23229 0
snd_pcm 66280 4 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc 6730 2 snd_pcm,snd_hda_intel
snd_seq 46107 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 4676 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 17735 2 snd_pcm,snd_seq
snd 53227 20 snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore 5002 1 snd
mei_me 7032 0
mei 38793 1 mei_me
hid_generic 1097 0
usbhid 25542 0
hid 60096 2 hid_generic,usbhid
raid1 26084 9
nls_iso8859_1 4301 0
nls_cp437 5833 0
ahci 22448 10
libahci 19257 1 ahci
xhci_hcd 85253 0
ehci_pci 3512 0
ehci_hcd 37975 1 ehci_pci
libata 145920 2 ahci,libahci
r8169 54359 0
usbcore 148366 11 plusb,usblp,snd_usb_audio,usbserial,snd_usbmidi_lib,ehci_hcd,ehci_pci,pl2303,usbhid,usbnet,xhci_hcd
usb_common 1560 1 usbcore
mii 3747 2 r8169,usbnet
thermal 8052 0
fan 2409 0
thermal_sys 18189 5 fan,video,thermal,processor,x86_pkg_temp_thermal
-- /etc/initramfs-tools/modules
lzo
nls_cp437
nls_iso8859-1
nls_utf8
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /proc/mdstat
Personalities : [raid1]
md5 : active raid1 sda6[0] md50[2](W)
14634624 blocks super 1.2 [2/2] [UU]
md4 : active raid1 sda5[0] md40[2](W)
14634624 blocks super 1.2 [2/2] [UU]
md1 : active raid1 sda2[0] md10[2](W)
39029184 blocks super 1.2 [2/2] [UU]
md0 : active raid1 sda1[0] sdb1[1]
345088 blocks super 1.2 [2/2] [UU]
md50 : active raid1 sdb8[0]
14642944 blocks super 1.2 [1/1] [U]
bitmap: 0/1 pages [0KB], 65536KB chunk
md40 : active raid1 sdb7[0]
14642944 blocks super 1.2 [1/1] [U]
bitmap: 0/1 pages [0KB], 65536KB chunk
md3 : active (auto-read-only) raid1 sdb6[0]
9759168 blocks super 1.2 [1/1] [U]
md2 : active raid1 sdb5[0]
14642944 blocks super 1.2 [1/1] [U]
bitmap: 0/1 pages [0KB], 65536KB chunk
md10 : active raid1 sdb2[0]
39125568 blocks super 1.2 [1/1] [U]
bitmap: 0/1 pages [0KB], 65536KB chunk
unused devices: <none>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
dmsetup
fuse
intel_microcode
keymap
klibc
kmod
mdadm
ntfs_3g
resume
thermal
udev
zz_fglrx-blacklists-radeon
zz_nvidia-blacklists-nouveau
-- System Information:
Debian Release: jessie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11.4 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_IE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11+dfsg-1
ii klibc-utils 2.0.1-3.1
ii kmod 9-3
ii module-init-tools 9-3
ii udev 204-5
Versions of packages initramfs-tools recommends:
ii busybox 1:1.20.0-9
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.0-1
-- no debconf information
Reply to: