All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nick Desaulniers <ndesaulniers@google.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Guenter Roeck <linux@roeck-us.net>,
	egorenar@linux.ibm.com, Vasily Gorbik <gor@linux.ibm.com>,
	Joel Stanley <joel@jms.id.au>,
	Ulrich Weigand <Ulrich.Weigand@de.ibm.com>,
	clang-built-linux <clang-built-linux@googlegroups.com>,
	Nathan Chancellor <natechancellor@gmail.com>,
	linux-s390 <linux-s390@vger.kernel.org>
Subject: Re: s390 - buildroot + qemu
Date: Mon, 19 Oct 2020 14:36:10 -0700	[thread overview]
Message-ID: <CAKwvOdnn=i_Jg4B5o4sh2mRNGY9aH1piXoBYwEB4E3PpWZM5bw@mail.gmail.com> (raw)
In-Reply-To: <c461496a-1ea4-4d44-4913-950cabcd3e31@de.ibm.com>

On Mon, Oct 19, 2020 at 3:55 AM Christian Borntraeger
<borntraeger@de.ibm.com> wrote:
>
>
>
> On 17.10.20 01:40, Nick Desaulniers wrote:
> > On Fri, Oct 16, 2020 at 4:18 PM Guenter Roeck <linux@roeck-us.net> wrote:
> >>
> >> On 10/16/20 4:11 PM, Nick Desaulniers wrote:
> >>> Hello all,
> >>> I'm working on integrating the latest release of buildroot (2020.08.1)
> >>> into our CI for ClangBuiltLinux.
> >>>
> >>> https://github.com/ClangBuiltLinux/boot-utils/pull/25
> >>> https://github.com/ClangBuiltLinux/boot-utils/pull/26
> >>> https://github.com/ClangBuiltLinux/continuous-integration/pull/327
> >>>
> >>> I'm seeing the following error from QEMU:
> >>> KASLR disabled: CPU has no PRNG
> >>> Linux version 5.9.0-00732-g04ed4527465f (ndesaulniers@<myhost>) #30
> >>> SMP Fri Oct 16 15:49:05 PDT 2020Kernel fault: interruption code 0005
> >>> ilc:2
> >>> PSW : 0000200180000000 000000000001779e
> >>>       R:0 T:0 IO:0 EX:0 Key:0 M:0 W:0 P:0 AS:0 CC:2 PM:0 RI:0 EA:3
> >>> GPRS: 0000000000000001 0000000c00000000 00000003fffffff4 00000000fffffff0
> >>>       0000000000000000 00000000fffffff4 000000000000000c 00000000fffffff0
> >>>       00000000fffffffc 0000000000000000 00000000fffffff8 00000000008a75a8
> >>>       0000000000000009 0000000000000002 0000000000000008 000000000000bce0
>
> Do you have more information? If not, any chance to run objdump on the kernel
> and check what instructions do you have aroung address 0x1779e
> [...]

Is PSW the program counter?
/me skims https://www.kernel.org/doc/Documentation/s390/Debugging390.txt *woah*
Is there something more specific I should be running than:
$ s390x-linux-gnu-objdump -Dr vmlinux | grep 179fe
because I get lots of hits for that, but not 0x179fe.

In fact, the first symbol starts at 0x100000. Unless this is a failure
in the image decompressor?

>
> > Hopefully qemu supports something newer than Z900?  Or can we change
> > arch/s390/Kconfig:255 to use a different arch? Is arch9 == z900???:
>
> Newer QEMUs do support up to z13, so I think this is not an issue as long
> as you have an uptodate qemu.

$ qemu-system-s390x --version
QEMU emulator version 5.1.0 (Debian 1:5.1+dfsg-4)

-- 
Thanks,
~Nick Desaulniers

  parent reply	other threads:[~2020-10-19 21:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16 23:11 s390 - buildroot + qemu Nick Desaulniers
2020-10-16 23:18 ` Guenter Roeck
2020-10-16 23:40   ` Nick Desaulniers
2020-10-17  0:15     ` Guenter Roeck
2020-10-19 10:54     ` Christian Borntraeger
2020-10-19 14:51       ` Guenter Roeck
2020-10-19 21:36       ` Nick Desaulniers [this message]
2020-10-19 22:03         ` Guenter Roeck
2020-10-20  5:34         ` Christian Borntraeger
2020-10-19 11:44     ` Cornelia Huck

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='CAKwvOdnn=i_Jg4B5o4sh2mRNGY9aH1piXoBYwEB4E3PpWZM5bw@mail.gmail.com' \
    --to=ndesaulniers@google.com \
    --cc=Ulrich.Weigand@de.ibm.com \
    --cc=borntraeger@de.ibm.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=egorenar@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=joel@jms.id.au \
    --cc=linux-s390@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=natechancellor@gmail.com \
    /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 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.