kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Oliver Graute <oliver.graute@gmail.com>
To: Peng Fan <peng.fan@nxp.com>
Cc: Aisheng Dong <aisheng.dong@nxp.com>,
	"kernelnewbies@kernelnewbies.org"
	<kernelnewbies@kernelnewbies.org>
Subject: Re: BUG: Bad page state in process swapper on new imx8qm board
Date: Mon, 21 Oct 2019 19:15:20 +0200	[thread overview]
Message-ID: <20191021171520.GB20321@ripley> (raw)
In-Reply-To: <AM0PR04MB44813A245CA5B8C98BBEA316886D0@AM0PR04MB4481.eurprd04.prod.outlook.com>

On 17/10/19, Peng Fan wrote:
> 
> 
> > -----Original Message-----
> > From: Oliver Graute <oliver.graute@gmail.com>
> > Sent: 2019年10月17日 15:34
> > To: kernelnewbies@kernelnewbies.org; Aisheng Dong
> > <aisheng.dong@nxp.com>; Peng Fan <peng.fan@nxp.com>
> > Subject: Re: BUG: Bad page state in process swapper on new imx8qm board
> > 
> > On 16/10/19, Oliver Graute wrote:
> > > Hello list,
> > >
> > > I try to bootup up a new imx8qm congatec board and I have written a
> > > dts file for it and applied some imx8qm related patches which are not
> > > mainline yet but working fine on another imx8qm board (same cpu,
> > > different board vendor).
> > >
> > > The Kernel starts to boot. But unfortunately its stucked after few
> > > seconds with a lot memory/swapper issues.
> > >
> > > BUG: Bad page state in process swapper
> > >
> > > Some clue what`s going on here?
> > 
> > So after some more digging I assume that this error is related to a missing
> > "reserved-memory" node in my devicetree. Now I need to find out how to
> > split up my memory the right way for this imx8qm congatec board.
> 
> Which uboot release are you using? Did you include M4 image in flash.bin?

I'am using the u-boot master branch with my board patches. Together with
the M4 Image. This particular problem is solved now by adding the right
reserved-memory statement and linux,cma {} statement.

No more kernel crashes yet. Now the kernel starts systemd and is stucked
there. I get no login prompt. It looks for me like getty can't find any
serial to attach. But the kernel is still running and writing to serial
lpuart32.

Best regards,

Oliver

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

      reply	other threads:[~2019-10-21 17:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-16  9:19 BUG: Bad page state in process swapper on new imx8qm board Oliver Graute
2019-10-17  7:33 ` Oliver Graute
2019-10-17 10:12   ` Cengiz Can
2019-10-21 17:16     ` Oliver Graute
2019-10-17 10:57   ` Peng Fan
2019-10-21 17:15     ` Oliver Graute [this message]

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=20191021171520.GB20321@ripley \
    --to=oliver.graute@gmail.com \
    --cc=aisheng.dong@nxp.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=peng.fan@nxp.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 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).