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

Bug#621137: marked as done (Random exec failures on ARM; breaks boot -- /init: exec: line 306: run-init: Unknown error 2372692)



Your message dated Fri, 08 Apr 2011 02:47:18 +0000
with message-id <E1Q81jC-0002KX-Di@franck.debian.org>
and subject line Bug#621137: fixed in busybox 1:1.18.4-2
has caused the Debian Bug report #621137,
regarding Random exec failures on ARM; breaks boot -- /init: exec: line 306: run-init: Unknown error 2372692
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.)


-- 
621137: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621137
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: busybox
Version: 1:1.18.4-1
Severity: serious

        Hi

 Short version: debian/patches/applets-fallback.patch causes a
 regression on ARM in Debian 1.18 packages.

 Multiple users reported issues when upgrading their ARM device
 (specifically NSLU2 hardware -- "slugs") to sid; they couldn't boot
 anymore; the serial console would show something like:
[    7.779891] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
/init: exec: line 306: run-init: Unknown error 2372692
[    8.450448] Kernel panic - not syncing: Attempted to kill init!
[    8.452811] [<c003d100>] (unwind_backtrace+0x0/0xe0) from [<c03e93c0>] (panic+0x50/0x16c)
[    8.453186] [<c03e93c0>] (panic+0x50/0x16c) from [<c0054050>] (forget_original_parent+0xb4/0x1e4)

 Arnaud Patard and myself could reproduce in QEMU, with both versatile
 (ARMv5) and Versatile Express (ARMv7A) kernels.  We considered that it
 could be a run-init issue in klibc, but it turns out that the error is
 from the initrd's /init interpreter, /bin/sh in the initrd, which comes
 from busybox (hence the output with line number information, this is
 the line of /init where run-init gets exec-ed).

 As this looked like either a toolchain issue or a busybox issue, we
 tried rebuilding busybox in multiple ways; this is the table of
 results I have:
current package: Debian sid gcc (4.5) + Debian sid busybox (1.18) => fail
rebuild: Debian sid gcc (4.5) + Debian sid busybox (1.18) => fail
Debian sid gcc-4.4 + Debian sid busybox (1.18) => fail
Emdebian squeeze cross (4.4) + Ubuntu natty busybox (1.17) => pass
Ubuntu natty cross (4.5 + linaro) + Ubuntu natty busybox (1.17) => pass
Debian squeeze busybox (1.17) => pass
Debian stable busybox (1.17) => pass
Debian-ports sid gcc (4.5) + Debian sid busybox (1.18) => pass (not same ABI!)
Debian sid gcc 4.4 + Debian sid busybox (1.18) => fail
Ubuntu natty cross (4.5 + linaro) + Busybox git tip => pass
Ubuntu natty cross (4.5 + linaro) + Busybox git 1_18_4 => pass

 However I once got it to boot, with no changes, so it seems there are
 conditions where exec does not fail.  I managed to boot multiple times
 by running exec a first time from an interactive shell and then
 exec-ing run-init.

 Upstream busybox would never be affected and 1.17 would never be
 affected, but Debian 1.18 would almost always be affected.

 I rebuilt the Debian source package verbatim, and it was still failing
 consistently; I rebuilt the Debian source package without
 debian/patches/applets-fallback.patch and it booted.

 This patch was refreshed in the latest upload:
 - either some issues were introduced during refresh
 - or the patch was always broken

 I didn't look at why the patch breaks (yet) and I don't have a smaller
 test case than the above, which is quite painful.

   Cheers,
-- 
Loïc Minier



--- End Message ---
--- Begin Message ---
Source: busybox
Source-Version: 1:1.18.4-2

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

busybox-static_1.18.4-2_i386.deb
  to main/b/busybox/busybox-static_1.18.4-2_i386.deb
busybox-syslogd_1.18.4-2_all.deb
  to main/b/busybox/busybox-syslogd_1.18.4-2_all.deb
busybox-udeb_1.18.4-2_i386.udeb
  to main/b/busybox/busybox-udeb_1.18.4-2_i386.udeb
busybox_1.18.4-2.debian.tar.gz
  to main/b/busybox/busybox_1.18.4-2.debian.tar.gz
busybox_1.18.4-2.dsc
  to main/b/busybox/busybox_1.18.4-2.dsc
busybox_1.18.4-2_i386.deb
  to main/b/busybox/busybox_1.18.4-2_i386.deb
udhcpc_1.18.4-2_all.deb
  to main/b/busybox/udhcpc_1.18.4-2_all.deb
udhcpd_1.18.4-2_all.deb
  to main/b/busybox/udhcpd_1.18.4-2_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 621137@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated busybox 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: SHA256

Format: 1.8
Date: Thu, 07 Apr 2011 22:26:13 -0400
Source: busybox
Binary: busybox busybox-static busybox-udeb busybox-syslogd udhcpc udhcpd
Architecture: source all i386
Version: 1:1.18.4-2
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 busybox    - Tiny utilities for small and embedded systems
 busybox-static - Standalone rescue shell with tons of builtin utilities
 busybox-syslogd - Provides syslogd and klogd using busybox
 busybox-udeb - Tiny utilities for the debian-installer (udeb)
 udhcpc     - Provides the busybox DHCP client implementation
 udhcpd     - Provides the busybox DHCP server implementation
Closes: 621137
Changes: 
 busybox (1:1.18.4-2) unstable; urgency=low
 .
   [ Loïc Minier ]
   * Remove all references to tryexec's applet_no in patch applets-fallback as
     this param is not used; this has the side effect of working around a
     toolchain issue breaking busybox's exec on ARM; closes: #621137.
   * Add debian/gbp.conf to ease usage with git-buildpackage.
   * Add debian/README.source with some advice on git-buildpackage usage and
     direct builds from a git checkout.
Checksums-Sha1: 
 a8b8e41c4c7969151607204324d532a0903de889 1882 busybox_1.18.4-2.dsc
 57104856d96fd4077ff44a3962005a44956d4565 41154 busybox_1.18.4-2.debian.tar.gz
 27a0a645dbe6621385aeefeecfda2e6aa508fc42 15296 busybox-syslogd_1.18.4-2_all.deb
 f244b49598c832be4477a960bcd3fcefe73ee3e0 12942 udhcpc_1.18.4-2_all.deb
 99fefd700365c03630bf7da57f7c0245284c2658 16242 udhcpd_1.18.4-2_all.deb
 6737dfb47bb13ebe65b9a844af22afeda6ae12bd 305252 busybox_1.18.4-2_i386.deb
 57863c3a313c48d6142ec04845c9554af0867959 738450 busybox-static_1.18.4-2_i386.deb
 ee6f1e17a40af863cf7ed1ba0372d57d3c470691 144136 busybox-udeb_1.18.4-2_i386.udeb
Checksums-Sha256: 
 722a5aef14d37576917d309e740684ae416c6336164d657ae5685114c7eef370 1882 busybox_1.18.4-2.dsc
 cf80c4fb35ae8a0ac9e3894b63c50a88d95e87155d381400cd4b4039b1e449cf 41154 busybox_1.18.4-2.debian.tar.gz
 6788f0d20f3eb42b8f609b1c5e19264f240680fb89f076a764fa7e487b031aca 15296 busybox-syslogd_1.18.4-2_all.deb
 f1c05a4200c2929969cf94164e2fe4c86bb0593b8bd7a9326316d33e67c9ef5f 12942 udhcpc_1.18.4-2_all.deb
 a1d38ee3f2c59526b97eb79e4ecda4ab44fe2526f5c7fcdc9d06202121adda09 16242 udhcpd_1.18.4-2_all.deb
 3cbb6b12d604dd9f041de0ee31b0046593fb672d450e98f4ffeb35d1acac878b 305252 busybox_1.18.4-2_i386.deb
 6abbadb4eebd7b96a5281d1bce3dffbed0796579298f67af577dbc0aa11b5c77 738450 busybox-static_1.18.4-2_i386.deb
 8b10faa410add17d90f9eff356d9bab736e5731403556273b7fbb587f51cc53e 144136 busybox-udeb_1.18.4-2_i386.udeb
Files: 
 468072f9d16dfdebdcce4d22477d9b82 1882 utils optional busybox_1.18.4-2.dsc
 e81b9ea66404dde4b5b867ca10947a49 41154 utils optional busybox_1.18.4-2.debian.tar.gz
 8bc99e112f5cd8c7e2c01b4972387b71 15296 utils optional busybox-syslogd_1.18.4-2_all.deb
 5104ab502b43daf72d755f1b3aebf976 12942 net optional udhcpc_1.18.4-2_all.deb
 f7e648b113bd8951b6f1a7cacecc3d93 16242 net optional udhcpd_1.18.4-2_all.deb
 92106f49adc2611f7a8870d50d0a1523 305252 utils optional busybox_1.18.4-2_i386.deb
 0444fae580369d14ac62a4337249a722 738450 shells extra busybox-static_1.18.4-2_i386.deb
 b16acedd57fb4fd8a9f1de5eb4dc31c2 144136 debian-installer extra busybox-udeb_1.18.4-2_i386.udeb
Package-Type: udeb

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

iQIVAwUBTZ5ze8kQ2SIlEuPHAQhpJw/6A8XMh60Y44cBnSsk/Ux0X+gBnF3tldEr
tYIgtBTX8iuZR3QfrgAelGNVJSokwxF87T5ldQHa5Awuooa57eeu3FAeVsreQiuI
KfMTGBVsRk2Ldnz2ZrezKA59UkImrdS/u+17vCs30KwMuvJAqX4+68oZH6JDDjmL
CTHSbB5ynBfLvCaRvZji2ru4sgQdhly3fou5LtJAHAEhE0onfLoFbYvz5zxqzPHi
/lhbAmASkUTMN7faq3hl0sh7HvdzeERATgkoql3M5RpIYbdgS+KOlMjlFbDHOix6
pZqydrh1y3cA8NVeO3mDhV4sLqOtZK7XW7P+2/YxbtucuSvfztUJMoCUFuBhP79K
5mx6Rchwwsd/pfFo997EL3IBdXFrWfi1cAEhWkHevMKwPqM3T+nZX3I91E7I4SWo
tysa2jRGwWcf37znlzEr65clkK68R61P2OKZdMbKHu+q4ai1efEwa2OirjbzFvIq
UiQB1UMyFpxFKGFLXQnuuJ9b59BcdBFvlWQzjjrx9JSohco3yUMgfBlQx4uw3Ira
+WkONLTYJqNSQJNmIWtY0JpMH+ytq+KCR5KakBOhLGLnZojMZSq7w7Z49famp8L/
89HHAlGl3RC6h26PUqHhJ2bstQtqx7TXd/Z8nc8b1MxWY5aupl3eopjycpbEs+oL
OrftFZ9Bc+A=
=N1SJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: