URL:
  <http://savannah.gnu.org/bugs/?44448>

                 Summary: grub refuses to load (or recognize) a freebsd module
-- "file not found"
                 Project: GNU GRUB
            Submitted by: bergerkos
            Submitted on: Fri 06 Mar 2015 12:44:42 PM GMT
                Category: Terminal
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Kostya Berger
        Originator Email: berger...@yahoo.co.uk
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Git master
         Reproducibility: None
         Planned Release: None

    _______________________________________________________

Details:

Grub2 "cannot find" a freebsd module on boot. 

Configuration: freebsd 10.1 on zfs root, modules situated in the folder
$zpool@/boot/kernel. 
This may be important: there are 767 $module.ko + $module.ko.symbols pairs in
there. All in all 1537 files.

What happens (boot prompt): 
grub>ls $zpool@/boot/kernel -- lists ALL the modules found in that folder. 

grub>ls -l $zpool@/boot/kernel -- only lists SOME of the modules in the folder
and doesn't "see" other ones.

grub>ls $zpool@/boot/kernel/$module.ko -- will only list one that was
recognized by the `ls -l` command, for others it returns "file not found"
error.

However:
grub>ls $zpool@/boot/kernel/$mymodulename... (press <Tab>) -- will complete
the module name all right. But trying to load this one will still return "file
not found" error.

And finally: I tried to make a separate folder /boot/myfolder and copy ONLY
the three "problematic" modules I need -- grub2 has no problems loading
modules from that folder.

These are precisely opensolaris.ko, linux.ko and zfs.ko, but there are also
other ones that aren't recognized this way.

Does the "excessive" total number of files in the /boot/kernel folder make
grub2 stumble?




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44448>

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


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to