From owner-freebsd-stable@freebsd.org Mon Oct 17 17:30:46 2016 Return-Path: Delivered-To: freebsd-stable@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 F36F4C15B6A for ; Mon, 17 Oct 2016 17:30:46 +0000 (UTC) (envelope-from lists@yamagi.org) Received: from mail1.yamagi.org (yugo.yamagi.org [212.48.122.103]) (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 BCD00974 for ; Mon, 17 Oct 2016 17:30:45 +0000 (UTC) (envelope-from lists@yamagi.org) Received: from p5b0be342.dip0.t-ipconnect.de ([91.11.227.66] helo=pine.home.yamagi.org) by mail1.yamagi.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1bwB9B-000ChX-Aw for freebsd-stable@freebsd.org; Mon, 17 Oct 2016 18:52:25 +0200 Date: Mon, 17 Oct 2016 18:52:15 +0200 From: Yamagi Burmeister To: freebsd-stable@freebsd.org Subject: Re: I'm upset about FreeBSD Message-Id: <20161017185215.97528d6cf6377058e4760785@yamagi.org> In-Reply-To: References: X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2016 17:30:47 -0000 On Mon, 17 Oct 2016 03:44:14 +0300 Rostislav Krasny wrote: > First of all I faced an old problem that I reported here a year ago: > http://comments.gmane.org/gmane.os.freebsd.stable/96598 > Completely new USB flash drive flashed by the > FreeBSD-11.0-RELEASE-i386-mini-memstick.img file kills every Windows > again. If I use the Rufus util to write the img file (using DD mode) > the Windows dies immediately after the flashing. If I use the > Win32DiskImager (suggested by the Handbook) it doesn't reinitialize > the USB storage and Windows dies only if I remove and put that USB > flash drive again or boot Windows when it is connected. Nothing was > done to fix this nasty bug for a year. As was already said in the other answers this is a bug in Windows. Particulary in the partition parser. partmgr.sys (running in kernel mode) crashes while parsing the FreeBSD installation images GPT setup. This may be a variant of the bug known as "Kindle is crashing Win 10": http://answers.microsoft.com/en-us/windows/forum/windows_10-performance/plugging-in-kindle-is-crashing-windows-10-after/5db0d867-0822-4512-919e-3d7786353f95?page=1 That bug was patched on september 13 and I'm unable to reproduce the crash on a fully patched Win 10 VM. But there's no patch for Win 7, even with all patches applied my Win 7 VM is still crashing as soon as the FreeBSD installation image is connected. I did some debugging and I'm pretty sure that the problem is not the pmbr used for classic BIOS boot but the GPT itself. But my knowledge of GPT and especially Windows internals is limit. So maybe someone with more insight can look into this. Or even better: Complain to Microsoft. Even if the GPT is invalid it should crash the kernel. Regards, Yamagi -- Homepage: www.yamagi.org XMPP: yamagi@yamagi.org GnuPG/GPG: 0xEFBCCBCB