Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <richard@stommel.tamu.edu>
Subject: Re: Modules with 2.0.x ?
Date: Wed, 30 Apr 1997 01:31:18 -0500 (CDT)	[thread overview]
Message-ID: <199704300631.BAA06955@stommel.tamu.edu> (raw)
In-Reply-To: <199704291838.UAA25689@batman.ag1.mpi-sb.mpg.de>

> what do I need to do to get modules working with a 2.0.x kernel (based
> on RedHat 4.1, i.e. ELF). If found only modutils for 2.1.x kernels and
> modutils-2.1.34 always gives me "init_module: Bad address".

Apply the following patch to your kernel headers and
rebuild modutils 2.1.34.

r~

--- linux-2.0.27/include/asm-alpha/unistd.h.orig        Mon Nov 18 02:25:38 1996
+++ linux-2.0.27/include/asm-alpha/unistd.h     Sat Mar 29 18:04:41 1997
@@ -214,7 +214,7 @@ type name (type1 arg1, type2 arg2, type3
 type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5)      \
 {                                                                       \
        extern long syscall (int, ...);                                  \
-       return syscall(__NR_##name, arg1, arg2, arg3, arg4);             \
+       return syscall(__NR_##name, arg1, arg2, arg3, arg4, arg5);       \
 }
 
 #endif /* __LIBRARY__ && __GNUC__ */

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-04-30  6:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199704291838.UAA25689@batman.ag1.mpi-sb.mpg.de>
1997-04-30  6:31 ` Richard Henderson [this message]
1997-04-30 17:59   ` Modules with 2.0.x ? Hein Roehrig
     [not found] <199704301759.TAA04106@batman.ag1.mpi-sb.mpg.de>
1997-04-30 21:22 ` Hein Roehrig
1997-04-29 18:38 Hein Roehrig
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox