From owner-freebsd-fs@freebsd.org Fri Aug 7 21:45:03 2015 Return-Path: Delivered-To: freebsd-fs@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 6EB169B6420 for ; Fri, 7 Aug 2015 21:45:03 +0000 (UTC) (envelope-from wfc@mintsol.com) Received: from scully.mintsol.com (scully.mintsol.com [199.182.77.206]) (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 27469F06; Fri, 7 Aug 2015 21:45:02 +0000 (UTC) (envelope-from wfc@mintsol.com) Received: from mintsol.com (adsl-99-96-152-170.dsl.sfldmi.sbcglobal.net [99.96.152.170]) by scully.mintsol.com with esmtp; Fri, 07 Aug 2015 17:39:53 -0400 id 0008FC7A.0000000055C525A9.000161EC Received: from localhost (localhost [127.0.0.1]) (IDENT: uid 1002) by mintsol.com with esmtp; Fri, 07 Aug 2015 17:39:53 -0400 id 00000232.55C525A9.00003DB9 Date: Fri, 7 Aug 2015 17:39:53 -0400 (EDT) From: Walter Cramer To: John Baldwin cc: freebsd-fs@freebsd.org Subject: Re: BTX halted In-Reply-To: <2241493.vMCzZXQH3f@ralph.baldwin.cx> Message-ID: <20150807172126.H12135@mulder.mintsol.com> References: <1429520064.12915.56.camel@data-b104.adm.slu.se> <2241493.vMCzZXQH3f@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2015 21:45:03 -0000 FWIW, I've gotten very similar errors with SuperMicro H8SMi-2 motherboards= =20 (NOT on their FreeBSD Compatible list) with a 10.1-Release & RootOnZFS=20 test HD. Switching the BIOS settings from "optimal" to "failsafe" fixes=20 the problem; setting ACPI to v3.0 brings it back. I have an idle H2SMi-2 test system, but not much free time in the next=20 week. Walter Cramer On Fri, 7 Aug 2015, John Baldwin wrote: > On Monday, April 20, 2015 08:54:24 AM Karli Sj=F6berg wrote: >> Hey all! >> >> I was just upgrading one of our storage's to 10-STABLE as per Bug >> 191348[*] when something strange happened after writing new boot code >> and rebooting: >> >> BTX loader 1.00 BTX version is 1.02 >> Consoles: internal video/keyboard >> BIOS drive C: is disk8 >> BIOS drive D: is disk9 >> >> int=3D00000000 err=3D00000000 efl=3D00010246 eip=3D00037d34 >> eax=3D00000001 ebx=3D00000000 ecx=3D00000000 edx=3D00000000 >> esi=3D00000000 edi=3D00000000 ebp=3D0008f600 esp=3D0008f598 >> cs=3D002b ds=3D0033 es=3D0033 fs=3D0033 gs=3D0033 ss=3D0033 >> cs:eip=3Df7 35 d0 f4 03 00 85 f6-74 05 89 3e 89 5e 04 89 >> c2 e9 cc 00 00 00 66 c7-45 ea 00 00 89 d8 c1 e8 >> ss:esp=3D00 00 20 00 00 00 00 00-00 00 00 00 00 00 00 00 >> 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 >> BTX halted >> >> Never happened to me before. I then booted with a 10.1-RELEASE CD and >> wrote bootcode from that, same problem. 9.3; same there... >> >> Any pointers? > > Hmm, looks like a divide-by-zero fault: > > 00000000 F735D0F40300 div dword [dword 0x3f4d0] > 00000006 85F6 test esi,esi > 00000008 7405 jz 0xf > 0000000A 893E mov [esi],edi > 0000000C 895E04 mov [esi+0x4],ebx > 0000000F 89C2 mov edx,eax > 00000011 E9CC000000 jmp dword 0xe2 > 00000016 66C745EA0000 mov word [ebp-0x16],0x0 > 0000001C 89D8 mov eax,ebx > > Are you using ZFS or UFS? Also, do you have the world build from when yo= u > did this? If so we can use gdb on the 'loader.sym' file to map the fault= ing > instruction (eip above) to a source line. > > --=20 > John Baldwin > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"