cowdancer: qemubuilder.c: Make kernel halt on panic

James Clarke jrtc27 at jrtc27.com
Fri Mar 18 23:21:44 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,
By default, Linux will loop after a kernel panic, causing qemubuilder to
appear to hang. By setting panic=-1 as a kernel command line argument,
the kernel will reboot immediately after a kernel panic, and by passing
- -no-reboot to qemu, qemu will halt on reboot. Combined, this causes
qemubuilder to halt when it encounters a kernel panic.

Regards,
James

The following changes since commit 776e5b76d33dd7993080025853613dfe98bd37bc:

   qemubuilder.c: Exit gracefully when missing KERNEL_IMAGE (2016-03-18 16:26:37 +0000)

are available in the git repository at:

   https://anonscm.debian.org/git/users/jrtc27-guest/cowdancer.git qemubuilder-halt-on-panic

for you to fetch changes up to 37983fe5587f6646054d1defdb70ac82e9d676d9:

   qemubuilder.c: Make kernel halt on panic (2016-03-18 18:28:28 +0000)

- ----------------------------------------------------------------
James Clarke (1):
       qemubuilder.c: Make kernel halt on panic

  qemubuilder.c | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJW7I2LAAoJELGTdwwYahx9f+0QAKtRdjehcRrpCQgIAZ6IuT2l
E8OpnZM6DShouYqi9Uz6VQYgK37p+R+Jt4TJtRSjnnSvDQG/GKIFgI1G6ZWe78eS
2jCXkXvJ17/cNjJorEcnThECdd47uHK3FTsQzWXFrgFD71LIze44OkaVhYQ8Pe7R
Ih59MuwJBl5Qf8hdD/RKhDQPvBtoiJoPbwCFbWgYPOvErYmj0MTheKAWPn+5wx6O
H5EEA3qM8rsmsm3D6cyqH7WlvcR5yV68c2ieYJr6s4HK1BeDopDAUP9ZVx40Z79W
+cCCKcBlnCD8utfjXe6YixMQmQS1kPf1znMfDM/7zX2/Blu6esJEDh5D6RMJz0wA
TV0IXB338GZkZadlHVA3IEwYjGvNAIb95ps4/r//PW67T16E5qHq4EFk8aVDay8h
NfR20tevLo4TdH2wQs5yrEftTXw7SfTV4IptngF3ZOvPCERY0G3wYzlBk9ZBq+9a
VJeP5MU6gq/2BZV2lvZtBJkBcvbQUdfZ8lk/mK8XwPUtQ1koRN1X+3Vf5AkrNf9j
lpMMDsUUNIXFJlDC5fPuYoQyH/Wc8bFGxjpebVMsE6ryaXTTgdYheEJTkedXqPIV
iGB6j1ngZsJT2JMuxSqDj3J7v4AuZIJ2KdsDiTfOSuw0s1adB5MaLFqityPXssxJ
uz2TMF8E8ZKicey5tdtI
=1Ax4
-----END PGP SIGNATURE-----



More information about the Pbuilder-maint mailing list