* Modules with 2.0.x ?
@ 1997-04-29 18:38 Hein Roehrig
0 siblings, 0 replies; 4+ messages in thread
From: Hein Roehrig @ 1997-04-29 18:38 UTC (permalink / raw)
Hi all,
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". The other
file I found was insmod-bfd-0.2.tar.gz, but I couldn't get this to
work either (I gather it is for ECOFF, not ELF object files).
Thanks in advance,
Hein
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Modules with 2.0.x ?
[not found] <199704291838.UAA25689@batman.ag1.mpi-sb.mpg.de>
@ 1997-04-30 6:31 ` Richard Henderson
1997-04-30 17:59 ` Hein Roehrig
0 siblings, 1 reply; 4+ messages in thread
From: Richard Henderson @ 1997-04-30 6:31 UTC (permalink / raw)
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Modules with 2.0.x ?
1997-04-30 6:31 ` Richard Henderson
@ 1997-04-30 17:59 ` Hein Roehrig
0 siblings, 0 replies; 4+ messages in thread
From: Hein Roehrig @ 1997-04-30 17:59 UTC (permalink / raw)
> > 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.
Thanks for that tip. Now inserting modules works ok, but printk does
not work (it just puts something like <sc 347(0,0,0)>trash) and in
/proc/devices my device as an empty identification -- looks something
is wrong with the data segment(?) Modules from the 2.0.30 tree won't
work either.
TIA,
Hein
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Modules with 2.0.x ?
[not found] <199704301759.TAA04106@batman.ag1.mpi-sb.mpg.de>
@ 1997-04-30 21:22 ` Hein Roehrig
0 siblings, 0 replies; 4+ messages in thread
From: Hein Roehrig @ 1997-04-30 21:22 UTC (permalink / raw)
Arg. Sorry, did not RTFM. (-DAXP_BROKEN_GAS)
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-04-30 21:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-29 18:38 Modules with 2.0.x ? Hein Roehrig
[not found] <199704291838.UAA25689@batman.ag1.mpi-sb.mpg.de>
1997-04-30 6:31 ` Richard Henderson
1997-04-30 17:59 ` Hein Roehrig
[not found] <199704301759.TAA04106@batman.ag1.mpi-sb.mpg.de>
1997-04-30 21:22 ` Hein Roehrig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox