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

Bug#387780: marked as done (initramfs-tools: power cut during update-initramfs leaves system unbootable)



Your message dated Fri, 13 Oct 2006 06:47:18 -0700
with message-id <E1GYNNe-0005DA-QY@spohr.debian.org>
and subject line Bug#387780: fixed in initramfs-tools 0.83
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: initramfs-tools
Version: 0.79
Severity: important


A power cut during update-initramfs may leave the system in an unbootable state as the old initrd.img is 
overwritten, but the new initrd.img is not yet completed.  (This happened to me when my laptop battery ran empty.)  
A simple fix would be to create the new initrd.img as a temporary file and move it to replace the old initrd.img 
only after image creation has been finished.  That way, the chance to have an unbootable system after a power cut 
would be significantly lower, restricted to situations in which the old initrd.img doesn't work anymore.

-- Package-specific info:
-- /proc/cmdline
root=/dev/hda3 ro 

-- /proc/filesystems
	cramfs
	reiserfs
	ntfs
	vfat

-- lsmod
Module                  Size  Used by
ipv6                  217760  10 
xt_tcpudp               2976  3 
xt_state                1888  1 
ip_conntrack           48792  1 xt_state
nfnetlink               5944  1 ip_conntrack
iptable_filter          2752  1 
ip_tables              11160  1 iptable_filter
x_tables               11332  3 xt_tcpudp,xt_state,ip_tables
nls_cp437               5600  1 
vfat                   11296  1 
fat                    46588  1 vfat
nls_iso8859_1           3936  2 
ntfs                  190380  1 
dm_snapshot            15324  0 
dm_mirror              17236  0 
dm_mod                 47892  2 dm_snapshot,dm_mirror
battery                 9252  1 
ac                      4612  0 
i810_audio             31028  0 
ac97_codec             17004  1 i810_audio
usbkbd                  6368  0 
orinoco_cs             16420  1 
orinoco                34452  1 orinoco_cs
hermes                  7136  2 orinoco_cs,orinoco
tsdev                   7200  0 
mousedev               10368  2 
hw_random               5272  0 
snd_intel8x0           29436  1 
pcmcia                 34844  1 orinoco_cs
firmware_class          9472  1 pcmcia
snd_intel8x0m          15372  1 
snd_ac97_codec         82784  2 snd_intel8x0,snd_intel8x0m
snd_ac97_bus            2048  1 snd_ac97_codec
sd_mod                 16208  0 
snd_pcm_oss            43520  0 
snd_mixer_oss          15584  1 snd_pcm_oss
snd_pcm                74408  4 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
shpchp                 39200  0 
pci_hotplug            24180  1 shpchp
intel_agp              20860  1 
agpgart                29232  1 intel_agp
pcspkr                  2948  0 
psmouse                34248  0 
serio_raw               6436  0 
snd_timer              20292  1 snd_pcm
snd                    46080  11 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               8672  2 i810_audio,snd
snd_page_alloc          9800  3 snd_intel8x0,snd_intel8x0m,snd_pcm
evdev                   8736  0 
rtc                    11252  0 
yenta_socket           23660  5 
rsrc_nonstatic         11840  1 yenta_socket
pcmcia_core            37264  3 pcmcia,yenta_socket,rsrc_nonstatic
parport_pc             31472  0 
parport                31720  1 parport_pc
floppy                 55628  0 
reiserfs              216784  1 
ide_cd                 35328  0 
cdrom                  31888  1 ide_cd
ide_disk               14528  5 
usb_storage            69312  0 
scsi_mod              122220  2 sd_mod,usb_storage
e100                   31044  0 
mii                     5056  1 e100
piix                    8932  0 [permanent]
generic                 4164  0 [permanent]
uhci_hcd               26640  0 
ide_core              111440  5 ide_cd,ide_disk,usb_storage,piix,generic
usbcore               110560  4 usbkbd,usb_storage,uhci_hcd
thermal                12968  1 
processor              21696  1 thermal
fan                     4452  1 

-- kernel-img.conf
# Do not create symbolic links in /
do_symlinks = Yes


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (800, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages initramfs-tools depends on:
ii  busybox-cvs-static            20040623-1 Standalone rescue shell with tons 
ii  cpio                          2.6-17     GNU cpio -- a program to manage ar
ii  klibc-utils                   1.4.27-1   small statically-linked utilities 
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  udev                          0.093-1    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.83

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

initramfs-tools_0.83.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.83.dsc
initramfs-tools_0.83.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.83.tar.gz
initramfs-tools_0.83_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.83_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 387780@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@sternwelten.at> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 13 Oct 2006 09:38:27 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.83
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@sternwelten.at>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 362064 382472 385949 386441 387780 391619
Changes: 
 initramfs-tools (0.83) unstable; urgency=high
 .
   Release "Ois was du verzapfst is a koida Kaffee"
 .
   * update-initramfs: Keep an initramfs backup while we are running. Do also
     keep the booted initramfs as .bak in /boot. First helps on power cut.
     Second is a good conservative approach and demanded feature.
     Thanks Thiemo Nagel <thiemonagel@gmx.de> for report. (closes: 387780)
 .
   * init: When debug is invoked with an additional arg, write output to
     console. Thanks Christian Aichinger <Greek0@gmx.net> for the idea.
     Should ease remote debugging.
 .
   * initramfs-tools.8: Document new debug=<whatever> feature.
 .
   * initramfs-tools.preinstall: Check for right arg. (closes: 391619)
 .
   * update-initramfs: Try to guess harder if lilo might need to be run
     if grub is also around. On old installs we get _zero_ information from
     /etc/kernel.img. Parse mbr for lilo signature. (closes: 385949)
     Thanks to Michael Prokop <mika@grml.org> for finetuning.
 .
   * scripts/init-top/framebuffer: Parse video bootarg and refactor script.
     This add support for custom framebuffer modules. (closes: 386441)
     Thanks for the patch by David Härdeman <david@2gen.com>.
 .
   * update.conf: Allow to make "update-initramfs -u" an noop. Useful for
     conservative settings of a remote server. (closes: 362064) urgency high.
     Thanks Manoj Srivastava <srivasta@debian.org> for the tough testing.
 .
   * update-initramfs.conf.5: Document the new update_initramfs variable.
 .
   * update-initramfs: Kope with stupid mv of grub to /usr/sbin.
 .
   * manpages: Get a banana and mark myself as author.
 .
   * update-initramfs: version_exists needs not only to check for existing
     sha1sum, but also initramfs. (closes: 382472)
Files: 
 bcc61e24835820d1de48bb68c99271f4 623 utils optional initramfs-tools_0.83.dsc
 06781f1d8deb5d657766fa8c10f052e8 52870 utils optional initramfs-tools_0.83.tar.gz
 e7c1e1d5ae12ef5deb7658466df06dc3 59416 utils optional initramfs-tools_0.83_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFL5fK6n7So0GVSSARAoGDAJsHu+bn6FDJ+ZsdUszyGcNLBviNugCfXQR9
A16/Jv8UT14SUbAiNOJx0lY=
=ye59
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: