Keith Owens writes:
> On Sat, 25 Nov 2000 06:10:54 -0500 (EST), 
> [EMAIL PROTECTED] (Steven S. Dick) wrote:
> >2.4.0-test11-pre1 seems to have broken something.
> >I have no problems with test10, but test11-pre1 gives three oops
> >messages during boot.  test11-final gives the exact same OOPS messages...
> 
> Which modutils?  And if it is not 2.3.21, upgrade.

Steven probably wants to apply this patch to test11:

--- orig/kernel/module.c        Wed Nov 22 14:08:23 2000
+++ linux/kernel/module.c       Sat Nov 25 10:40:26 2000
@@ -480,7 +480,9 @@
 
        /* Ok, that's about all the sanity we can stomach; copy the rest.  */
 
-       if (copy_from_user(mod+1, mod_user+1, mod->size-sizeof(*mod))) {
+       if (copy_from_user((char *)mod+mod_user_size,
+                          (char *)mod_user+mod_user_size,
+                          mod->size-mod_user_size)) {
                error = -EFAULT;
                goto err3;
        }

   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |         Russell King        [EMAIL PROTECTED]      --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html   /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to