Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2018 02:59:14 +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-YoCnGTgLUy@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 #6 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Bjoern A. Zeeb from comment #2)

I did a svnlite update -r339341 /usr/src/sys/kern/link_elf.c
and rebuilt, reinstalled, rebooted, and retested based on
using devel/powerpc64-xtoolchain-gcc materials.

Result: Still crashed.

The below has show reg as well.

. . .
epair3a: Ethernet address: 02:60:27:70:4b:0a
epair3b: Ethernet address: 02:60:27:70:4b:0b
epair3a: link state changed to UP
epair3b: link state changed to UP
lock order reversal:
 1st 0x13be260 allprison (allprison) @ /usr/src/sys/kern/kern_jail.c:960
 2nd 0x15964a0 vnet_sysinit_sxlock (vnet_sysinit_sxlock) @
/usr/src/sys/net/vnet.c:575
stack backtrace:
#0 0x6f6520 at witness_debugger+0xf4
#1 0x6f8440 at witness_checkorder+0xa1c
#2 0x675690 at _sx_slock_int+0x70
#3 0x675810 at _sx_slock+0x1c
#4 0x7f4338 at vnet_sysinit+0x38
#5 0x7f44dc at vnet_alloc+0x118
#6 0x62ab84 at kern_jail_set+0x3274
#7 0x62b62c at sys_jail_set+0x8c
#8 0xa8a798 at trap+0x9a0
#9 0xa7e660 at powerpc_interrupt+0x140

fatal kernel trap:

   exception       =3D 0x300 (data storage interrupt)
   virtual address =3D 0xc00000008df1df30
   dsisr           =3D 0x42000000
   srr0            =3D 0xe00000004784ce98 (0xe00000004784ce98)
   srr1            =3D 0x9000000000009032
   current msr     =3D 0x9000000000009032
   lr              =3D 0xe00000004784ce90 (0xe00000004784ce90)
   curthread       =3D 0xc00000000b8c8560
          pid =3D 9536, comm =3D jail


(Hand transcribed from here on:)

[ thread pid 9536 tid 100174 ]
Stopped at vnet_epair_init+0x78: stdx r3,r29,r30
db:0:kdb.enter.default> bt
Tracing pid 9536 tid 100174 td 0xc00000000b8c8560
0xe000000047274240: at vnet_sysinit+0x70

0xe000000047274270: at vnet_alloc+0x118
0xe000000047274300: at kern_jail_set+0x3274
0xe000000047274610: at sys_jail_set+0x8c
0xe000000047274660: at trap+0x9a0
0xe000000047274790: at powerpc_interrupt+0x140

0xe000000047274820: user sc trap by 0x81016a888
srr1 =3D 0x900000000000f032
r1   =3D 0x3fffffffffffd080
cr   =3D 0x28002482
xer  =3D 0x20000000
ctr  =3D 0x81016a880
r2   =3D 0x810322300
db> show reg
r0   =3D 0xe00000004784ce90 vnet_epair_init+0x70
r1   =3D 0xe000000047050200
r2   =3D 0xe00000004784ce90 .TOC.
r3   =3D 0xc000000027a3fc00
r4   =3D                0x4
r5   =3D           0xe04008
r6   =3D              0x119
r7   =3D                  0
r8   =3D 0xc00000000b8c8560
r9   =3D                0x2
r10  =3D 0xc00000000b8c8560
r11  =3D 0xc00000000b8c86a0
r12  =3D          0x152f1e8
r13  =3D 0xc00000000b8c8560
r14  =3D                  0
r15  =3D                  0
r16  =3D 0xc00000000763d960
r17  =3D 0xc000000008145090
r18  =3D                  0
r19  =3D 0xc000000027a45058
r20  =3D          0x10e3690 prison0
r21  =3D                  0
r22  =3D                  0
r23  =3D                  0
r24  =3D                  0
r25  =3D 0xc000000027a45000
r26  =3D                  0
r27  =3D          0x11e71b0 __start_set_compressors
r28  =3D 0xe000000047871000 .TOC.+0x9300
r29  =3D 0xe000000047860230 vnet_entry_epair_cloner
r30  =3D 0xe0000000466bdd00
r31  =3D 0xe000000047050200
srr0 =3D 0xe00000004784ce98 vnet_epair_init+0x78
srr1 =3D 0x9000000000009032
lr   =3D 0xe00000004784ce90 vnet_epair_init+0x70
ctr  =3D                0x1
cr   =3D         0x20222234
xer  =3D                  0
dar  =3D 0xe00000008df1df30
dsisr=3D         0x42000000
vnet_epair_init+0x70: stdx r3,r29,r30

--=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-YoCnGTgLUy>