linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* memory limit on a RedHat 7.0
@ 2003-02-24 16:13 Miguel González Castaños
  2003-02-24 23:30 ` Kyle
  0 siblings, 1 reply; 4+ messages in thread
From: Miguel González Castaños @ 2003-02-24 16:13 UTC (permalink / raw)
  To: linux-admin

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














^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: memory limit on a RedHat 7.0
  2003-02-24 16:13 memory limit on a RedHat 7.0 Miguel González Castaños
@ 2003-02-24 23:30 ` Kyle
  2003-02-25 10:24   ` Miguel González Castaños
  0 siblings, 1 reply; 4+ messages in thread
From: Kyle @ 2003-02-24 23:30 UTC (permalink / raw)
  To: Miguel "González""Castaños",
	linux-admin

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.
  
--- Miguel González Castaños <mgc@tid.es> 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=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
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -
> 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: memory limit on a RedHat 7.0
  2003-02-24 23:30 ` Kyle
@ 2003-02-25 10:24   ` Miguel González Castaños
  2003-02-25 18:44     ` Kyle
  0 siblings, 1 reply; 4+ messages in thread
From: Miguel González Castaños @ 2003-02-25 10:24 UTC (permalink / raw)
  To: Kyle; +Cc: linux-admin

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:

> 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.
>
> --- Miguel González Castaños <mgc@tid.es> 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=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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -
> > 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/

-
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: memory limit on a RedHat 7.0
  2003-02-25 10:24   ` Miguel González Castaños
@ 2003-02-25 18:44     ` Kyle
  0 siblings, 0 replies; 4+ messages in thread
From: Kyle @ 2003-02-25 18:44 UTC (permalink / raw)
  To: Miguel "González""Castaños"; +Cc: linux-admin

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
ález Castaños <mgc@tid.es> wrote:
> 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:
> 
> > 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.
> >
> > --- Miguel González Castaños <mgc@tid.es> 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=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
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > -
> > > 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/
> 


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-25 18:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-24 16:13 memory limit on a RedHat 7.0 Miguel González Castaños
2003-02-24 23:30 ` Kyle
2003-02-25 10:24   ` Miguel González Castaños
2003-02-25 18:44     ` Kyle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).