Skip to contentSkip to conversation

memory limit on a RedHat 7.0

DISCUSSION Miguel González Castaños 2 participants 4 messages Feb 24, 2003 – Feb 25, 2003

lore
Share & tools
lore
#0 lore raw

Dear all,

We have an Oracle database system 8.1.7 on a RedHat 7.0 box on a IBM
server with 2 Gb of memory.

Due to the fact that It was installed with the kernel 2.x included in
the RedHat 7.0 distribution, we have realized that the system only recognizes 1 Gb of RAM.

The problem is that we would need to recognize that remaining 1 Gb
without a complete reinstallation of the system.

The main issue is to reinstall Oracle. The current version of Oracle
(8.1.7) doesnt
seems to work with kernels 2.4.x. If it should work, please let me know how I could
upgrade the kernel without upgrading to Oracle 9i (that seems to be the issue, only Oracle 9i supports kernels 2.4.x), because we dont have time to plan a migration to 9i.

We have looked around in some web sites, and seems that there is the
workaround of adding in the /etc/lilo.conf an entry saying:
"append=960M", but we are not sure if that would work for 2048M.

Which would be the solution? To recompile the kernel? Is it possible to
recognize in a kernel 2.x to recognize more than 1Gb of RAM?

many thanks in advance

Miguel

#1 lore raw

I've successfully ran oracle 8.1.6, 8.1.7 and 9.2.0.2 on a box running redhat 7.1 with the 2.4.(16,18, and
19) kernels. This was on a box with 4gig of memory and it ran ok. There are only a couple of packages you have to upgrade to get Redhat 7.0 to run the 2.4.1x kernels.
8.1.7 works with the 2.4.x kernels but to get the
installer to run you have to export LD_ASSUME_KERNEL=2.2.5 You also have to have the 2.10.xx version of binutils (2.11.xx) won't work.
You can also patch the 2.2.xx kernels with a bigmem
patch that will recognize 2gig of memory (I've also done this with oracle 8.1.6).

Kyle.

Quoted 56 lines · --- Miguel González Castaños

Dear all,

We have an Oracle database system 8.1.7 on a RedHat
7.0 box on a IBM
server with 2 Gb of memory.

Due to the fact that It was installed with the
kernel 2.x included in
the RedHat 7.0 distribution, we have realized that the system only
recognizes 1 Gb of RAM.

The problem is that we would need to recognize that
remaining 1 Gb
without a complete reinstallation of the system.

The main issue is to reinstall Oracle. The current
version of Oracle
(8.1.7) doesnt
seems to work with kernels 2.4.x. If it should work, please let me know
how I could
upgrade the kernel without upgrading to Oracle 9i (that seems to be the
issue, only Oracle 9i supports kernels 2.4.x), because we dont have time
to plan a migration to 9i.

We have looked around in some web sites, and seems
that there is the
workaround of adding in the /etc/lilo.conf an entry saying:
"append=960M", but we are not sure if that would work for 2048M.

Which would be the solution? To recompile the
kernel? Is it possible to
recognize in a kernel 2.x to recognize more than 1Gb of RAM?

many thanks in advance

Miguel

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected] More majordomo info at

http://vger.kernel.org/majordomo-info.html

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

#2 lore raw

Hi Kyle,

Many thanks for your answer.

the main issue is that this problem occurs in a production box, so
They are not going to reinstall Oracle, but It would be needed to made the upgrade of the kernel without touching the Oracle installation (or at least not reinstalling it).

If I have understood well, I pressume that they would only need to
upgrade
binutils to 2.10.x and a couple of packages...which ones?

Many thanks

Miguel

Kyle ha escrito:

Quoted 78 lines

I've successfully ran oracle 8.1.6, 8.1.7 and 9.2.0.2 on a box running redhat 7.1 with the 2.4.(16,18, and
19) kernels. This was on a box with 4gig of memory and it ran ok. There are only a couple of packages you have to upgrade to get Redhat 7.0 to run the 2.4.1x kernels.
8.1.7 works with the 2.4.x kernels but to get the
installer to run you have to export LD_ASSUME_KERNEL=2.2.5 You also have to have the 2.10.xx version of binutils (2.11.xx) won't work.
You can also patch the 2.2.xx kernels with a bigmem
patch that will recognize 2gig of memory (I've also done this with oracle 8.1.6).

Kyle.

Quoted 56 lines · --- Miguel González Castaños

Dear all,

We have an Oracle database system 8.1.7 on a RedHat
7.0 box on a IBM
server with 2 Gb of memory.

Due to the fact that It was installed with the
kernel 2.x included in
the RedHat 7.0 distribution, we have realized that the system only
recognizes 1 Gb of RAM.

The problem is that we would need to recognize that
remaining 1 Gb
without a complete reinstallation of the system.

The main issue is to reinstall Oracle. The current
version of Oracle
(8.1.7) doesnt
seems to work with kernels 2.4.x. If it should work, please let me know
how I could
upgrade the kernel without upgrading to Oracle 9i (that seems to be the
issue, only Oracle 9i supports kernels 2.4.x), because we dont have time
to plan a migration to 9i.

We have looked around in some web sites, and seems
that there is the
workaround of adding in the /etc/lilo.conf an entry saying:
"append=960M", but we are not sure if that would work for 2048M.

Which would be the solution? To recompile the
kernel? Is it possible to
recognize in a kernel 2.x to recognize more than 1Gb of RAM?

many thanks in advance

Miguel

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected] More majordomo info at

Quoted 6 lines

http://vger.kernel.org/majordomo-info.html

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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

#3 lore raw

If you want to use the bigmem patch and not upgrade to 2.4 kernel then you don't have to do anything... just patch the kernel,recompile and install the new kernel.
Then reboot to load the patched kernel.

If you want to use the 2.4.xx kernel (I would suggest at least 2.4.19) then do the following:

First make sure you have these packages if you don't already...
compat-egcs
compat-libstdc++
compat-glibc

Look in Documentation/Changes in your new kernel source directory to see what minimum level of software you need in order for the kernel you downloaded to compile and work.

For 2.4.19 the following are listed but I'd read the docs on it:
o Gnu C 2.95.3 #
gcc --version
o Gnu make 3.77 #
make --version
o binutils 2.9.1.0.25 # ld
-v
o util-linux 2.10o #
fdformat --version
o modutils 2.4.2 #
insmod -V
o e2fsprogs 1.25 #
tune2fs
o jfsutils 1.0.12 #
fsck.jfs -V
o reiserfsprogs 3.x.1b #
reiserfsck 2>&1|grep reiserf
sprogs
o pcmcia-cs 3.1.21 #
cardmgr -V
o PPP 2.4.0 #
pppd --version
o isdn4k-utils 3.1pre1 #
isdnctrl 2>&1|grep version

The 2.9 version of binutils should work fine.

Then configure/compile/install your kernel and
modules. Once that's done just do a:
. /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh to point to the compat library settings then type:
relink all
and it should work. Since it's already in production you've probably already modified the shared memory settings. If you changed the shared memory settings via the kernel's source code before you don't have to do it that way when you install the 2.4.xx kernel. You just have to modify the shmmax,etc settings in the /proc/sys/kernel/shmax file.

Hope that helps.
Kyle.

--- Miguel Gonzcompat-egcs-6.2-1.1.2.16
nss_db-compat-2.2-14
compat-libstdc++-6.2-2.9.0.16
compat-glibc-6.2-2.1.3.2

Quoted 113 lines · ález Castaños

Hi Kyle,

Many thanks for your answer.

the main issue is that this problem occurs in a
production box, so
They are not going to reinstall Oracle, but It would be needed to
made the upgrade of the kernel without touching the Oracle installation
(or at least not reinstalling it).

If I have understood well, I pressume that they
would only need to
upgrade
binutils to 2.10.x and a couple of packages...which ones?

Many thanks

Miguel

Kyle ha escrito:

Quoted 1 line

I've successfully ran oracle 8.1.6, 8.1.7 and

9.2.0.2

Quoted 1 line

on a box running redhat 7.1 with the 2.4.(16,18,

and

Quoted 1 line

19) kernels. This was on a box with 4gig of

memory

Quoted 1 line

and it ran ok. There are only a couple of packages

you

Quoted 1 line

have to upgrade to get Redhat 7.0 to run the

2.4.1x

Quoted 6 lines

kernels.
8.1.7 works with the 2.4.x kernels but to get the
installer to run you have to export LD_ASSUME_KERNEL=2.2.5 You also have to have the 2.10.xx version of binutils (2.11.xx) won't work.
You can also patch the 2.2.xx kernels with a

bigmem

Quoted 1 line

patch that will recognize 2gig of memory (I've

also

Quoted 8 lines

done this with oracle 8.1.6).

Kyle.

Quoted 3 lines · --- Miguel González Castaños

Dear all,

We have an Oracle database system 8.1.7 on a

RedHat

Quoted 6 lines
Quoted 6 lines

7.0 box on a IBM
server with 2 Gb of memory.

Due to the fact that It was installed with the
kernel 2.x included in
the RedHat 7.0 distribution, we have realized

that

Quoted 4 lines
Quoted 4 lines

the system only
recognizes 1 Gb of RAM.

The problem is that we would need to recognize

that

Quoted 4 lines
Quoted 4 lines

remaining 1 Gb
without a complete reinstallation of the system.

The main issue is to reinstall Oracle. The

current

Quoted 3 lines
Quoted 3 lines

version of Oracle
(8.1.7) doesnt
seems to work with kernels 2.4.x. If it should

work,

Quoted 3 lines
Quoted 3 lines

please let me know
how I could
upgrade the kernel without upgrading to Oracle

9i

Quoted 6 lines
Quoted 6 lines

(that seems to be the
issue, only Oracle 9i supports kernels 2.4.x),
because we dont have time
to plan a migration to 9i.

We have looked around in some web sites, and

seems

Quoted 2 lines
Quoted 2 lines

that there is the
workaround of adding in the /etc/lilo.conf an

entry

Quoted 7 lines
Quoted 7 lines

saying:
"append=960M", but we are not sure if that would
work for 2048M.

Which would be the solution? To recompile the
kernel? Is it possible to
recognize in a kernel 2.x to recognize more than

1Gb

Quoted 18 lines
Quoted 18 lines

of RAM?

many thanks in advance

Miguel

Quoted 13 lines
Quoted 4 lines
Quoted 4 lines

-
To unsubscribe from this list: send the line
"unsubscribe linux-admin" in
the body of a message to

[email protected]

Quoted 7 lines
Quoted 1 line

More majordomo info at

http://vger.kernel.org/majordomo-info.html

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/