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

Bug#413373: marked as done (Patch for flash-kernel to improve speed)

Your message dated Wed, 25 Apr 2007 12:02:02 +0000
with message-id <E1HggCA-00077V-26@ries.debian.org>
and subject line Bug#413373: fixed in flash-kernel 1.2
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: flash-kernel
Version: 1.1
Tags: Patch

The attached patch reduces the running time of flash-kernel on the
NSLU2 by almost
30 seconds. The change should also apply to the Thecus N2100, but I am
not able to test it.

# /usr/bin/time -f "elapsed %e system %S user %U" flash-kernel
Flashing kernel: done.
Flashing initramfs: done.
elapsed 122.09 system 2.93 user 0.72

# /usr/bin/time -f "elapsed %e system %S user %U" ./flash-kernel
Flashing kernel: done.
Flashing initramfs: done.
elapsed 93.85 system 2.95 user 0.78


Gordon Farquharson
--- flash-kernel.orig	2007-03-03 11:42:45.000000000 -0700
+++ flash-kernel	2007-03-03 13:30:35.000000000 -0700
@@ -131,10 +131,9 @@
 		size=$(grep "Ramdisk" /proc/mtd | cut -d " " -f 2)
 		size=$(printf "%d" 0x$size)
 		isize=$(wc -c $ifile | awk '{print $1}')
-		cat $ifile > $tmp
 		pad=$(expr $size - $isize - 16)
 		if [ "$pad" -gt 0 ]; then
-			dd if=/dev/zero bs=$pad count=1 2>/dev/null >> $tmp
+			dd if=$ifile of=$tmp ibs=4M conv=sync 2>/dev/null
 			sercomm_header $isize

--- End Message ---
--- Begin Message ---
Source: flash-kernel
Source-Version: 1.2

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

  to pool/main/f/flash-kernel/flash-kernel-installer_1.2_arm.udeb
  to pool/main/f/flash-kernel/flash-kernel_1.2.dsc
  to pool/main/f/flash-kernel/flash-kernel_1.2.tar.gz
  to pool/main/f/flash-kernel/flash-kernel_1.2_arm.deb

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

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

Debian distribution maintenance software
Martin Michlmayr <tbm@cyrius.com> (supplier of updated flash-kernel 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)

Hash: SHA1

Format: 1.7
Date: Wed, 25 Apr 2007 13:51:12 +0200
Source: flash-kernel
Binary: flash-kernel-installer flash-kernel
Architecture: source arm
Version: 1.2
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Martin Michlmayr <tbm@cyrius.com>
 flash-kernel - utility to write kernel and initramfs to MTD flash
 flash-kernel-installer - Configure flash to boot the system (udeb)
Closes: 403017 411551 413373
 flash-kernel (1.2) unstable; urgency=low
   [ Martin Michlmayr ]
   * Make the parsing code more robust so searching for "foo" won't match
     "foo2".  Thanks, Rod Whitby.
   * Print an error when the subarchitecture of the kernel doesn't match
     that of the device.  Closes: #411551.
   [ Rod Whitby ]
   * Add support for Iomega NAS 100d.  Closes: #403017.
   [ Gordon Farquharson ]
   * Reduce the running time of flash-kernel on the NSLU2 by almost 30
     seconds.  Closes: #413373.
   [ Updated translations ]
   * Basque (eu.po) by Piarres Beobide
 62a85b3757e15b45ba8143a427f844bf 698 utils optional flash-kernel_1.2.dsc
 64d9c5edbaebf6a3bfafe2f2a5e1b61e 23988 utils optional flash-kernel_1.2.tar.gz
 774270cb72ae7de10739b7c2e24f7f34 7284 utils optional flash-kernel_1.2_arm.deb
 2f1a6ffc109eb84b3ab091c1b573e41e 7036 debian-installer standard flash-kernel-installer_1.2_arm.udeb
Package-Type: udeb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: