From nobody Mon Oct 02 20:15:30 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 4Rzsdk1jqzz4wRr4 for ; Mon, 2 Oct 2023 20:15:38 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rzsdj2kBwz3H1y for ; Mon, 2 Oct 2023 20:15:37 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 195.201.62.131 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net; dmarc=none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 86B5E8D4A175 for ; Mon, 2 Oct 2023 20:15:34 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 0246A2D029D2 for ; Mon, 2 Oct 2023 20:15:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id fQSsfM0nAnSk for ; Mon, 2 Oct 2023 20:15:33 +0000 (UTC) Received: from strong-aiccu0.sbone.de (strong-aiccu0.sbone.de [IPv6:fde9:577b:c1a9:f491::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 8AD8B2D029D1 for ; Mon, 2 Oct 2023 20:15:32 +0000 (UTC) Date: Mon, 2 Oct 2023 20:15:30 +0000 (UTC) From: "Bjoern A. Zeeb" To: FreeBSD Current Subject: Re: crashinfo fails on 'version' In-Reply-To: Message-ID: <0n1o5qr7-o056-on85-pr13-5o033r6q843o@yvfgf.mnoonqbm.arg> References: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 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; format=flowed X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.79)[-0.794]; R_SPF_ALLOW(-0.20)[+ip4:195.201.62.131]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[zabbadoz.net]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org] X-Rspamd-Queue-Id: 4Rzsdj2kBwz3H1y 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 crashinfo > 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 does > what I would think; I'll hopefully see soon). > > Also turns out /etc/src.conf on the provided host had WITHOUT_DEBUG_FILES= > 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? -- Bjoern A. Zeeb r15:7