Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* kerneld and module success!
@ 1996-10-12  3:14 a sun
  1996-10-12  5:06 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: a sun @ 1996-10-12  3:14 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: kerneld and module success!
  1996-10-12  3:14 kerneld and module success! a sun
@ 1996-10-12  5:06 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1996-10-12  5:06 UTC (permalink / raw)


> 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)

This is a sure sign of 64-bit uncleanliness in top.

Notice the pc is 0x20004f90 when the normal program text lies
above 0x120000000.  Someone has cast a function pointer to an
integer and expected it to be useful afterwards.

Incidentally, under normal conditions the entire low 4GB of
the address space is unused just to catch these sorts of errors.

r~

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-10-12  5:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-12  3:14 kerneld and module success! a sun
1996-10-12  5:06 ` Richard Henderson

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