From owner-freebsd-current@freebsd.org Tue Sep 17 05:43:05 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5C9C8F8336 for ; Tue, 17 Sep 2019 05:43:05 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from msc13.plala.or.jp (msc13.plala.or.jp [IPv6:2400:7800:0:502e::23]) by mx1.freebsd.org (Postfix) with ESMTP id 46XX866qjjz4YNk for ; Tue, 17 Sep 2019 05:43:01 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from localhost ([2400:4050:9320:7a00::8]) by msc13.plala.or.jp with ESMTP id <20190917054258.GSC18269.msc13.plala.or.jp@localhost> for ; Tue, 17 Sep 2019 14:42:58 +0900 Date: Tue, 17 Sep 2019 14:42:51 +0900 (JST) Message-Id: <20190917.144251.30337396601444833.ish@amail.plala.or.jp> To: freebsd-current@freebsd.org Subject: Re: panic: sleeping thread on r352386 From: Masachika ISHIZUKA In-Reply-To: <16601631.sFgvYJuXru@direwolf.local.> References: <20190916.205532.1314832713594158104.ish@amail.plala.or.jp> <16601631.sFgvYJuXru@direwolf.local.> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-VirusScan: Outbound; mvir-ac13; Tue, 17 Sep 2019 14:42:58 +0900 X-Rspamd-Queue-Id: 46XX866qjjz4YNk X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ish@amail.plala.or.jp designates 2400:7800:0:502e::23 as permitted sender) smtp.mailfrom=ish@amail.plala.or.jp X-Spamd-Result: default: False [-0.56 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.89)[-0.895,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2400:7800:0:502e::/60]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.980,0]; DMARC_NA(0.00)[plala.or.jp]; MV_CASE(0.50)[]; MID_CONTAINS_FROM(1.00)[]; IP_SCORE(0.02)[ipnet: 2400:7800::/32(-0.13), asn: 4713(0.23), country: JP(-0.02)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4713, ipnet:2400:7800::/32, country:JP]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Sep 2019 05:43:05 -0000 >> This panic happens on 1300047 (both r352239 and r352386) with core >> i5-7500 as follows. This panic dose not happen on r351728 (1300044). >> (The following lines were typed by hand so they might have some miss >> typed letters.) >> >> == >> Sleeping thread (tid 100177, pid 1814) owns a non-sleepable lock >> KDB: stack backtrace of thread 100177: > > > https://svnweb.freebsd.org/base?view=revision&revision=352393 Thank you for reply. I updated to r352431 and this does not panic. Thank you very much. But 'make buildworld' fails by segment fault like below. (buildworld is running over the nfs file system.) --- modules-all --- --- ath_hal_ar5211.ko.debug --- objcopy --only-keep-debug ath_hal_ar5211.ko.full ath_hal_ar5211.ko.debug Segmentation fault (core dumped) *** [ath_hal_ar5211.ko.debug] Error code 139 make[4]: stopped in /usr/altlocal/freebsd-current/src/sys/modules/ath_hal_ar52111 error The position of segment fault is diffrent each time. The below is output of another 'make buildworld'. --- kernel.full --- Segmentation fault (core dumped) *** [kernel.full] Error code 139 make[2]: stopped in /usr/altlocal/freebsd-current/obj/usr/altlocal/freebsd-current/src/amd64.amd64/sys/GENERIC /var/log/messages is shown as bellow. Sep 17 11:22:56 okra kernel: Failed to fully fault in a core file segment at VA 0x800a00000 with size 0x163000 to be written at offset 0x84a000 for process nm Sep 17 11:22:56 okra kernel: pid 53593 (nm), jid 0, uid 16220: exited on signal 11 (core dumped) Sep 17 11:22:57 okra kernel: Failed to fully fault in a core file segment at VA 0x800a00000 with size 0x163000 to be written at offset 0x88b000 for process objcopy Sep 17 11:22:57 okra kernel: pid 53603 (objcopy), jid 0, uid 16220: exited on signal 11 (core dumped) Retry 'make buildworld' Sep 17 12:24:05 okra kernel: Failed to fully fault in a core file segment at VA 0x8002f6000 with size 0x93000 to be written at offset 0x239000 for process nm Sep 17 12:24:05 okra kernel: pid 96873 (nm), jid 0, uid 16220: exited on signal 11 (core dumped) Sep 17 12:24:05 okra kernel: Failed to fully fault in a core file segment at VA 0x80035f000 with size 0x93000 to be written at offset 0x281000 for process objcopy Sep 17 12:24:06 okra kernel: pid 96889 (objcopy), jid 0, uid 16220: exited on signal 11 (core dumped) Retry 'make buildworld' Sep 17 14:01:39 okra kernel: Failed to fully fault in a core file segment at VA 0x8048da000 with size 0x112000 to be written at offset 0x1a33000 for process ld.lld Sep 17 14:01:51 okra kernel: Failed to fully fault in a core file segment at VA 0x8117cc000 with size 0x1e7000 to be written at offset 0xe925000 for process ld.lld Sep 17 14:01:53 okra kernel: pid 50292 (ld.lld), jid 0, uid 16220: exited on signal 11 (core dumped) I can 'make buildworld' successfully on r351728(1300044). -- Masachika ISHIZUKA