Date: Thu, 15 Jun 2017 08:12:31 +0200 From: Andreas Tobler <andreast@FreeBSD.org> To: Gleb Smirnoff <glebius@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r319722 - in head: sys/cam/ctl sys/dev/iscsi sys/kern sys/netgraph sys/netgraph/bluetooth/socket sys/netinet sys/ofed/drivers/infiniband/core sys/ofed/drivers/infiniband/ulp/sdp sys/rpc... Message-ID: <19f78347-7d2e-7033-6903-828efbb490cf@FreeBSD.org> In-Reply-To: <20170615050037.GO50023@FreeBSD.org> References: <201706082130.v58LUY0j095589@repo.freebsd.org> <bbdb2d2c-a84f-f6a2-34dc-5999c489a603@FreeBSD.org> <20170615050037.GO50023@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19f78347-7d2e-7033-6903-828efbb490cf>