grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* ACPI halt failures in tests
@ 2010-11-23 15:29 Colin Watson
  2010-12-23  9:07 ` [PATCH] " Jordan Uggla
  0 siblings, 1 reply; 3+ messages in thread
From: Colin Watson @ 2010-11-23 15:29 UTC (permalink / raw)
  To: grub-devel

I occasionally get "ACPI shutdown failed" in qemu during tests.  Since
this is printed with grub_printf rather than with grub_dprintf or
whatever, it shows up in the test output and causes tests to fail.  It
only fails some of the time on my system (less than half).  I've tried
to insert 'set debug=acpi' into the grub-shell test setup, but it
stubbornly succeeds when I do that, so I'm not really sure what else to
try.

The system seems to shut down happily anyway, presumably because it goes
on to try other boot methods.  Should we maybe downgrade this to a debug
message?

I've only seen this on Ubuntu, not on Debian, but I have no idea what's
different about our qemu packaging.

2010-11-23  Colin Watson  <cjwatson@ubuntu.com>

	* grub-core/commands/acpihalt.c (grub_acpi_halt): Downgrade "ACPI
	shutdown failed" to a debug message, since it can cause spurious
	test failures.

=== modified file 'grub-core/commands/acpihalt.c'
--- grub-core/commands/acpihalt.c	2010-10-16 18:01:30 +0000
+++ grub-core/commands/acpihalt.c	2010-11-23 15:27:41 +0000
@@ -324,6 +324,6 @@ grub_acpi_halt (void)
 	}
     }
 
-  grub_printf ("ACPI shutdown failed\n");
+  grub_dprintf ("acpi", "ACPI shutdown failed\n");
 }
 #endif

Thanks,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-23 11:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-23 15:29 ACPI halt failures in tests Colin Watson
2010-12-23  9:07 ` [PATCH] " Jordan Uggla
2010-12-23 11:51   ` Colin Watson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).