From owner-freebsd-current@FreeBSD.ORG Wed Nov 14 19:59:49 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 344F4EEA; Wed, 14 Nov 2012 19:59:49 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id EE4FD8FC12; Wed, 14 Nov 2012 19:59:48 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id kp6so582715pab.13 for ; Wed, 14 Nov 2012 11:59:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Qb3xMU0whetY8LX3za08DUYOW2180vam9ZoN+twl22g=; b=rDg2/SjAHArkGS/xX3xTM8c0uUtnZdJkpGjgF+Ew2qpPkR0RSG/CcielOJ1t0VtGKa CjfyiiztJJuMSPkCqJvpEwFEBJfuyn8bXTcubrBwIeygLzg5IOdLaBb1zz6+R9Zd5wKC ETY56SvtdYjsypSZywi+yH9i4iutljxaGnP/z4TqgQB7jOQl0zMdGUCr94YnfA0TcjPj AcZMtOTx/khv+d/5f7CH8gZRfmyG+KLo/Nv3aMix/7CcQ117QOVKyGieTcSD4jReVa6g FHBPIwFmdvNsxCjaaNjrfTOy3vNuMLB065NVhMZkcFWfsZDOfzwuwgBhtlD/gj0F2Q0O uZOQ== Received: by 10.69.0.8 with SMTP id au8mr74769014pbd.58.1352923188735; Wed, 14 Nov 2012 11:59:48 -0800 (PST) Received: from [10.192.166.0] (stargate.chelsio.com. [67.207.112.58]) by mx.google.com with ESMTPS id x6sm8375584pav.29.2012.11.14.11.59.46 (version=SSLv3 cipher=OTHER); Wed, 14 Nov 2012 11:59:47 -0800 (PST) Message-ID: <50A3F831.2090108@gmail.com> Date: Wed, 14 Nov 2012 11:59:45 -0800 From: Navdeep Parhar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121101 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Supermicro X8DT6 crashes in bootloader after r239066 References: <20121031053113.GA1446@itx> <50A37DC8.9030108@FreeBSD.org> In-Reply-To: <50A37DC8.9030108@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2012 19:59:49 -0000 On 11/14/12 03:17, Andriy Gapon wrote: > on 31/10/2012 07:31 Navdeep Parhar said the following: >> I have one of these X8DT6 systems. It has grub2 as the primary boot >> loader which then loads zfsloader. Many weeks back I updated the BIOS, >> grub, and FreeBSD and ran into a similar problem -- zfsloader would >> start, print a few messages, and then the system would reboot. I >> tracked it down to the int 0x13 call (with eax=0x4800) in bd_int13probe. >> It would walk past the end of the edd_params structure and corrupt the >> return address on the stack. I worked around it by padding edd_params. >> I was planning to debug it further to find out which of the 3 things >> that were updated caused the problem but Other Things(tm) came up. See >> if this works for you too: >> >> diff -r d35d326e437a -r e5228169f3f1 sys/boot/i386/common/edd.h >> --- a/sys/boot/i386/common/edd.h Tue Oct 30 21:51:09 2012 -0700 >> +++ b/sys/boot/i386/common/edd.h Tue Oct 30 21:51:20 2012 -0700 >> @@ -62,6 +62,7 @@ struct edd_params { >> uint16_t sector_size; >> uint16_t edd_params_seg; >> uint16_t edd_params_off; >> + char pad[64]; >> }; > > Navdeep, > > I've committed a different antidote for this BIOS bug as r243025. > Could you please that it works for you too? > Yes it works for me too, thanks Andriy! Regards, Navdeep