Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: a sun <asun@zoology.washington.edu>
Subject: kerneld and module success!
Date: Fri, 11 Oct 1996 20:14:58 -0700 (PDT)	[thread overview]
Message-ID: <199610120314.UAA17147@opus.zoology.washington.edu> (raw)

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

             reply	other threads:[~1996-10-12  3:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-12  3:14 a sun [this message]
1996-10-12  5:06 ` kerneld and module success! Richard Henderson
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