public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* module insertion failed
@ 2006-06-09 12:08 박길준
  2006-06-09 15:10 ` William Cohen
  2006-06-09 18:22 ` Frank Ch. Eigler
  0 siblings, 2 replies; 3+ messages in thread
From: 박길준 @ 2006-06-09 12:08 UTC (permalink / raw)
  To: systemtap

Hi, all

I writes hello.stp file, shown below

probe begin
{
	print("hello\n")

	exit()
}

And I run this stp file ( # stap -v -k hello.stp)

But, stap generates the error that it complains "Invalid module format".

what is the problem?

Thanks advanced...


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

* Re: module insertion failed
  2006-06-09 12:08 module insertion failed 박길준
@ 2006-06-09 15:10 ` William Cohen
  2006-06-09 18:22 ` Frank Ch. Eigler
  1 sibling, 0 replies; 3+ messages in thread
From: William Cohen @ 2006-06-09 15:10 UTC (permalink / raw)
  To: 박길준; +Cc: systemtap

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=EUC-KR, Size: 786 bytes --]

¹Ú±æÁØ wrote:
> Hi, all
> 
> I writes hello.stp file, shown below
> 
> probe begin
> {
> 	print("hello\n")
> 
> 	exit()
> }
> 
> And I run this stp file ( # stap -v -k hello.stp)
> 
> But, stap generates the error that it complains "Invalid module format".
> 
> what is the problem?
> 
> Thanks advanced...


Hi,

There isn't enough information here to figure out what is going on.
Could you give more context about the system environment?
What architecture is this on?
What distribution of software is being used?
What versions of systemtap, kernel, and gcc are being used?
Are there any messages at the end of /var/log/messages related to the
attempted load of the module?
You might use "-vv" to get more details on how the instrumentation is
being built for the kernel.

-Will

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

* Re: module insertion failed
  2006-06-09 12:08 module insertion failed 박길준
  2006-06-09 15:10 ` William Cohen
@ 2006-06-09 18:22 ` Frank Ch. Eigler
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2006-06-09 18:22 UTC (permalink / raw)
  To: 박길준; +Cc: systemtap

=?ks_c_5601-1987?B?udqx5sHY?= <kjpark@harasystems.com> writes:

> [...]
> And I run this stp file ( # stap -v -k hello.stp)
> But, stap generates the error that it complains "Invalid module format".
> what is the problem?

I haven't seen this error message before via systemtap.  Perhaps
something is strange with your kernel module build environment, like
the compiler or whatnot.  Try more verbosity ("-vvv"); examine the
".ko" file left behind due to "-k" and try insmod'ing it by hand.
Failing these, send us more information about your exact kernel
version, architecture, compiler version, etc.

- FChE

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

end of thread, other threads:[~2006-06-09 18:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-09 12:08 module insertion failed 박길준
2006-06-09 15:10 ` William Cohen
2006-06-09 18:22 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).