From owner-freebsd-stable@freebsd.org Wed Mar 4 20:41:31 2020 Return-Path: Delivered-To: freebsd-stable@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 81A182507E5 for ; Wed, 4 Mar 2020 20:41:31 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from wnew1-smtp.messagingengine.com (wnew1-smtp.messagingengine.com [64.147.123.26]) (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 48Xm4m5zRJz4Hfc for ; Wed, 4 Mar 2020 20:41:28 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id 8E3064BE; Wed, 4 Mar 2020 15:41:25 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 04 Mar 2020 15:41:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=B wfqQ6o0cCpbsaBlAvimAu9r2J9/GGLJfNdIYJ+N/KM=; b=DSAe/5bBOYq/GbVdC YTwJYbvipZcDw8DgqZzEjVH7by1ZUH3wvVPPW/56sGHOeyOcrvOa3JlDm98HY+7n egAWYvA7nIqcMc4/od0pLmjVrNdbxOGK78KeoQliWu1wKvdYOEq1m6I4qOq5hEDs G2Hojvj8rd1JfuwH9yeRYaRmcvoL1RhZ5qaCdRLUU3+1vSwyYnpJ96FFuCfzYQU8 g8R3u5FkAMe8Y/FiblE/AllvKwuD/lDneOYKPd8uTOvMgNVBN3gqe5xDNkShJaCc ppPh5NXcduxsiHDwmJl7rGzHfs/+5EH24obCXJdWLKgDDx8B6QHU2RgqPQK7yFnL 48ibw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=BwfqQ6o0cCpbsaBlAvimAu9r2J9/GGLJfNdIYJ+N/ KM=; b=IuRKsTXHRH1ChzJYkcaPynLvIu4Yq/61lqbcEgQ5rzMyRXal/5KzGEh+f l3R86gs31BZWmbVt5BH5dF3UjWLu/YNVHLO0q7iXlDEqJ9zPszFvZsncAPGq5ME0 PJKaCqlIv7P2QwqJTGAqrMux7gxIXBdW0b4T/mWRA9GTDF01hHXFjv8uh4BqULIL CIruNbN0w+JN7wnHAJqduqtrKPidndUh84J5uflNWQORWaoqR0iQP74f1Y0v5fMl TfSQuQIztz+aXBs7sJwQWe0pGpIDabRZs8avQS7ll3g3moGIw9AdIRKUfv8fhnC7 u3KwfqX773pwW7axTWxUo/6Vv58cg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddtkedgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ejredttdefjeenucfhrhhomhepjghurhhiucfrrghnkhhovhcuoeihphgrnhhkohhvsehf rghsthhmrghilhdrtghomheqnecuffhomhgrihhnpegrshhushdrtghomhenucfkphephe drudefledrudeltddrudekieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpeihphgrnhhkohhvsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Received: from earth.lan (unknown [5.139.190.186]) by mail.messagingengine.com (Postfix) with ESMTPA id 09C7F3060BD1; Wed, 4 Mar 2020 15:41:23 -0500 (EST) Subject: Re: jedec_dimm fails to boot To: Peter , freebsd-stable@freebsd.org References: <20200304160946.GA42065@gate.oper.dinoex.org> From: Yuri Pankov Message-ID: <7a863c59-e8fb-76ce-443a-42bb9e44d5ae@fastmail.com> Date: Wed, 4 Mar 2020 23:41:22 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200304160946.GA42065@gate.oper.dinoex.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48Xm4m5zRJz4Hfc X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.com header.s=fm2 header.b=DSAe/5bB; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=IuRKsTXH; dmarc=pass (policy=none) header.from=fastmail.com; spf=pass (mx1.freebsd.org: domain of ypankov@fastmail.com designates 64.147.123.26 as permitted sender) smtp.mailfrom=ypankov@fastmail.com X-Spamd-Result: default: False [-3.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[fastmail.com:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-0.98)[-0.982,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.26]; FREEMAIL_FROM(0.00)[fastmail.com]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[fastmail.com:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[fastmail.com,none]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[26.123.147.64.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[fastmail.com]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (-4.50), ipnet: 64.147.123.0/24(-4.92), asn: 11403(-2.69), country: US(-0.05)]; RECEIVED_SPAMHAUS_PBL(0.00)[186.190.139.5.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2020 20:41:31 -0000 On 04.03.2020 19:09, Peter wrote: > > I met an Issue: > > When I kldload jedec_dimm durig runtime, it works just as expected, > and the DIMM data appears in sysctl. > > But when I do > * load the jedec_dimm at the loader prompt, or > * add it to loader.conf, or > * compile it into a custom kernel, > it does not boot anymore. > > My custom kernel does just hang somewhere while switching the screen, > i.e. no output. The GENERIC does immediate-reboot during the device > probe phase. So both are not suitable for gathering additional info > in an easy way. (And since my DIMM appear to have neither thermal nor > serial, there is not much to gain for me here, so I will not pursue > this further, at least not before switching to R.12.) > But I fear there are some general problems with sorting out of the > modules during system bringup - see also my other message titled > "panic: too many modules". > > Some data for those interested: > > FreeBSD 11.3-RELEASE-p6 > CPU: Intel(R) Core(TM) i5-3570T CPU (IvyBridge) > Board: https://www.asus.com/Motherboards/P8B75V/specifications/ > Config: > hint.jedec_dimm.0.at="smbus12" > hint.jedec_dimm.0.addr="0xa0" > hint.jedec_dimm.1.at="smbus12" > hint.jedec_dimm.1.addr="0xa2" > hint.jedec_dimm.2.at="smbus12" > hint.jedec_dimm.2.addr="0xa4" > hint.jedec_dimm.3.at="smbus12" > hint.jedec_dimm.3.addr="0xa6" > > ichsmb0: port 0xf040-0xf05f mem 0xf7d1500 > 0-0xf7d150ff irq 18 at device 31.3 on pci0 > smbus12: on ichsmb0 > smb12: on smbus12 > > With GENERIC it becomes smbus0 (because drm2 is not loaded) and I need > to load "smbus" and "ichsmb" frontup. Could you try backporting r351604 and see if it helps?