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

Bug#721485: marked as done (flash-kernel: flash_kernel_set_root waits for stdin in a particular case, which makes the installer hang)



Your message dated Sun, 12 Jan 2014 16:03:34 +0000
with message-id <E1W2NVe-0002EF-Es@franck.debian.org>
and subject line Bug#721485: fixed in flash-kernel 3.12
has caused the Debian Bug report #721485,
regarding flash-kernel: flash_kernel_set_root waits for stdin in a particular case, which makes the installer hang
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.)


-- 
721485: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721485
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: flash-kernel
Severity: critical
Tags: d-i
Justification: breaks the whole system

The flash_kernel_set_root script (located under initramfs-tools/hooks) will
attempt to read from stdin in a particular case, which is reached when no
rootdev was found (line 33: read _ignored).

Even though $DEBIAN_FRONTEND = noninteractive is probably intended to avoid
reaching line 33 in the installer context, it is actually reached when the
pause_error function is called, in the case no rootdev was found.
As a result, the scripts waits for stdin, but obviously cannot read anything,
so it makes the whole installer process hang on the "Installed u-boot-tools"
message.

I reached this case when using and formating an ext2 root partition: it seems
that the ext2 partitioning tool does not ask udev to update the links in
/dev/disk/by-label/, hence flash_kernel_set_root cannot find the disk
corresponding to the newly-created UUID and jumps to pause_error.
Note that this does not happen with ext3.

Running "udevadm trigger" sets the correct /dev/disk/by-label/ symlinks, so
maybe flash_kernel_set_root should run it prior to the disk detection, but
most likely, it should be up to the partitioning tool to ask udev to reload.

In any case, it should never wait for stdin in the installer context.

This happened when installing Debian Wheezy with the latest stable
debian-installer images on a DreamPlug.

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

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.

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 721485@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ian Campbell <ijc@hellion.org.uk> (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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 12 Jan 2014 15:15:49 +0000
Source: flash-kernel
Binary: flash-kernel flash-kernel-installer
Architecture: source armel
Version: 3.12
Distribution: sid
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Ian Campbell <ijc@hellion.org.uk>
Description: 
 flash-kernel - utility to make certain embedded devices bootable
 flash-kernel-installer - Make the system bootable (udeb)
Closes: 721485 725754 731345 734130 734769
Changes: 
 flash-kernel (3.12) unstable; urgency=medium
 .
   * Append a DTB on Sheevaplug from kernel version 3.12 onwards. Based on a
     patch by Marc Kleine-Budde. (Closes: #731345).
   * Append a DTB on Guruplug from kernel version 3.12 onwards. Based on a patch
     from William Boughton. (Closes: #734769).
   * Allow multiple Machine names per stanza in the db.
   * Correct check for debconf, avoiding hang on error when running in Debian
     Installer. (Closes: #721485).
   * Add support for "Buffalo Linkstation LS-CHLv2" (Closes: #734130).
   * Add support for "Plat'Home OpenBlocksA6" (Closes: #725754).
Checksums-Sha1: 
 4a8c9d0388f4f1e9d847ff7e60f6f728f6af6944 1789 flash-kernel_3.12.dsc
 76e7fda38c0ac636dc226759083501c946630409 73304 flash-kernel_3.12.tar.gz
 27878fe78fdc570bbc07745317420f878c49dd61 25450 flash-kernel_3.12_armel.deb
 624e4272c50c279c170ea4d5c97cf99ea992c4b4 19572 flash-kernel-installer_3.12_armel.udeb
Checksums-Sha256: 
 2b2256a87fdf40cc082ae74bceafb8f84addbdd513dadf1007525dd3f4f02506 1789 flash-kernel_3.12.dsc
 d16cd20c9d3569e2abd5622e15ba41e8c5604d11d508be34307b78eae94ad613 73304 flash-kernel_3.12.tar.gz
 a15b2a9f5baa4119b6da0ee7c75a9297a75c215c9eb4ea173920eca6bbd48106 25450 flash-kernel_3.12_armel.deb
 7ed6a962b464bc65f487783da8c0991679900fa09f2f259cf625a2a9fafbb4ac 19572 flash-kernel-installer_3.12_armel.udeb
Files: 
 16e0a5193ab26e47c101e07ce72a725f 1789 utils optional flash-kernel_3.12.dsc
 48429768c084647bdf1acfeaba2bb540 73304 utils optional flash-kernel_3.12.tar.gz
 f4043c5e5ce3c9b3aeba556d21bec6b9 25450 utils optional flash-kernel_3.12_armel.deb
 0343a2cf0dd6faab24d9d850304284ef 19572 debian-installer standard flash-kernel-installer_3.12_armel.udeb

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

iQIcBAEBCAAGBQJS0rwRAAoJECouJZ9pWkbG0EEP+QE0wAEbME5Q+WaNQ9p8UoMR
Nihos0PcZyh+uQ71BDohykroNQLUClqMzGACRgh5E4y2z6jKB2JNHkhzYZq3+/Th
T1I6j8k4G3FEJfvL2AMrH4rPi10wr5XC/b5yfY6+S0OR8sBi81PUODl8OVib3dij
jxQiEKlNNGK+URpXfVA4Ade3iTxq5usPHUHzHzejxFEZenbjotKQQ9lD0HmE/KFq
/3/RmhVe+HsPlgymJ5n0yEL+8l/+uplTNhHnlfFw0zBK5DWNNjBtYQBYZWB/1ifB
z+nBu5SEL+Pofi6Mc6voP9k+HJNLw4nLhyF+49zu4HzNBbkmfCfUqdx2TocaJzGo
svE8yl+39B/WHX+vIiI62uwlF3Rsb5+eR788GL/I4THQ5GkLmGN9Oy/IBEfqcP5j
lmzmgvsjnTDnlWdu209BB4admjJ/q8viDHuZMrA+63EBVl9hv+c8Qh4pbWWl4pZA
3EUJKrWRhQCysshitAJSLfkGP28PtNKRSOJ1/UF3rHC9Lb+5+028YrnYftF78+sw
Zis2e8m9fZixwE3SL4rlSpJOzx65ynMm5KsXYqsQ7IxN0tvxcmtDWI6mjcWf3Jzo
NYBQvgVilhtQuhjrDw/jpbINNaPE9twIqpeinzyVr9NTEaIVpO8gAjJKSgJWdAGY
zUyXfrKGUSAXQtYj2S8B
=vmFJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: