Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
On 06/15/2010 06:59 PM, Michael Prokop wrote: Thanks for testing. Any chance you could test whether booting with the generated initrd works fine for you as well? I've rebooted it a couple times since yesterday, it seems to work just fine. Thanks, Rémi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
tags 585991 - moreinfo tags 585991 + pending thanks * Rémi Cardona remi.card...@smartjog.com [Wed Jun 16, 2010 at 10:27:40AM +0200]: On 06/15/2010 06:59 PM, Michael Prokop wrote: Thanks for testing. Any chance you could test whether booting with the generated initrd works fine for you as well? I've rebooted it a couple times since yesterday, it seems to work just fine. Thanks a lot for testing - merged according fix. regards, -mika- signature.asc Description: Digital signature
Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
Package: initramfs-tools Version: 0.94.4 Severity: serious Justification: Policy 6.4 Cannot upgrade to initramfs-tools 0.96.1, I have to downgrade back to 0.94.4 for aptitude to work properly. # aptitude upgrade Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information... Done Initializing package states... Done Reading task descriptions... Done The following packages will be upgraded: initramfs-tools 1 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Need to get 0B/78.8kB of archives. After unpacking 0B will be used. Do you want to continue? [Y/n/?] y Writing extended state information... Done Reading changelogs... Done (Reading database ... 164486 files and directories currently installed.) Preparing to replace initramfs-tools 0.94.4 (using .../initramfs- tools_0.96.1_all.deb) ... Unpacking replacement initramfs-tools ... Processing triggers for man-db ... Setting up initramfs-tools (0.96.1) ... Installing new version of config file /etc/initramfs-tools/initramfs.conf ... update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.32-trunk-686-bigmem [: 2: /sys/block/md2: unexpected operator readlink: extra operand `:' Try `readlink --help' for more information. dirname: missing operand Try `dirname --help' for more information. dirname: missing operand Try `dirname --help' for more information. dirname: missing operand Try `dirname --help' for more information. dirname: missing operand [and so on until aptitude is killed] -- Package-specific info: -- /proc/cmdline BOOT_IMAGE=//vmlinuz-2.6.32-trunk-686-bigmem root=UUID=3078287d-711f-4a0e-9d85-4033c3f9ac77 ro -- /proc/filesystems reiserfs ext2 fuseblk -- lsmod Module Size Used by nls_utf8 908 1 cifs 219978 2 tun 8728 2 ppdev 4058 0 lp 5570 0 parport22554 2 ppdev,lp sco 5837 2 bnep7376 2 l2cap 21677 3 bnep crc16 1027 1 l2cap bluetooth 36259 5 sco,bnep,l2cap rfkill 10196 2 bluetooth acpi_cpufreq4907 0 cpufreq_powersave602 0 cpufreq_stats 1940 0 cpufreq_userspace 1444 0 cpufreq_conservative 4018 0 kvm_intel 32458 3 binfmt_misc 4875 1 kvm 179565 1 kvm_intel fuse 43554 1 bridge 32851 0 stp 996 1 bridge ext2 46141 1 mbcache 3762 1 ext2 loop9721 0 usbhid 26836 0 hid50545 1 usbhid snd_hda_codec_analog45498 1 snd_hda_intel 15347 3 snd_hda_codec 46002 2 snd_hda_codec_analog,snd_hda_intel snd_hwdep 4054 1 snd_hda_codec snd_pcm_oss28479 0 snd_mixer_oss 10461 1 snd_pcm_oss snd_pcm47518 4 snd_hda_intel,snd_hda_codec,snd_pcm_oss snd_seq_midi3480 0 snd_rawmidi12313 1 snd_seq_midi snd_seq_midi_event 3684 1 snd_seq_midi snd_seq35303 2 snd_seq_midi,snd_seq_midi_event snd_timer 12258 2 snd_pcm,snd_seq snd_seq_device 3673 3 snd_seq_midi,snd_rawmidi,snd_seq snd33551 16 snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device uhci_hcd 16033 0 ide_pci_generic 1924 0 ehci_hcd 27626 0 i915 217471 3 ide_core 63922 1 ide_pci_generic drm_kms_helper 17183 1 i915 sg 15932 0 drm 108143 4 i915,drm_kms_helper ata_generic 2015 0 sr_mod 10770 0 soundcore 3450 1 snd usbcore98278 4 usbhid,uhci_hcd,ehci_hcd snd_page_alloc 5045 2 snd_hda_intel,snd_pcm cdrom 26487 1 sr_mod dcdbas 3908 0 i2c_algo_bit3497 1 i915 e1000e 97913 0 i2c_i8016446 0 i2c_core 12612 4 i915,drm,i2c_algo_bit,i2c_i801 nls_base4541 3 nls_utf8,cifs,usbcore video 14605 1 i915 output 1204 1 video evdev 5609 10 pcspkr 1207 0 intel_agp 20409 1 agpgart19576 2 drm,intel_agp button 3598 1 i915 wmi 3575 0 serio_raw 2916 0 psmouse44409 0 processor 25811 1 acpi_cpufreq reiserfs 175408 1 raid1 16067 2 md_mod 67093 3 raid1 sd_mod
Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
severity 585991 important tags 585991 + moreinfo thanks * Rémi Cardona remi.card...@smartjog.com [Tue Jun 15, 2010 at 03:44:31PM +0200]: Cannot upgrade to initramfs-tools 0.96.1, I have to downgrade back to 0.94.4 for aptitude to work properly. # aptitude upgrade [...] Setting up initramfs-tools (0.96.1) ... Installing new version of config file /etc/initramfs-tools/initramfs.conf ... update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.32-trunk-686-bigmem [: 2: /sys/block/md2: unexpected operator readlink: extra operand `:' Try `readlink --help' for more information. dirname: missing operand Try `dirname --help' for more information. [...] Can you please provide output of: sh -x /usr/sbin/mkinitramfs -o /boot/initrd.img-2.6.32-trunk-686-bigmem.new 2.6.32-trunk-686-bigmem 1/tmp/initramfs.log 21 ? Sending it via personal mail to me is fine if you don't want to share the log in the BTS. regards, -mika- signature.asc Description: Digital signature
Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
On 06/15/2010 04:13 PM, Michael Prokop wrote: sh -x /usr/sbin/mkinitramfs -o /boot/initrd.img-2.6.32-trunk-686-bigmem.new 2.6.32-trunk-686-bigmem 1/tmp/initramfs.log 21 Here are the logs for both versions. For the broken 0.96.1, I truncated the log. The last 16 lines keep repeating on and on. Thanks + umask 0022 + export PATH=/usr/bin:/sbin:/bin + keep=n + CONFDIR=/etc/initramfs-tools + verbose=n + errors_to=2/dev/null + export BUSYBOXDIR=/bin + getopt -o c:d:ko:r:v -n /usr/sbin/mkinitramfs -- -o /boot/initrd.img-2.6.32-trunk-686-bigmem.new 2.6.32-trunk-686-bigmem + OPTIONS= -o '/boot/initrd.img-2.6.32-trunk-686-bigmem.new' -- '2.6.32-trunk-686-bigmem' + [ 0 != 0 ] + eval set -- -o '/boot/initrd.img-2.6.32-trunk-686-bigmem.new' -- '2.6.32-trunk-686-bigmem' + set -- -o /boot/initrd.img-2.6.32-trunk-686-bigmem.new -- 2.6.32-trunk-686-bigmem + true + outfile=/boot/initrd.img-2.6.32-trunk-686-bigmem.new + shift 2 + true + shift + break + . /usr/share/initramfs-tools/scripts/functions + . /usr/share/initramfs-tools/hook-functions + . /etc/initramfs-tools/initramfs.conf + MODULES=most + BUSYBOX=y + KEYMAP=n + COMPRESS=gzip + BOOT=local + DEVICE=eth0 + NFSROOT=auto + EXTRA_CONF= + basename /usr/share/initramfs-tools/conf.d/* + grep -v \.dpkg-.*$ + grep ^[[:alnum:]][[:alnum:]\._-]*$ + EXTRA_CONF= + basename /etc/initramfs-tools/conf.d/driver-policy + grep -v \.dpkg-.*$ + grep ^[[:alnum:]][[:alnum:]\._-]*$ + EXTRA_CONF= driver-policy + [ -e /etc/initramfs-tools/conf.d/driver-policy ] + . /etc/initramfs-tools/conf.d/driver-policy + MODULES=dep + [ -e /usr/share/initramfs-tools/conf-hooks.d/* ] + [ -n ] + [ -z /boot/initrd.img-2.6.32-trunk-686-bigmem.new ] + touch /boot/initrd.img-2.6.32-trunk-686-bigmem.new + readlink -f /boot/initrd.img-2.6.32-trunk-686-bigmem.new + outfile=/boot/initrd.img-2.6.32-trunk-686-bigmem.new + [ 1 -ne 1 ] + version=2.6.32-trunk-686-bigmem + check_minkver 2.6.32-trunk-686-bigmem + local curversion initdir DPKG_ARCH minversion cm_x tmp + curversion=2.6.32-trunk-686-bigmem + initdir= + [ -z ] + minversion=2.6.12 + dpkg --compare-versions 2.6.32-trunk-686-bigmem lt 2.6.12 + return 0 + check_minkver 2.6.32-trunk-686-bigmem /usr/share/initramfs-tools/hooks + local curversion initdir DPKG_ARCH minversion cm_x tmp + curversion=2.6.32-trunk-686-bigmem + initdir=/usr/share/initramfs-tools/hooks + [ -z /usr/share/initramfs-tools/hooks ] + set_initlist + unset initlist + [ /usr/share/initramfs-tools/hooks/busybox = /usr/share/initramfs-tools/hooks/* ] + [ ! -x /usr/share/initramfs-tools/hooks/busybox ] + [ -d /usr/share/initramfs-tools/hooks/busybox ] + initlist= busybox + [ /usr/share/initramfs-tools/hooks/keymap = /usr/share/initramfs-tools/hooks/* ] + [ ! -x /usr/share/initramfs-tools/hooks/keymap ] + [ -d /usr/share/initramfs-tools/hooks/keymap ] + initlist= busybox keymap + [ /usr/share/initramfs-tools/hooks/klibc = /usr/share/initramfs-tools/hooks/* ] + [ ! -x /usr/share/initramfs-tools/hooks/klibc ] + [ -d /usr/share/initramfs-tools/hooks/klibc ] + initlist= busybox keymap klibc + [ /usr/share/initramfs-tools/hooks/mdadm = /usr/share/initramfs-tools/hooks/* ] + [ ! -x /usr/share/initramfs-tools/hooks/mdadm ] + [ -d /usr/share/initramfs-tools/hooks/mdadm ] + initlist= busybox keymap klibc mdadm + [ /usr/share/initramfs-tools/hooks/thermal = /usr/share/initramfs-tools/hooks/* ] + [ ! -x /usr/share/initramfs-tools/hooks/thermal ] + [ -d /usr/share/initramfs-tools/hooks/thermal ] + initlist= busybox keymap klibc mdadm thermal + [ /usr/share/initramfs-tools/hooks/udev = /usr/share/initramfs-tools/hooks/* ] + [ ! -x /usr/share/initramfs-tools/hooks/udev ] + [ -d /usr/share/initramfs-tools/hooks/udev ] + initlist= busybox keymap klibc mdadm thermal udev + sed /^MINKVER=/!d;$!d;s/^MINKVER=//;s/[[:space:]]*$// /usr/share/initramfs-tools/hooks/busybox + minver= + [ -z ] + continue + sed /^MINKVER=/!d;$!d;s/^MINKVER=//;s/[[:space:]]*$// /usr/share/initramfs-tools/hooks/keymap + minver= + [ -z ] + continue + sed /^MINKVER=/!d;$!d;s/^MINKVER=//;s/[[:space:]]*$// /usr/share/initramfs-tools/hooks/klibc + minver= + [ -z ] + continue + sed /^MINKVER=/!d;$!d;s/^MINKVER=//;s/[[:space:]]*$// /usr/share/initramfs-tools/hooks/mdadm + minver= + [ -z ] + continue + sed /^MINKVER=/!d;$!d;s/^MINKVER=//;s/[[:space:]]*$// /usr/share/initramfs-tools/hooks/thermal + minver= + [ -z ] + continue + sed /^MINKVER=/!d;$!d;s/^MINKVER=//;s/[[:space:]]*$// /usr/share/initramfs-tools/hooks/udev + minver= + [ -z ] + continue + check_minkver 2.6.32-trunk-686-bigmem /etc/initramfs-tools/hooks + local curversion initdir DPKG_ARCH minversion cm_x tmp + curversion=2.6.32-trunk-686-bigmem + initdir=/etc/initramfs-tools/hooks + [ -z /etc/initramfs-tools/hooks ] + set_initlist + unset initlist + [ /etc/initramfs-tools/hooks/* = /etc/initramfs-tools/hooks/* ] + return + [ -z ] + compress=gzip + command -v gzip + grep -q -i config_rd_gzip=y /boot/config-2.6.32-trunk-686-bigmem + + [ -d
Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
* Rémi Cardona remi.card...@smartjog.com [Tue Jun 15, 2010 at 04:25:45PM +0200]: On 06/15/2010 04:13 PM, Michael Prokop wrote: sh -x /usr/sbin/mkinitramfs -o /boot/initrd.img-2.6.32-trunk-686-bigmem.new 2.6.32-trunk-686-bigmem 1/tmp/initramfs.log 21 Here are the logs for both versions. For the broken 0.96.1, I truncated the log. The last 16 lines keep repeating on and on. Thanks, this clearly helps. Please provide output of /proc/mdstat. regards, -mika- signature.asc Description: Digital signature
Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
On 06/15/2010 04:38 PM, Michael Prokop wrote: Please provide output of /proc/mdstat. # cat /proc/mdstat Personalities : [raid1] md2 : active raid1 sda2[0] sdb2[1] 243866624 blocks [2/2] [UU] md1 : active raid1 sda1[0] sdb1[1] 272960 blocks [2/2] [UU] unused devices: none Need anything else? Thanks, Rémi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
* Rémi Cardona remi.card...@smartjog.com [Tue Jun 15, 2010 at 04:46:46PM +0200]: On 06/15/2010 04:38 PM, Michael Prokop wrote: Please provide output of /proc/mdstat. # cat /proc/mdstat Personalities : [raid1] md2 : active raid1 sda2[0] sdb2[1] 243866624 blocks [2/2] [UU] md1 : active raid1 sda1[0] sdb1[1] 272960 blocks [2/2] [UU] unused devices: none Need anything else? /usr/bin/awk points to /etc/alternatives/awk which points to /usr/bin/mawk on your box, right? regards, -mika- signature.asc Description: Digital signature
Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
On Tue, Jun 15, 2010 at 04:38:13PM +0200, Michael Prokop wrote: Please provide output of /proc/mdstat. we might want to add that to bug script? thanks. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
On 06/15/2010 05:34 PM, Michael Prokop wrote: /usr/bin/awk points to /etc/alternatives/awk which points to /usr/bin/mawk on your box, right? Indeed: # ls -l /usr/bin/awk lrwxrwxrwx 1 root root 21 Feb 4 12:02 /usr/bin/awk - /etc/alternatives/awk # readlink -f /usr/bin/awk /usr/bin/mawk Cheers, Rémi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
severity 585991 serious thanks * maximilian attems m...@stro.at [Tue Jun 15, 2010 at 06:05:46PM +0200]: On Tue, Jun 15, 2010 at 04:38:13PM +0200, Michael Prokop wrote: Please provide output of /proc/mdstat. Rémi, could you please try whether: http://people.debian.org/~mika/initramfs-tools/initramfs-tools_0.96.1+mdstat1_all.deb fixes your issue (sha1sum and gpg-signed sha1sum in same directory)? JFTR: Reraising severity again to mark it as RC bug so the current version doesn't migrate to testing. we might want to add that to bug script? ACK, committed in git branch mika/submit-mdstat-in-bugreports regards, -mika- signature.asc Description: Digital signature
Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
On 06/15/2010 06:31 PM, Michael Prokop wrote: severity 585991 serious thanks # dpkg -i /tmp/initramfs-tools_0.96.1+mdstat1_all.deb (Reading database ... 164486 files and directories currently installed.) Preparing to replace initramfs-tools 0.96.1 (using .../initramfs-tools_0.96.1+mdstat1_all.deb) ... Unpacking replacement initramfs-tools ... Setting up initramfs-tools (0.96.1+mdstat1) ... Installing new version of config file /etc/initramfs-tools/update-initramfs.conf ... update-initramfs: deferring update (trigger activated) Processing triggers for man-db ... Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.32-trunk-686-bigmem # Looks good! Thanks, Rémi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#585991: initramfs-tools: package installation fails (postinst scripts?)
* Rémi Cardona remi.card...@smartjog.com [Tue Jun 15, 2010 at 06:40:27PM +0200]: # dpkg -i /tmp/initramfs-tools_0.96.1+mdstat1_all.deb (Reading database ... 164486 files and directories currently installed.) Preparing to replace initramfs-tools 0.96.1 (using .../initramfs-tools_0.96.1+mdstat1_all.deb) ... Unpacking replacement initramfs-tools ... Setting up initramfs-tools (0.96.1+mdstat1) ... Installing new version of config file /etc/initramfs-tools/update-initramfs.conf ... update-initramfs: deferring update (trigger activated) Processing triggers for man-db ... Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.32-trunk-686-bigmem # Looks good! Thanks for testing. Any chance you could test whether booting with the generated initrd works fine for you as well? regards, -mika- signature.asc Description: Digital signature