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

Bug#587592: marked as done (initramfs-tools: update-initramfs -u generates default image for incorrect kernel version)



Your message dated Wed, 30 Jun 2010 10:41:09 +0200
with message-id <20100630084109.GK9869@baikonur.stro.at>
and subject line Re: Bug#587592: initramfs-tools: update-initramfs -u generates default image for incorrect kernel version
has caused the Debian Bug report #587592,
regarding initramfs-tools: update-initramfs -u generates default image for incorrect kernel version
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.)


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

If a portion an existing (but older) initrd image is non-numeric like 'trunk'
in the example below exists in the /boot directory, the default image will be
built for that kernel and not the actual most recent one. (-5 in the examle).

It wouldn't be much of a problem except most of the install scripts depend on
-u reliably identifying the correct version to update without using the -k
option.

ls -lh /boot/initrd.* :

-rw-r--r-- 1 root root 6.4M Apr 19  2009 /boot/initrd.img-2.6.26-1-amd64
-rw-r--r-- 1 root root  11M Dec 23  2009 /boot/initrd.img-2.6.26-2-amd64
-rw-r--r-- 1 root root 6.9M Apr 19  2009 /boot/initrd.img-2.6.26-2-amd64.bak
-rw-r--r-- 1 root root  11M Jun 29 22:38 /boot/initrd.img-2.6.32-5-amd64
-rw-r--r-- 1 root root  11M Jun 29 22:56 /boot/initrd.img-2.6.32-trunk-amd64
-rw-r--r-- 1 root root 8.8M Dec 23  2009 /boot/initrd.img-2.6.32-trunk-
amd64.bak

The -5 image shows a current date because I corrected the problem using the -k
option before starting this report.
                                                                                                                                       
(apparently -trunk was a left over kernel from sid I was trying out a few                                                              
months ago - it's not a name I would personally have chosen)                                                                           
                                                                                                                                       
Thanks                                                                                                                                 
                                                                                                                                       
                                                                                                                                       
                                                                                                                                       
-- Package-specific info:                                                                                                              
-- initramfs sizes                                                                                                                     
-rw-r--r-- 1 root root 6.4M Apr 19  2009 /boot/initrd.img-2.6.26-1-amd64
-rw-r--r-- 1 root root  11M Dec 23  2009 /boot/initrd.img-2.6.26-2-amd64
-rw-r--r-- 1 root root 6.9M Apr 19  2009 /boot/initrd.img-2.6.26-2-amd64.bak
-rw-r--r-- 1 root root  11M Jun 29 22:38 /boot/initrd.img-2.6.32-5-amd64
-rw-r--r-- 1 root root  11M Jun 29 22:56 /boot/initrd.img-2.6.32-trunk-amd64
-rw-r--r-- 1 root root 8.8M Dec 23  2009 /boot/initrd.img-2.6.32-trunk-
amd64.bak
-- /proc/cmdline                                                                                                                       
BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-amd64 root=UUID=d74173e9-b5b2-4866-
bebf-754b772164eb ro quiet                                        
                                                                                                                                       
-- resume
RESUME=/dev/vda5
-- /proc/filesystems
        ext3
        fuseblk

-- lsmod
Module                  Size  Used by
nfs                   240826  2 
lockd                  57603  1 nfs
fscache                29834  1 nfs
nfs_acl                 2031  1 nfs
auth_rpcgss            33460  1 nfs
sunrpc                161317  15 nfs,lockd,nfs_acl,auth_rpcgss
fuse                   50190  1 
loop                   11783  0 
snd_ens1370            18435  4 
gameport                7416  1 snd_ens1370
snd_pcm_oss            32591  0 
snd_mixer_oss          12606  1 snd_pcm_oss
snd_pcm                60471  3 snd_ens1370,snd_pcm_oss
snd_seq_midi            4400  0 
snd_rawmidi            15515  2 snd_ens1370,snd_seq_midi
snd_seq_midi_event      4628  1 snd_seq_midi
snd_seq                42881  2 snd_seq_midi,snd_seq_midi_event
snd_timer              15582  3 snd_pcm,snd_seq
snd_seq_device          4493  3 snd_seq_midi,snd_rawmidi,snd_seq
joydev                  8411  0 
snd                    46446  14 
snd_ens1370,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
i2c_piix4               8328  0 
soundcore               4598  1 snd
snd_page_alloc          6249  2 snd_ens1370,snd_pcm
i2c_core               15712  1 i2c_piix4
virtio_balloon          2961  0 
tpm_tis                 7336  0 
tpm                     9917  1 tpm_tis
tpm_bios                4521  1 tpm
psmouse                49777  0 
pcspkr                  1699  0 
evdev                   7352  9 
serio_raw               3752  0 
processor              30231  0 
button                  4650  0 
ext3                  106518  1 
jbd                    37085  1 ext3
mbcache                 5050  1 ext3
usbhid                 33260  0 
hid                    62825  1 usbhid
sg                     18744  0 
sr_mod                 12602  0 
cdrom                  29415  1 sr_mod
ata_generic             2983  0 
virtio_net             10529  0 
virtio_blk              4225  3 
ata_piix               21012  0 
floppy                 49087  0 
uhci_hcd               18521  0 
ehci_hcd               31039  0 
libata                133520  2 ata_generic,ata_piix
thermal                11674  0 
usbcore               121959  4 usbhid,uhci_hcd,ehci_hcd
nls_base                6361  1 usbcore
virtio_pci              5535  0 
virtio_ring             3258  1 virtio_pci
virtio                  3309  4 
virtio_balloon,virtio_net,virtio_blk,virtio_pci
scsi_mod              122117  3 sg,sr_mod,libata
thermal_sys            11942  2 processor,thermal

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

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

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


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

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.15.3-1 Tiny utilities for small and 
embed

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

-- no debconf information



--- End Message ---
--- Begin Message ---
On Wed, Jun 30, 2010 at 12:27:57AM -0500, John Alexson wrote:
> Package: initramfs-tools
> Version: 0.97
> Severity: normal
> 
> If a portion an existing (but older) initrd image is non-numeric like 'trunk'
> in the example below exists in the /boot directory, the default image will be
> built for that kernel and not the actual most recent one. (-5 in the examle).
> 
> It wouldn't be much of a problem except most of the install scripts depend on
> -u reliably identifying the correct version to update without using the -k
> option.

this has already been overdiscussed. no we won't enhance the sorting
algorythm. it is meant to be quick and simple.
just deinstall trunk it was a mistake to have it in testing and
won't happen again. trunk is totaly out of age and unsuported.
just nuke it. thus closing.


--- End Message ---

Reply to: