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?

-- 
Andriy Gapon
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to