From owner-freebsd-current@freebsd.org Tue Jul 30 09:53:40 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 C6EEFC5D3A for ; Tue, 30 Jul 2019 09:53:40 +0000 (UTC) (envelope-from Weike.Chen@Dell.com) Received: from mx0a-00154904.pphosted.com (mx0a-00154904.pphosted.com [148.163.133.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8A3EF92A92 for ; Tue, 30 Jul 2019 09:53:39 +0000 (UTC) (envelope-from Weike.Chen@Dell.com) Received: from pps.filterd (m0170390.ppops.net [127.0.0.1]) by mx0a-00154904.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6U9p9Sv010852 for ; Tue, 30 Jul 2019 05:53:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=smtpout1; bh=8S1nQof4BFwEEh/abksT+lD0t1YyujmucUQ9fPniLtM=; b=vAuB4qi7oLjmCAgvEy/c5wvCJXsCEQzc1z/E1GUSCQM3HMSkPokfAM/cMOB9GgbVa2W0 DHttceKTX0dbvWS29dOaAqL12uSLQizGMpKUIlkZupV/EHCu6X59GfwrbGdZxYfurbV2 vJA5Aq5bM46Ho6lNuj3VQ2BFaREkXkNWB9YSwFEZo8SsxI27MFmxu1QrFljHm3HkoIge 54eLXnKQvc8TrTc1uNWfVKSTTjjkfEfJyPAK0eApO/W7fRfjJBV2gjqzvA7nxcH8/EEq Q+vr2wzqeCzuY0hgFpUUaYTddK8ZKuCnRQFOO6tMqA3GTROlt7IN1FHjYSZ9++vZwnCo mg== Received: from mx0a-00154901.pphosted.com (mx0a-00154901.pphosted.com [67.231.149.39]) by mx0a-00154904.pphosted.com with ESMTP id 2u22qrv80r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 30 Jul 2019 05:53:36 -0400 Received: from pps.filterd (m0090351.ppops.net [127.0.0.1]) by mx0b-00154901.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6U9qvPx046312 for ; Tue, 30 Jul 2019 05:53:36 -0400 Received: from ausxippc101.us.dell.com (ausxippc101.us.dell.com [143.166.85.207]) by mx0b-00154901.pphosted.com with ESMTP id 2u2hnc1p32-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 30 Jul 2019 05:53:36 -0400 X-LoopCount0: from 10.166.135.143 X-PREM-Routing: D-Outbound X-IronPort-AV: E=Sophos;i="5.60,346,1549951200"; d="scan'208";a="1279296850" From: To: CC: Subject: RE: kgdb assert while loading a kernel core Thread-Topic: kgdb assert while loading a kernel core Thread-Index: AdVFu+VmgDj/vu64QE+OkOn4Z5gzaAAR7EIAAC4tdqA= Date: Tue, 30 Jul 2019 09:53:31 +0000 Message-ID: References: <201907291948.x6TJmoGi053840@slippy.cwsent.com> In-Reply-To: <201907291948.x6TJmoGi053840@slippy.cwsent.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Enabled=True; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_SiteId=945c199a-83a2-4e80-9f8c-5a91be5752dd; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Owner=Weike_Chen@Dell.com; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_SetDate=2019-07-30T09:53:29.4921152Z; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Name=External Public; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Application=Microsoft Azure Information Protection; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Extended_MSFT_Method=Manual; aiplabel=External Public x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.80.193.246] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-30_05:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=591 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907300106 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=763 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907300105 X-Rspamd-Queue-Id: 8A3EF92A92 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dell.com header.s=smtpout1 header.b=vAuB4qi7; dmarc=pass (policy=none) header.from=Dell.com; spf=pass (mx1.freebsd.org: domain of Weike.Chen@Dell.com designates 148.163.133.20 as permitted sender) smtp.mailfrom=Weike.Chen@Dell.com X-Spamd-Result: default: False [-6.77 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[dell.com:s=smtpout1]; HAS_XOIP(0.00)[]; IP_SCORE(-0.13)[ip: (-0.09), ipnet: 148.163.133.0/24(-0.04), asn: 26211(-0.45), country: US(-0.05)]; RCVD_COUNT_FIVE(0.00)[5]; R_SPF_ALLOW(-0.20)[+ip4:148.163.133.20]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[dell.com:+]; RCPT_COUNT_TWO(0.00)[2]; FROM_NO_DN(0.00)[]; MX_GOOD(-0.01)[mxb-00154901.gslb.pphosted.com,mxa-00154901.gslb.pphosted.com]; DMARC_POLICY_ALLOW(-0.50)[Dell.com,none]; NEURAL_HAM_SHORT(-0.53)[-0.533,0]; RCVD_IN_DNSWL_LOW(-0.10)[20.133.163.148.list.dnswl.org : 127.0.3.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:26211, ipnet:148.163.133.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; WHITELIST_SPF_DKIM(-3.00)[dell.com:d:+,Dell.com:s:+] X-Mailman-Approved-At: Tue, 30 Jul 2019 10:38:05 +0000 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, 30 Jul 2019 09:53:40 -0000 > -----Original Message----- > From: Cy Schubert > Sent: Tuesday, July 30, 2019 3:49 AM > To: Chen, Alvin W > Cc: freebsd-current@freebsd.org > Subject: Re: kgdb assert while loading a kernel core >=20 >=20 > [EXTERNAL EMAIL] >=20 > In message > > , Weike > .Chen@Dell.com writes: > > Hi all, > > > > I try to do some debugging for the FreeBSD kernel crash. > > My system is FreeBSD 12. And I have a kernel core file, and while I > > load it by kgdb. It reports the following error: > > > > Inferior.c: 287: internal-error: struct inferior > > *find_inferior_pid(int): As sertion 'pid !=3D 0' failed. > > > > And I also try the gdb in ports/devel, and got the same error. > > > > Any workaround for the error? >=20 > Which kgdb are you using? The /usr/libexec one or the port? >=20 I use the kgdb in port, and I also try the kgdb in /usr/libexec, but it rep= orts error "Cannot access memory at address 0x0" while loading my core file= . >=20 > -- > Cheers, > Cy Schubert > FreeBSD UNIX: Web: http://www.FreeBSD.org >=20 > The need of the many outweighs the greed of the few. >=20