Re: problem with modules (modutils) and 2.5.31 kernel

Andrew Rodland (arodland@noln.com)
Wed, 21 Aug 2002 14:16:42 -0400


--N_q7sw1=.ZzOqBKV
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Wed, 21 Aug 2002 14:50:17 +1000
Keith Owens <kaos@ocs.com.au> wrote:

> On Tue, 20 Aug 2002 20:25:19 -0600,
> moret@cs.unm.edu wrote:
> >I searched for, but could not find references to, a problem
> >I have with 2.5.31 and modutils.
> > insmod, depmod, update-modules all fail with the message:
> >
> >=> kernel: QM_SYMBOLS: Bad address
>
> Disable CONFIG_PREEMPT and rebuild the kernel.

or, as per a previous thread on the same issue, change line 181 of
arch/i386/mm/fault.c from:

if (preempt_count() || !mm)

to:

if (in_interrupt() || !mm)

and rebuild.

Sorry, no time to fool around with diff right now. Hope it was helpful.
--hobbs

--N_q7sw1=.ZzOqBKV
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Y9kPQ3MWXxdwvVwRAuQbAJ4o4rLFrP18gdMBjXYEx2ezP2mToQCfR42Q
ms7Akr6o89B8heESB8qnXpw=
=2EJg
-----END PGP SIGNATURE-----

--N_q7sw1=.ZzOqBKV--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/