From nobody Mon Jan 17 01:01:57 2022 X-Original-To: stable@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 1E9BA196136E for ; Mon, 17 Jan 2022 01:02:33 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [176.74.240.9]) (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) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JcYXl650Sz3Hwm for ; Mon, 17 Jan 2022 01:02:31 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router10g.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 9F8421CE8F; Mon, 17 Jan 2022 02:02:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=digiware.nl; s=medusa-2017; t=1642381343; bh=hzreBawdwhBOetMBkkPDuJecgKGHD7FVbBUJFqzeLbk=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=p9843douxXCELVUBvxD8yL6b6Si+WCwXCnWtuTs4sL/EIm+lf+0xLAGA+6hiL7r6z EGwYo9k1UQfeUnS5hueUskx1bkixLhG6FPq+GuPq+YZLO+RR2CaSmjDUoEz4rMTN7r ed/tZ8umeAnPCziW8Q4T1LTKd6vwx8/XAib2AmK80XInyWaaLe+5zkBtbXTAPsPpCg DlHviBtVprKlERFe0+vZ1CsZNkcAwI9SdZ99mc8SKf4l9vUixrKJRz9kNKjhbpBt3A 8NRfxg4xaD8MukOIqxltbpDpCO+ap91V6jBxHcpfcesVLPwYm/XtR2DIRtwAEADZWh 0YNSTlCIDfU0A== X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by router10g.digiware.nl (router10g.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PF4EbMAheUpw; Mon, 17 Jan 2022 02:01:58 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 53A5B1CD5C; Mon, 17 Jan 2022 02:01:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=digiware.nl; s=medusa-2017; t=1642381318; bh=hzreBawdwhBOetMBkkPDuJecgKGHD7FVbBUJFqzeLbk=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=R4B33vUjZDf0uhBO2bsP+1HuyeTqSHxUvkH+P8Mu/zJqWYPlyM3cPf10fAf1Ym5HY iPwYbqdPLSvkDW6ax/OY6O3FSFeImfOTMNhGD5Yv3CN+CI7zA3rn8jT16gQE0mHwg4 56a0C8flhWs0FIkvrl9V0IjZxh5l65s2ch1TX1iaQxOqyj2aSG7kVJdKnmthcEYK19 DlnLihfMzmKvHEcGo4V8YAIttLdnW+KCoN1rhlRhkMBYLn93jzTMzyC3FB3CoRuo7i Q7EX8yGSujHFRFSO32288EYjipDqB9KsOEfV8zthXX6WiYV4bPp5LHopD+z3LbumzJ inMjiW1NtHB4A== Message-ID: <86766549-be58-1125-867e-ae4c415e1bb4@digiware.nl> Date: Mon, 17 Jan 2022 02:01:57 +0100 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.5.0 Subject: Re: Trying to boot a supermicro H8DMT board Content-Language: nl To: Eugene Grosbein Cc: "stable@freebsd.org" References: <8ac447b6-eaaf-0a8f-da69-27db15dd6f55@digiware.nl> <2ec39eef-d2e2-c55e-b032-43de86e71a57@digiware.nl> <3d87a0b3-7bed-453b-df23-4a258ea46fbb@grosbein.net> <802cf542-979d-b8e1-3f71-616b026eb852@grosbein.net> <48f57581-1f39-9f57-0e44-19c2c2bb3aeb@digiware.nl> <78a47e83-a339-0c79-0ee0-9e55be80c78b@grosbein.net> <2f49fd20-cb5a-5ccc-7f9b-0229bc8e14b1@grosbein.net> From: Willem Jan Withagen In-Reply-To: <2f49fd20-cb5a-5ccc-7f9b-0229bc8e14b1@grosbein.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4JcYXl650Sz3Hwm X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=digiware.nl header.s=medusa-2017 header.b=p9843dou; dkim=pass header.d=digiware.nl header.s=medusa-2017 header.b=R4B33vUj; dmarc=pass (policy=quarantine) header.from=digiware.nl; spf=pass (mx1.freebsd.org: domain of wjw@digiware.nl designates 176.74.240.9 as permitted sender) smtp.mailfrom=wjw@digiware.nl X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[digiware.nl:s=medusa-2017]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[digiware.nl:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[digiware.nl,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[stable]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:28878, ipnet:176.74.224.0/19, country:NL]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 15-1-2022 15:28, Eugene Grosbein wrote: > 15.01.2022 21:06, Willem Jan Withagen wrote: >> On 14-1-2022 17:41, Eugene Grosbein wrote: >>> 14.01.2022 23:34, Willem Jan Withagen wrote >>> >>>> That is it..... it is "dead" after that >>>> Does 14-CURRENT have KDB stuff preloaded, I could give it a shot. >>> I'm not sure, you'll have to try it yourself. >>> >>>> Otherwise I'd have to build 11.4 and go into KDB from there. >>>> >>>> What are the first things you need to know? >>> https://docs.freebsd.org/en/books/developers-handbook/book/ >>> >>> Look at the section "10.6. Debugging Deadlocks" as the problem looks like some deadlock (no panic, no progress). >>> >> I have tried all incarnations on that page. >> Even found https://gist.github.com/bijanebrahimi/f2eb0c620d81aa6234e121a0ddd88cc2 >> which I think has the info more organized. >> >> Can it be that the deadlock is too early for the DDB break to be triggered? > Maybe, can't tell for sure. I'm afraid you'll need to dig it more: > read the code and add more "prints" to the kernel. Got this a bit further by adding this to the config: options ACPI_DEBUG options VERBOSE_SYSINIT=1 But now it tells me: Table 'FACP' at 0xdffc0200 Table 'APIC' at 0xdffc0390 Table 'MCFG' at 0xdffc0460 Table 'OEMB' at 0xdffce040 Table 'SRAT' at 0xdffc50f0 ACPI: No SLIT table found done. subsystem 1000000    vm_mem_init(0)... So I guess that the ACPI stuff is done, and we're going to look at init-ing the subsystems. But how do I translate the number to a name? I guess it is the virtual memory init, since there is only on place that calls vm_mem_init. And that is from the sysinit chain. But I would expect things to be really bad if the system hangs in the VM initialisation? --WjW