Re: Supermicro X8DT6 crashes in bootloader after r239066

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Wed, 14 Nov 2012 13:17:28 +0200
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
> _at__at_ -62,6 +62,7 _at__at_ 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?

-- 
Andriy Gapon
Received on Wed Nov 14 2012 - 10:17:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC