Netscape 2.0 breaks RedHat 2.0 Linux

Netscape 2.0 breaks RedHat 2.0 Linux

Post by Joe Bu » Wed, 29 Nov 1995 04:00:00




>I recently installed RedHat 2.0 ELF with a.out support (using defaults
>all the way). The libc is libc 5.0.9 shared. The ld.so is
>ld.so.1.7.5.
>All looked fine for all until I run netscape 2.0x.

How much RAM do you have?  How much swap?  Is your swap enabled?
Netscape is a large program and, since it's statically linked,
consumes lots of memory (it doesn't re-use your shared X libraries
but uses its own statically linked copy).

Quote:>After I start netscape, I am unable to run any other command
>(eg "ls" or "who" or "free") on my system until I quit
>netscape! The message I get when I try an "ls" in any window while
>netscape is up is:

>        > ls
>        ls: can't map '/dev/zero'
>        ls: can't map '/dev/zero'
>        ls: can't load library 'libc.so.5'

The only thing I can think of is that all your memory and swap is
consumed, an an mmap() call is failing when the dynamic linker tries
to run (to link ls with libc).
--

Anagrams for "information superhighway":      Enormous hairy pig with fan
                                                A rough whimper of insanity
 
 
 

Netscape 2.0 breaks RedHat 2.0 Linux

Post by Henrik Storn » Wed, 29 Nov 1995 04:00:00



>I recently installed RedHat 2.0 ELF with a.out support (using defaults
>all the way). The libc is libc 5.0.9 shared. The ld.so is
>ld.so.1.7.5.
>All looked fine for all until I run netscape 2.0x.
>After I start netscape, I am unable to run any other command
>(eg "ls" or "who" or "free") on my system until I quit
>netscape! The message I get when I try an "ls" in any window while
>netscape is up is:

>        > ls
>        ls: can't map '/dev/zero'
>        ls: can't map '/dev/zero'
>        ls: can't load library 'libc.so.5'

Hmm - I just noticed a posting on the linux-msdos mailing list. There are
a couple of possible solutions:
 - get a newer ld.so (1.7.11)
 - upgrade to one of the more recent kernels (> 1.3.40)

Newer ld.so versions can be found on ftp.ods.com in /pub/linux

--
--
Henrik Storner             | "Netnews is far more *ive than *."


 
 
 

Netscape 2.0 breaks RedHat 2.0 Linux

Post by Bob Hau » Thu, 30 Nov 1995 04:00:00




>>I recently installed RedHat 2.0 ELF with a.out support (using defaults
>>all the way). The libc is libc 5.0.9 shared. The ld.so is
>>ld.so.1.7.5.

>>All looked fine for all until I run netscape 2.0x.

>How much RAM do you have?  How much swap?  Is your swap enabled?
>>After I start netscape, I am unable to run any other command
>>(eg "ls" or "who" or "free") on my system until I quit
>>netscape! The message I get when I try an "ls" in any window while
>>netscape is up is:

>>        > ls
>>        ls: can't map '/dev/zero'
>>        ls: can't map '/dev/zero'
>>        ls: can't load library 'libc.so.5'

This is a known problem.  DOSEMU 0.60.3 also exhibits it when using
the emumodule to run DPMI programs.  In the case of dosemu, the
problem is that it uses mmap() against /dev/zero to allocate memory,
and it does not close /dev/zero when it's done.  It seems that only
one program at a time can have /dev/zero open for writing.

There was a patch floating around on the dosemu mailing list that
fixes the problem.  Perhaps netscape is doing the same thing?  I
think the kernel people are aware of this and have some fixes, but
have not heard anything definite.

---
 Bob Hauck                              Wasatch Communcations Group

 
 
 

Netscape 2.0 breaks RedHat 2.0 Linux

Post by Michael Nels » Sat, 02 Dec 1995 04:00:00


-> It would seem that netscape takes whatever memory it can get.  If you
-> run as root, this is ALL your memory.
->
-> Solution: Don't run netscape as root.

        Jeeze... where do you people come UP with this amazing stuff?

        It uses lots of RAM, but it certainly does NOT use "ALL your
memory" unless you don't have much free before you start it.  I have 32MB,
and here's what "top" shows when netscape 2.0b3 is running:

  9:39am  up  5:21,  2 users,  load average: 0.26, 0.18, 0.33
36 processes: 35 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  1.3% user,  0.8% system,  2.1% nice, 97.9% idle
Mem:  31368K av, 30424K used,   944K free, 15020K shrd, 18196K buff
Swap: 33788K av,  1724K used, 32064K free

10747 nelson    30  15 5924 3548 2284 S N   0.0 11.3  0:02 netscape

        If it's using ALL my memory, why do I have 18196K available in buffers?

        Running it as root makes no difference (a slight difference
because I started a shell as root so I could run netscape as root) either:

  9:42am  up  5:25,  2 users,  load average: 0.45, 0.20, 0.29
36 processes: 35 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  1.6% user,  2.5% system,  4.0% nice, 96.0% idle
Mem:  31368K av, 30740K used,   628K free, 15436K shrd, 18376K buff
Swap: 33788K av,  1688K used, 32100K free

10814 root      19  15 5908 3648 2356 S N   0.8 11.6  0:02 netscape

        Do _you_ have any numbers to back up your bullshit?

        Michael

--

San Francisco, CA

 
 
 

1. Netscape 2.0 breaks RedHat 2.0 Linux

Hi:

I recently installed RedHat 2.0 ELF with a.out support (using defaults
all the way). The libc is libc 5.0.9 shared. The ld.so is
ld.so.1.7.5.

All looked fine for all until I run netscape 2.0x.

I started running Netscape 2.0b2 or 2.0b3 (same results
either way).

After I start netscape, I am unable to run any other command
(eg "ls" or "who" or "free") on my system until I quit
netscape! The message I get when I try an "ls" in any window while
netscape is up is:

        > ls
        ls: can't map '/dev/zero'
        ls: can't map '/dev/zero'
        ls: can't load library 'libc.so.5'

Is there a problem with ELF or a.out support for the 2.0 RedHat
disributions? I could not see anything at the RedHat WEB site. I used to run
Slackware with no such problems.

Has anyone had this problem?


-James

2. getting rid of linux

3. linux-2.2.0 + broken scsi tape -> linux-2.2.0 crashes

4. socks/tcp server failing (looping) & others

5. RedHat and Linux 2.0 -- upgrade broke, need help

6. APIC error

7. RedHat 3.0.3 upgrade to 2.0 kernel is 2.0.?

8. Xircom pocket ethernet combo adapter III

9. Linux 2.0 or Linux 2.0 (glibc)?

10. To Linux 2.0 or Not to Linux 2.0??

11. net-tools-1.2.0 under linux 2.0.x

12. BCM 4210 - HomePNA 2.0 Driver for Linux (works with all HomePNA 2.0 cards)

13. 3c59x broken in (vortex) driver broken in higher 2.0.x?