From: Kyle Subject: Re: memory limit on a RedHat 7.0 Date: Tue, 25 Feb 2003 10:44:01 -0800 (PST) Sender: linux-admin-owner@vger.kernel.org Message-ID: <20030225184401.50281.qmail@web20101.mail.yahoo.com> References: <3E5B444F.6B97AA7F@tid.es> Mime-Version: 1.0 Return-path: In-Reply-To: <3E5B444F.6B97AA7F@tid.es> List-Id: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: Miguel =?ISO-8859-1?Q?=22Gonz=E1lez=22?= =?ISO-8859-1?Q?=22Casta=F1os=22?= Cc: linux-admin@vger.kernel.org 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.=20 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...=20 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.=20 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 =E1lez Casta=F1os wrote: > Hi Kyle, >=20 > Many thanks for your answer. >=20 > 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). >=20 > 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? >=20 > Many thanks >=20 > Miguel >=20 > Kyle ha escrito: >=20 > > 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=3D2.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. > > > > --- Miguel Gonz=E1lez Casta=F1os wrote: > > > 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=3D960M", 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > To unsubscribe from this list: send the line > > > "unsubscribe linux-admin" in > > > the body of a message to > majordomo@vger.kernel.org > > > 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/ >=20 __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/