From owner-freebsd-acpi@freebsd.org Tue Aug 30 14:46:48 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AAF1BC8BEA for ; Tue, 30 Aug 2016 14:46:48 +0000 (UTC) (envelope-from vrijn@posteo.net) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.posteo.de", Issuer "StartCom Class 3 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 15272CF9 for ; Tue, 30 Aug 2016 14:46:47 +0000 (UTC) (envelope-from vrijn@posteo.net) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 7F78F20852 for ; Tue, 30 Aug 2016 16:45:22 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3sNrsZ47QPzyZw for ; Tue, 30 Aug 2016 16:45:21 +0200 (CEST) Date: Tue, 30 Aug 2016 14:45:21 +0000 From: Peter To: freebsd-acpi@freebsd.org Subject: Lenovo B590 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <3sNrsZ61wPz105g@submission01.posteo.de> X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2016 14:46:48 -0000 Hello everyone! I've been trying to boot the FreeBSD 11-RC2 memstick on my Lenovo B590, but to no avail. The system freezes during boot, ending with the following message: --- acpi0: on motherboard ACPI Error: No handler for Region [ECOR] (0xfffff80003a33480) [EmbeddedControl] (20160527/evregion-180) ACPI Error: Region EmbeddedControl (ID=3) has no handler (20160527/exfldio-320) ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.H_EC._REG] (Node 0xfffff80003a41d40), AE_NOT_EXIST (20160527/psparse-559) --- Can you guys help me fix this? I'd appreciate it! :) (It won't even let me "crl-alt-delete" at this point.) Best regards, Peter From owner-freebsd-acpi@freebsd.org Thu Sep 1 09:20:53 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 832D9BCBAC7 for ; Thu, 1 Sep 2016 09:20:53 +0000 (UTC) (envelope-from pch-bF054DD66@u-1.phicoh.com) Received: from stereo.hq.phicoh.net (stereo6-he.hq.phicoh.net [IPv6:2001:470:d16a:10:2a0:c9ff:fe9f:17a9]) by mx1.freebsd.org (Postfix) with ESMTP id 1657F91 for ; Thu, 1 Sep 2016 09:20:52 +0000 (UTC) (envelope-from pch-bF054DD66@u-1.phicoh.com) Received: from stereo.hq.phicoh.net (localhost [::ffff:127.0.0.1]) by stereo.hq.phicoh.net with esmtp (Smail #91) id m1bfOB0-0000EtC; Thu, 1 Sep 2016 11:20:50 +0200 Message-Id: To: freebsd-acpi@freebsd.org Subject: weird thinkpad x201 problem From: Philip Homburg Sender: pch-bF054DD66@u-1.phicoh.com Date: Thu, 01 Sep 2016 11:20:44 +0200 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2016 09:20:53 -0000 Hi, I have two lenovo thinkpad x201 laptops. They are almost identical except one has an i5 M520 @2.40 GHz and 4GB memory and the other an i5 M540 @2.53 GHz and 8GB memory. They both have the latest BIOS (1.40) I'm using the M520 for testing 11.0. At some point I wanted to see if I could get suspend/resume to work. On 10.3 I never got beyond a kernel panic in the video driver during suspend. And that's when things got weird. At the moment rebooting takes an extra 30 seconds of no activity and poweroff just hangs. Suspend results in a weird state where the suspend light is on, the laptop doesn't do anything, but the screen is still on. To be absolutely sure that this was not caused by some BIOS settings I swapped harddisks with the other laptop, which is running 10.3. To my surprise, 10.3 also has the reboot and poweroff problems on the M520. And with 11.0 on the M540, reboot and poweroff work fine. Suspend also works fine, (resume doesn't, the screen stays black after a resume). I reset the BIOS settings of the M520, no change. And another weird thing, during an early version of 11, either BETA4 or RC1, suspend did work on the M520. Any hints on how to debug this? From owner-freebsd-acpi@freebsd.org Sat Sep 3 18:46:43 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CDD7BCE771 for ; Sat, 3 Sep 2016 18:46:43 +0000 (UTC) (envelope-from universite@ukr.net) Received: from frv189.fwdcdn.com (frv189.fwdcdn.com [212.42.77.189]) (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 23FB4F82 for ; Sat, 3 Sep 2016 18:46:42 +0000 (UTC) (envelope-from universite@ukr.net) Received: from [10.10.1.26] (helo=frv197.fwdcdn.com) by frv189.fwdcdn.com with esmtp ID 1bgFxe-0004OJ-NK for freebsd-acpi@freebsd.org; Sat, 03 Sep 2016 21:46:38 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Cc:To :Subject:From:Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=EJeIofU0UuH8bfIJ46zYa3tccm88jC6ihXjxFu7cjXs=; b=c 3/bkZkp/wk/vGz6JG1cf85BahlNhGLfMLrKcfZs68BQAZh9bNsmz2Fcsk055G3FA6MTNhx5pZEDR9 TJP1rT9VuWVsNFBXoVE6DhbiDJR9QT7uYoOsdPdbpFywqPVf8sKbRbFcGdcULJEMYVsOqQ43qTU5J +pVWUTLfaK84OvBA=; Received: from [10.10.10.35] (helo=frv35.fwdcdn.com) by frv197.fwdcdn.com with smtp ID 1bgFxX-000FGy-7t for freebsd-acpi@freebsd.org; Sat, 03 Sep 2016 21:46:31 +0300 Date: Sat, 03 Sep 2016 21:46:30 +0300 From: Vladislav Prodan Subject: Re: Freeze during boot process on Intel S1200RP Board To: freebsd-hackers@freebsd.org Cc: freebsd-acpi@freebsd.org X-Mailer: mail.ukr.net 5.0 Message-Id: <1472927832.254600230.0917rnnm@frv35.fwdcdn.com> Received: from universite@ukr.net by frv35.fwdcdn.com; Sat, 03 Sep 2016 21:46:31 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary Content-Disposition: inline X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2016 18:46:43 -0000 I encountered a similar problem on Intel S1200RP motherboard. Attached is the output dmesg: http://pastebin.com/raw/ut11rb2T The problem is relevant to FreeBSD 10.3-STABLE (August 2016) and FreeBSD 11.0-PRERELEASE. As a temporary measure helped: sysctl kern.eventtimer.timer=HPET Now, the system reboots normally. Needless to spread acpidump and a resource? Or is it to make out in the form of PR? -- Vladislav V. Prodan System & Network Administrator support.od.ua From owner-freebsd-acpi@freebsd.org Sat Sep 3 19:10:00 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6869FBCEED2; Sat, 3 Sep 2016 19:10:00 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D0662F2A; Sat, 3 Sep 2016 19:09:59 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id u83J9rjs086437 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 3 Sep 2016 22:09:53 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua u83J9rjs086437 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id u83J9o9L086436; Sat, 3 Sep 2016 22:09:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 3 Sep 2016 22:09:50 +0300 From: Konstantin Belousov To: Vladislav Prodan Cc: freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org Subject: Re: Freeze during boot process on Intel S1200RP Board Message-ID: <20160903190950.GA83214@kib.kiev.ua> References: <1472927832.254600230.0917rnnm@frv35.fwdcdn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1472927832.254600230.0917rnnm@frv35.fwdcdn.com> User-Agent: Mutt/1.6.1 (2016-04-27) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2016 19:10:00 -0000 On Sat, Sep 03, 2016 at 09:46:30PM +0300, Vladislav Prodan wrote: > > I encountered a similar problem on Intel S1200RP motherboard. > > Attached is the output dmesg: > http://pastebin.com/raw/ut11rb2T Is this from a succesful boot ? I.e., userland did started normally. Please use 11.0 and provide me with the verbose dmesg of both succesful and hanging boot. Most likely I will need to get the output from a series of the debugging patches to see what is going on. > > The problem is relevant to FreeBSD 10.3-STABLE (August 2016) and FreeBSD 11.0-PRERELEASE. > > As a temporary measure helped: > sysctl kern.eventtimer.timer=HPET > > Now, the system reboots normally. > > Needless to spread acpidump and a resource? > > Or is it to make out in the form of PR? > > -- > Vladislav V. Prodan > System & Network Administrator > support.od.ua > > > > > _______________________________________________ > freebsd-acpi@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" From owner-freebsd-acpi@freebsd.org Sat Sep 3 20:08:53 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65D83BCEF35 for ; Sat, 3 Sep 2016 20:08:53 +0000 (UTC) (envelope-from universite@ukr.net) Received: from frv189.fwdcdn.com (frv189.fwdcdn.com [212.42.77.189]) (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 26AEFDFC for ; Sat, 3 Sep 2016 20:08:52 +0000 (UTC) (envelope-from universite@ukr.net) Received: from [10.10.1.28] (helo=frv196.fwdcdn.com) by frv189.fwdcdn.com with esmtp ID 1bgHFB-000GUU-VQ for freebsd-acpi@freebsd.org; Sat, 03 Sep 2016 23:08:49 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-Id:Cc:To:Subject:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lMrv4MPHIihh+r9YwheNIkNLcNgSysdja0piJ16+bjs=; b=up4CVnbKNNxMNS6BtpjCgfKEVG WIUHBvt67TZYy7xlezhKsntS1IEoGKNlH6Hb/dljBfge9E6jx9Gb+hRF27dMuTyZn4hJ1IJMS/OM7 kx0hLo9Gse6q6GJqqF8/mSRFcus2z8K/XD6Zn/rSYHJDgGjoFnGVHXJy/I51iaOwaEaE=; Received: from [10.10.10.35] (helo=frv35.fwdcdn.com) by frv196.fwdcdn.com with smtp ID 1bgHF3-0001ws-Ur for freebsd-acpi@freebsd.org; Sat, 03 Sep 2016 23:08:41 +0300 Date: Sat, 03 Sep 2016 23:08:41 +0300 From: Vladislav Prodan Subject: Re[2]: Freeze during boot process on Intel S1200RP Board To: freebsd-hackers@freebsd.org Cc: freebsd-acpi@freebsd.org X-Mailer: mail.ukr.net 5.0 Message-Id: <1472932913.386457492.0z8b0wn5@frv35.fwdcdn.com> In-Reply-To: <20160903190950.GA83214@kib.kiev.ua> References: <1472927832.254600230.0917rnnm@frv35.fwdcdn.com> <20160903190950.GA83214@kib.kiev.ua> X-Reply-Action: reply Received: from universite@ukr.net by frv35.fwdcdn.com; Sat, 03 Sep 2016 23:08:41 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary Content-Disposition: inline X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2016 20:08:53 -0000 --- Original message --- From: "Konstantin Belousov" Date: 3 September 2016, 22:10:13 > On Sat, Sep 03, 2016 at 09:46:30PM +0300, Vladislav Prodan wrote: > > > > I encountered a similar problem on Intel S1200RP motherboard. > > > > Attached is the output dmesg: > > http://pastebin.com/raw/ut11rb2T > Is this from a succesful boot ? I.e., userland did started normally. Yes. > > Please use 11.0 and provide me with the verbose dmesg of both succesful > and hanging boot. There is no opportunity and time to install FreeBSD 11.0. C client approved installation FreeBSD 10.3-STABLE. There is a screenshot at the time of freezing: http://s017.radikal.ru/i412/1609/cf/f24d5d5a61c0.jpg > > Most likely I will need to get the output from a series of the debugging > patches to see what is going on. > > > > > The problem is relevant to FreeBSD 10.3-STABLE (August 2016) and FreeBSD 11.0-PRERELEASE. > > > > As a temporary measure helped: > > sysctl kern.eventtimer.timer=HPET > > > > Now, the system reboots normally. > > > > Needless to spread acpidump and a resource? > > > > Or is it to make out in the form of PR? > > > > -- > > Vladislav V. Prodan > > System & Network Administrator > > support.od.ua > > -- Vladislav V. Prodan System & Network Administrator support.od.ua From owner-freebsd-acpi@freebsd.org Sat Sep 3 20:35:03 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 174B7BCE5DA; Sat, 3 Sep 2016 20:35:03 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 82C1BA08; Sat, 3 Sep 2016 20:35:02 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id u83KYtRO006820 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 3 Sep 2016 23:34:55 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua u83KYtRO006820 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id u83KYtb8006819; Sat, 3 Sep 2016 23:34:55 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 3 Sep 2016 23:34:55 +0300 From: Konstantin Belousov To: Vladislav Prodan Cc: freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org Subject: Re: Freeze during boot process on Intel S1200RP Board Message-ID: <20160903203455.GB83214@kib.kiev.ua> References: <1472927832.254600230.0917rnnm@frv35.fwdcdn.com> <20160903190950.GA83214@kib.kiev.ua> <1472932913.386457492.0z8b0wn5@frv35.fwdcdn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1472932913.386457492.0z8b0wn5@frv35.fwdcdn.com> User-Agent: Mutt/1.6.1 (2016-04-27) X-Spam-Status: No, score=-0.3 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,URIBL_BLACK autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2016 20:35:03 -0000 On Sat, Sep 03, 2016 at 11:08:41PM +0300, Vladislav Prodan wrote: > > > > --- Original message --- > From: "Konstantin Belousov" > Date: 3 September 2016, 22:10:13 > > > > > On Sat, Sep 03, 2016 at 09:46:30PM +0300, Vladislav Prodan wrote: > > > > > > I encountered a similar problem on Intel S1200RP motherboard. > > > > > > Attached is the output dmesg: > > > http://pastebin.com/raw/ut11rb2T > > Is this from a succesful boot ? I.e., userland did started normally. > > Yes. > > > > > Please use 11.0 and provide me with the verbose dmesg of both succesful > > and hanging boot. > > There is no opportunity and time to install FreeBSD 11.0. > C client approved installation FreeBSD 10.3-STABLE. It will be much less opportunity and much more time required to track it down with debugging done on 10 and not HEAD or 11. Also, there were some significant changes in 11/HEAD WRT LAPIC timer, which might directly affect this machine. Note that you really do not need to overwrite the 10.3 userspace, I only need 11 or HEAD kernel. > > There is a screenshot at the time of freezing: > http://s017.radikal.ru/i412/1609/cf/f24d5d5a61c0.jpg So now I am confused. The system hangs at boot, according to the screenshot. Also, you stated that changing eventtimer choice with sysctl (from LAPIC ?) to HPET helps. Sysctl cannot be issued unless system booted to at least single-user mode. What is the exact scenario for the hang ? Regardless of the answer to the question above, apply the following debugging patch to the kernel and show the screenshot of the hang. Index: sys/amd64/amd64/mp_machdep.c =================================================================== --- sys/amd64/amd64/mp_machdep.c (revision 305361) +++ sys/amd64/amd64/mp_machdep.c (working copy) @@ -1007,6 +1007,7 @@ start_ap(int apic_id) int vector, ms; int cpus; +printf("start_ap apic_id %d\n", apic_id); /* calculate the vector */ vector = (boot_address >> 12) & 0xff; From owner-freebsd-acpi@freebsd.org Sat Sep 3 21:37:21 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1DB6BCDB42 for ; Sat, 3 Sep 2016 21:37:21 +0000 (UTC) (envelope-from universite@ukr.net) Received: from frv198.fwdcdn.com (frv198.fwdcdn.com [212.42.77.198]) (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 B5F5068 for ; Sat, 3 Sep 2016 21:37:21 +0000 (UTC) (envelope-from universite@ukr.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Cc:To:Subject:From:Date; bh=xbD1FlhoM69W3Q34SiKqwQ1rM8VSczfYz6ic4LQ5oOU=; b=c4HAbJ5lyYI1+J13Ew4KJDN5SFxeyQ6xVX5a31WIdfinn0QD/pL+0q2ryaGR6B3RM4SlH/NLoHGc3fm1kx6OgIjbGTNLWJlR12Lg59eteLUuZmhrwityd/RlhpC54ebieoCU6HDTPiDPaS1QNZ1r66LiFFcU7HfFgDXW3bdmGa0=; Received: from [10.10.10.35] (helo=frv35.fwdcdn.com) by frv198.fwdcdn.com with smtp ID 1bgIcm-000DSf-03 for freebsd-acpi@freebsd.org; Sun, 04 Sep 2016 00:37:16 +0300 Date: Sun, 04 Sep 2016 00:37:15 +0300 From: Vladislav Prodan Subject: Re[2]: Freeze during boot process on Intel S1200RP Board To: Konstantin Belousov Cc: freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org X-Mailer: mail.ukr.net 5.0 Message-Id: <1472937860.641023053.23hxzq6k@frv35.fwdcdn.com> In-Reply-To: <20160903203455.GB83214@kib.kiev.ua> References: <1472927832.254600230.0917rnnm@frv35.fwdcdn.com> <20160903190950.GA83214@kib.kiev.ua> <1472932913.386457492.0z8b0wn5@frv35.fwdcdn.com> <20160903203455.GB83214@kib.kiev.ua> X-Reply-Action: reply Received: from universite@ukr.net by frv35.fwdcdn.com; Sun, 04 Sep 2016 00:37:15 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary Content-Disposition: inline X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2016 21:37:22 -0000 --- Original message --- From: "Konstantin Belousov" Date: 3 September 2016, 23:35:17 > On Sat, Sep 03, 2016 at 11:08:41PM +0300, Vladislav Prodan wrote: > > > > > > > > --- Original message --- > > From: "Konstantin Belousov" > > Date: 3 September 2016, 22:10:13 > > > > > > > > > On Sat, Sep 03, 2016 at 09:46:30PM +0300, Vladislav Prodan wrote: > > > > > > > > I encountered a similar problem on Intel S1200RP motherboard. > > > > > > > > Attached is the output dmesg: > > > > http://pastebin.com/raw/ut11rb2T > > > Is this from a succesful boot ? I.e., userland did started normally. > > > > Yes. > > > > > > > > Please use 11.0 and provide me with the verbose dmesg of both succesful > > > and hanging boot. > > > > There is no opportunity and time to install FreeBSD 11.0. > > C client approved installation FreeBSD 10.3-STABLE. > It will be much less opportunity and much more time required to track it > down with debugging done on 10 and not HEAD or 11. > > Also, there were some significant changes in 11/HEAD WRT LAPIC timer, > which might directly affect this machine. Note that you really do not > need to overwrite the 10.3 userspace, I only need 11 or HEAD kernel. > > > > > There is a screenshot at the time of freezing: > > http://s017.radikal.ru/i412/1609/cf/f24d5d5a61c0.jpg > So now I am confused. The system hangs at boot, according to the > screenshot. Also, you stated that changing eventtimer choice with sysctl > (from LAPIC ?) to HPET helps. Sysctl cannot be issued unless system > booted to at least single-user mode. Yes you are right. The system is loaded with LAPIC. ... Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ... But then, through the sysctl overridden in HPET. >On Sun, Aug 30, 2015 at 09:17:06AM +0300, Vladimir Laskov wrote: >> Hello, All. >> >> I have a problem on Intel S1200RP Board. >> >> boot process is freeze on boot stage >> >> how to repeat? >> >> 1. launch system reboot >> 2. wait to start kernel initialization stage >> 3. system freeze on kernel initialization stage >> >> screenshot here >> http://oi62.tinypic.com/33d8jz5.jpg >> >> please help me >> >> P.S. - if i reset system and boot linux, freebsd start without freeze Perhaps, ACPI motherboard has short-term memory :) > > Regardless of the answer to the question above, apply the following > debugging patch to the kernel and show the screenshot of the hang. > I'm not sure I can reproduce freeze. > Index: sys/amd64/amd64/mp_machdep.c > =================================================================== > --- sys/amd64/amd64/mp_machdep.c (revision 305361) > +++ sys/amd64/amd64/mp_machdep.c (working copy) > @@ -1007,6 +1007,7 @@ start_ap(int apic_id) > int vector, ms; > int cpus; > > +printf("start_ap apic_id %d\n", apic_id); > /* calculate the vector */ > vector = (boot_address >> 12) ΓΏ -- Vladislav V. Prodan System & Network Administrator support.od.ua