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

Bug#459445: initramfs-tools: update-initramfs does not consider latest kernel by default



Package: initramfs-tools
Version: 0.91d
Severity: normal

Hi,

when running update-initramfs without specifying a kernel version (-k), the
default version should be the latest kernel version (according to manpage).

It is not in my case:
  $ ls /var/lib/initramfs-tools/
  2.6.22-3-amd64  2.6.23-1-amd64

  $ ls /boot/initrd.*
  /boot/initrd.img-2.6.22-3-amd64      /boot/initrd.img-2.6.23-1-amd64
  /boot/initrd.img-2.6.22-3-amd64.bak  /boot/initrd.img-2.6.23-1-amd64.bak

  $ uname -r
  2.6.23-1-amd64

  # update-initramfs -u
  update-initramfs: Generating /boot/initrd.img-2.6.22-3-amd64

Note that update_initramfs is set to "yes" in /etc/initramfs-tools/update-initramfs.conf.
When changing this option to "all", the expected behaviour work.

Cheers,
Julien

-- Package-specific info:
-- /proc/cmdline
root=/dev/mapper/athyr-root ro quiet pci=nommconf vga=795

-- /proc/filesystems
	ext3

-- lsmod
Module                  Size  Used by
i915                   31616  2 
drm                   100392  3 i915
binfmt_misc            17292  1 
rfcomm                 49448  0 
l2cap                  32896  5 rfcomm
bluetooth              65796  4 rfcomm,l2cap
tun                    16384  0 
ppdev                  13832  0 
parport_pc             42664  0 
lp                     17480  0 
parport                44428  3 ppdev,parport_pc,lp
ac                     10760  0 
battery                18064  0 
ipv6                  303336  24 
dm_crypt               18192  0 
snd_seq_dummy           8452  0 
snd_seq_oss            36736  0 
snd_seq_midi           13376  0 
snd_rawmidi            30624  1 snd_seq_midi
snd_seq_midi_event     12416  2 snd_seq_oss,snd_seq_midi
snd_seq                58752  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device         12948  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
coretemp               12544  0 
w83627ehf              28168  0 
hwmon_vid               7296  1 w83627ehf
vboxdrv              1646592  0 
loop                   23428  0 
snd_hda_intel         339364  0 
snd_pcm_oss            48288  0 
snd_mixer_oss          21376  1 snd_pcm_oss
snd_pcm                89864  2 snd_hda_intel,snd_pcm_oss
snd_timer              28552  2 snd_seq,snd_pcm
button                 13856  0 
i2c_i801               13980  0 
psmouse                45596  0 
intel_agp              32160  1 
i2c_core               30976  1 i2c_i801
snd                    65640  9 snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              13216  1 snd
snd_page_alloc         15248  2 snd_hda_intel,snd_pcm
tsdev                  13440  0 
iTCO_wdt               17232  0 
serio_raw              11908  0 
evdev                  15360  4 
pcspkr                  7808  0 
ext3                  137488  3 
jbd                    68080  1 ext3
mbcache                13952  1 ext3
dm_mirror              27008  0 
dm_snapshot            21960  0 
dm_mod                 64368  10 dm_crypt,dm_mirror,dm_snapshot
sd_mod                 33408  3 
ide_cd                 44704  0 
cdrom                  39592  1 ide_cd
ata_piix               23044  2 
usbhid                 34144  0 
hid                    33152  1 usbhid
ata_generic            13188  0 
jmicron                 8576  0 [permanent]
firewire_ohci          22912  0 
firewire_core          49600  1 firewire_ohci
crc_itu_t               6656  1 firewire_core
skge                   46608  0 
floppy                 66984  0 
ahci                   30468  0 
libata                129840  3 ata_piix,ata_generic,ahci
generic                10372  0 [permanent]
scsi_mod              164664  2 sd_mod,libata
ide_core              149904  3 ide_cd,jmicron,generic
ehci_hcd               38540  0 
uhci_hcd               29984  0 
thermal                22176  0 
processor              43624  1 thermal
fan                    10248  0 

-- /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
BOOT=local
DEVICE=eth0
NFSROOT=auto

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


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  cpio                         2.9-9       GNU cpio -- a program to manage ar
ii  findutils                    4.2.31-4    utilities for finding files--find,
ii  klibc-utils                  1.5.7-4     small statically-linked utilities 
ii  module-init-tools            3.3-pre11-4 tools for managing Linux kernel mo
ii  udev                         0.114-2     /dev/ and hotplug management daemo

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

-- no debconf information




Reply to: