public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: kaos@ocs.com.au (Keith Owens)
Cc: ssd@nevets.oau.org (Steven S. Dick), linux-kernel@vger.kernel.org
Subject: Re: 2.4.0-test11 (pre1, final) OOPS during boot/modprobe
Date: Sat, 25 Nov 2000 12:27:24 +0000 (GMT)	[thread overview]
Message-ID: <200011251227.eAPCRPe19247@flint.arm.linux.org.uk> (raw)
In-Reply-To: <6809.975153913@ocs3.ocs-net> from "Keith Owens" at Nov 25, 2000 11:05:13 PM

Keith Owens writes:
> On Sat, 25 Nov 2000 06:10:54 -0500 (EST), 
> ssd@nevets.oau.org (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        rmk@arm.linux.org.uk      --- ---
  | | | | 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-11-25 12:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-25 11:10 2.4.0-test11 (pre1, final) OOPS during boot/modprobe Steven S. Dick
2000-11-25 12:05 ` Keith Owens
2000-11-25 12:27   ` Russell King [this message]
2000-11-25 12:36     ` Keith Owens
2000-11-25 16:21     ` Steven S. Dick
2000-11-25 17:03       ` Keith Owens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200011251227.eAPCRPe19247@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ssd@nevets.oau.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox