All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to handle kernel paging request at virtual address 0000001bf8068693
@ 2018-09-05 13:29 Andreas Schwab
  2018-09-05 17:17 ` Atish Patra
  0 siblings, 1 reply; 13+ messages in thread
From: Andreas Schwab @ 2018-09-05 13:29 UTC (permalink / raw)
  To: linux-riscv

Trying to boot git://github.com/riscv/riscv-linux#riscv-linux-4.18 on
the HiFive-U I'm getting this crash:

[    0.100000] Unable to handle kernel paging request at virtual address 0000001bf8068693
[    0.100000] Oops [#1]
[    0.100000] Modules linked in:
[    0.100000] CPU: 1 PID: 5 Comm: kworker/1:0 Not tainted 4.18.0-01735-g9f6192e555 #107
[    0.100000] Workqueue: rcu_gp wait_rcu_exp_gp
[    0.100000] sepc: ffffffe00116da98 ra : ffffffe000c9399a sp : ffffffe1f6addcb0
[    0.100000]  gp : ffffffe001404160 tp : ffffffe1f6ada140 t0 : ffffffe1f6c44000
[    0.100000]  t1 : 0000000000000000 t2 : 000000000000f8e1 s0 : ffffffe1f6addcc0
[    0.100000]  s1 : ffffffe000c7ff00 a0 : 0076161bf8068693 a1 : 000000007fffffff
[    0.100000]  a2 : ffffffe0013ac5c8 a3 : 0000000000000001 a4 : 0000000000000001
[    0.100000]  a5 : 000000007fffffff a6 : ffff8f98a08a9c8d a7 : ffffffe1f7d4c4f0
[    0.100000]  s2 : ffffffe0013ac5c8 s3 : ffffffe000c740d8 s4 : 0000000000000000
[    0.100000]  s5 : 00000000ffffffff s6 : 0000000000000000 s7 : ffffffe000c740d8
[    0.100000]  s8 : 0000000000000118 s9 : 0076161bf8068693 s10: ffffffe1f6a09000
[    0.100000]  s11: ffffffe000cc919e t3 : ffffffe001399aa0 t4 : ffffffe001399aa8
[    0.100000]  t5 : 00000000000c8000 t6 : ffffffe1f6c40a4b
[    0.100000] sstatus: 0000000200000100 sbadaddr: 0000001bf8068693 scause: 000000000000000d
[    0.110000] ---[ end trace 0ddcca0cde88bd4b ]---

The crash is inside _raw_spin_lock:

ffffffe00116da90 <_raw_spin_lock>:
ffffffe00116da90:       1141                    addi    sp,sp,-16
ffffffe00116da92:       e422                    sd      s0,8(sp)
ffffffe00116da94:       0800                    addi    s0,sp,16
ffffffe00116da96:       4705                    li      a4,1
ffffffe00116da98:       411c                    lw      a5,0(a0)
ffffffe00116da9a:       2781                    sext.w  a5,a5
ffffffe00116da9c:       fff5                    bnez    a5,ffffffe00116da98 <_r>
ffffffe00116da9e:       08e527af                amoswap.w       a5,a4,(a0)
ffffffe00116daa2:       0230000f                fence   r,rw
ffffffe00116daa6:       2781                    sext.w  a5,a5
ffffffe00116daa8:       fbe5                    bnez    a5,ffffffe00116da98 <_r>
ffffffe00116daaa:       6422                    ld      s0,8(sp)
ffffffe00116daac:       0141                    addi    sp,sp,16
ffffffe00116daae:       8082                    ret

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Unable to handle kernel paging request at virtual address 0000001bf8068693
  2018-09-05 13:29 Unable to handle kernel paging request at virtual address 0000001bf8068693 Andreas Schwab
@ 2018-09-05 17:17 ` Atish Patra
  2018-09-05 19:06   ` Christoph Hellwig
  0 siblings, 1 reply; 13+ messages in thread
From: Atish Patra @ 2018-09-05 17:17 UTC (permalink / raw)
  To: linux-riscv

On 9/5/18 6:29 AM, Andreas Schwab wrote:
> Trying to boot git://github.com/riscv/riscv-linux#riscv-linux-4.18 on
> the HiFive-U I'm getting this crash:
> 
> [    0.100000] Unable to handle kernel paging request at virtual address 0000001bf8068693
> [    0.100000] Oops [#1]
> [    0.100000] Modules linked in:
> [    0.100000] CPU: 1 PID: 5 Comm: kworker/1:0 Not tainted 4.18.0-01735-g9f6192e555 #107
> [    0.100000] Workqueue: rcu_gp wait_rcu_exp_gp
> [    0.100000] sepc: ffffffe00116da98 ra : ffffffe000c9399a sp : ffffffe1f6addcb0
> [    0.100000]  gp : ffffffe001404160 tp : ffffffe1f6ada140 t0 : ffffffe1f6c44000
> [    0.100000]  t1 : 0000000000000000 t2 : 000000000000f8e1 s0 : ffffffe1f6addcc0
> [    0.100000]  s1 : ffffffe000c7ff00 a0 : 0076161bf8068693 a1 : 000000007fffffff
> [    0.100000]  a2 : ffffffe0013ac5c8 a3 : 0000000000000001 a4 : 0000000000000001
> [    0.100000]  a5 : 000000007fffffff a6 : ffff8f98a08a9c8d a7 : ffffffe1f7d4c4f0
> [    0.100000]  s2 : ffffffe0013ac5c8 s3 : ffffffe000c740d8 s4 : 0000000000000000
> [    0.100000]  s5 : 00000000ffffffff s6 : 0000000000000000 s7 : ffffffe000c740d8
> [    0.100000]  s8 : 0000000000000118 s9 : 0076161bf8068693 s10: ffffffe1f6a09000
> [    0.100000]  s11: ffffffe000cc919e t3 : ffffffe001399aa0 t4 : ffffffe001399aa8
> [    0.100000]  t5 : 00000000000c8000 t6 : ffffffe1f6c40a4b
> [    0.100000] sstatus: 0000000200000100 sbadaddr: 0000001bf8068693 scause: 000000000000000d
> [    0.110000] ---[ end trace 0ddcca0cde88bd4b ]---
> 
> The crash is inside _raw_spin_lock:
> 
> ffffffe00116da90 <_raw_spin_lock>:
> ffffffe00116da90:       1141                    addi    sp,sp,-16
> ffffffe00116da92:       e422                    sd      s0,8(sp)
> ffffffe00116da94:       0800                    addi    s0,sp,16
> ffffffe00116da96:       4705                    li      a4,1
> ffffffe00116da98:       411c                    lw      a5,0(a0)
> ffffffe00116da9a:       2781                    sext.w  a5,a5
> ffffffe00116da9c:       fff5                    bnez    a5,ffffffe00116da98 <_r>
> ffffffe00116da9e:       08e527af                amoswap.w       a5,a4,(a0)
> ffffffe00116daa2:       0230000f                fence   r,rw
> ffffffe00116daa6:       2781                    sext.w  a5,a5
> ffffffe00116daa8:       fbe5                    bnez    a5,ffffffe00116da98 <_r>
> ffffffe00116daaa:       6422                    ld      s0,8(sp)
> ffffffe00116daac:       0141                    addi    sp,sp,16
> ffffffe00116daae:       8082                    ret
> 
> Andreas.
> 
This issue is fixed in 4.19-rc1.

If you don't want to pull the latest, here is the change you need to 
cherry-pick to your branch.

https://lore.kernel.org/lkml/20180626192746.GJ3593 at linux.vnet.ibm.com/


Regards,
Atish

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Unable to handle kernel paging request at virtual address 0000001bf8068693
  2018-09-05 17:17 ` Atish Patra
@ 2018-09-05 19:06   ` Christoph Hellwig
  2018-09-05 21:07     ` Paul E. McKenney
                       ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Christoph Hellwig @ 2018-09-05 19:06 UTC (permalink / raw)
  To: linux-riscv

On Wed, Sep 05, 2018 at 10:17:08AM -0700, Atish Patra wrote:
> This issue is fixed in 4.19-rc1.
> 
> If you don't want to pull the latest, here is the change you need to
> cherry-pick to your branch.
> 
> https://lore.kernel.org/lkml/20180626192746.GJ3593 at linux.vnet.ibm.com/

Paul, I think we need this in 4.18-stable.

Also Palmer, I think we should pick it up in riscv-linux-4.18.

The mainline commit is:

commit fcc63543650150629c8a873cbef3578770acecd9
Author: Boqun Feng <boqun.feng@gmail.com>
Date:   Fri Jun 15 12:06:31 2018 -0700

    rcu: Make expedited GPs handle CPU 0 being offline

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Unable to handle kernel paging request at virtual address 0000001bf8068693
  2018-09-05 19:06   ` Christoph Hellwig
@ 2018-09-05 21:07     ` Paul E. McKenney
  2018-09-06  4:10       ` Atish Patra
  2018-09-06  7:35     ` Andreas Schwab
  2018-09-18 22:53     ` Palmer Dabbelt
  2 siblings, 1 reply; 13+ messages in thread
From: Paul E. McKenney @ 2018-09-05 21:07 UTC (permalink / raw)
  To: linux-riscv

On Wed, Sep 05, 2018 at 12:06:48PM -0700, Christoph Hellwig wrote:
> On Wed, Sep 05, 2018 at 10:17:08AM -0700, Atish Patra wrote:
> > This issue is fixed in 4.19-rc1.
> > 
> > If you don't want to pull the latest, here is the change you need to
> > cherry-pick to your branch.
> > 
> > https://lore.kernel.org/lkml/20180626192746.GJ3593 at linux.vnet.ibm.com/
> 
> Paul, I think we need this in 4.18-stable.
> 
> Also Palmer, I think we should pick it up in riscv-linux-4.18.
> 
> The mainline commit is:
> 
> commit fcc63543650150629c8a873cbef3578770acecd9
> Author: Boqun Feng <boqun.feng@gmail.com>
> Date:   Fri Jun 15 12:06:31 2018 -0700
> 
>     rcu: Make expedited GPs handle CPU 0 being offline

OK, it backports cleanly and passes a short rcutorture test.  You guys
have tested it, correct?  If so, I am happy to pass it on to -stable.

							Thanx, Paul

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Unable to handle kernel paging request at virtual address 0000001bf8068693
  2018-09-05 21:07     ` Paul E. McKenney
@ 2018-09-06  4:10       ` Atish Patra
  2018-09-06  4:20         ` Paul E. McKenney
  0 siblings, 1 reply; 13+ messages in thread
From: Atish Patra @ 2018-09-06  4:10 UTC (permalink / raw)
  To: linux-riscv

On 9/5/18 2:07 PM, Paul E. McKenney wrote:
> On Wed, Sep 05, 2018 at 12:06:48PM -0700, Christoph Hellwig wrote:
>> On Wed, Sep 05, 2018 at 10:17:08AM -0700, Atish Patra wrote:
>>> This issue is fixed in 4.19-rc1.
>>>
>>> If you don't want to pull the latest, here is the change you need to
>>> cherry-pick to your branch.
>>>
>>> https://lore.kernel.org/lkml/20180626192746.GJ3593 at linux.vnet.ibm.com/
>>
>> Paul, I think we need this in 4.18-stable.
>>
>> Also Palmer, I think we should pick it up in riscv-linux-4.18.
>>
>> The mainline commit is:
>>
>> commit fcc63543650150629c8a873cbef3578770acecd9
>> Author: Boqun Feng <boqun.feng@gmail.com>
>> Date:   Fri Jun 15 12:06:31 2018 -0700
>>
>>      rcu: Make expedited GPs handle CPU 0 being offline
> 
> OK, it backports cleanly and passes a short rcutorture test.  You guys
> have tested it, correct?  If so, I am happy to pass it on to -stable.
> 
> 							Thanx, Paul
> 
> 
Hi Paul,
I had it tested on top of 4.18-rc8 with RISC-V board (HighFive Unleashed).

I can try again on 4.18-stable if required.

Regards,
Atish

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Unable to handle kernel paging request at virtual address 0000001bf8068693
  2018-09-06  4:10       ` Atish Patra
@ 2018-09-06  4:20         ` Paul E. McKenney
  2018-09-07  0:24           ` Atish Patra
  0 siblings, 1 reply; 13+ messages in thread
From: Paul E. McKenney @ 2018-09-06  4:20 UTC (permalink / raw)
  To: linux-riscv

On Wed, Sep 05, 2018 at 09:10:14PM -0700, Atish Patra wrote:
> On 9/5/18 2:07 PM, Paul E. McKenney wrote:
> >On Wed, Sep 05, 2018 at 12:06:48PM -0700, Christoph Hellwig wrote:
> >>On Wed, Sep 05, 2018 at 10:17:08AM -0700, Atish Patra wrote:
> >>>This issue is fixed in 4.19-rc1.
> >>>
> >>>If you don't want to pull the latest, here is the change you need to
> >>>cherry-pick to your branch.
> >>>
> >>>https://lore.kernel.org/lkml/20180626192746.GJ3593 at linux.vnet.ibm.com/
> >>
> >>Paul, I think we need this in 4.18-stable.
> >>
> >>Also Palmer, I think we should pick it up in riscv-linux-4.18.
> >>
> >>The mainline commit is:
> >>
> >>commit fcc63543650150629c8a873cbef3578770acecd9
> >>Author: Boqun Feng <boqun.feng@gmail.com>
> >>Date:   Fri Jun 15 12:06:31 2018 -0700
> >>
> >>     rcu: Make expedited GPs handle CPU 0 being offline
> >
> >OK, it backports cleanly and passes a short rcutorture test.  You guys
> >have tested it, correct?  If so, I am happy to pass it on to -stable.
> >
> >							Thanx, Paul
> >
> >
> Hi Paul,
> I had it tested on top of 4.18-rc8 with RISC-V board (HighFive Unleashed).
> 
> I can try again on 4.18-stable if required.

Hello, Atish,

Please do test it on 4.18-stable.  The -stable maintainers get
understandably annoyed when given non-working backports.  ;-)

							Thanx, Paul

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Unable to handle kernel paging request at virtual address 0000001bf8068693
  2018-09-05 19:06   ` Christoph Hellwig
  2018-09-05 21:07     ` Paul E. McKenney
@ 2018-09-06  7:35     ` Andreas Schwab
  2018-09-06 17:50       ` Paul E. McKenney
  2018-09-18 22:53     ` Palmer Dabbelt
  2 siblings, 1 reply; 13+ messages in thread
From: Andreas Schwab @ 2018-09-06  7:35 UTC (permalink / raw)
  To: linux-riscv

On Sep 05 2018, Christoph Hellwig <hch@infradead.org> wrote:

> The mainline commit is:
>
> commit fcc63543650150629c8a873cbef3578770acecd9
> Author: Boqun Feng <boqun.feng@gmail.com>
> Date:   Fri Jun 15 12:06:31 2018 -0700
>
>     rcu: Make expedited GPs handle CPU 0 being offline

Thanks, this got me further.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Unable to handle kernel paging request at virtual address 0000001bf8068693
  2018-09-06  7:35     ` Andreas Schwab
@ 2018-09-06 17:50       ` Paul E. McKenney
  0 siblings, 0 replies; 13+ messages in thread
From: Paul E. McKenney @ 2018-09-06 17:50 UTC (permalink / raw)
  To: linux-riscv

On Thu, Sep 06, 2018 at 09:35:33AM +0200, Andreas Schwab wrote:
> On Sep 05 2018, Christoph Hellwig <hch@infradead.org> wrote:
> 
> > The mainline commit is:
> >
> > commit fcc63543650150629c8a873cbef3578770acecd9
> > Author: Boqun Feng <boqun.feng@gmail.com>
> > Date:   Fri Jun 15 12:06:31 2018 -0700
> >
> >     rcu: Make expedited GPs handle CPU 0 being offline
> 
> Thanks, this got me further.

Very good!  This was against 4.18-stable, correct?  If so, please let
me know and I will send the request to -stable.  Or you guys can send
the request, your choice.

							Thanx, Paul

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Unable to handle kernel paging request at virtual address 0000001bf8068693
  2018-09-06  4:20         ` Paul E. McKenney
@ 2018-09-07  0:24           ` Atish Patra
  2018-09-07  3:45             ` Paul E. McKenney
  0 siblings, 1 reply; 13+ messages in thread
From: Atish Patra @ 2018-09-07  0:24 UTC (permalink / raw)
  To: linux-riscv

On 9/5/18 9:20 PM, Paul E. McKenney wrote:
> On Wed, Sep 05, 2018 at 09:10:14PM -0700, Atish Patra wrote:
>> On 9/5/18 2:07 PM, Paul E. McKenney wrote:
>>> On Wed, Sep 05, 2018 at 12:06:48PM -0700, Christoph Hellwig wrote:
>>>> On Wed, Sep 05, 2018 at 10:17:08AM -0700, Atish Patra wrote:
>>>>> This issue is fixed in 4.19-rc1.
>>>>>
>>>>> If you don't want to pull the latest, here is the change you need to
>>>>> cherry-pick to your branch.
>>>>>
>>>>> https://lore.kernel.org/lkml/20180626192746.GJ3593 at linux.vnet.ibm.com/
>>>>
>>>> Paul, I think we need this in 4.18-stable.
>>>>
>>>> Also Palmer, I think we should pick it up in riscv-linux-4.18.
>>>>
>>>> The mainline commit is:
>>>>
>>>> commit fcc63543650150629c8a873cbef3578770acecd9
>>>> Author: Boqun Feng <boqun.feng@gmail.com>
>>>> Date:   Fri Jun 15 12:06:31 2018 -0700
>>>>
>>>>      rcu: Make expedited GPs handle CPU 0 being offline
>>>
>>> OK, it backports cleanly and passes a short rcutorture test.  You guys
>>> have tested it, correct?  If so, I am happy to pass it on to -stable.
>>>
>>> 							Thanx, Paul
>>>
>>>
>> Hi Paul,
>> I had it tested on top of 4.18-rc8 with RISC-V board (HighFive Unleashed).
>>
>> I can try again on 4.18-stable if required.
> 
> Hello, Atish,
> 
> Please do test it on 4.18-stable.  The -stable maintainers get
> understandably annoyed when given non-working backports.  ;-)
> 
> 							Thanx, Paul
> 
> 

Done. I have verified on 4.18-stable with HighFive Unleashed board.

FWIW,
Tested-by: Atish Patra <atish.patra@wdc.com>

Regards,
Atish

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Unable to handle kernel paging request at virtual address 0000001bf8068693
  2018-09-07  0:24           ` Atish Patra
@ 2018-09-07  3:45             ` Paul E. McKenney
  0 siblings, 0 replies; 13+ messages in thread
From: Paul E. McKenney @ 2018-09-07  3:45 UTC (permalink / raw)
  To: linux-riscv

On Thu, Sep 06, 2018 at 05:24:43PM -0700, Atish Patra wrote:
> On 9/5/18 9:20 PM, Paul E. McKenney wrote:
> >On Wed, Sep 05, 2018 at 09:10:14PM -0700, Atish Patra wrote:
> >>On 9/5/18 2:07 PM, Paul E. McKenney wrote:
> >>>On Wed, Sep 05, 2018 at 12:06:48PM -0700, Christoph Hellwig wrote:
> >>>>On Wed, Sep 05, 2018 at 10:17:08AM -0700, Atish Patra wrote:
> >>>>>This issue is fixed in 4.19-rc1.
> >>>>>
> >>>>>If you don't want to pull the latest, here is the change you need to
> >>>>>cherry-pick to your branch.
> >>>>>
> >>>>>https://lore.kernel.org/lkml/20180626192746.GJ3593 at linux.vnet.ibm.com/
> >>>>
> >>>>Paul, I think we need this in 4.18-stable.
> >>>>
> >>>>Also Palmer, I think we should pick it up in riscv-linux-4.18.
> >>>>
> >>>>The mainline commit is:
> >>>>
> >>>>commit fcc63543650150629c8a873cbef3578770acecd9
> >>>>Author: Boqun Feng <boqun.feng@gmail.com>
> >>>>Date:   Fri Jun 15 12:06:31 2018 -0700
> >>>>
> >>>>     rcu: Make expedited GPs handle CPU 0 being offline
> >>>
> >>>OK, it backports cleanly and passes a short rcutorture test.  You guys
> >>>have tested it, correct?  If so, I am happy to pass it on to -stable.
> >>>
> >>>							Thanx, Paul
> >>>
> >>>
> >>Hi Paul,
> >>I had it tested on top of 4.18-rc8 with RISC-V board (HighFive Unleashed).
> >>
> >>I can try again on 4.18-stable if required.
> >
> >Hello, Atish,
> >
> >Please do test it on 4.18-stable.  The -stable maintainers get
> >understandably annoyed when given non-working backports.  ;-)
> >
> >							Thanx, Paul
> >
> >
> 
> Done. I have verified on 4.18-stable with HighFive Unleashed board.
> 
> FWIW,
> Tested-by: Atish Patra <atish.patra@wdc.com>

And I sent the -stable request, CCing you all.  Here is hoping!

							Thanx, Paul

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Unable to handle kernel paging request at virtual address 0000001bf8068693
  2018-09-05 19:06   ` Christoph Hellwig
  2018-09-05 21:07     ` Paul E. McKenney
  2018-09-06  7:35     ` Andreas Schwab
@ 2018-09-18 22:53     ` Palmer Dabbelt
  2 siblings, 0 replies; 13+ messages in thread
From: Palmer Dabbelt @ 2018-09-18 22:53 UTC (permalink / raw)
  To: linux-riscv

On Wed, 05 Sep 2018 12:06:48 PDT (-0700), Christoph Hellwig wrote:
> On Wed, Sep 05, 2018 at 10:17:08AM -0700, Atish Patra wrote:
>> This issue is fixed in 4.19-rc1.
>>
>> If you don't want to pull the latest, here is the change you need to
>> cherry-pick to your branch.
>>
>> https://lore.kernel.org/lkml/20180626192746.GJ3593 at linux.vnet.ibm.com/
>
> Paul, I think we need this in 4.18-stable.
>
> Also Palmer, I think we should pick it up in riscv-linux-4.18.
>
> The mainline commit is:
>
> commit fcc63543650150629c8a873cbef3578770acecd9
> Author: Boqun Feng <boqun.feng@gmail.com>
> Date:   Fri Jun 15 12:06:31 2018 -0700
>
>     rcu: Make expedited GPs handle CPU 0 being offline

I added it to riscv-linux-4.18.  Thanks!

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Unable to handle kernel paging request at virtual address 0000001bf8068693
@ 2018-09-05 13:25 Andreas Schwab
  0 siblings, 0 replies; 13+ messages in thread
From: Andreas Schwab @ 2018-09-05 13:25 UTC (permalink / raw)
  To: linux-riscv

Trying to boot git://github.com/riscv/riscv-linux#riscv-linux-4.18 on
the HiFive-U I'm getting this crash:

[    0.100000] Unable to handle kernel paging request at virtual address 0000001bf8068693
[    0.100000] Oops [#1]
[    0.100000] Modules linked in:
[    0.100000] CPU: 1 PID: 5 Comm: kworker/1:0 Not tainted 4.18.0-01735-g9f6192e555 #107
[    0.100000] Workqueue: rcu_gp wait_rcu_exp_gp
[    0.100000] sepc: ffffffe00116da98 ra : ffffffe000c9399a sp : ffffffe1f6addcb0
[    0.100000]  gp : ffffffe001404160 tp : ffffffe1f6ada140 t0 : ffffffe1f6c44000
[    0.100000]  t1 : 0000000000000000 t2 : 000000000000f8e1 s0 : ffffffe1f6addcc0
[    0.100000]  s1 : ffffffe000c7ff00 a0 : 0076161bf8068693 a1 : 000000007fffffff
[    0.100000]  a2 : ffffffe0013ac5c8 a3 : 0000000000000001 a4 : 0000000000000001
[    0.100000]  a5 : 000000007fffffff a6 : ffff8f98a08a9c8d a7 : ffffffe1f7d4c4f0
[    0.100000]  s2 : ffffffe0013ac5c8 s3 : ffffffe000c740d8 s4 : 0000000000000000
[    0.100000]  s5 : 00000000ffffffff s6 : 0000000000000000 s7 : ffffffe000c740d8
[    0.100000]  s8 : 0000000000000118 s9 : 0076161bf8068693 s10: ffffffe1f6a09000
[    0.100000]  s11: ffffffe000cc919e t3 : ffffffe001399aa0 t4 : ffffffe001399aa8
[    0.100000]  t5 : 00000000000c8000 t6 : ffffffe1f6c40a4b
[    0.100000] sstatus: 0000000200000100 sbadaddr: 0000001bf8068693 scause: 000000000000000d
[    0.110000] ---[ end trace 0ddcca0cde88bd4b ]---

The crash is inside _raw_spin_lock:

ffffffe00116da90 <_raw_spin_lock>:
ffffffe00116da90:       1141                    addi    sp,sp,-16
ffffffe00116da92:       e422                    sd      s0,8(sp)
ffffffe00116da94:       0800                    addi    s0,sp,16
ffffffe00116da96:       4705                    li      a4,1
ffffffe00116da98:       411c                    lw      a5,0(a0)
ffffffe00116da9a:       2781                    sext.w  a5,a5
ffffffe00116da9c:       fff5                    bnez    a5,ffffffe00116da98 <_r>
ffffffe00116da9e:       08e527af                amoswap.w       a5,a4,(a0)
ffffffe00116daa2:       0230000f                fence   r,rw
ffffffe00116daa6:       2781                    sext.w  a5,a5
ffffffe00116daa8:       fbe5                    bnez    a5,ffffffe00116da98 <_r>
ffffffe00116daaa:       6422                    ld      s0,8(sp)
ffffffe00116daac:       0141                    addi    sp,sp,16
ffffffe00116daae:       8082                    ret

The .config and the full log is attached.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.gz
Type: application/x-gzip
Size: 43733 bytes
Desc: kernel config
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20180905/ba40573f/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20180905/ba40573f/attachment.ksh>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Unable to handle kernel paging request at virtual address 0000001bf8068693
@ 2018-09-05 12:58 Andreas Schwab
  0 siblings, 0 replies; 13+ messages in thread
From: Andreas Schwab @ 2018-09-05 12:58 UTC (permalink / raw)
  To: linux-riscv

Trying to boot git://github.com/riscv/riscv-linux#riscv-linux-4.18 on
the HiFive-U I'm getting this crash:

[    0.100000] Unable to handle kernel paging request at virtual address 0000001bf8068693
[    0.100000] Oops [#1]
[    0.100000] Modules linked in:
[    0.100000] CPU: 1 PID: 5 Comm: kworker/1:0 Not tainted 4.18.0-01735-g9f6192e555 #107
[    0.100000] Workqueue: rcu_gp wait_rcu_exp_gp
[    0.100000] sepc: ffffffe00116da98 ra : ffffffe000c9399a sp : ffffffe1f6addcb0
[    0.100000]  gp : ffffffe001404160 tp : ffffffe1f6ada140 t0 : ffffffe1f6c44000
[    0.100000]  t1 : 0000000000000000 t2 : 000000000000f8e1 s0 : ffffffe1f6addcc0
[    0.100000]  s1 : ffffffe000c7ff00 a0 : 0076161bf8068693 a1 : 000000007fffffff
[    0.100000]  a2 : ffffffe0013ac5c8 a3 : 0000000000000001 a4 : 0000000000000001
[    0.100000]  a5 : 000000007fffffff a6 : ffff8f98a08a9c8d a7 : ffffffe1f7d4c4f0
[    0.100000]  s2 : ffffffe0013ac5c8 s3 : ffffffe000c740d8 s4 : 0000000000000000
[    0.100000]  s5 : 00000000ffffffff s6 : 0000000000000000 s7 : ffffffe000c740d8
[    0.100000]  s8 : 0000000000000118 s9 : 0076161bf8068693 s10: ffffffe1f6a09000
[    0.100000]  s11: ffffffe000cc919e t3 : ffffffe001399aa0 t4 : ffffffe001399aa8
[    0.100000]  t5 : 00000000000c8000 t6 : ffffffe1f6c40a4b
[    0.100000] sstatus: 0000000200000100 sbadaddr: 0000001bf8068693 scause: 000000000000000d
[    0.110000] ---[ end trace 0ddcca0cde88bd4b ]---

The crash is inside _raw_spin_lock:

ffffffe00116da90 <_raw_spin_lock>:
ffffffe00116da90:       1141                    addi    sp,sp,-16
ffffffe00116da92:       e422                    sd      s0,8(sp)
ffffffe00116da94:       0800                    addi    s0,sp,16
ffffffe00116da96:       4705                    li      a4,1
ffffffe00116da98:       411c                    lw      a5,0(a0)
ffffffe00116da9a:       2781                    sext.w  a5,a5
ffffffe00116da9c:       fff5                    bnez    a5,ffffffe00116da98 <_r>
ffffffe00116da9e:       08e527af                amoswap.w       a5,a4,(a0)
ffffffe00116daa2:       0230000f                fence   r,rw
ffffffe00116daa6:       2781                    sext.w  a5,a5
ffffffe00116daa8:       fbe5                    bnez    a5,ffffffe00116da98 <_r>
ffffffe00116daaa:       6422                    ld      s0,8(sp)
ffffffe00116daac:       0141                    addi    sp,sp,16
ffffffe00116daae:       8082                    ret

The .config and the full log is attached.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: .config
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20180905/edb889c1/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20180905/edb889c1/attachment-0001.ksh>

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-09-18 22:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-05 13:29 Unable to handle kernel paging request at virtual address 0000001bf8068693 Andreas Schwab
2018-09-05 17:17 ` Atish Patra
2018-09-05 19:06   ` Christoph Hellwig
2018-09-05 21:07     ` Paul E. McKenney
2018-09-06  4:10       ` Atish Patra
2018-09-06  4:20         ` Paul E. McKenney
2018-09-07  0:24           ` Atish Patra
2018-09-07  3:45             ` Paul E. McKenney
2018-09-06  7:35     ` Andreas Schwab
2018-09-06 17:50       ` Paul E. McKenney
2018-09-18 22:53     ` Palmer Dabbelt
  -- strict thread matches above, loose matches on Subject: below --
2018-09-05 13:25 Andreas Schwab
2018-09-05 12:58 Andreas Schwab

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.