From owner-freebsd-stable@freebsd.org Thu Dec 13 11:15:41 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8685A1317860 for ; Thu, 13 Dec 2018 11:15:41 +0000 (UTC) (envelope-from sascha@mail1.hosting.ntag.de) Received: from mail1.hosting.ntag.de (mail1.hosting.ntag.de [81.209.134.220]) (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 D1D90832BD for ; Thu, 13 Dec 2018 11:15:40 +0000 (UTC) (envelope-from sascha@mail1.hosting.ntag.de) Received: from mail1.hosting.ntag.de (localhost [127.0.0.1]) by mail1.hosting.ntag.de (8.15.2/8.15.2) with ESMTPS id wBDAuGco029416 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 13 Dec 2018 11:56:16 +0100 (CET) (envelope-from sascha@mail1.hosting.ntag.de) Received: (from sascha@localhost) by mail1.hosting.ntag.de (8.15.2/8.15.2/Submit) id wBDAuGPw029415 for freebsd-stable@freebsd.org; Thu, 13 Dec 2018 11:56:16 +0100 (CET) (envelope-from sascha) Date: Thu, 13 Dec 2018 11:56:16 +0100 From: Sascha Klauder To: freebsd-stable@freebsd.org Subject: boot hang with certain Phenom II cpu models Message-ID: <20181213105616.GA27140@hosting.ntag.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.5 (2018-04-13) X-Rspamd-Queue-Id: D1D90832BD X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.44 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.32)[0.318,0]; MX_GOOD(-0.01)[cached: mail1.hosting.ntag.de]; HFILTER_HELO_2(1.00)[mail1.hosting.ntag.de]; RCVD_IN_DNSWL_NONE(0.00)[220.134.209.81.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_MEDIUM(0.93)[0.934,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[sascha@hosting.ntag.de,sascha@mail1.hosting.ntag.de]; DMARC_NA(0.00)[ntag.de]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13237, ipnet:81.209.128.0/17, country:DE]; FROM_NEQ_ENVFROM(0.00)[sascha@hosting.ntag.de,sascha@mail1.hosting.ntag.de]; MID_RHS_MATCH_FROM(0.00)[] 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: Thu, 13 Dec 2018 11:15:41 -0000 Hi all, I've recently upgraded my Athlon II based home box (happily running FreeBSD for several years) to a Phenom II X4 960T CPU. Now, kernel (11.2) hangs in early hardware initialization. Mainboard is a nForce 720 based Gigabyte GA-M720-US3 rev 1.0, BIOS is latest and the CPU is on Gigabyte's CPU support list for this board. A parallel Windows 7 installation continues to work flawlessly and the system is stable running prime95. Memtest86 reports no errors. I've tried several other OS boot media (DragonFly 5.4, OpenBSD 6.4, Linux 4.9) -- all boot fine with no problems (see dmesg output linked below). I've found two very similiar problem reports on the FreeBSD forums. Both involve Phenom II cpu's and nForce-based mainboards, so I think we're missing some BIOS/ACPI quirk here. https://forums.freebsd.org/threads/10-1-installer-wont-boot-past-acpi.50015/ https://forums.freebsd.org/threads/boot-hangs-after-cpu-upgrade.64410/ So far, I tried (unsuccessfully) to disable obvious ACPI sub- systems (cpu, mwait, quirks) and debug settings (acpi.cpu_unordered, acpi.max_threads). Anyone got a hint where to look or debug this further? kernel boot messages (obtained from 10.4 amd64): https://lair.griffinsplace.de/~sascha/phenom/dmesg-freeze-FreeBSD10.txt boot messages with the previous Athlon II cpu in this system: https://lair.griffinsplace.de/~sascha/phenom/dmesg-FreeBSD-AthlonII.txt boot messages from DFly, OpenBSD and Linux: https://lair.griffinsplace.de/~sascha/phenom/ Cheers, -sascha