Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2018 13:39:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229784] LinuxKPI panic on load on aarch64 in linux_rcu_runtime_init
Message-ID:  <bug-229784-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229784

            Bug ID: 229784
           Summary: LinuxKPI panic on load on aarch64 in
                    linux_rcu_runtime_init
           Product: Base System
           Version: CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: greg@unrelenting.technology

LKPI fails to load right now (though it used to load on aarch64 a few months
ago):

root@rockwallow:~ # kldload linuxkpi=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
warning: KLD '/boot/kernel/linuxkpi.ko' is newer than the linker.hints file
Fatal data abort:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  x0: ffff000061891480=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
  x1: ffff0000623dba00=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20
  x2:                0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
  x3:                0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
  x4:            20000=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  x5:                0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  x6: ffffffffffffffff=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  x7:             2002
  x8:           b6a200=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  x9:                f
 x10:                1
 x11:                0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 x12:                0
 x13:                0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20
 x14:                0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 x15: ffff0000008e9b18=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 x16:                0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 x17: ffff00000036f79c
 x18: ffff0000616ad5b0=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 x19: ffff000061891480=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 x20: ffff0000623dba00=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 x21:                0
 x22: ffff000000c5f558=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 x23:                1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 x24: ffff000000c5f5c0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 x25: ffff000000c5ed28
 x26: ffff000061871800=20=20=20=20=20=20=20=20=20=20=20
 x27:                0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 x28: ffff0000008e573d
 x29: ffff0000616ad5f0
  sp: ffff0000616ad5b0
  lr: ffff00006185b548
 elr: ffff00006185b5b8
spsr:              345
 far: ffff0000623dbb10
 esr:         96000046
[ thread pid 947 tid 100089 ]
Stopped at      linux_rcu_runtime_init+0xb8:    undefined       b9011295

Looked up linux_rcu_runtime_init+0xb8, it's the 'record->cpuid =3D i;' stat=
ement.

Added some debug prints: 'record' has an address (0xffff0000623cba00), but
dereferencing it and accessing the cpuid field (record->cpuid) crashes.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229784-227>