BTS

Issue1196

Title network boot fails with daily image
Priority bug Status resolved
Superseder Nosy List zugschlus
Assigned To Topics

Created on 2012-07-12.15:13:31 by zugschlus, last changed 2012-07-23.15:17:00 by mika.

Files
File name Uploaded Type Edit Remove
daily.bootlog zugschlus, 2012-07-12.15:13:30 text/plain
Messages
msg4424 (view) Author: mika Date: 2012-07-23.15:17:00
We believe that your issue has been closed by the upload of
Version 3.0~a27-1+grml.4 of live-boot from Michael Prokop <mika@grml.org>.
The explanation is attached below

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

Format: 1.8
Date: Mon, 23 Jul 2012 17:13:42 +0200
Source: live-boot
Binary: live-boot-grml live-boot-grml-doc live-boot-grml-initramfs-tools
Architecture: source all
Version: 3.0~a27-1+grml.4
Distribution: grml-testing
Urgency: low
Maintainer: Grml Team <team@grml.org>
Changed-By: Michael Prokop <mika@grml.org>
Description: 
 live-boot-grml - Debian Live - System Boot Scripts
 live-boot-grml-doc - Debian Live - System Boot Scripts (documentation)
 live-boot-grml-initramfs-tools - Debian Live - System Boot Scripts (initramfs-tools backend)
Changes: 
 live-boot (3.0~a27-1+grml.4) grml-testing; urgency=low
 .
   * [6d32dfe] Check for presence of /tmp/net-${device}.conf before
     sourcing it [Closes: issue1196] Thanks to Marc 'Zugschlus' Haber for
     the bugreport and debugging this issue
Checksums-Sha1: 
 ac019a0d3911c6d3c68d25468dbb1b0735674a39 1396 live-boot_3.0~a27-1+grml.4.dsc
 1a9b8e6a46c5de28b98bbe5b5b754465d30c89cd 31922 live-boot_3.0~a27-1+grml.4.debian.tar.gz
 07cc454417db407d5c4f473c067935ac29c94af8 23074 live-boot-grml_3.0~a27-1+grml.4_all.deb
 42cd5c9bf8398c91ee46e6c93b4b7fbee06bf9dc 33458 live-boot-grml-doc_3.0~a27-1+grml.4_all.deb
 8ffcaed51b4c916da21dee6e8b1e3fdfebccbf05 40554 live-boot-grml-initramfs-tools_3.0~a27-1+grml.4_all.deb
Checksums-Sha256: 
 790ed05f565dd5f7ecd5554d7f09a36f3d14d648318cfcca12226a7c23035ca8 1396 live-boot_3.0~a27-1+grml.4.dsc
 33b30af8ed28e259f581b1e5c6bc9ffd4b213cde0d2aa0df2d509524f86ef034 31922 live-boot_3.0~a27-1+grml.4.debian.tar.gz
 2dfb509444f4726f1821fe2a136678ac5271d1ead8485295adb7dc1becbc57c7 23074 live-boot-grml_3.0~a27-1+grml.4_all.deb
 5ffd628883d6f28f3e77bc78016d1d8d50c892ede45fde152b2bb33685968fb5 33458 live-boot-grml-doc_3.0~a27-1+grml.4_all.deb
 68b1ffe36efb9048371d864759dc7e591ec1ae72d0c1926027cf11dc61d1a3a4 40554 live-boot-grml-initramfs-tools_3.0~a27-1+grml.4_all.deb
Files: 
 dc3ef50590c0f428efd2a23bc2f6cb70 1396 misc optional live-boot_3.0~a27-1+grml.4.dsc
 225c7b6cf7a9bbcb8e8be6c5c6aa544e 31922 misc optional live-boot_3.0~a27-1+grml.4.debian.tar.gz
 beac94baa0ec586ddacf45a03cfe1bf9 23074 misc optional live-boot-grml_3.0~a27-1+grml.4_all.deb
 f6ecb658bfee06ab3ac2bc033a45120d 33458 doc optional live-boot-grml-doc_3.0~a27-1+grml.4_all.deb
 3e3b529fdcac27f3e97d318015914347 40554 misc optional live-boot-grml-initramfs-tools_3.0~a27-1+grml.4_all.deb

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

iEYEARECAAYFAlANauMACgkQ2N9T+zficuhLzwCfbiygfTdjNjbVrG2QccDfzqIO
rsIAn02h5ccGgJEXGZT+6Fx969aioEPv
=rwUb
-----END PGP SIGNATURE-----
msg4418 (view) Author: zugschlus Date: 2012-07-13.07:33:18
here it is:

Obviously, in recent busyboxes, sourcing a non-existent file makes busybox
(silently?) exit, which in case of scripts/live leads to an immediate kernel
panic since the root fs is not yet mounted.

Wrapping the "./tmp/net-${device}.conf" into a

                if [ -e "/tmp/net-${device}.conf" ]; then
                  . /tmp/net-${device}.conf
                fi

in scripts/live solved the issue for me.

Greetings
Marc
msg4416 (view) Author: zugschlus Date: 2012-07-12.17:30:23
I tried remastering grml64-small_testing_20120528.iso using Debian sid with
grml-live 0.19.5 and 0.19.3, resulting in an ISO that also kernel panics on
network boot. The original daily iso works fine.

Here is my grml-live command line:

sudo grml-live -V -e ../grml64-small_testing_20120528.iso -s wheezy -c
DEBORPHAN,GRMLBASE,RELEASE,AMD64,IGNORE -r "Zugschlus" -g grml64-zg -o
~/grml-zg/ -v 20120712
msg4415 (view) Author: zugschlus Date: 2012-07-12.15:43:44
Ok.

Booting current grml64-small from the network fails with a kernel panic. serial
console output from a KVM VM is attached as daily.bootlog.

My ipxe config file is:
#!ipxe

kernel http://192.168.19.254/boot/vmlinuz
fetch=http://192.168.19.254/boot/grml64-small.squashfs quiet boot=live lang=us
nomce apm=power-off noprompt noeject vga=791 debug=1 serial console=ttyS0,57600n8
initrd http://192.168.19.254/boot/initrd.img
boot

The last .iso that works fine with network boot is
grml64-small_testing_20120528.iso. Starting with
grml64-small_testing_20120612.iso, the kernel panic shows itself. This includes
http://daily.grml.org/grml64-small_testing/2012-07-06_05-31-17/grml64-small_testing_20120706.iso.

Greetings
Marc
msg4414 (view) Author: zugschlus Date: 2012-07-12.15:41:27
For some reasons, all but the first line is eaten by something.

trying with a different browser.
msg4412 (view) Author: zugschlus Date: 2012-07-12.15:13:30
Hi,
History
Date User Action Args
2012-07-23 15:17:00mikasetstatus: fixed-in-git -> resolved
messages: + msg4424
2012-07-23 15:13:04mikasetstatus: chatting -> fixed-in-git
2012-07-13 07:33:18zugschlussetmessages: + msg4418
2012-07-12 17:30:23zugschlussetmessages: + msg4416
2012-07-12 15:43:44zugschlussetmessages: + msg4415
2012-07-12 15:41:27zugschlussetmessages: + msg4414
2012-07-12 15:40:47zugschlussetmessages: - msg4413
2012-07-12 15:38:42zugschlussetstatus: unread -> chatting
messages: + msg4413
2012-07-12 15:13:31zugschluscreate