I have a small embedded system based on the ZFx86 chip. Which is
basically a 486 pc. The throuble was that grub just hangs during the
loading of stage2. I have track the problem down to a int13 call
function 48h. The problem is that the size of the drive_parameters
structure is to big causing the bios to hang. The structure is appended
with 16 bytes because of problem with the 'Thinkpad X20' but the size is
not corrected. The following small patch fixed the problem for me.

Peter Jannesen

--- grub-0.93.org/stage2/bios.c 2001-12-30 08:33:23.000000000 +0100
+++ grub-0.93/stage2/bios.c     2004-01-15 00:03:03.000000000 +0100
@@ -169,7 +169,7 @@
          /* It is safe to clear out DRP.  */
          grub_memset (&drp, 0, sizeof (drp));
 
-         drp.size = sizeof (drp);
+         drp.size = sizeof(drp)-16;
          err = get_diskinfo_int13_extensions (drive, &drp);
          if (! err)
            {




_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to