grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing prefix not fatal


From: Hollis Blanchard
Subject: Re: missing prefix not fatal
Date: Tue, 26 Jul 2005 23:58:11 -0400

On Jul 13, 2005, at 4:59 PM, Vincent Pelletier wrote:
Index: kern/dl.c
===================================================================
RCS file: /cvsroot/grub/grub2/kern/dl.c,v
retrieving revision 1.10
diff -u -p -r1.10 dl.c
--- kern/dl.c   14 Feb 2005 18:41:33 -0000      1.10
+++ kern/dl.c   12 Jul 2005 18:51:52 -0000
@@ -618,7 +618,10 @@ grub_dl_load (const char *name)
    return mod;

  if (! grub_dl_dir)
-    grub_fatal ("module dir is not initialized yet");
+    {
+      grub_error(0,"module dir is not initialized yet");
+      return 0;
+    }


Can you explain this?

Hollis told me it should have been only an error.
I was getting this fatal in the early stages of porting (after I got the
ieee calls working and before I got the mm.c problems).
So I left it in the final patch.
Hollis, could you confirm / infirm that ?

What do you mean "confirm"? This is simply not a fatal error. If you don't have a prefix, you cannot load modules, and that's all.

I need this same change as I've been trying to boot on qemu. It should be committed.

-Hollis





reply via email to

[Prev in Thread] Current Thread [Next in Thread]