Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2019 14:42:51 +0900 (JST)
From:      Masachika ISHIZUKA <ish@amail.plala.or.jp>
To:        freebsd-current@freebsd.org
Subject:   Re: panic: sleeping thread on r352386
Message-ID:  <20190917.144251.30337396601444833.ish@amail.plala.or.jp>
In-Reply-To: <16601631.sFgvYJuXru@direwolf.local.>
References:  <20190916.205532.1314832713594158104.ish@amail.plala.or.jp> <16601631.sFgvYJuXru@direwolf.local.>

next in thread | previous in thread | raw e-mail | index | archive | help
>>   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190917.144251.30337396601444833.ish>