head -r339076 based powerpc64 context: fatal kernel trap Stopped at lock_init+0x78 stw r9,0x8(r3)

From: Mark Millard <marklmi_at_yahoo.com>
Date: Wed, 17 Oct 2018 16:58:40 -0700
On a powerpc64 with builworld buildkernel built via
devel/powerpc64-xtoolchain-gcc for head -r339076
(some source adjustments), and a system-cc-is-clang
I attempted a:

# kyua test -k /usr/tests/Kyuafile

It got to:

sys/netinet/reuseport_lb:basic_ipv4  ->  failed: /usr/src/tests/sys/netinet/reuseport_lb.c:165: bind() failed: Address already in use  [0.014s]
sys/netinet/reuseport_lb:basic_ipv6  ->  failed: /usr/src/tests/sys/netinet/reuseport_lb.c:221: bind() failed: Address already in use  [0.014s]
sys/netipsec/tunnel/aes_cbc_128_hmac_sha1:v4  ->  

and then the system crashed. I am re-running to
see what happens.

The context has a non-debug kernel (but with
symbols).

Hand transcribed from a picture . . .

fatal kernel trap:

exception       = 0x300 (data storage interrupt)
virtual address = 0xbfffffffffba8530
dsisr           = 0x42000000
srr0            = 0x72b054
srr1            = 0x9000000000009032
current msr     = 0x9000000000009032
lr              = 0x69948c
curthread       = 0xc000000036f7f000
pid = 12798, comm = ifconfig

[ thread pid 12798 tid 100312 ]
Stopped at lock_init+0x78 stw r9,0x8(r3)
db:0:kdb.enter.default> bt
Tracing pid 12798 tid 100312 td 0xc000000036f7f000
0xe00000004646e330: at 0xe00000004646e36c
0xe00000004646e360: at epair_modevent+0xf0
0xe00000004646e410: at module_register_init+0xe8
0xe00000004646e4a0: at linker_laod_module+0x6f8
0xe00000004646e580: at kern_kldload+0x150
0xe00000004646e5e0: at sys_kldload+0xb80
0xe00000004646e630: at trap+0xef4
0xe00000004646e790: at powerpc_interrupt+0x12c
0xe00000004646e820: user sc trap by 0x81017fcf8
srr1 = 0x900000000000f032
r1   = 0x3fffffffffffcfe0
cr   = 0x28022482
xer  = 0x20000000
ctr  = 0x81017fcf0
r2   = 0x810336300


# uname -apKU
FreeBSD FBSDG5L 12.0-ALPHA8 FreeBSD 12.0-ALPHA8 #4 r339076M: Mon Oct 15 13:19:35 PDT 2018     markmi_at_FBSDG5L:/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.powerpc64/sys/GENERIC64vtsc-NODBG  powerpc powerpc64 1200084 1200084

ports was at -r480180.



===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Received on Wed Oct 17 2018 - 21:58:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC