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

Bug#722318: marked as done (prepend_earlyinitramfs makes inspecting initramfs unnecessarily hard)



Your message dated Sat, 04 Oct 2014 17:03:48 +0000
with message-id <E1XaSkG-0007FL-JV@franck.debian.org>
and subject line Bug#717805: fixed in initramfs-tools 0.118
has caused the Debian Bug report #717805,
regarding prepend_earlyinitramfs makes inspecting initramfs unnecessarily hard
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.)


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

Hi,

The initramfs tools generally build an initramfs that is compressed; if
a hook script uses the prepend_initramfs function in the hook-functions
library, however (as the intel-microcode package does), then that
prepended part of the initramfs is not compressed.

When I have a problem, usually my preferred way of debugging is to run
"mkdir foo; cd foo; zcat $initramfs | cpio -i", and then using normal
file operations. When trying that on a file that starts with
uncompressed data, zcat will however refuse to open the file (unless the
-f parameter is used, but then compression is switched off and not
switched on afterwards when we do encounter compressed data); cpio
doesn't have a transparent decompress option AFAICT; and I'm not sure
how to figure out what the offset of the compressed data is.

As a result, the only way that I can see to inspect my initramfs is to
uninstall the intel-microcode package, regenerate the initramfs, and
inspect it. This can't be the intention.

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 12M Aug 13 08:01 /boot/initrd.img-3.10-1-amd64
-rw-r--r-- 1 root root 12M Sep  2 18:24 /boot/initrd.img-3.10-2-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.10-2-amd64 root=UUID=9e3c4c8e-014c-4473-816e-3eaa78571af9 ro pcie_aspm=force i915.i915_enable_rc6=1 i915.lvds_downclock=1 i915.i915_enable_fbc=1 vga=788 quiet

-- /proc/filesystems
	ext4
	fuseblk

-- lsmod
Module                  Size  Used by
usbhid                 40964  0 
hid                    81894  1 usbhid
parport_pc             22409  0 
ppdev                  12763  0 
lp                     13025  0 
autofs4                27746  3 
parport                31901  3 lp,ppdev,parport_pc
bnep                   17535  2 
rfcomm                 33471  10 
pci_stub               12429  1 
vboxpci                19094  0 
vboxnetadp             25443  0 
snd_hrtimer            12604  1 
vboxnetflt             23697  0 
vboxdrv               217395  3 vboxnetadp,vboxnetflt,vboxpci
cpufreq_userspace      12576  0 
cpufreq_stats          12866  0 
cpufreq_powersave      12454  0 
cpufreq_conservative    14184  0 
binfmt_misc            12925  1 
uinput                 17439  1 
nfsd                  192007  13 
auth_rpcgss            39085  1 nfsd
oid_registry           12419  1 auth_rpcgss
nfs_acl                12511  1 nfsd
nfs                   110304  0 
lockd                  59673  2 nfs,nfsd
dns_resolver           12641  1 nfs
fscache                37551  1 nfs
sunrpc                164583  23 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
ipt_MASQUERADE         12594  3 
iptable_nat            12646  1 
nf_conntrack_ipv4      18549  1 
nf_defrag_ipv4         12483  1 nf_conntrack_ipv4
nf_nat_ipv4            12950  1 iptable_nat
nf_nat                 18378  3 ipt_MASQUERADE,nf_nat_ipv4,iptable_nat
nf_conntrack           59788  5 ipt_MASQUERADE,nf_nat,nf_nat_ipv4,iptable_nat,nf_conntrack_ipv4
ip_tables              22036  1 iptable_nat
x_tables               19041  2 ip_tables,ipt_MASQUERADE
tun                    22444  2 
loop                   22869  0 
fuse                   67503  1 
ecryptfs               72544  0 
snd_hda_codec_hdmi     31720  1 
snd_hda_codec_conexant    40314  1 
cdc_mbim               12736  0 
uvcvideo               66788  0 
cdc_ncm                17458  1 cdc_mbim
videobuf2_vmalloc      12848  1 uvcvideo
videobuf2_memops       12519  1 videobuf2_vmalloc
coretemp               12898  0 
videobuf2_core         31098  1 uvcvideo
usbnet                 22817  2 cdc_mbim,cdc_ncm
videodev               92407  2 uvcvideo,videobuf2_core
kvm_intel             123583  0 
mii                    12675  1 usbnet
media                  18240  2 uvcvideo,videodev
kvm                   301458  1 kvm_intel
cdc_wdm                17511  1 cdc_mbim
cdc_acm                22246  0 
btusb                  17678  0 
crc32c_intel           21850  0 
bluetooth             170002  22 bnep,btusb,rfcomm
ghash_clmulni_intel    13062  0 
arc4                   12543  2 
iTCO_wdt               12831  0 
iTCO_vendor_support    12704  1 iTCO_wdt
snd_hda_intel          35718  0 
snd_hda_codec         122850  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep              13189  1 snd_hda_codec
snd_pcm                68525  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
aesni_intel            50895  2 
iwldvm                111931  0 
snd_page_alloc         13018  2 snd_pcm,snd_hda_intel
mac80211              358182  1 iwldvm
thinkpad_acpi          61301  0 
aes_x86_64             16719  1 aesni_intel
ablk_helper            12572  1 aesni_intel
nvram                  13092  1 thinkpad_acpi
cryptd                 14560  3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_seq                45186  1 
lrw                    12871  1 aesni_intel
snd_seq_device         13176  1 snd_seq
snd_timer              22773  3 snd_hrtimer,snd_pcm,snd_seq
gf128mul               13047  1 lrw
i915                  494628  2 
glue_helper            12768  1 aesni_intel
snd                    53068  11 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device
psmouse                74832  0 
iwlwifi                73295  1 iwldvm
serio_raw              12940  0 
pcspkr                 12632  0 
drm_kms_helper         31837  1 i915
soundcore              13026  1 snd
evdev                  17611  22 
microcode              30413  0 
drm                   211856  3 i915,drm_kms_helper
cfg80211              319971  3 iwlwifi,mac80211,iwldvm
i2c_algo_bit           12841  1 i915
battery                13101  0 
i2c_i801               17045  0 
ac                     12668  0 
rfkill                 19242  5 cfg80211,thinkpad_acpi,bluetooth
lpc_ich                16757  0 
mei_me                 13568  0 
i2c_core               24353  6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
mfd_core               12601  1 lpc_ich
mei                    45886  1 mei_me
wmi                    13243  0 
mperf                  12453  0 
video                  17792  1 i915
processor              28526  0 
button                 12944  1 i915
ext4                  381419  1 
crc16                  12343  2 ext4,bluetooth
jbd2                   76205  1 ext4
mbcache                13082  1 ext4
nbd                    16897  0 
dm_mirror              17748  0 
dm_region_hash         13589  1 dm_mirror
dm_log                 13590  2 dm_region_hash,dm_mirror
dm_mod                 64008  2 dm_log,dm_mirror
sg                     26095  0 
sd_mod                 40541  2 
crc_t10dif             12348  1 sd_mod
mmc_block              26824  0 
ahci                   25148  1 
libahci                23136  1 ahci
thermal                17468  0 
thermal_sys            23137  3 video,thermal,processor
sdhci_pci              17935  0 
sdhci                  27279  1 sdhci_pci
ehci_pci               12472  0 
xhci_hcd               78280  0 
ehci_hcd               40590  1 ehci_pci
mmc_core               77762  3 mmc_block,sdhci,sdhci_pci
e1000e                139582  0 
ptp                    13364  1 e1000e
pps_core               13232  1 ptp
usbcore               134993  11 btusb,uvcvideo,ehci_hcd,ehci_pci,usbhid,usbnet,cdc_mbim,cdc_acm,cdc_ncm,cdc_wdm,xhci_hcd
usb_common             12440  1 usbcore
libata                141969  2 ahci,libahci
scsi_mod              158249  3 sg,libata,sd_mod

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no

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

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
busybox
dmraid
dmsetup
fuse
intel_microcode
keymap
klibc
kmod
nbd
ntfs_3g
thermal
udev
uswsusp


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=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.2-1
ii  kmod               9-3
ii  module-init-tools  9-3
ii  udev               175-7.2

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.20.0-9

Versions of packages initramfs-tools suggests:
pn  bash-completion  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.118

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 717805@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 04 Oct 2014 17:19:10 +0100
Source: initramfs-tools
Binary: initramfs-tools
Architecture: all source
Version: 0.118
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Closes: 689942 717805 729800 756457 762870 763157 763777
Description: 
 initramfs-tools - generic modular initramfs generator
Changes:
 initramfs-tools (0.118) unstable; urgency=medium
 .
   [ Ben Hutchings ]
   * [70e371f] manual_add_modules: Set the kernel version when checking module
     firmware deps
   * [fdec1d3] lsinitramfs: Move the decompress | cpio pipeline into a function
   * [d5f4cd6] lsinitramfs: Parse and list files that include early microcode.
     Thanks to Brett Parker and Olivier Berger. (Closes: #717805)
   * [f868c43] lsinitramfs: Include -l option in usage message
   * [f4c512e] Add more sanity checks on root device name in dep_add_modules
   * [d58a65b] Support MODULES=dep usage when root was mounted from hidden
     /dev/root (Closes: #689942)
   * [ebf275a] Check for root device's module dependencies at all levels of
     device hierarchy
   * [52abbfb] init: Decide what the real init is immediately before mounting
     /usr
   * [25aa264] init: Fix validation of the real init program
   * [66a141e] init: Resolve both absolute and relative symlinks in
     validate_init
   * [042d7a3] init: Only mount /usr if the real init is systemd
     (Closes: #763157)
   * [d641934] debian/control: Add Breaks: systemd-sysv (<< 186)
   * [305489e] debian/control: Conflict with linux-initramfs-tool
     (Closes: #729800)
   * [fd83e8b] panic: Do not return if reboot fails
   * [c0579f5] hooks/fsck: Add hwclock, related configuration files and udev
     rules (Closes: #763777)
   * [a7bd088] debian/control: Add versioned Depends on util-linux to avoid
     adjusting clock twice
   * [6ae39eb] debian/control: Fix minimum version of util-linux
   * [67e53ea] init: Set and export PATH before running any external commands
   * [8ebce59] Require new klibc-utils or busybox, to get 'readlink -f' and
     'mount -o defaults' (Closes: #762870)
 .
   [ nandhp ]
   * [782d166] Fix handling of root filesystem with LABEL=/
     (/dev/disk/by-label/\x2f) (Closes: #756457)
Checksums-Sha1: 
 0b2b0aaaae061bb20fd3a35fd833a8fe7891ce37 1709 initramfs-tools_0.118.dsc
 bd57dee72e1b6af68312c4fc3a2bb14687657d26 78500 initramfs-tools_0.118.tar.xz
 a36cc1176d77838ba7a676d80f138fbed23136d7 93522 initramfs-tools_0.118_all.deb
Checksums-Sha256: 
 8c5997a477e3c03e5401c400987a1929927cbca8c15021aa835e7d8bdb788fb4 1709 initramfs-tools_0.118.dsc
 bde621a26d1e68dd43911cb569e5f06a17cd9a66575e8cf3f78676cf7c5a1bcf 78500 initramfs-tools_0.118.tar.xz
 56b6d989f09e12af9ef8b570bf849163caca3dbc47c48418aca13ab15acbd219 93522 initramfs-tools_0.118_all.deb
Files: 
 e6d816493589276a9c8156b9b14d0273 1709 utils optional initramfs-tools_0.118.dsc
 c785a9cc0722204495f13cb6dc3bb031 78500 utils optional initramfs-tools_0.118.tar.xz
 f0cee0250f15ef7d075a97cad28d628b 93522 utils optional initramfs-tools_0.118_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVDAkXue/yOyVhhEJAQrzDQ//duPrBt40xh3GOaqBA9TG3Z2dC+28SHY4
B1fPtmIInfRn2hVjxvGUKGCvJN+qZaRqWNCn30zdTZ4+66abYmtLyYWsFGJKjPKf
7tLBdLVgBU0mKKHdN1VGoUXb/qzqAM4vY0ovwJ1xcnSaRz5c6f7M2DrxUl7CiNqK
eTUVpp5MgW6UT3UCh0gXIVA42dO/gT0KJzE2xNC+sbFxgR/XSzTYBOFC5lvx1Hjl
uKJUJKhIwFrHkbI1Ba6Y8eB7T2V0UNJ7IzUIMd6bSlNYOC6xPOCphVVoYMvdIW8P
wluK33uRG58ghjfUYWf6VgNwuoBCHj+ilqPP5RJjvJB+Oek4zltP+MXuL+f+Adm/
891CS1LJjL/haNMMh62DiV05DRT7SNDKzRiLxFboQscaSJXEMyVeOXWjjG3VWmWh
Vd9XveOYL0UN3ypegcpmOo8JG+4gCfLPz6vXqdRcXWMVMT/Flih5a5RjdBeLYCrR
O7apV4Wo/MMKUaraR7rkMoiZd+QKj7gmft7kreNjQoqcboERvtZNOMgV38SUjE2H
Lvr2WNOXcXc+8fnxI3mykwlQB5Wjile7LW0fASQ/jgIj+pECImQs+6iSw4O6bCxW
R85YBvVILGsH84NGQsACFH+/BCKBUKgzmXNCpyax3Jyw0AIwTLYcK5iwKdo6Ow1h
nUl+6j1Ii88=
=EDjB
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: