Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2019 20:25:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 232387] head -r339076: system crash in vnet_epair_init during kern_jail_set in a kyua test on powerpc64
Message-ID:  <bug-232387-25139-e0lV88J9bG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-232387-25139@https.bugs.freebsd.org/bugzilla/>
References:  <bug-232387-25139@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #14 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
I finally have a system-clang devel/powerpc64-binutils based build
that I've tested ( head -r345558 based, ELFv1 ABI ). Again I'm off
experimental futures. This was with a non-debug kernel.

This too fails. Running just:

kyua test -k /usr/tests/Kyuafile sys/netipsec/tunnel/aes_cbc_128_hmac_sha1

is sufficient for the crash to happen but it fails when a full
Kyua test gets there.


Again a data storage interrupt:
( Be warned: hand typed from a picture.)

exception      =3D 0x300 (data storage interrupt)
virtual address=3D 0x860ce198
dsisr          =3D 0x42000000
srr0           =3D 0xc0000000007b51a4 (0x7b51a4)
srr1           =3D 0x9000000000009032
current msr    =3D 0x9000000000009032
lr             =3D 0xc0000000007184a8 (0x7184a8)
frame          =3D 0xe00000008ecb0dd0
curthread      =3D 0xc00000000ad6c580
pid =3D 28966, comm =3D ifconfig
Panic: data storage interrupt trap
cpuid=3D 2
time =3D 1553886317

The frmae, curthread, pid, cpuid, and time can vary.

The backtrace information is better this time. Be warned: hand typed from
a picture. The example is from a full kyua run.

KDB: stack backtrace:
0xe000000008eb0b00: at vpanic+0x1d8
0xe000000008eb0bb0: at panic+0x44
0xe000000008eb0be0: at trap_fatal+0x2f4
0xe000000008eb0c70: at trap+0x698
0xe000000008eb0d50: at powerpc_interrupt+0x1a0
0xe000000008eb0da0: at kernel DSI write trap @ 0x860ce198
                       by lock_init+0x140:
                       srr1 =3D 0x9000000000009032
                       r1   =3D 0xe00000008ecb1050
                       cr   =3D 0x22880f488
                       xer  =3D 0
                       ctr  =3D 0xc000000000718438
                       r2   =3D 0xc000000001370000
                       sr   =3D 0x42000000
                       frame=3D 0xe00000008ecb0dd0
0xe00000008ecb1050: at
__set_sysctl_set_sym_sysctl___net_link_epair_netisr_maxqlen+0x4
0xe00000008ecb1080: at epair_modeevent+0xbc
0xe00000008ecb1140: at module_register_init+0x130
0xe00000008ecb11f0: at linker_load_module+0xd88
0xe00000008ecb1620: at kern_kldload+0x8c
0xe00000008ecb1690: at sys_kldload+0x8c
0xe00000008ecb16e0: at trap+0xb28
0xe00000008ecb17c0: at powerpc_interrupt+0x1a0
0xe00000008ecb1810: at user SC trap
                       by 0x810182da8:
                       srr1 =3D 0x900000000200f032
                       r1   =3D 0x3fffffffffffcf10
                       cr   =3D 0x24002200
                       xer  =3D 0x20000000
                       ctr  =3D 0x810182da0
                       r2   =3D 0x81033b900
                       frame=3D 0xe00000008ecb1840

Note: The 'at __set_sysctl_set_sym_sysctl___net_link_eapir_netisr_maxqlen+0=
x4'
at other times has shown text such as 'at 0xffffffc'. The kernel stack
addresses (0xe000 prefixes) can vary.

Otherwise the backtraces agree so far as I've noticed.

--=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-232387-25139-e0lV88J9bG>