Follow-up Comment #5, bugs #10433 (project grub):

We have an ugly hack, initial testing is promising, we are undertaking
further testing - as part of the new Kanotix, Clusterix and Morphix releases.


We are not satisfied with the ugly approach and are looking at other ways
around. In fact we have had quite alot of discussion about grub_printf
statement running three times, error reporting and other nicer solutions such
as:-
cdrp.size = sizeof (cdrp) - sizeof (cdrp.dummy);
if (cdrp.drive_no == drive)

This for now is a nice safe patch which will also work for 0.96

I am _not_ taking the credit for this hard work. This patch was generated by
Kanotix, Morphix and Clusterix developers. slh, kano, locsmif, g1powermac to
name just a few.

--- grub-0.95.orig/stage2/bios.c        2004-03-27 17:34:04.000000000 +0100
+++ grub-0.95/stage2/bios.c     2005-03-02 01:02:29.192582200 +0100
@@ -147,6 +147,7 @@
   grub_memset (&cdrp, 0, sizeof (cdrp));
   cdrp.size = sizeof (cdrp) - sizeof (cdrp.dummy);
   err = biosdisk_int13_extensions (0x4B01, drive, &cdrp);
+  err = 0; /* really ugly hack to circumvent faulty BIOS versions like Acer
292LMi */
   if (! err && cdrp.drive_no == drive)
     {
       if ((cdrp.media_type & 0x0F) == 0)

    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10433>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to