linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Christophe Leroy <christophe.leroy@c-s.fr>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: Problem booting a PowerBook G4 Aluminum after commit cd08f109 with CONFIG_VMAP_STACK=y
Date: Thu, 13 Feb 2020 11:23:56 +0000	[thread overview]
Message-ID: <02293587-2753-dbb1-73fe-d00ca08f2cf4@c-s.fr> (raw)
In-Reply-To: <1787b507-dfbf-7801-f7d4-a1547e9bd588@lwfinger.net>



On 02/12/2020 11:02 PM, Larry Finger wrote:
> On 2/11/20 1:23 PM, Christophe Leroy wrote:
>>
>> Can you send me a picture of that BUG Unable to handle kernel data 
>> access with all the registers values etc..., together with the 
>> matching vmlinux ?
> 
> The vmlinux file was too big for your mailbox. You can download it from 
> http://www.lwfinger.com/download/vmlinux.gz
> 

Hi,

Is that the vmlinux that corresponds to:

	BUG Unable to handle kernel data access at 0x007a84fc.
	The faulting instruction address was 0x00013674

Nevertheless, do you have a picture of the said BUG/Oops to see all 
registers ?

Because here, the address 0x13674 is not a data access:

c00135ec <ppc6xx_idle>:
c00135ec:	3c 60 00 00 	lis     r3,0
c00135f0:	3c 60 00 80 	lis     r3,128
c00135f4:	3c 80 c0 83 	lis     r4,-16253
c00135f8:	80 84 f2 80 	lwz     r4,-3456(r4)
c00135fc:	80 84 00 0c 	lwz     r4,12(r4)
c0013600:	70 80 00 08 	andi.   r0,r4,8
c0013604:	41 82 00 18 	beq     c001361c <ppc6xx_idle+0x30>
c0013608:	3c 80 c0 84 	lis     r4,-16252
c001360c:	80 84 30 34 	lwz     r4,12340(r4)
c0013610:	2c 04 00 00 	cmpwi   r4,0
c0013614:	41 82 00 08 	beq     c001361c <ppc6xx_idle+0x30>
c0013618:	3c 60 00 40 	lis     r3,64
c001361c:	2c 03 00 00 	cmpwi   r3,0
c0013620:	4d 82 00 20 	beqlr
c0013624:	74 60 00 40 	andis.  r0,r3,64
c0013628:	41 82 00 30 	beq     c0013658 <ppc6xx_idle+0x6c>
c001362c:	7c 96 fa a6 	mfspr   r4,1014
c0013630:	54 84 00 3a 	rlwinm  r4,r4,0,0,29
c0013634:	7c 00 04 ac 	hwsync
c0013638:	7c 96 fb a6 	mtspr   1014,r4
c001363c:	7c 00 04 ac 	hwsync
c0013640:	4c 00 01 2c 	isync
c0013644:	3c 80 c0 00 	lis     r4,-16384
c0013648:	7c 00 20 ac 	dcbf    0,r4
c001364c:	7c 00 20 ac 	dcbf    0,r4
c0013650:	7c 00 20 ac 	dcbf    0,r4
c0013654:	7c 00 20 ac 	dcbf    0,r4
c0013658:	3c 80 c0 7c 	lis     r4,-16260
c001365c:	80 84 92 64 	lwz     r4,-28060(r4)
c0013660:	2c 04 00 00 	cmpwi   r4,0
c0013664:	41 82 00 10 	beq     c0013674 <ppc6xx_idle+0x88>
c0013668:	7c 91 fa a6 	mfspr   r4,1009
c001366c:	64 84 00 01 	oris    r4,r4,1
c0013670:	7c 91 fb a6 	mtspr   1009,r4
 >> c0013674:	7c 90 fa a6 	mfspr   r4,1008
c0013678:	3c a0 00 60 	lis     r5,96
c001367c:	64 a5 00 80 	oris    r5,r5,128
c0013680:	7c 84 28 78 	andc    r4,r4,r5
c0013684:	7c 84 1b 78 	or      r4,r4,r3
c0013688:	64 84 00 10 	oris    r4,r4,16
c001368c:	7c 90 fb a6 	mtspr   1008,r4
c0013690:	7e 00 06 6c 	dssall
c0013694:	7c 00 04 ac 	hwsync
c0013698:	81 02 00 04 	lwz     r8,4(r2)
c001369c:	61 08 00 01 	ori     r8,r8,1
c00136a0:	91 02 00 04 	stw     r8,4(r2)
c00136a4:	7c e0 00 a6 	mfmsr   r7
c00136a8:	60 e7 80 00 	ori     r7,r7,32768
c00136ac:	64 e7 00 04 	oris    r7,r7,4
c00136b0:	7c 00 04 ac 	hwsync
c00136b4:	7c e0 01 24 	mtmsr   r7
c00136b8:	4c 00 01 2c 	isync
c00136bc:	4b ff ff f4 	b       c00136b0 <ppc6xx_idle+0xc4>

Thanks
Christophe

  parent reply	other threads:[~2020-02-13 11:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f7565b89-c8b2-d2e7-929e-4b1abf72fc63@lwfinger.net>
     [not found] ` <159ed5d8-376b-1642-fb4b-01406d671cf1@c-s.fr>
     [not found]   ` <6a1802b8-c6a7-d091-1036-689e089b786f@lwfinger.net>
2020-02-11  6:55     ` Problem booting a PowerBook G4 Aluminum after commit cd08f109 with CONFIG_VMAP_STACK=y Christophe Leroy
2020-02-11 16:06       ` Larry Finger
2020-02-11 19:23         ` Christophe Leroy
     [not found]           ` <1787b507-dfbf-7801-f7d4-a1547e9bd588@lwfinger.net>
2020-02-13 11:23             ` Christophe Leroy [this message]
     [not found]           ` <7f63e8a8-95c5-eeca-dc79-3c13f4d98d39@lwfinger.net>
2020-02-13 14:43             ` RESEND: " Christophe Leroy
2020-02-13 23:09               ` Larry Finger
2020-02-14  6:24                 ` Christophe Leroy
2020-02-14 11:02                   ` Christophe Leroy
2020-02-14 18:20                   ` Larry Finger
2020-02-14 18:24                   ` Larry Finger
2020-02-14 19:35                     ` Christophe Leroy
2020-02-15  2:42                       ` Larry Finger
2020-02-15  7:55                         ` Christophe Leroy

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=02293587-2753-dbb1-73fe-d00ca08f2cf4@c-s.fr \
    --to=christophe.leroy@c-s.fr \
    --cc=Larry.Finger@lwfinger.net \
    --cc=linuxppc-dev@lists.ozlabs.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).