All of lore.kernel.org
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Bart Van Assche <Bart.VanAssche@sandisk.com>,
	"regressions@leemhuis.info" <regressions@leemhuis.info>,
	"benh@kernel.crashing.org" <benh@kernel.crashing.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Regression in 4.11 - PowerPC crashes on boot, bisected to commit 5657933dbb6e
Date: Mon, 6 Mar 2017 13:46:38 -0600	[thread overview]
Message-ID: <1f134650-adcf-ef11-21aa-fad9d1dc3c29@lwfinger.net> (raw)
In-Reply-To: <1488823339.3125.3.camel@sandisk.com>

On 03/06/2017 12:02 PM, Bart Van Assche wrote:
> On Thu, 2017-03-02 at 16:14 +1100, Benjamin Herrenschmidt wrote:
>> On Wed, 2017-03-01 at 21:26 -0600, Larry Finger wrote:
>>> My Powerbook G4 Aluminum generates a fatal splat early in the boot process, just
>>> after identifying the driver for the disk. Unfortunately, it turns off almost
>>> immediately, thus I cannot report the message. After this bug has been
>>> triggered, the system clock has been reset to Dec. 31, 1969. I assume this is a
>>> side effect of an uncontrolled DMA operation.
>>>
>>> This problem has been bisected to commit 5657933dbb6e ("treewide: Move dma_ops
>>> from struct dev_archdata into struct device").
>>
>> Side effect of a crash during boot... the PMU gets upset when we crash while
>> there's a request in flight, that's probably what is happening.
>>
>> As to why that commit is broken, I don't have time to look into it right  now,
>> maybe next week of nobody beats me to it.
>
> The results of my attempts so far to create a PPC VM:
> * I have not found a CPU / architecture / CD bus type / combination for which the
>   Gentoo installation CD was able to recognize the boot medium
>   (http://distfiles.gentoo.org/releases/ppc/autobuilds/20140713/install-powerpc-minimal-20140713.iso).
> * Same problem with the openSUSE Leap CD: apparently that software does not recognize
>   the qemu SCSI CD
>   (http://mirror.datto.com/opensuse/ports/ppc/distribution/leap/42.2/iso/openSUSE-Leap-42.2-NET-ppc64le-Build0156-Media.iso).
> * openSUSE Tumbleweed recognizes the qemu SCSI CD. After it has loaded the installation
>   software however it displays an message reporting that an error occurred during
>   installation and displays a menu. Making a selection from that menu is not possible
>   because the only key from the keyboard it recognizes is "Enter"
>   (http://mirror.datto.com/opensuse/ports/ppc/tumbleweed/iso/openSUSE-Tumbleweed-DVD-ppc64-Snapshot20170303-Media.iso).
>
> Does anyone have a suggestion for how to proceed?

I was able to create a PPC emulation with debian-8.7.1-powerpc-CD-1.iso 
following the instructions in https://gmplib.org/~tege/qemu.html. My only 
problem was that "-net tap" fails and I did not find any way to get networking 
working.

After looking at the screen through a number of crashes, I have determined that 
the top entry in the traceback comes from dmam_alloc_coherent(). I have not been 
able to see the offset to determine which BUG_ON call in that routine is being 
triggered.

I tried to modify panic() to see if I could keep the screen on longer after the 
failure, but no joy so far.

Larry

  reply	other threads:[~2017-03-06 19:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-02  3:26 Regression in 4.11 - PowerPC crashes on boot, bisected to commit 5657933dbb6e Larry Finger
2017-03-02  4:07 ` Bart Van Assche
2017-03-02 12:26   ` Larry Finger
2017-03-02  5:14 ` Benjamin Herrenschmidt
2017-03-02  5:22   ` Bart Van Assche
2017-03-02 12:40     ` Larry Finger
2017-03-06 18:02   ` Bart Van Assche
2017-03-06 19:46     ` Larry Finger [this message]
2017-03-06 21:48       ` Benjamin Herrenschmidt
2017-03-07  0:43         ` Larry Finger
2017-03-09 22:22         ` Larry Finger
2017-03-10  1:45           ` Benjamin Herrenschmidt

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=1f134650-adcf-ef11-21aa-fad9d1dc3c29@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=Bart.VanAssche@sandisk.com \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=regressions@leemhuis.info \
    /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.