Skip to contentSkip to conversation

Configuring kernel

DISCUSSION Srinivas Chavva 5 participants 7 messages Sep 13, 2002 – Sep 17, 2002

lore
Share & tools
lore
#0 lore raw

I have Linux RedHat 7.1 installed on my machine which has a kernel version 2.4.2. I have to run a software called iSCSI for which I need a lower kernel version 2.4.16.
I downloaded the sofware and opened it in the /usr/src directory. I did the following
1. unzipped the tar file
2. mv linux linux-2.4.16
3 ln -s linux-2.4.16 linux
4. changed to linux directory and issued the command make mproper.
Then when I issued the command make xconfig I was getting errors. I got similar errors when I tried to use the following commands make menuconfig, make config.
When I used the command uname -i I still was getting the kernel version as 2.4.2.
I do not know why this error is coming.

Kindly please help.
Regards,
Srinivas Chavva

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

#1 lore raw
Quoted 11 lines

I downloaded the sofware and opened it in the /usr/src directory. I did the following
1. unzipped the tar file
2. mv linux linux-2.4.16
3 ln -s linux-2.4.16 linux
4. changed to linux directory and issued the command make mproper.
Then when I issued the command make xconfig I was getting errors. I got similar errors when I tried to use the following commands make menuconfig, make config.

What errors did you get? We need to know what the errors are to help you.

Quoted 3 lines

When I used the command uname -i I still was getting the kernel version as 2.4.2.
I do not know why this error is coming.

This is not an error. If you did not install a new kernel and reboot your computer with the new kernel, uname will still have the same kernel version. Once you have properly configured, compiled and installed the kernel and its modules, you reboot the computer to apply the new kernel. Then uname will give you the new version.

Signature · 8 lines
Adam Jaskiewicz
[email protected]
http://middlearth.d2g.com:31415
GPG Public Key at http://middlearth.d2g.com:31415/public_key.asc
--
Ehrman's Commentary:
	(1) Things will get worse before they get better.
	(2) Who said things would get better?
#2 lore raw

I seem to remember either the early RH 7.x series or 6.x series did not necessarily install ncurses by default, thus make menuconfig did not run. If you did a very slim install, you may not have the right libraries to do what you need. Do an 'rpm -q ncurses ncurses-devel' and see what you get. If either is not found, make menuconfig will not run.

Quoted 28 lines · Adam Jaskiewicz
Quoted 13 lines

I downloaded the sofware and opened it in the /usr/src directory. I did the following
1. unzipped the tar file
2. mv linux linux-2.4.16
3 ln -s linux-2.4.16 linux
4. changed to linux directory and issued the command make mproper.
Then when I issued the command make xconfig I was getting errors. I got similar errors when I tried to use the following commands make menuconfig, make config.

What errors did you get? We need to know what the errors are to help you.

Quoted 5 lines

When I used the command uname -i I still was getting the kernel version as 2.4.2.
I do not know why this error is coming.

This is not an error. If you did not install a new kernel and reboot your computer with the new kernel, uname will still have the same kernel version. Once you have properly configured, compiled and installed the kernel and its modules, you reboot the computer to apply the new kernel. Then uname will give you the new version.

#3 lore raw

When I tried to execute the command "make xconfig" I got the following output

rm -f include/asm
(cd include; ln -sf asm -i386 asm)
make -C scripts knconfig.tk
make: *** scripts: No such file or directory. Stop.
make: *** [xconfig] Error 2

When I executed the command 'rpm -q ncurses ncurses-devel' I got the following output

ncurses-5.2-8
ncurses-devel-5.2-8

Could you please help me to fix the error. Thanking You.
Regards,
Srinivas Chavva

Quoted 1 line · David T Hollis
Quoted 1 line

I seem to remember either the early RH 7.x series or

6.x series did not

Quoted 1 line
Quoted 1 line

necessarily install ncurses by default, thus make

menuconfig did not

Quoted 1 line
Quoted 1 line

run. If you did a very slim install, you may not

have the right

Quoted 1 line
Quoted 1 line

libraries to do what you need. Do an 'rpm -q

ncurses ncurses-devel'

Quoted 2 lines
Quoted 2 lines

and
see what you get. If either is not found, make

menuconfig will not

Quoted 1 line
Quoted 1 line

run.

Quoted 1 line · Adam Jaskiewicz
Quoted 1 line

I downloaded the sofware and opened it in the

/usr/src

Quoted 13 lines
Quoted 12 lines

directory. I did the following
1. unzipped the tar file
2. mv linux linux-2.4.16
3 ln -s linux-2.4.16 linux
4. changed to linux directory and issued the command make mproper.
Then when I issued the command make xconfig I was getting errors. I got similar errors when I tried to use the following commands make menuconfig, make config.

Quoted 1 line

What errors did you get? We need to know what the

errors are to help
you.

Quoted 10 lines
Quoted 8 lines

When I used the command uname -i I still was getting the kernel version as 2.4.2.
I do not know why this error is coming.

This is not an error. If you did not install a new

kernel and reboot
your

Quoted 1 line

computer with the new kernel, uname will still have

the same kernel
version.

Quoted 1 line

Once you have properly configured, compiled and

installed the kernel
and its

Quoted 1 line

modules, you reboot the computer to apply the new

kernel. Then uname
will

Quoted 4 lines

give you the new version.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

#4 lore raw
Quoted 6 lines · Srinivas Chavva

When I tried to execute the command "make xconfig" I got the following output

rm -f include/asm
(cd include; ln -sf asm -i386 asm)
make -C scripts knconfig.tk

There is no file named "knconfig.tk" - check your top-level Makefile. The correct name is "kconfig.tk".

Sam

#5 lore raw

I am extremely sorry I made a typing error. When I executed the command make xconfig I got the following output
rm -f include/asm
(cd include; ln -sf asm -i386 asm)
make -C scripts kconfig.tk
make: *** scripts: No such file or directory. Stop.
make: *** [xconfig] Error 2

Please help me to fix the error.
Thanking You.
Regards,
Srinivas Chavva

Quoted 6 lines · --- Sam Ravnborg
Quoted 1 line · Srinivas Chavva

When I tried to execute the command "make xconfig"

I

Quoted 2 lines

got the following output

Quoted 8 lines
Quoted 3 lines

rm -f include/asm
(cd include; ln -sf asm -i386 asm)
make -C scripts knconfig.tk

There is no file named "knconfig.tk" - check your
top-level Makefile.
The correct name is "kconfig.tk".

Sam

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

#6 lore raw
In reply to Srinivas Chavva
Quoted 8 lines · Srinivas Chavva

When I tried to execute the command "make xconfig" I got the following output

rm -f include/asm
(cd include; ln -sf asm -i386 asm)
make -C scripts knconfig.tk
make: *** scripts: No such file or directory. Stop.
make: *** [xconfig] Error 2

I get:

rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.18/scripts' <...>

Did you unpack the kernel as root and now trying to configure the kernel as a normal user? The error is stating the equivelent that the directory `/usr/src/linux-2.4.18/scripts' is not there (make was trying to cd into it). So I assume you either deleted the directory or you don't have access to it.

-Paul