Your message dated Tue, 10 Sep 2013 11:00:07 +0200 with message-id <[email protected]> and subject line Re: Bug#722318: prepend_earlyinitramfs makes inspecting initramfs unnecessarily hard has caused the Debian Bug report #722318, 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 [email protected] immediately.) -- 722318: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722318 Debian Bug Tracking System Contact [email protected] 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 ---On Tue, Sep 10, 2013 at 09:12:29AM +0200, Wouter Verhelst wrote: > 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. > please bug reports are not for support. The bug concerning lsinitramfs is marked and shall be worked on, above is no bug of the initramfs which boots and decompresses just fine. Best, -- maks
--- End Message ---

