kerneld and module success!

a sun (asun@zoology.washington.edu)
Fri, 11 Oct 1996 20:14:58 -0700 (PDT)

i've successfully gotten my udb box to use kerneld and modules under
2.1.3 (stock with timespecbits.h added from axp-diffs, other stuff
from RH4.0). here's what i did:

1) i needed to strip symbols from the kernel in order for milo to load
it without giving me a found 2 headers instead of 1 message.

2) i stripped the debugging symbols from my modules so that insmod
wouldn't complain about modules that were too big.

3) i used depmod, genksyms, and kerneld from modules-2.0.0. depmod
needs to be compiled with -DUSE_BFD and kerneld needs to have its
syscall prototype removed.

4) i added insmod-2.0.0's default_path and autoclean support to
insmod-bfd-0.2. i also added the syslog flag, but i didn't make it
do anything.

things seem to work except that top has decided to give me the
following core dump message when i ^C or ^Z out of it:
memory violation at pc=20004f90 rp=11ffffc48 (bad
address=20004f90)
Segmentation violation (core dump)

some questions:
1) why did i have to do #1 and #2 to get things to work? having to
strip symbols from the kernel seems mighty strange to me.

2) is bfd support being added to the module-2.0.0 insmod as we speak?

3) why is top dying in such a manner? i think a strip --strip-debug on
vmlinux also does a similar thing.

-a

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices