bug-grub
[Top][All Lists]
Advanced

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

Re: Strange problem...


From: Mathieu Chouquet-Stringer
Subject: Re: Strange problem...
Date: 30 Jan 2001 17:27:33 -0500

address@hidden (Jared Ream) writes:
> What I don't understand is why, after making the previously suggested
> changes, these errors still show, and Grub does not properly install.

I don't know cluclo: is this a distribution or something like that?? If
yes, do you have the file /sbin/modprobe? If no, what you could do is:

echo "/your_path/your_program" > /proc/sys/kernel/modprobe

This is a variable which stores the path and name of the so-called
modprobe.

I read the source of kmod.c and I found that:

        static char * envp[] = { "HOME=/", "TERM=linux", 
"PATH=/sbin:/usr/sbin:/bin:/usr/bin", NULL };
        char *argv[] = { modprobe_path, "-s", "-k", "--", (char*)module_name, 
NULL };
        int ret;

        ret = exec_usermodehelper(modprobe_path, argv, envp);
        if (ret) {
                printk(KERN_ERR
                       "kmod: failed to exec %s -s -k %s, errno = %d\n",
                       modprobe_path, (char*) module_name, errno);
        }

So just create a script (or even a C program) that returns 0. That should
do the trick. It is ugly but I need more information about cluclo to
help...

-- 
Mathieu CHOUQUET-STRINGER              E-Mail : address@hidden
     Learning French is trivial: the word for horse is cheval, and
               everything else follows in the same way.
                        -- Alan J. Perlis



reply via email to

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