On 15.06.17 07:00, Gleb Smirnoff wrote:
Hi,
On Wed, Jun 14, 2017 at 09:59:50AM +0200, Andreas Tobler wrote:
A> with this revision I get either a kernel panic or a hang. This happens
A> on powerpc (32-bit). The powerpc64 looks stable.
A>
A> Here you can see the backtrace in case of the panic:
A> https://people.freebsd.org/~andreast/r319722_ppc32_1.jpg
A>
A> In the source code I see a comment with XXXGL...
A> Is this powerpc specific or do you think that there are some issues in
A> the uipc_socket.c code?
The comment has nothing to do with arch or 32-bit. Is
it possible to understand what is the actual instruction
at soisconnected()+0x21c ?
(gdb) p /x 0x5a5808 + 0x21c
$2 = 0x5a5a24
005a5808 <soisconnected>:
5a5808: 94 21 ff c0 stwu r1,-64(r1)
5a580c: 7c 08 02 a6 mflr r0
5a5810: 93 01 00 20 stw r24,32(r1)
....
5a5a0c: 39 40 00 00 li r10,0
5a5a10: 2f 8a 00 00 cmpwi cr7,r10,0
5a5a14: 40 9e 00 0c bne cr7,5a5a20 <soisconnected+0x218>
5a5a18: 38 7c 00 10 addi r3,r28,16
5a5a1c: 4b f1 c4 61 bl 4c1e7c <__mtx_unlock_sleep>
5a5a20: 7f 63 db 78 mr r3,r27
->5a5a24: 4b ff f5 9d bl 5a4fc0 <solisten_wakeup>
5a5a28: 48 00 04 80 b 5a5ea8 <soisconnected+0x6a0>
5a5a2c: 7c 45 13 78 mr r5,r2
5a5a30: 39 20 00 04 li r9,4
I'm going to stress test before 319722 to see if I can confirm Mark's
comment.
Thanks!
Andreas
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"