qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "mike@papersolve.com" <1741718@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1741718] Re: qemu-system-sparc64: "panic[cpu0]/thread=180e000: lgrp_traverse: No memory blocks found" with tribblix-sparc-0m16.iso
Date: Tue, 10 Nov 2020 14:33:33 -0000	[thread overview]
Message-ID: <160501881350.18336.15537290924323719208.malone@soybean.canonical.com> (raw)
In-Reply-To: 151532104339.3110.15836914058272965717.malonedeb@soybean.canonical.com

Verified same issue occurs on latest qemu.

~/qemu  qemu-system-sparc64 -version
QEMU emulator version 5.1.90 (v5.2.0-rc0-20-g3c8c36c908)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

 ~/qemu  qemu-system-sparc64 -nographic -M niagara -L niagara/S10image/ -drive if=pflash,readonly=on,file=./tribblix-sparc-0m16.iso -m 2048
cpu Probing I/O buses


Sun Fire T2000, No Keyboard
Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.20.0, 256 MB memory available, Serial #1122867.
[mo23723 obp4.20.0 #0]
Ethernet address 0:80:3:de:ad:3, Host ID: 80112233.


ok boot
Boot device: vdisk  File and args: 
hsfs-file-system 
Loading: /platform/sun4v/boot_archive
ramdisk-root ufs-file-system 
Loading: /platform/sun4v/kernel/sparcv9/unix
\
panic[cpu0]/thread=180e000: lgrp_traverse: No memory blocks found

Warning - stack not written to the dumpbuf
000000000180b710 unix:lgrp_traverse+120 (fff32000, 10d5f30, 2000, 7efefeff, 81010100, ff00)
  %l0-3: 0000000001876c00 ffffffffffffffff 00000000010d6c00 0000000000000000
  %l4-7: 800000008f000740 800000008fc54750 00000000f0254cc4 00000000010dedd0
000000000180b800 unix:plat_lgrp_init+14 (4, 180e000, 4, 0, 180b950, 1)
  %l0-3: 00000000fff32000 00000000fff340e0 00000000fff34590 00000000010d5f28
  %l4-7: 0000000000000016 0000000000000000 0000000000000016 0000000000000011
000000000180b8b0 unix:lgrp_plat_init+74 (0, 0, 0, 180ba08, 180ba00, 91)
  %l0-3: 0000000000002000 00000000fff34000 0000000001874c00 0000000001874c00
  %l4-7: 0000000000000000 0000000001874c00 000000000180b950 00000000010de048
000000000180b960 unix:lgrp_init+4 (0, 2000, 70002000, 0, 180c0e8, 0)
  %l0-3: 000000000180e380 000000000183c678 000000000180ba08 00000000010d4f90
  %l4-7: 00000000010d4fa0 00000000010d1c00 0000000000004000 0000000080001070
000000000180ba10 unix:mlsetup+2f4 (180bb80, 180bec0, 0, 0, f025496c, 0)
  %l0-3: 00000000018ee000 0000000070002000 0000000070002000 000000000180bad0
  %l4-7: 000000000190c4d8 00000001001f56e0 0000000000000000 0000000080001070


ERROR: Last Trap: Level 14 Interrupt
[Exception handlers interrupted, please file a bug]
[type 'resume' to attempt a normal recovery]
ok 


Without if=pflash it now crashes:

✘  ~/qemu  qemu-system-sparc64 -nographic -M niagara -L niagara/S10image/ -drive readonly=on,file=./tribblix-sparc-0m16.iso -m 4096
cpu Probing I/O buses


Sun Fire T2000, No Keyboard
Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.20.0, 256 MB memory available, Serial #1122867.
[mo23723 obp4.20.0 #0]
Ethernet address 0:80:3:de:ad:3, Host ID: 80112233.


ok boot
Boot device: vdisk  File and args: 
qemu: fatal: Trap 0x0032 while trap level (6) >= MAXTL (6), Error state
pc: 000000000040f02c  npc: 000000000040f030
%g0-3: 0000000000000000 0000000000000000 0000000000000000 0000009700000280
%g4-7: 0000000000001000 0000000000000000 0000000000000000 0000000000000000
%o0-3: 0000000000000000 000000008ffd6000 0000000000008000 0000000000000000 
%o4-7: 0000000000000000 00000000000000f0 00000000fff55701 00000000f020d78c 
%l0-3: 000000000002fd10 7ffffffffffffffe 8000000000000000 0000000000000000 
%l4-7: 000000000000000b 800000008fffa750 00000000f026fbf0 00000000f022a0d8 
%i0-3: 0000000080000000 0000000010000000 0000000000000000 0000000000000000 
%i4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
%f00:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f08:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f16:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f24:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f32:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f40:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f48:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f56:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
pstate: 00000014 ccr: 11 (icc: ---C xcc: ---C) asi: 20 tl: 6 pil: d gl: 6
tbr: 00000000f0200000 hpstate: 0000000000000004 htba: 0000000000400000
cansave: 6 canrestore: 0 otherwin: 0 wstate: 0 cleanwin: 7 cwp: 0
fsr: 0000000000000000 y: 0000000000000000 fprs: 0000000000000004

fish: “qemu-system-sparc64 -nographic…” terminated by signal SIGABRT
(Abort)


** Changed in: qemu
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1741718

Title:
  qemu-system-sparc64: "panic[cpu0]/thread=180e000: lgrp_traverse: No
  memory blocks found" with tribblix-sparc-0m16.iso

Status in QEMU:
  Confirmed

Bug description:
  qemu-system-sparc64 Niagara VM running Tribblix crashes with
  "panic[cpu0]/thread=180e000: lgrp_traverse: No memory blocks found" on
  QEMU 2.11.0. Happens also with 1 GB, 4 GB, and 8 GB of RAM.

  $ qemu-system-sparc64 -nographic -M niagara -L /home/newman/Downloads/OpenSPARCT1_Arch.1.5/S10image/ -drive if=pflash,readonly=on,file=/home/newman/Downloads/tribblix-sparc-0m16.iso -m 2048
  \x11cpu Probing I/O buses

  
  Sun Fire T2000, No Keyboard
  Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  OpenBoot 4.20.0, 256 MB memory available, Serial #1122867.
  [mo23723 obp4.20.0 #0]
  Ethernet address 0:80:3:de:ad:3, Host ID: 80112233.


  ok boot
  Boot device: vdisk  File and args: 
  hsfs-file-system 
  Loading: /platform/sun4v/boot_archive
  ramdisk-root ufs-file-system 
  Loading: /platform/sun4v/kernel/sparcv9/unix
  \
  panic[cpu0]/thread=180e000: lgrp_traverse: No memory blocks found

  Warning - stack not written to the dumpbuf
  000000000180b710 unix:lgrp_traverse+120 (fff32000, 10d5f30, 2000, 7efefeff, 81010100, ff00)
    %l0-3: 0000000001876c00 ffffffffffffffff 00000000010d6c00 0000000000000000
    %l4-7: 800000008f000740 800000008fc54750 00000000f0254cc4 00000000010dedd0
  000000000180b800 unix:plat_lgrp_init+14 (4, 180e000, 4, 0, 180b950, 1)
    %l0-3: 00000000fff32000 00000000fff340e0 00000000fff34590 00000000010d5f28
    %l4-7: 0000000000000016 0000000000000000 0000000000000016 0000000000000011
  000000000180b8b0 unix:lgrp_plat_init+74 (0, 0, 0, 180ba08, 180ba00, 91)
    %l0-3: 0000000000002000 00000000fff34000 0000000001874c00 0000000001874c00
    %l4-7: 0000000000000000 0000000001874c00 000000000180b950 00000000010de048
  000000000180b960 unix:lgrp_init+4 (0, 2000, 70002000, 0, 180c0e8, 0)
    %l0-3: 000000000180e380 000000000183c678 000000000180ba08 00000000010d4f90
    %l4-7: 00000000010d4fa0 00000000010d1c00 0000000000004000 0000000080001070
  000000000180ba10 unix:mlsetup+2f4 (180bb80, 180bec0, 0, 0, f025496c, 0)
    %l0-3: 00000000018ee000 0000000070002000 0000000070002000 000000000180bad0
    %l4-7: 000000000190c4d8 00000001001f56e0 0000000000000000 0000000080001070

  
  ERROR: Last Trap: Level 14 Interrupt
  [Exception handlers interrupted, please file a bug]
  [type 'resume' to attempt a normal recovery]

  
  Without "if=pflash" VM hangs:

  $ qemu-system-sparc64 -nographic -M niagara -L /home/newman/Downloads/OpenSPARCT1_Arch.1.5/S10image/ -drive readonly=on,file=/home/newman/Downloads/tribblix-sparc-0m16.iso -m 4096
  \x11cpu Probing I/O buses

  
  Sun Fire T2000, No Keyboard
  Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  OpenBoot 4.20.0, 256 MB memory available, Serial #1122867.
  [mo23723 obp4.20.0 #0]
  Ethernet address 0:80:3:de:ad:3, Host ID: 80112233.


  ok boot
  Boot device: vdisk  File and args: 
  qemu: fatal: Trap 0x0032 while trap level (6) >= MAXTL (6), Error state
  pc: 000000000040f01c  npc: 000000000040f020
  %g0-3: 0000000000000000 0000000000000000 0000000000000000 0000009700000280
  %g4-7: 0000000000001000 0000000000000000 0000000000000000 0000000000000000
  %o0-3: 0000000000000000 000000008ffd6000 0000000000008000 0000000000000000 
  %o4-7: 0000000000000000 00000000000000f0 00000000fff55701 00000000f020d78c 
  %l0-3: 000000000002fd10 7ffffffffffffffe 8000000000000000 0000000000000000 
  %l4-7: 000000000000000b 800000008fffa750 00000000f026fbf0 00000000f022a0d8 
  %i0-3: 0000000080000000 0000000010000000 0000000000000000 0000000000000000 
  %i4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
  %f00:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
  %f08:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
  %f16:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
  %f24:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
  %f32:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
  %f40:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
  %f48:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
  %f56:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
  pstate: 00000014 ccr: 11 (icc: ---C xcc: ---C) asi: 20 tl: 6 pil: d gl: 6
  tbr: 00000000f0200000 hpstate: 0000000000000004 htba: 0000000000400000
  cansave: 6 canrestore: 0 otherwin: 0 wstate: 0 cleanwin: 7 cwp: 0
  fsr: 0000000000000000 y: 0000000000000000 fprs: 0000000000000004

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1741718/+subscriptions


  reply	other threads:[~2020-11-10 14:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-07 10:30 [Qemu-devel] [Bug 1741718] [NEW] qemu-system-sparc64: "panic[cpu0]/thread=180e000: lgrp_traverse: No memory blocks found" with tribblix-sparc-0m16.iso Michal Nowak
2020-11-10 14:33 ` mike@papersolve.com [this message]
2021-05-09 15:03 ` [Bug 1741718] " Thomas Huth
2021-07-09  4:17 ` Launchpad Bug Tracker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=160501881350.18336.15537290924323719208.malone@soybean.canonical.com \
    --to=1741718@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).