From nobody Tue Oct 03 10:26:55 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S0DX36BXxz4w5MV for ; Tue, 3 Oct 2023 10:26:59 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S0DX32C03z4Gcc for ; Tue, 3 Oct 2023 10:26:59 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1696328816; x=1696933616; i=garyj@gmx.de; bh=AAbyOFhGfNY+Ei4jloxHRIqUnwPn4wyXbVElZcS6mDE=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References:Reply-To; b=eZk8Ecsp7cFwlstWA/ljOFRVHRLbOGpNqEQktVuH30wCvFWdrvSbS5hIcmP+w5UpuLEAK41c8yT sMVRICYp+91vz1RUMlZNWF8dUfIsGrbnJkMKL3v02HM56YzWPDlPxiLPO8UdewmR/zNCynLZ8kw5+ 2KUzb6XtnJ7qkwJw2C3YWNRPrAN5+FZj+IlLCvWeDzzMRZuGrV7CfkZSeqQIbXdpSLbjJi5s4f4CE WbXuoXrM386RQdqMBLPz+iAIWUuQo22wnsfdL4/0D3cc0MY5URMhpsFbJTzj6pD6p6MrbVs3hf3c4 9Z5wAEruDbAiOPH6CxQCIVCJafjbED6/lwMw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([217.226.57.134]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M1HZi-1qkriv48ja-002rHG; Tue, 03 Oct 2023 12:26:56 +0200 Date: Tue, 3 Oct 2023 10:26:55 +0000 From: Gary Jennejohn To: "Bjoern A. Zeeb" Cc: FreeBSD Current Subject: Re: crashinfo fails on 'version' Message-ID: <20231003122655.6b96d0ee@ernst.home> In-Reply-To: <0n1o5qr7-o056-on85-pr13-5o033r6q843o@yvfgf.mnoonqbm.arg> References: <0n1o5qr7-o056-on85-pr13-5o033r6q843o@yvfgf.mnoonqbm.arg> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:FWk2MHYEUoHAIiYXNv+sqQLUtTfjPynJZNnZNq2KY0axmCg58yD Or7KqrVNXMwoOMBpXZpWDX145CFV08V4cKkuPxdWDhKbDY0sxGN+IMiTKG+mtInCqeOYTTo ZRBUFSWCVNQeT1I0Sb8zgm6cS/Fs/r8k38+FpVeuEeYQlBPq14j7k+PKQwNUos7PxBof/99 XAGgmrqeTtP+x1kvQvAgA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:vyGs4+QWLZY=;2ywUOtbi72eOeN/TtroYLxftFuz CViYs8rEm9+WeH0CN07crTQzA4uHDYXSNTw7Zp6I7jaAVdHEpxP5Rf2OXEl5/0pv1aN4wYmOD bBhC+kklw4zw92s5EZOGP83tZIVyeydZS3SwOjDAcbQN1lmC74ftJQfKWBjELhka9JYPZz2EN zBotXxDSkeaQFkGXrnVYy5SMqgH8HnvWk9XWXksZrUYyrcZczLcWZ+/GWOJV2Z1nCTcbA50Ez aNOnh+rdRGuteWpVWU51ghbUKl0eEyQk5/cq9yYgpTkpxfuKOp5dzKgBPuN4S68AkmwR6Y68E Tqp70W9rS9cbmmOtyavcmjBUHPUvFS1APYk7hBGsprCX6b6dKGfkAD2aEh2vtwr4m9C9DGsAu jgUDBiU+zUne+3PbCDrOJSWuGdxgR4Ohb8XO5FH1xLUJZ3yz7J5zmLyfLY0Gp2brsvwxHgnO8 ev5jA/EKhEcgVhi8ZPtWDoVh/NUrf4b/ClkLd3H53g1zg+gcLIRrolPXn8oUghCYna3Y6nO9n TsJ4lXRtdJPrWXe8hc42Jw3uOo4UXHcWBTkE4caUxMT1X+NoLY/bwuMn5kMwHlLRH5G2j1CB1 Zw7pIvYyNUNtLyl57zZQqrwQzSwkgZoKX2xbSwnn+hitZgxmiHi4gNFEQPw45xBrPZ++FHdVx 7eR1LQtsOmH30PuPiA7qIhWkfjjkY+e4Wudj3RniAY/IvCjGDWfYh3MqqEdnTkh6uSQTzfytm C13wtIwuzgwLA6RMmERom5x04bvz87zvsBWp9hG3XqG7X5Vs2P/0oYXkaRVItatbbZcnKWZyc s2TFm4XrA71H8x11dXLE4EYQ1Lv/I1VvoY1yrb3vaDKc5S9ugVV1O6Yb8sofNDMiC+O6XNFBD cWAJEQRhZjpetSB0Q65oPQxZBJ2phbpv335H8lJ33T5IwRL6jnUulCJhr8sLo3tOpyYkWKTYd hiqJTFozHzV2AWP5XD5+b+QrOQI= X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Queue-Id: 4S0DX32C03z4Gcc On Mon, 2 Oct 2023 20:15:30 +0000 (UTC) "Bjoern A. Zeeb" wrote: > On Fri, 29 Sep 2023, Bjoern A. Zeeb wrote: > > > On Fri, 29 Sep 2023, Warner Losh wrote: > > > >> On Fri, Sep 29, 2023, 3:56 PM Bjoern A. Zeeb > >> > >> wrote: > >> > >>> Hi, > >>> > >>> saveinfo wrote a good core, but crashinfo bails on it: > >>> > >>> 'version' has unknown type; cast it to its declared type > >>> 'version' has unknown type; cast it to its declared type > >>> Unable to find matching kernel for /var/crash/vmcore.1 > >>> > >>> I've got gdb-13.1_3 installed. > >>> > >>> Anyone any insights? > >>> > >> > >> What does kgdb say? Iirc crashinfo uses lldb for this. > > > > I would hope the latter was true but: > > > > % grep -i lldb /usr/sbin/crashinfo % > > > > at least on the version here still very much gdb. > > > > > > I have started to trace and manually called the same commands crashinf= o > > seems to run (without batch). > > > > It seems the real problem might be that it cannot find debug symbols > > inside the VM. > > > > I am wondering if there was a way to check for that to make the error > > messages less cryptic (e.g., maintenance print symbols empty if it doe= s > > what I would think; I'll hopefully see soon). > > > > Also turns out /etc/src.conf on the provided host had WITHOUT_DEBUG_FI= LES=3D > > and even building and installing with -DWITH_DEBUG_FILES does not seem > > to override that (probably by design), which likely was the reason for > > no symbols in first place. > > > > > > I'll hopefully have more answers in 20 minutes. Remote debugging wifi > > less fun than I hoped. > > Well things in src.conf commented out, also tried with > -DWITHOUT_SPLIT_KERNEL_DEBUG, ... I still get no debugging symbols > with a main amd64 GENERIC installed. Neither in /usr/lib/debug not > /boot/kernel/kernel. I am totally confused as to why currently. > > Build host is 14.0-ALPHA1 from mid August. > > Anyone any idea? > This is weird since GENERIC has: GENERIC:makeoptions DEBUG=3D-g # Build kernel with gdb(1) debug symbols Maybe you also need makeoptions DEBUG+=3D-O0 to get all the debug symbols? =2D- Gary Jennejohn