Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Stable Alpha on 2.2?  How do we build a stable install?
@ 1999-06-29 19:54 Eric Bohm
       [not found] ` <19990630043241.A1170@swing.yars.free.net>
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Eric Bohm @ 1999-06-29 19:54 UTC (permalink / raw)
  To: axp-list


I've been having the same instability problems listed on the various
other threads about RH6.0.  

This is an lx164 running a clean RH6.0 installation plus the rpms from
updates.redhat.com

Problems:
-The system will reboot spontaneously.  

-The kernel (2.2.5, 2.2.7, 2.2.10) appears to have memory leaks.  I can
do something simple like compile a kernel (without kernel modules
loaded or X running) and suddenly find memory use at 180M when all is
done and I'm sitting at a shell prompt with next to nothing running.

-The most frequent problem is a SEGV to my X process which locks the
display.  Then I switch to another box on my lan and ssh over to
reboot it.  And not I'm not running the Font Server.  The problem
persists using gdm or not.  

-There are other X failure modes which are somewhat less severe.
 These seems to involve unaligned traps and so forth from various X
 things.

- A nagging problem is that I can't compile any large package (like
the kernel) in one attempt.  cc gets a variety of nasty signals or
outright confused about how to compile something.  Running the make
again will get me further through the package.  The same stopping
points aren't repeated on attempts to replicate the scenario, so it
appears to be a problem outside the compilation system itself.

- miscellaneous applications (e.g. bash, emacs, ncftp) will experience
  the same mysterious signal of death that X gets in a non-repeatable
  way.

All these problems happen across all three kernel version listed

So far 2.2.7 seems to be the best of the lot, 2.2.10 was a nightmare.
But frankly the situation sucks.  From reading the axp-list archive I
can't really determine what combination of kernel patches and systemic
upgrades I should undertake.

I've gone from uptimes measured in months down to hours here.  What do
I do to fix it?  There are some really nice things in 2.2, but they
don't do me much good when the system crashes more often than windoze.

I'd prefer to make it work under RH6, but if they've solved this in
SuSE or Debian I'll abandon Redhat in a heartbeat.



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

* Re: Stable Alpha on 2.2?  How do we build a stable install?
       [not found] ` <19990630043241.A1170@swing.yars.free.net>
@ 1999-06-30  2:12   ` Eric Bohm
  1999-06-30 11:16     ` Alexander V. Lukyanov
                       ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Eric Bohm @ 1999-06-30  2:12 UTC (permalink / raw)
  To: Alexander V. Lukyanov; +Cc: axp-list

>>>>> "Alexander" == Alexander V Lukyanov <lav@yars.free.net> writes:

    Alexander> On Tue, Jun 29, 1999 at 03:54:04PM -0400, Eric Bohm
    Alexander> wrote:
    >> - A nagging problem is that I can't compile any large package
    >> (like the kernel) in one attempt.  cc gets a variety of nasty
    >> signals or outright confused about how to compile something.
    >> Running the make again will get me further through the package.
    >> The same stopping points aren't repeated on attempts to
    >> replicate the scenario, so it appears to be a problem outside
    >> the compilation system itself.

    Alexander> This bug was fixed by this patch:
    Alexander> ftp://ftp.twiddle.net/pub/rth/d-asn-2.gz

Well it was worth a shot.

But after applying the patch, recompiling (about 10 or so tries to
complete) then rebooting with the new kernel it failed on a make clean
boot in linux-2.2.10.  Might be more stable, but the patch doesn't
seem to have made much difference.


----
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a -DBWIO_ENABLED   -DEXPORT_SYMTAB -c console.c
gcc: Internal compiler error: program cc1 got fatal signal 11
make[3]: *** [console.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.2.10/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.10/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.10/drivers'
make: *** [_dir_drivers] Error 2
 
cpp: output pipe has been closed
{standard input}: Assembler messages:
{standard input}:6474: Warning: end of file not at end of a line; newline inserted
{standard input}:8541: Error: inappropriate arguments for opcode `addq'
/usr/src/linux-2.2.10
----


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

* Re: Stable Alpha on 2.2? How do we build a stable install?
  1999-06-29 19:54 Eric Bohm
       [not found] ` <19990630043241.A1170@swing.yars.free.net>
@ 1999-06-30  8:00 ` Christian Iseli
  1999-06-30  8:31 ` Dr. David Gilbert
  2 siblings, 0 replies; 25+ messages in thread
From: Christian Iseli @ 1999-06-30  8:00 UTC (permalink / raw)
  To: axp-list


bohm@gate.csgeeks.org said:
> I've been having the same instability problems listed on the various
> other threads about RH6.0.   

I had to go down to kernel 2.2.3 to have my system stable.  You could also
try rth's patch which appeared on the list a few days ago...

					Christian



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

* Re: Stable Alpha on 2.2?  How do we build a stable install?
  1999-06-29 19:54 Eric Bohm
       [not found] ` <19990630043241.A1170@swing.yars.free.net>
  1999-06-30  8:00 ` Christian Iseli
@ 1999-06-30  8:31 ` Dr. David Gilbert
  1999-06-30  9:25   ` krebs
  2 siblings, 1 reply; 25+ messages in thread
From: Dr. David Gilbert @ 1999-06-30  8:31 UTC (permalink / raw)
  To: axp-list

On Tue, 29 Jun 1999, Eric Bohm wrote:

> I've been having the same instability problems listed on the various
> other threads about RH6.0.  

Who hasn't.....

> Problems:
> -The system will reboot spontaneously.  

I've not had that.

> -The kernel (2.2.5, 2.2.7, 2.2.10) appears to have memory leaks.  I can
> do something simple like compile a kernel (without kernel modules
> loaded or X running) and suddenly find memory use at 180M when all is
> done and I'm sitting at a shell prompt with next to nothing running.

Definitly steer clear of 2.2.9 and I suspect 2.2.10; they have a wierd
memory corruption bug.  2.2.7 seems fine for me.  It may be eating RAM
somewhere but I'd kind of presumed it was just disappearing into buffers
and caching.
 
> > -The most frequent problem is a SEGV to my X process which locks the
> display.  Then I switch to another box on my lan and ssh over to
> reboot it.  And not I'm not running the Font Server.  The problem
> persists using gdm or not.  

Arghh! - yes - this is driving me nuts (even on 2.2.7)! On my system it
almost always happens when I close a window (not every time otherwise I
really would be mad!). (Matrox Millenium 2 with 4MB running in 8bpp mode
with Enlightenment and Gnome on top)

> - A nagging problem is that I can't compile any large package (like
> the kernel) in one attempt.  cc gets a variety of nasty signals or
> outright confused about how to compile something.  Running the make
> again will get me further through the package.  The same stopping
> points aren't repeated on attempts to replicate the scenario, so it
> appears to be a problem outside the compilation system itself.

That is what I see from the wierd memory corruption problems of 2.2.9 -
going back to 2.2.7 has cured this.

Dave

/------------------------------------------------------------------\
| Dr. David Alan Gilbert | Work: dg@px.uk.com (+44-161-286-2000)   |
| -------- G7FHJ --------|---------------------------------------- |
| Home: dave@treblig.org   http://www.treblig.demon.co.uk          |
\------------------------------------------------------------------/


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

* Re: Stable Alpha on 2.2? How do we build a stable install?
  1999-06-30  8:31 ` Dr. David Gilbert
@ 1999-06-30  9:25   ` krebs
  1999-06-30 14:17     ` Eric Bohm
  0 siblings, 1 reply; 25+ messages in thread
From: krebs @ 1999-06-30  9:25 UTC (permalink / raw)
  To: axp-list

> Definitly steer clear of 2.2.9 and I suspect 2.2.10; they have a wierd
> memory corruption bug.  2.2.7 seems fine for me.  It may be eating RAM
> somewhere but I'd kind of presumed it was just disappearing into buffers
> and caching.
i'm running 2.2.9 (without any acs) now for quite some time (43 days 
uptime) on my alphastation 200 4/233 (avanti) with 128MB and RH6.0
(fresh install with no updates, except a new version of nmh) and it's 
working great. if there is a memory leak it's not large (no more than 
10MB by a quick look at top).

/proc/version contains the following info about my system:
Linux version 2.2.9 (root@storm.qkal.sap-ag.de) (gcc version egcs-2.91.66 
19990314/Linux (egcs-1.1.2 release)) #2 Mon May 17 12:28:21 CEST 1999

so maybe it depends on the system you run it on?

> Arghh! - yes - this is driving me nuts (even on 2.2.7)! On my system it
> almost always happens when I close a window (not every time otherwise I
> really would be mad!). (Matrox Millenium 2 with 4MB running in 8bpp mode
> with Enlightenment and Gnome on top)
that's the great thing about 2.2.9 on my machine. the xserver doesn't
crash any more :-) (Matrox Millenium 2 with 8MB running in 1600x1200x16
with Enlightenment and Gnome). the xserver is now also running for 43 days.

> That is what I see from the wierd memory corruption problems of 2.2.9 -
> going back to 2.2.7 has cured this.
also on problems at all on my machine


-- 
_____________________________________________________________________________

                               Andreas S. Krebs

                CEC Karlsruhe, SAP AG, krebs@qkal.sap-ag.de
_____________________________________________________________________________


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

* Re: Stable Alpha on 2.2?  How do we build a stable install?
  1999-06-30  2:12   ` Eric Bohm
@ 1999-06-30 11:16     ` Alexander V. Lukyanov
  1999-06-30 14:18       ` Eric Bohm
  1999-07-01 11:40       ` Eric Bohm
  1999-07-09  6:19     ` Matti Aarnio
  1999-07-09  6:36     ` Eric Bohm
  2 siblings, 2 replies; 25+ messages in thread
From: Alexander V. Lukyanov @ 1999-06-30 11:16 UTC (permalink / raw)
  To: Eric Bohm; +Cc: axp-list

On Tue, Jun 29, 1999 at 10:12:11PM -0400, Eric Bohm wrote:
> >>>>> "Alexander" == Alexander V Lukyanov <lav@yars.free.net> writes:
>     Alexander> This bug was fixed by this patch:
>     Alexander> ftp://ftp.twiddle.net/pub/rth/d-asn-2.gz
> 
> Well it was worth a shot.
> 
> But after applying the patch, recompiling (about 10 or so tries to
> complete) then rebooting with the new kernel it failed on a make clean
> boot in linux-2.2.10.  Might be more stable, but the patch doesn't
> seem to have made much difference.

Hmm. It worked for me. Anyway, if 2.2.7 is stable for you, try this patch
on 2.2.10:

--- arch/alpha/kernel/entry.S	Mon Jun 21 21:18:50 1999
+++ arch/alpha/kernel/entry.S	Tue Jun 22 20:28:04 1999
@@ -525,5 +525,6 @@
 	.prologue 0
 	bsr	$1,do_switch_stack
 	call_pal PAL_swpctx
-	unop
+	lda	$16,-2($31)
+	call_pal PAL_tbi
 	bsr	$1,undo_switch_stack

   Alexander.


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

* Re: Stable Alpha on 2.2? How do we build a stable install?
  1999-06-30  9:25   ` krebs
@ 1999-06-30 14:17     ` Eric Bohm
  1999-06-30 15:45       ` Greg Lindahl
  1999-06-30 17:07       ` Michal Jaegermann
  0 siblings, 2 replies; 25+ messages in thread
From: Eric Bohm @ 1999-06-30 14:17 UTC (permalink / raw)
  To: axp-list

>>>>> "Andreas" == krebs  <krebs@qkal.sap-ag.de> writes:

    Dave> Definitly steer clear of 2.2.9 and I suspect 2.2.10; they
    Dave> have a wierd memory corruption bug.  2.2.7 seems fine for
    Dave> me.  It may be eating RAM somewhere but I'd kind of presumed
    Dave> it was just disappearing into buffers and caching.

    Andreas> i'm running 2.2.9 (without any acs) now for quite some
    Andreas> time (43 days uptime) on my alphastation 200 4/233
    Andreas> (avanti) with 128MB and RH6.0 (fresh install with no
    Andreas> updates, except a new version of nmh) and it's working
    Andreas> great. if there is a memory leak it's not large (no more
    Andreas> than 10MB by a quick look at top).

Even under 2.2.7 I end up with apparently absurd memory use.

 9:57am  up 11:18,  3 users,  load average: 0.05, 0.02, 0.00
47 processes: 45 sleeping, 2 running, 0 zombie, 0 stopped
CPU states:  1.8% user,  2.0% system,  0.0% nice, 96.0% idle
Mem:  192232K av, 186472K used,   5760K free,  69008K shrd,  39168K buff
Swap: 170256K av,   2760K used, 167496K free                 91424K cached

The situation does look better under 2.2.7 than the other kernels.

    Andreas> /proc/version contains the following info about my
    Andreas> system: Linux version 2.2.9 (root@storm.qkal.sap-ag.de)
    Andreas> (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2
    Andreas> release)) #2 Mon May 17 12:28:21 CEST 1999

    Andreas> so maybe it depends on the system you run it on?

Perhaps.  For the record I'm running:

Linux version 2.2.7 (root@balrog.csgeeks.org) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #9 Tue Jun 29 22:36:06 EDT 1999

cat /proc/cpuinfo
cpu                     : Alpha
cpu model               : EV56
cpu variation           : 0
cpu revision            : 0
cpu serial number       : Linux_is_Great!
system type             : EB164
system variation        : LX164
system revision         : 0
system serial number    : MILO-2.0.35-c5.
cycle frequency [Hz]    : 599809824 est.
timer frequency [Hz]    : 1024.00
page size [bytes]       : 8192
phys. address bits      : 40
max. addr. space #      : 127
BogoMIPS                : 595.59
kernel unaligned acc    : 0 (pc=0,va=0)
user unaligned acc      : 130 (pc=20000ac8d60,va=1203ec97a)
platform string         : N/A


    Dave> Arghh! - yes - this is driving me nuts (even on 2.2.7)! On
    Dave> my system it almost always happens when I close a window
    Dave> (not every time otherwise I really would be mad!). (Matrox
    Dave> Millenium 2 with 4MB running in 8bpp mode with Enlightenment
    Dave> and Gnome on top)

It is extremely difficult to get work done when your session gets cut
out from under you.

    Andreas> that's the great thing about 2.2.9 on my machine. the
    Andreas> xserver doesn't crash any more :-) (Matrox Millenium 2
    Andreas> with 8MB running in 1600x1200x16 with Enlightenment and
    Andreas> Gnome). the xserver is now also running for 43 days.

Matrox Millenium 2 with 4 MB running in 16bpp at 1600x1200x16.  X will
usually last me  3-6 hours depending on usage.  For reasons which I
haven't pinned down, gnome-terminal and mozilla seem to  contribute
to bad behavior.  Switching to rxvt seems to have increased the mean
uptime by a few hours. 

For the record, my X use is mostly confined to rxvt, emacs, mozilla,
applix with occasional xawtv and gqview use.  The X crashes seem to
occur with any combination of those apps in use.

Anyone tried playing with the framebuffer stuff?  I'm afraid to mess
with it under these conditions.

    Dave> That is what I see from the wierd memory corruption problems
    Dave> of 2.2.9 - going back to 2.2.7 has cured this.

2.2.7 is better.  X crashes very rarely by comparison to 2.2.10.

The d-asn-2.tgz for 2.2.10 recommended by Alexander didn't help me at
all.  It made things worse in one case, X crashed and all the virtual
terminals had sporadic video corruptions.


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

* Re: Stable Alpha on 2.2?  How do we build a stable install?
  1999-06-30 11:16     ` Alexander V. Lukyanov
@ 1999-06-30 14:18       ` Eric Bohm
  1999-07-01 11:40       ` Eric Bohm
  1 sibling, 0 replies; 25+ messages in thread
From: Eric Bohm @ 1999-06-30 14:18 UTC (permalink / raw)
  To: axp-list

>>>>> "Alexander" == Alexander V Lukyanov <lav@yars.free.net> writes:

    Alexander> On Tue, Jun 29, 1999 at 10:12:11PM -0400, Eric Bohm
    Alexander> wrote:
    >> >>>>> "Alexander" == Alexander V Lukyanov <lav@yars.free.net>
    >> writes:
    Alexander> This bug was fixed by this patch:
    Alexander> ftp://ftp.twiddle.net/pub/rth/d-asn-2.gz
    Eric> Well it was worth a shot.

    Eric> But after applying the patch, recompiling (about 10 or so
    Eric> tries to complete) then rebooting with the new kernel it
    Eric> failed on a make clean boot in linux-2.2.10.  Might be more
    Eric> stable, but the patch doesn't seem to have made much
    Eric> difference.

    Alexander> Hmm. It worked for me. Anyway, if 2.2.7 is stable for
    Alexander> you, try this patch on 2.2.10:

I'll try it out tonight.  Or after the next X crash, whichever comes
sooner.



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

* Re: Stable Alpha on 2.2? How do we build a stable install?
  1999-06-30 14:17     ` Eric Bohm
@ 1999-06-30 15:45       ` Greg Lindahl
  1999-06-30 15:54         ` Eric Bohm
  1999-06-30 17:07       ` Michal Jaegermann
  1 sibling, 1 reply; 25+ messages in thread
From: Greg Lindahl @ 1999-06-30 15:45 UTC (permalink / raw)
  To: axp-list

> Even under 2.2.7 I end up with apparently absurd memory use.
> 
>  9:57am  up 11:18,  3 users,  load average: 0.05, 0.02, 0.00
> 47 processes: 45 sleeping, 2 running, 0 zombie, 0 stopped
> CPU states:  1.8% user,  2.0% system,  0.0% nice, 96.0% idle
> Mem:  192232K av, 186472K used,   5760K free,  69008K shrd,  39168K buff
> Swap: 170256K av,   2760K used, 167496K free                 91424K cached

Um, what's absurd about that? The "Mem used" line reflects both
program usage and the disk cache.

-- g


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

* RE: Stable Alpha on 2.2? How do we build a stable install?
@ 1999-06-30 15:50 James Peret
  1999-06-30 15:57 ` Eric Bohm
  0 siblings, 1 reply; 25+ messages in thread
From: James Peret @ 1999-06-30 15:50 UTC (permalink / raw)
  To: axp-list

how did you output this info?  (which utilities)

-red

-----Original Message-----
From: Eric Bohm [mailto:bohm@gate.csgeeks.org]
Sent: Wednesday, June 30, 1999 10:17 AM
To: axp-list@redhat.com
Subject: Re: Stable Alpha on 2.2? How do we build a stable install? 


>>>>> "Andreas" == krebs  <krebs@qkal.sap-ag.de> writes:

    Dave> Definitly steer clear of 2.2.9 and I suspect 2.2.10; they
    Dave> have a wierd memory corruption bug.  2.2.7 seems fine for
    Dave> me.  It may be eating RAM somewhere but I'd kind of presumed
    Dave> it was just disappearing into buffers and caching.

    Andreas> i'm running 2.2.9 (without any acs) now for quite some
    Andreas> time (43 days uptime) on my alphastation 200 4/233
    Andreas> (avanti) with 128MB and RH6.0 (fresh install with no
    Andreas> updates, except a new version of nmh) and it's working
    Andreas> great. if there is a memory leak it's not large (no more
    Andreas> than 10MB by a quick look at top).

Even under 2.2.7 I end up with apparently absurd memory use.

 9:57am  up 11:18,  3 users,  load average: 0.05, 0.02, 0.00
47 processes: 45 sleeping, 2 running, 0 zombie, 0 stopped
CPU states:  1.8% user,  2.0% system,  0.0% nice, 96.0% idle
Mem:  192232K av, 186472K used,   5760K free,  69008K shrd,  39168K buff
Swap: 170256K av,   2760K used, 167496K free                 91424K
cached

The situation does look better under 2.2.7 than the other kernels.

    Andreas> /proc/version contains the following info about my
    Andreas> system: Linux version 2.2.9 (root@storm.qkal.sap-ag.de)
    Andreas> (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2
    Andreas> release)) #2 Mon May 17 12:28:21 CEST 1999

    Andreas> so maybe it depends on the system you run it on?

Perhaps.  For the record I'm running:

Linux version 2.2.7 (root@balrog.csgeeks.org) (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #9 Tue Jun 29 22:36:06 EDT 1999

cat /proc/cpuinfo
cpu                     : Alpha
cpu model               : EV56
cpu variation           : 0
cpu revision            : 0
cpu serial number       : Linux_is_Great!
system type             : EB164
system variation        : LX164
system revision         : 0
system serial number    : MILO-2.0.35-c5.
cycle frequency [Hz]    : 599809824 est.
timer frequency [Hz]    : 1024.00
page size [bytes]       : 8192
phys. address bits      : 40
max. addr. space #      : 127
BogoMIPS                : 595.59
kernel unaligned acc    : 0 (pc=0,va=0)
user unaligned acc      : 130 (pc=20000ac8d60,va=1203ec97a)
platform string         : N/A


    Dave> Arghh! - yes - this is driving me nuts (even on 2.2.7)! On
    Dave> my system it almost always happens when I close a window
    Dave> (not every time otherwise I really would be mad!). (Matrox
    Dave> Millenium 2 with 4MB running in 8bpp mode with Enlightenment
    Dave> and Gnome on top)

It is extremely difficult to get work done when your session gets cut
out from under you.

    Andreas> that's the great thing about 2.2.9 on my machine. the
    Andreas> xserver doesn't crash any more :-) (Matrox Millenium 2
    Andreas> with 8MB running in 1600x1200x16 with Enlightenment and
    Andreas> Gnome). the xserver is now also running for 43 days.

Matrox Millenium 2 with 4 MB running in 16bpp at 1600x1200x16.  X will
usually last me  3-6 hours depending on usage.  For reasons which I
haven't pinned down, gnome-terminal and mozilla seem to  contribute
to bad behavior.  Switching to rxvt seems to have increased the mean
uptime by a few hours. 

For the record, my X use is mostly confined to rxvt, emacs, mozilla,
applix with occasional xawtv and gqview use.  The X crashes seem to
occur with any combination of those apps in use.

Anyone tried playing with the framebuffer stuff?  I'm afraid to mess
with it under these conditions.

    Dave> That is what I see from the wierd memory corruption problems
    Dave> of 2.2.9 - going back to 2.2.7 has cured this.

2.2.7 is better.  X crashes very rarely by comparison to 2.2.10.

The d-asn-2.tgz for 2.2.10 recommended by Alexander didn't help me at
all.  It made things worse in one case, X crashed and all the virtual
terminals had sporadic video corruptions.

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


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

* Re: Stable Alpha on 2.2? How do we build a stable install?
  1999-06-30 15:45       ` Greg Lindahl
@ 1999-06-30 15:54         ` Eric Bohm
  1999-06-30 16:08           ` Greg Lindahl
  0 siblings, 1 reply; 25+ messages in thread
From: Eric Bohm @ 1999-06-30 15:54 UTC (permalink / raw)
  To: axp-list

>>>>> "Greg" == Greg Lindahl <lindahl@cs.virginia.edu> writes:

    >> Even under 2.2.7 I end up with apparently absurd memory use.
    >> 
    >> 9:57am up 11:18, 3 users, load average: 0.05, 0.02, 0.00 47
    >> processes: 45 sleeping, 2 running, 0 zombie, 0 stopped CPU
    >> states: 1.8% user, 2.0% system, 0.0% nice, 96.0% idle Mem:
    >> 192232K av, 186472K used, 5760K free, 69008K shrd, 39168K buff
    >> Swap: 170256K av, 2760K used, 167496K free 91424K cached

    Greg> Um, what's absurd about that? The "Mem used" line reflects
    Greg> both program usage and the disk cache.

Perhaps I'm misreading the output of top, but having only 5M free and
hitting swap just looks peculiar to me on a marginally loaded machine
with 196M of physical memory.  Maybe I should go read up on the
expected behavior.


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

* RE: Stable Alpha on 2.2? How do we build a stable install?
  1999-06-30 15:50 James Peret
@ 1999-06-30 15:57 ` Eric Bohm
  0 siblings, 0 replies; 25+ messages in thread
From: Eric Bohm @ 1999-06-30 15:57 UTC (permalink / raw)
  To: axp-list

>>>>> "James" == James Peret <jperet@ntsi.com> writes:

    James> how did you output this info?  (which utilities) -red

top
from proccps-2.0.2

cat /proc/version 
cat /proc/cpuinfo


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

* Re: Stable Alpha on 2.2? How do we build a stable install?
  1999-06-30 15:54         ` Eric Bohm
@ 1999-06-30 16:08           ` Greg Lindahl
  0 siblings, 0 replies; 25+ messages in thread
From: Greg Lindahl @ 1999-06-30 16:08 UTC (permalink / raw)
  To: axp-list

> Perhaps I'm misreading the output of top, but having only 5M free and
> hitting swap just looks peculiar to me on a marginally loaded machine
> with 196M of physical memory.  Maybe I should go read up on the
> expected behavior.

That's not unusual at all. At some point in the past the machine
dipped into swap. If those pages aren't subsequently used, they stay
in swap.

The "5M free" number is a fiction. All the memory used for disk cache
is actually also available. This is a Frequently Asked Question for
*all* modern Unix versions with a unified vm.

-- g


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

* Re: Stable Alpha on 2.2? How do we build a stable install?
@ 1999-06-30 16:12 Jaap Hogenberg
  1999-06-30 16:14 ` Eric Bohm
  0 siblings, 1 reply; 25+ messages in thread
From: Jaap Hogenberg @ 1999-06-30 16:12 UTC (permalink / raw)
  To: axp-list

Hi

The "free" command shows you how much of the memory is in use by buffers 
/ cached,
and will report the actual amount of free memory.

HTH
Jaap


To:	axp-list@redhat.com
cc:	 (bcc: Jaap Hogenberg/NL/ABNAMRO/NL)
Subject:	Re: Stable Alpha on 2.2? How do we build a stable 
install?

> Perhaps I'm misreading the output of top, but having only 5M free and
> hitting swap just looks peculiar to me on a marginally loaded machine
> with 196M of physical memory.  Maybe I should go read up on the
> expected behavior.

That's not unusual at all. At some point in the past the machine
dipped into swap. If those pages aren't subsequently used, they stay
in swap.

The "5M free" number is a fiction. All the memory used for disk cache
is actually also available. This is a Frequently Asked Question for
*all* modern Unix versions with a unified vm.

-- g

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com




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

* Re: Stable Alpha on 2.2? How do we build a stable install?
  1999-06-30 16:12 Stable Alpha on 2.2? How do we build a stable install? Jaap Hogenberg
@ 1999-06-30 16:14 ` Eric Bohm
  0 siblings, 0 replies; 25+ messages in thread
From: Eric Bohm @ 1999-06-30 16:14 UTC (permalink / raw)
  To: axp-list

>>>>> "Jaap" == Jaap Hogenberg <Jaap.Hogenberg@nl.abnamro.com> writes:

    Jaap> Hi The "free" command shows you how much of the memory is in
    Jaap> use by buffers / cached, and will report the actual amount
    Jaap> of free memory.

    Eric> Perhaps I'm misreading the output of top, but having only 5M
    Eric> free and hitting swap just looks peculiar to me on a
    Eric> marginally loaded machine with 196M of physical memory.
    Eric> Maybe I should go read up on the expected behavior.

    Jaap> That's not unusual at all. At some point in the past the
    Jaap> machine dipped into swap. If those pages aren't subsequently
    Jaap> used, they stay in swap.

    Jaap> The "5M free" number is a fiction. All the memory used for
    Jaap> disk cache is actually also available. This is a Frequently
    Jaap> Asked Question for *all* modern Unix versions with a unified
    Jaap> vm.


Thanks for the tip.

free says:
            total       used       free     shared    buffers     cached
Mem:        192232     187440       4792      72776      21008      77008
-/+ buffers/cache:      89424     102808
Swap:       170256       3192     167064

which is a lot more like what I was expecting.  Guess need to go RTFM
a bit.


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

* Re: Stable Alpha on 2.2? How do we build a stable install?
  1999-06-30 14:17     ` Eric Bohm
  1999-06-30 15:45       ` Greg Lindahl
@ 1999-06-30 17:07       ` Michal Jaegermann
  1 sibling, 0 replies; 25+ messages in thread
From: Michal Jaegermann @ 1999-06-30 17:07 UTC (permalink / raw)
  To: axp-list

Eric Bohm wrote:
> 
> 
> Even under 2.2.7 I end up with apparently absurd memory use.
> 
>  9:57am  up 11:18,  3 users,  load average: 0.05, 0.02, 0.00
> 47 processes: 45 sleeping, 2 running, 0 zombie, 0 stopped
> CPU states:  1.8% user,  2.0% system,  0.0% nice, 96.0% idle
> Mem:  192232K av, 186472K used,   5760K free,  69008K shrd,  39168K buff
> Swap: 170256K av,   2760K used, 167496K free                 91424K cached


There is nothing absurd in this memory use in an absence of other
information (where are your buffer numbers?).  Linux works under
assumption that an unused memory is a wasted memory and all free memory
gradualy shifts into i/o buffers - from which it will be released if
needed for other purposes.  On the first glance the numbers you
quote look actually very nice.  A minimal swap (probably some processes
sleeping) and most of your memory in action earning its upkeep. :-)

This is actually a feature and the question was answered many times
and in many different places.

   Michal


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

* Re: Stable Alpha on 2.2? How do we build a stable install?
@ 1999-06-30 17:56 designer seven
  1999-06-30 19:22 ` mgraffam
  0 siblings, 1 reply; 25+ messages in thread
From: designer seven @ 1999-06-30 17:56 UTC (permalink / raw)
  To: axp-list

I don't have anything useful to say that would help
all this instability problems... but just a comment...

coming from the Linux/x86 world... I am amazed how
unstable the 2.2.x kernels have been lately for the
Alpha (specifically 2.2.{8,9,10})... 

personally, I'm still at 2.2.7 which seems the most
stable for my Miata so far.... all the later kernels
have caused some serious problems (sudden
reboots,sudden crashing of 14 processes, etc.)

D.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

* Re: Stable Alpha on 2.2? How do we build a stable install?
  1999-06-30 17:56 designer seven
@ 1999-06-30 19:22 ` mgraffam
  1999-06-30 19:43   ` Michal Jaegermann
  0 siblings, 1 reply; 25+ messages in thread
From: mgraffam @ 1999-06-30 19:22 UTC (permalink / raw)
  To: axp-list

On Wed, 30 Jun 1999, designer seven wrote:

> coming from the Linux/x86 world... I am amazed how
> unstable the 2.2.x kernels have been lately for the
> Alpha (specifically 2.2.{8,9,10})... 

I've had problems with 2.2.9 on Intel. PCMCIA support wouldn't work,
X would crash on startup occasionally, etc -- so I moved back to 
2.2.4, and everything is fine. 

I'm going to grab a new kernel, crypto patches (www.kerneli.com) and
pcmcia drivers and compile the whole mess in a week or so -- hopefully
it will be a bit more stable. 

Michael J. Graffam (mgraffam@idsi.net)
"If you die, you win.."
	John Landry, statistics professor discussing life insurance 
	and probability


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

* Re: Stable Alpha on 2.2? How do we build a stable install?
  1999-06-30 19:22 ` mgraffam
@ 1999-06-30 19:43   ` Michal Jaegermann
  0 siblings, 0 replies; 25+ messages in thread
From: Michal Jaegermann @ 1999-06-30 19:43 UTC (permalink / raw)
  To: axp-list

mgraffam@idsi.net wrote:
> 
> On Wed, 30 Jun 1999, designer seven wrote:
> 
> > coming from the Linux/x86 world... I am amazed how
> > unstable the 2.2.x kernels have been lately for the
> > Alpha (specifically 2.2.{8,9,10})... 
> 
> I've had problems with 2.2.9 on Intel. PCMCIA support wouldn't work,
> X would crash on startup occasionally, etc -- so I moved back to 
> 2.2.4, and everything is fine. 

I was recently setting up a laptop - Cardbus machine so 2.2 was
required.  I used 2.2.7 and everything worked fine - ethernet, PCI
modem on a shared interrupt, X (1024x768, but I had to substitute
a Rage LT - sic! - server), the whole works.

My alpha runs, stable, 2.2.10 but I pay attention to what Richard
Henderson writes on this list and patch accordingly. :-)

  --mj


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

* Re: Stable Alpha on 2.2? How do we build a stable install?
@ 1999-06-30 21:18 designer seven
  0 siblings, 0 replies; 25+ messages in thread
From: designer seven @ 1999-06-30 21:18 UTC (permalink / raw)
  To: axp-list

> My alpha runs, stable, 2.2.10 but I pay attention to
> what Richard
> Henderson writes on this list and patch accordingly.
> :-)
>   --mj

On-gel'e on-gel'e! (bows to the master...)

;-)

D.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

* Re: Stable Alpha on 2.2?  How do we build a stable install?
  1999-06-30 11:16     ` Alexander V. Lukyanov
  1999-06-30 14:18       ` Eric Bohm
@ 1999-07-01 11:40       ` Eric Bohm
  1 sibling, 0 replies; 25+ messages in thread
From: Eric Bohm @ 1999-07-01 11:40 UTC (permalink / raw)
  To: axp-list; +Cc: Eric Bohm

>>>>> "Alexander" == Alexander V Lukyanov <lav@yars.free.net> writes:

    Alexander> On Tue, Jun 29, 1999 at 10:12:11PM -0400, Eric Bohm
    Alexander> wrote:
    >> >>>>> "Alexander" == Alexander V Lukyanov <lav@yars.free.net>
    >> writes:
    Alexander> This bug was fixed by this patch:
    Alexander> ftp://ftp.twiddle.net/pub/rth/d-asn-2.gz
    >>  Well it was worth a shot.
    >> 
    >> But after applying the patch, recompiling (about 10 or so tries
    >> to complete) then rebooting with the new kernel it failed on a
    >> make clean boot in linux-2.2.10.  Might be more stable, but the
    >> patch doesn't seem to have made much difference.

    Alexander> Hmm. It worked for me. Anyway, if 2.2.7 is stable for
    Alexander> you, try this patch on 2.2.10:


So far this patch to arch/alpha/kernel/entry.S, combined with d-asn
seems to make 2.2.10 behave at least as well as 2.2.7.

I still can't compile a kernel in one try, but like 2.2.7, X will stay
up under most conditions.  


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

* Re: Stable Alpha on 2.2?  How do we build a stable install?
  1999-06-30  2:12   ` Eric Bohm
  1999-06-30 11:16     ` Alexander V. Lukyanov
@ 1999-07-09  6:19     ` Matti Aarnio
  1999-07-12 21:05       ` Eric Bohm
  1999-07-09  6:36     ` Eric Bohm
  2 siblings, 1 reply; 25+ messages in thread
From: Matti Aarnio @ 1999-07-09  6:19 UTC (permalink / raw)
  To: axp-list; +Cc: Alexander V. Lukyanov

On Tue, Jun 29, 1999 at 10:12:11PM -0400, Eric Bohm wrote:
>     Alexander> This bug was fixed by this patch:
>     Alexander> ftp://ftp.twiddle.net/pub/rth/d-asn-2.gz
> 
> Well it was worth a shot.
> 
> But after applying the patch, recompiling (about 10 or so tries to
> complete) then rebooting with the new kernel it failed on a make clean
> boot in linux-2.2.10.  Might be more stable, but the patch doesn't
> seem to have made much difference.

	Before or after new kernel ?

	A way more reliable "patch" is to DISABLE  vfork()  by replacing
	current  alpha_vfork()  with following code:

int alpha_vfork(struct switch_stack * swstack)
{
        return do_fork(SIGCHLD, rdusp(),
                        (struct pt_regs *) (swstack+1));
}

	This is at arch/alpha/kernel/process.c


/Matti Aarnio <matti.aarnio@sonera.fi>


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

* Re: Stable Alpha on 2.2?  How do we build a stable install?
  1999-06-30  2:12   ` Eric Bohm
  1999-06-30 11:16     ` Alexander V. Lukyanov
  1999-07-09  6:19     ` Matti Aarnio
@ 1999-07-09  6:36     ` Eric Bohm
  2 siblings, 0 replies; 25+ messages in thread
From: Eric Bohm @ 1999-07-09  6:36 UTC (permalink / raw)
  To: axp-list

>>>>> "Eric" == Eric Bohm <bohm@gate.csgeeks.org> writes:

>>>>> "Alexander" == Alexander V Lukyanov <lav@yars.free.net> writes:
    Alexander> On Tue, Jun 29, 1999 at 03:54:04PM -0400, Eric Bohm
    Alexander> wrote:
    >>> - A nagging problem is that I can't compile any large package
    >>> (like the kernel) in one attempt.  cc gets a variety of nasty
    >>> signals or outright confused about how to compile something.
    >>> Running the make again will get me further through the
    >>> package.  The same stopping points aren't repeated on attempts
    >>> to replicate the scenario, so it appears to be a problem
    >>> outside the compilation system itself.

    Alexander> This bug was fixed by this patch:
    Alexander> ftp://ftp.twiddle.net/pub/rth/d-asn-2.gz

    Eric> Well it was worth a shot.

    Eric> But after applying the patch, recompiling (about 10 or so
    Eric> tries to complete) then rebooting with the new kernel it
    Eric> failed on a make clean boot in linux-2.2.10.  Might be more
    Eric> stable, but the patch doesn't seem to have made much
    Eric> difference.



Odd that it took that message so long to propagate.  

Well since then I've gotten random crashes from 2.2.10 and have
reverted to unpatched 2.2.7.  X sometimes crashes about once or twice
a day, but as long as I'm not using xdm or gdm, I can simply startx
again without disruption.  

Back when I was using xdm or gdm, an X crash would often completely
take out the display.  Which forced me to log in remotely to reboot.

So its not a perfect situation, but not using xfs, not using gdm, and
sticking with 2.2.7 is the most stable configuration I've gotten under
2.2 on this lx164 machine.


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

* Re: Stable Alpha on 2.2?  How do we build a stable install?
  1999-07-09  6:19     ` Matti Aarnio
@ 1999-07-12 21:05       ` Eric Bohm
  0 siblings, 0 replies; 25+ messages in thread
From: Eric Bohm @ 1999-07-12 21:05 UTC (permalink / raw)
  To: axp-list


Well I seem to have found the local problem.  My machine was a 533
overclocked to 600 Mhz.  I brought that back down to 533 and all my
crash problems have gone away.  Kernel compiles go smoothly, I was
able to load my machine up over 6 for an hour without difficulty, all
manner of X usage with no X crashes, etc.

Still running 2.2.7.  The bulk of my troubles seem to have been
related to overclocking.  Either coincidental with the RH6.0 upgrade,
or somehow the newer kernels trip something the older ones did not.

Thanks for the assistance.


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

* RE: Stable Alpha on 2.2?  How do we build a stable install?
@ 1999-07-12 21:25 Jim Wilson
  0 siblings, 0 replies; 25+ messages in thread
From: Jim Wilson @ 1999-07-12 21:25 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Hello All,
Not to sure if this is a newsgroup or how we are supposed to input 
questions but here is mine. I'm running an alpha box with Linux release 5.1 
(kernel 2.0.34). It was built back east and had the EDT timezone. Since I'm 
on the Pacific coast I reset the timezone correctly and edited the time 
(through x-windows). When I rebooted the machine the time went to July 
1978, I reset the time, rebooted and it did the exact same thing. I usually 
don't use any gui environment but thought I'd try it this time because what 
little documentation I have suggested doing it this way. Does anyone know 
what the problem is? I'm using the alpha as a mail server, for some reason 
now the headers have changed, instead of giving just the domain it now 
gives the machine name and the domain. Any help is appreciated, I'm new to 
the alpha platform.
thanks,
jim wilson

-----Original Message-----
From:	Eric Bohm [SMTP:bohm@gate.csgeeks.org]
Sent:	Monday, July 12, 1999 2:05 PM
To:	axp-list@redhat.com
Subject:	Re: Stable Alpha on 2.2?  How do we build a stable install?


Well I seem to have found the local problem.  My machine was a 533
overclocked to 600 Mhz.  I brought that back down to 533 and all my
crash problems have gone away.  Kernel compiles go smoothly, I was
able to load my machine up over 6 for an hour without difficulty, all
manner of X usage with no X crashes, etc.

Still running 2.2.7.  The bulk of my troubles seem to have been
related to overclocking.  Either coincidental with the RH6.0 upgrade,
or somehow the newer kernels trip something the older ones did not.

Thanks for the assistance.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


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

end of thread, other threads:[~1999-07-12 21:27 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-30 16:12 Stable Alpha on 2.2? How do we build a stable install? Jaap Hogenberg
1999-06-30 16:14 ` Eric Bohm
  -- strict thread matches above, loose matches on Subject: below --
1999-07-12 21:25 Jim Wilson
1999-06-30 21:18 designer seven
1999-06-30 17:56 designer seven
1999-06-30 19:22 ` mgraffam
1999-06-30 19:43   ` Michal Jaegermann
1999-06-30 15:50 James Peret
1999-06-30 15:57 ` Eric Bohm
1999-06-29 19:54 Eric Bohm
     [not found] ` <19990630043241.A1170@swing.yars.free.net>
1999-06-30  2:12   ` Eric Bohm
1999-06-30 11:16     ` Alexander V. Lukyanov
1999-06-30 14:18       ` Eric Bohm
1999-07-01 11:40       ` Eric Bohm
1999-07-09  6:19     ` Matti Aarnio
1999-07-12 21:05       ` Eric Bohm
1999-07-09  6:36     ` Eric Bohm
1999-06-30  8:00 ` Christian Iseli
1999-06-30  8:31 ` Dr. David Gilbert
1999-06-30  9:25   ` krebs
1999-06-30 14:17     ` Eric Bohm
1999-06-30 15:45       ` Greg Lindahl
1999-06-30 15:54         ` Eric Bohm
1999-06-30 16:08           ` Greg Lindahl
1999-06-30 17:07       ` Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox