public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: moret@cs.unm.edu
To: linux-kernel@vger.kernel.org
Subject: problem with modules (modutils) and 2.5.31 kernel
Date: Tue, 20 Aug 2002 20:25:19 -0600	[thread overview]
Message-ID: <20020821022519.GA2554@cs.unm.edu> (raw)

I searched for, but could not find references to, a problem
I have with 2.5.31 and modutils.  (2.5.31 running with Debian
distribution on a P3 laptop or on two different P4 workstations,
each with a somewhat different kernel configuration -- no further
details here, in case this is already a well-known problem.)

  insmod, depmod, update-modules all fail with the message:

=>   kernel: QM_SYMBOLS: Bad address


That message comes from the routine new_get_kernel_info (in modstat.c,
a part of the modutils package 2.4.19-3 under Debian), in response to
a call to query_module that is querying the kernel itself:

  query_module(NULL, QM_SYMBOLS, syms, bufsize, &ret)

The return code is -1 (error) and errno is the code for EFAULT,
indicating a bad address for one of syms or ret.

Is the problem that the modutils version (2.4.19-3 from Debian
unstable, in either precompiled or locally built versions)
is too old for the 2.5.31 kernel?  (I see references
to a forthcoming modutils 2.5, but could not locate it.)
Or is there a known problem with the kernel itself?

Sorry if this message is a bit naive.  I do need the 2.5.31 kernel,
because the 2.4.19 (and earlier) kernels cannot correctly assign
IRQs and iomem addresses to my Dell machine (problems with handling
the 82801DB ICH4 controller resulting in extremely poor IDE disk
performance and incorrect USB handling), whereas the 2.5.31 kernel
has no problem there.
However, I need to use a couple of modules (they cannot be compiled
directly into the kernel) and so need to get around that problem
with modutils.  Any pointers or patches appreciated!

					Bernard Moret
-- 
Bernard M.E. Moret	     moret@cs.unm.edu      http://www.cs.unm.edu/~moret
(505) 277-5699 (office)    (505) 277-6927 (FAX)     (505) 277-3112 (department)
Department of Computer Science, University of New Mexico, Albuquerque, NM 87131

             reply	other threads:[~2002-08-21  3:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-21  2:25 moret [this message]
2002-08-21  4:50 ` problem with modules (modutils) and 2.5.31 kernel Keith Owens
2002-08-21 18:16   ` Andrew Rodland
2002-08-21  7:44 ` Heinz Diehl

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=20020821022519.GA2554@cs.unm.edu \
    --to=moret@cs.unm.edu \
    --cc=linux-kernel@vger.kernel.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