All of lore.kernel.org
 help / color / mirror / Atom feed
* Powerpc grub_func_test never exits
@ 2022-01-08  0:34 Glenn Washburn
  2022-01-08  8:11 ` John Paul Adrian Glaubitz
  2022-01-14  8:45 ` John Paul Adrian Glaubitz
  0 siblings, 2 replies; 7+ messages in thread
From: Glenn Washburn @ 2022-01-08  0:34 UTC (permalink / raw)
  To: grub-devel, Daniel Axtens, John Paul Adrian Glaubitz; +Cc: Daniel Kiper

[-- Attachment #1: Type: text/plain, Size: 1581 bytes --]

Hi Daniel and Adrian,

I'm specifically addressing you two because judging from prior list
emails you both have run the make check tests for powerpc and so I
think are well positioned to help make progress on this issue.

When running the grub functional tests (grub_func_test), the test is
failing after an hour with a timeout on both PPC and PPC64. Looking at
the QEMU output for the functional test, I can see that it finishes.
However, the VM never exits/halts. Here's the last few lines from QEMU
output by grub:

```
gfxterm_menu: FAIL
videotest_checksum:
 tests/videotest_checksum.c:videotest_checksum:46: assert failed: 0
 unicode font not found: no server is specified
videotest_checksum: FAIL
exfctest:
exfctest: PASS
TEST FAILURE
error: no server is specified.
```

I've attached an iso that will reproduce this issue in Debian's QEMU
5.2 and 6.1. The QEMU command to run is (not all options may be needed):

$ qemu-system-ppc -M mac99,via=pmu -m 2048M -nographic -monitor
    file:/dev/null -fw_cfg name=etc/sercon-port,string=0 -serial null
    -serial file:/dev/stdout -hda grub.iso -boot c

This issue is not present in other QEMU tests, which could indicate a
GRUB issue. But if so, it doesn't seem to present itself on any other
target that I've been testing. I suspect there's a bug in GRUB that is
PPC specific that corrupts firmware memory such that halt doesn't
happen.

I'm curious how this would behave on real hardware, does it still hang?

Getting this resolved will allow my testing to properly see this as a
test failure and not a non-test error.

Glenn

[-- Attachment #2: grub.iso.xz --]
[-- Type: application/x-xz, Size: 3225140 bytes --]

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

end of thread, other threads:[~2022-01-15  4:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-08  0:34 Powerpc grub_func_test never exits Glenn Washburn
2022-01-08  8:11 ` John Paul Adrian Glaubitz
2022-01-14  8:45 ` John Paul Adrian Glaubitz
2022-01-14  8:48   ` John Paul Adrian Glaubitz
2022-01-14 21:59     ` Glenn Washburn
2022-01-14 22:05       ` John Paul Adrian Glaubitz
2022-01-15  4:15         ` Glenn Washburn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.