Re: about 2.1.18 and modules

Alessandro Suardi (asuardi@uninetcom.it)
Tue, 31 Dec 1996 00:48:02 +0100


Richard Henderson wrote:
>
[snip]
> So! There exists a snapshot of a new modutils that contains
> a new insmod that will work with 2.1.18 that could be, um,
> stress tested by those that do not need or can temporarily
> do without modversions or depmod. The rest of you will
> simply have to be patient with 2.1.17 while I attempt to
> catch up.
>
> But for those who would like to play, Thursday's version is
> located at
>
> ftp://ftp.redhat.com/pub/alphabits/modutils-961226.tar.gz
>
> Though I'll try and have a new version out there this afternoon,
> as I believe there was one trivial bug in the i386 support
> that has since been fixed.
>
> r~

Tried but could not get it to work. Main observations:

1. topdir does not contain a Makefile (though simply dropping
in 2.1.13 Makefile seems OK)
2. genksyms directory's files are inconsistent with Makefile
in that directory, so it won't build
3. after installing all except genksyms I couldn't still run
anything; following lsmod with GDB I see that query_module
returns EFAULT (hmm, rather than installing I should say
mv'ing files), depmod -a still complains about unresolved
symbols like this (invoked with -e flag):

*** Unresolved symbols in module /lib/modules/2.1.18/fs/binfmt_aout.o
__this_module
do_mmap
current_set
open_namei
get_write_access
put_write_access
iput
printk
flush_old_exec
read_exec
open_inode
sys_close
send_sig
lookup_exec_domain
setup_arg_pages
register_binfmt
unregister_binfmt

patching source tree back to 2.1.17 for now...

Cheers,

--alessandro <asuardi@uninetcom.it> <asuardi@it.oracle.com>

Linux kernel-2.1.17 libc-5.4.17 gcc-2.7.2.1 binutils-2.7.0.3