Package: initramfs-tools
Version: 0.97
Severity: normal

Hello the hurd,

I've updated a few packages yesterday, amongst them is initramfs-tools (0.97).

I now have initramfs-tools 0.97 , cpio 2.11-4 , and gzip 1.3.12-9 . (as per
squeeze now)

# time mkinitramfs -v -k 2.6.34-1-686 -o /tmp/initrd.img-2.6.34-1-686 ; echo
RESULT=$?   --- GIVES :

....
....
....
Adding binary /lib/udev/usb_id
Adding binary /sbin/blkid
Adding library /lib/libblkid.so.1
Calling hook cryptpassdev
Calling hook cryptopensc
Calling hook cryptopenct
Calling hook cryptgnupg
Calling hook dmsetup
Building cpio /tmp/initrd.img-2.6.34-1-686 initramfs

real    0m51.025s
user    0m3.504s
sys     0m3.928s
RESULT=1

Here follows what I got in my /tmp directory :

maison-portable:/tmp# ls -ld ./initrd.img-2.6.34-1-686 ./mkinitramfs*      
-rw------- 1 root root    0 Jun 30 16:21 ./initrd.img-2.6.34-1-686
-rw------- 1 root root    0 Jun 30 16:20 ./mkinitramfs-OL_izVpmK
drwxr-xr-x 9 root root 4096 Jun 30 16:21 ./mkinitramfs_8S2X1U
maison-portable:/tmp# 

I closely looked at the folder ( /tmp/mkinitramfs_8S2X1U ) and found it was
sane and contained proper data. (manually generating an initrd from it with
cpio + gzip led to a functional initrd (bootable system))

In order to investigate the matter, I tried the following things :

1) Override /bin/cpio to see its invokation arguments and input data
(stdin).

2) Override /bin/gzip to see its invokation arguments and input length.

As a result, I saw that cpio was invoked in a perfect manner, including sane
data passed on stdin.

But I didn't manage to get anything from gzip since it doesn't seem to be
executed.

Then, I modified /usr/sbin/mkinitramfs to make this script show PATH, 
compress, and outfile variables before executing cpio + gzip and got :

..
..
..
Adding binary /sbin/blkid
Adding library /lib/libblkid.so.1
Calling hook cryptpassdev
Calling hook cryptopensc
Calling hook cryptopenct
Calling hook cryptgnupg
Calling hook dmsetup
Building cpio /tmp/initrd.img-2.6.34-1-686 initramfs
PATH=/usr/bin:/sbin:/bin
compress=
outfile=/tmp/initrd.img-2.6.34-1-686
Executing: cpio --quiet --dereference -o -H newc 4>&-; echo "ec2=$\?;" >&4

real    0m41.133s
user    0m2.816s
sys     0m3.076s
RESULT=1


I have made no modification to initramfs-tools in order to override the
default compression program. I expected initramfs-tools to invoke gzip by
default, but apparently, there is a problem now, with 0.97 .

In hope my bug report will prove usefull.

Sincerely,
Valentin QUEQUET


-- Package-specific info:
-- initramfs sizes
lrwxrwxrwx 1 root root  51 Feb 16 12:09 
/boot/initrd.img-2.6.29.4-reiser4-um-custom-0001 -> 
/usr/bin/initrd.img-2.6.29.4-reiser4-um-custom-0001
lrwxrwxrwx 1 root root  79 Feb 16 12:09 
/boot/initrd.img-2.6.29.4-reiser4-um-custom-0001.udev_and_cryptsetup_updated -> 
/usr/bin/initrd.img-2.6.29.4-reiser4-um-custom-0001.udev_and_cryptsetup_updated
-rw-r--r-- 1 root root 13M Jun  8 18:07 /boot/initrd.img-2.6.32-5-686
-rw-r--r-- 1 root root 13M Jun  8 18:08 /boot/initrd.img-2.6.32-5-686-bigmem
-rw-r--r-- 1 root root 14M May 21 02:22 /boot/initrd.img-2.6.33-2-686
-rw-r--r-- 1 root root 14M May 21 02:23 /boot/initrd.img-2.6.33-2-686-bigmem
-rw-r--r-- 1 root root 14M May  6 01:43 
/boot/initrd.img-2.6.33-3.dmz.2-liquorix-686
-rw-r--r-- 1 root root 14M Feb 19 16:10 
/boot/initrd.img-2.6.33-rc8-git1-custom-0001
lrwxrwxrwx 1 root root  45 Feb 16 12:04 
/boot/initrd.img-2.6.33-rc8-um-custom-0001 -> 
/usr/bin/initrd.img-2.6.33-rc8-um-custom-0001
-rw-r--r-- 1 root root 15M May 30 10:36 
/boot/initrd.img-2.6.34-0.dmz.5-liquorix-686
-rw-r--r-- 1 root root 14M Jun 30 14:10 /boot/initrd.img-2.6.34-1-686
-rw-r--r-- 1 root root 14M Jun 30 14:11 /boot/initrd.img-2.6.34-1-686-bigmem
-rw-r--r-- 1 root root 46K Jun 30 14:01 
/boot/initrd.img-2.6.34-1-686-bigmem.list
-rw-r--r-- 1 root root 14M Jun  8 17:46 
/boot/initrd.img-2.6.34-1-686-bigmem.previous
-rw-r--r-- 1 root root 31M Jun 30 13:59 
/boot/initrd.img-2.6.34-1-686-bigmem_plain
-rw-r--r-- 1 root root 42K Jun 30 14:00 /boot/initrd.img-2.6.34-1-686.list
-rw-r--r-- 1 root root 14M Jun  8 17:45 /boot/initrd.img-2.6.34-1-686.previous
-rw-r--r-- 1 root root 31M Jun 30 13:56 /boot/initrd.img-2.6.34-1-686_plain
-- /proc/cmdline
ro root=/dev/sda7 bootkbd=fr

-- /proc/filesystems
        btrfs
        reiserfs
        ext2
        fuseblk

-- lsmod
Module                  Size  Used by
radeon                538129  2 
ttm                    32433  1 radeon
drm_kms_helper         18331  1 radeon
drm                   112550  5 radeon,ttm,drm_kms_helper
i2c_algo_bit            3537  1 radeon
ndiswrapper           132238  0 
ipt_ULOG                4605  1 
x_tables                8637  1 ipt_ULOG
powernow_k7             3462  0 
cpufreq_powersave        606  0 
cpufreq_stats           1934  0 
cpufreq_userspace       1492  0 
cpufreq_conservative     6246  0 
ppdev                   4475  0 
lp                      5798  0 
cn                      3677  1 
binfmt_misc             4958  1 
uinput                  4854  1 
deflate                 1291  0 
ctr                     2671  0 
twofish                 5353  0 
twofish_common         12668  1 twofish
camellia               17361  0 
serpent                17103  0 
blowfish                7148  0 
cast5                  15109  0 
des_generic            15127  0 
xcbc                    1809  0 
rmd160                  6208  0 
sha512_generic          7245  0 
sha1_generic            1363  0 
hmac                    2001  0 
crypto_null             1864  0 
af_key                 21731  0 
fuse                   43631  3 
loop                   10008  6 
ext2                   45679  1 
mbcache                 3840  1 ext2
sha256_generic          9069  4 
aes_i586                6820  4 
aes_generic            25758  1 aes_i586
cbc                     1967  2 
dm_crypt                8987  2 
pcmcia                 26619  0 
snd_ali5451            11566  4 
snd_ac97_codec         76621  1 snd_ali5451
yenta_socket           16044  0 
rsrc_nonstatic          6786  1 yenta_socket
ac97_bus                 714  1 snd_ac97_codec
pcmcia_core             8992  3 pcmcia,yenta_socket,rsrc_nonstatic
snd_pcm_oss            27474  0 
snd_mixer_oss          10335  1 snd_pcm_oss
snd_pcm                46860  3 snd_ali5451,snd_ac97_codec,snd_pcm_oss
parport_pc             15685  1 
snd_seq_midi            3602  0 
joydev                  6840  0 
parport                21194  3 ppdev,lp,parport_pc
i2c_ali15x3             4130  0 
snd_rawmidi            12621  1 snd_seq_midi
tpm_tis                 5469  0 
i2c_ali1535             3938  0 
tpm                     8071  1 tpm_tis
snd_seq_midi_event      3742  1 snd_seq_midi
container               1845  0 
video                  14925  0 
output                  1200  1 video
battery                 4078  0 
snd_seq                34704  2 snd_seq_midi,snd_seq_midi_event
i2c_core               12616  6 
radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_ali15x3,i2c_ali1535
tpm_bios                3569  1 tpm
snd_timer              12489  2 snd_pcm,snd_seq
snd_seq_device          3651  3 snd_seq_midi,snd_rawmidi,snd_seq
ac                      1636  0 
alim1535_wdt            2110  0 
button                  3618  0 
serio_raw               2894  0 
pcspkr                  1211  0 
psmouse                38431  0 
shpchp                 20507  0 
processor              25019  2 powernow_k7
snd                    34020  17 
snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
pci_hotplug            17059  1 shpchp
soundcore               3630  1 snd
snd_page_alloc          5037  1 snd_pcm
evdev                   5627  19 
reiserfs              172773  6 
dm_mod                 46914  5 dm_crypt
nbd                     6673  0 
btrfs                 368203  1 
zlib_deflate           15658  2 deflate,btrfs
crc32c                  2172  1 
libcrc32c                782  1 btrfs
sg                     15825  0 
sr_mod                 10845  0 
cdrom                  25848  1 sr_mod
sd_mod                 26321  7 
crc_t10dif              1012  1 sd_mod
ata_generic             1943  0 
ohci_hcd               16501  0 
pata_ali                6259  6 
ehci_hcd               27417  0 
libata                114832  2 ata_generic,pata_ali
thermal                 9502  0 
usbcore                99297  4 ndiswrapper,ohci_hcd,ehci_hcd
floppy                 41681  0 
thermal_sys             9436  3 video,processor,thermal
nls_base                4521  1 usbcore
natsemi                19009  0 
scsi_mod              103087  4 sg,sr_mod,sd_mod,libata

-- /etc/kernel-img.conf
# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = Yes

warn_initrd = No # <==> [deprecated] do_initrd = Yes

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=no
backup_initramfs=yes

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

# Each device has an offset of 8 sectors = 1 SWAP page of 4Kb so
# that its fake SWAP header, and thus its UUID, could be kept
# amongst reboots, and thus never overwritten.

crswap_c3bc698e-7dc2-43f5-b94d-fcac4b27a59d 
UUID=c3bc698e-7dc2-43f5-b94d-fcac4b27a59d /dev/urandom 
swap,offset=8,cipher=aes-cbc-essiv:sha256
crtmp_1df57ad7-cd89-4610-b71e-5cdd8771d151 
UUID=1df57ad7-cd89-4610-b71e-5cdd8771d151 /dev/urandom 
tmp,offset=8,cipher=aes-cbc-essiv:sha256


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.34-1-686 (SMP w/1 CPU core)
Locale: lang=fr...@euro, lc_ctype=fr...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
hi  cpio                         2.11-4      GNU cpio -- a program to manage ar
hi  findutils                    4.4.2-1     utilities for finding files--find,
hi  klibc-utils                  1.5.18-1    small utilities built with klibc f
hi  module-init-tools            3.12~pre2-3 tools for managing Linux kernel mo
hi  udev                         157-1       /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
pn  busybox | busybox-initramfs   <none>     (no description available)

Versions of packages initramfs-tools suggests:
hi  bash-completion               1:1.1-3    programmable completion for the ba

-- Configuration Files:
/etc/initramfs-tools/update-initramfs.conf changed:
update_initramfs=no
backup_initramfs=yes


-- no debconf information





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to