Date: Wed, 14 Nov 2012 11:59:45 -0800 From: Navdeep Parhar <nparhar@gmail.com> To: Andriy Gapon <avg@FreeBSD.org> Cc: freebsd-current@FreeBSD.org Subject: Re: Supermicro X8DT6 crashes in bootloader after r239066 Message-ID: <50A3F831.2090108@gmail.com> In-Reply-To: <50A37DC8.9030108@FreeBSD.org> References: <CAFMmRNxxcka3oRKAyq=0Hts43VM-bvzWX_VDbyFpFV5thJOL%2Bw@mail.gmail.com> <20121031053113.GA1446@itx> <50A37DC8.9030108@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A3F831.2090108>