more load_elf_interp() messages?

Jason Gauthier (jgauthie@www.ctghub.com)
Thu, 05 Feb 1998 17:05:46 -0500


Today something strange happened to a machine i was using. All of a sudden
the entire machine ground to a halt. It took minutes just to get a return to
react. Trying to run a 'w' to see if it was the load, i received a seg fault.
(after several patient minutes)
Well, since i was using this remotly, i called the admin of the machine and
had him reboot it. After coming up i checked the logs and found 4 of these:
Unable to load interpreter
So, i checked the kernel sources, noticed it was coming from fs/binfmt_elf.c
it appears to print this message and send the process a SIGSEGV when
load_elf_interp returns a ~OUL;
So i checked out load_elf_interp for some info, and noticed it could return a
~OUL in 6 different places!
What i was hoping for was maybe some printk()'s before each return to let us
know why it is returning a ~0UL?
It would be extremely useful in the future where this to happen again.
I would happily do it and create a patch myself, but i have no idea what the
code is doing :)

Thanks!
Jason

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu