Re: kernel problems

Michael Elizabeth Chastain (mec@shout.net)
Wed, 13 May 1998 22:27:04 -0500


Hi Jeff,

The common thread here is that you can't run executable files on
your system.

Try this:

cd /usr/src/linux
mkdir x ; cd x
cat > hello.c << HERE
#include <stdio.h>
int main( )
{
printf( "hello, world\n" );
return 0;
}
HERE
cc hello.c
a.out
./a.out
cd ..
x/a.out
./x/a.out

You should be able to compile and run hello.c with any of these commands.

Things to try:

(1) Don't login as root. Blow away /usr/src/linux and install it as
a normal user in the user's home directory.

(2) Check your umask. Say 'umask' and check the first digit. If the
first digit is odd, that is your problem. Try 'umask 0'.

(3) Maybe you have some terminally bizarre file system configuration.

Try these things, gather up a report, and e-mail me.

Michael Chastain
<mailto:mec@shout.net>
"love without fear"

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