Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Unstable Ruffian
@ 1998-08-26 14:34 furio ercolessi
  1998-08-26 14:39 ` Adrian Gartland
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: furio ercolessi @ 1998-08-26 14:34 UTC (permalink / raw)
  To: axp-list

Did anyone ever managed to get a stable kernel on a Ruffian?
If yes, please tell me how you did it!
My Ruffian is driving me nuts, as it crashes within a few days or 
sometimes even a few hours under a fairly moderate load.

H/W: Samsung PC164UX (Ruffian), 533MHz/4Mb, two SCSI disks, 
     S3 video, 256MB RAM, 128M+128M swap on two primary partitions
     on the two disks.
S/W: RH 5.1, kernel 2.0.35 from kernel-source-2.0.35-1.alpha.rpm,
     plus "PYXIS_RESET = 0x0000dead" patch (to allow rebooting) and
     tulip.c 0.83 replaced with 0.89H (as 0.83 would not compile).
     I compiled it with egcs 1.0.3a (that I built from sources,
     with the Haifa scheduler disabled).

After I while I get a kernel message induced by kswapd:

Aug 25 21:46:09 axis kernel: Unable to handle kernel paging request at virtual address 0000000000000028
Aug 25 21:46:09 axis kernel: kswapd(3): Oops 0
Aug 25 21:46:09 axis kernel: pc = [<fffffc000032d000>] ps = 0000
Aug 25 21:46:09 axis kernel: rp = [<fffffc0000333634>] sp = fffffc00001f9db0
Aug 25 21:46:09 axis kernel: r0=7 r1=0 r2=1 r3=0
Aug 25 21:46:09 axis kernel: r8=400
Aug 25 21:46:09 axis kernel: r16=0 r17=0 r18=1 r19=0
Aug 25 21:46:09 axis kernel: r20=0 r21=ffffffffffffffff r22=0 r23=3010b54f8
Aug 25 21:46:09 axis kernel: r24=600000000000000 r25=a r26=fffffc0000333634 r27=fffffc000032cf28
Aug 25 21:46:09 axis kernel: r28=1 r29=fffffc00004421a8 r30=fffffc00001f9db0
Aug 25 21:46:09 axis kernel: Code: b43e0040  e4200014  44210403 <a0230028> 48209781  e020000c  a8430028  444d0001  e4200003 
Aug 25 21:46:09 axis kernel: kfree of non-kmalloced memory: fffffc0005b48728, next= 0000000000000000, order=1

(fffffc000032d000 is in shrink_mmap, fffffc0000333634 in try_to_free_page,
 fffffc000032cf28 is shrink_mmap's entry, fffffc00004421a8 in __strtok)
and after that a similar things happens to various other applications

Aug 25 22:36:14 axis kernel: Unable to handle kernel paging request at virtual address 0000000000000040
Aug 25 22:36:14 axis kernel: rateup(3870): Oops 0
Aug 25 22:36:14 axis kernel: pc = [<fffffc000033bac4>] ps = 0000
Aug 25 22:36:14 axis kernel: rp = [<fffffc000033bae0>] sp = fffffc0000a4fb58
Aug 25 22:36:14 axis kernel: r0=0 r1=2770d r2=0 r3=0
Aug 25 22:36:14 axis kernel: r8=fffffc00004265c0
Aug 25 22:36:14 axis kernel: r16=0 r17=fffffc0000a4fb78 r18=1 r19=4
Aug 25 22:36:14 axis kernel: r20=fffffc0000a4fe68 r21=7 r22=fffffc00004265a8 r23=fffffc0002f33768
Aug 25 22:36:14 axis kernel: r24=28e000 r25=2000 r26=fffffc000033bae0 r27=fffffc000033e338
Aug 25 22:36:14 axis kernel: r28=0 r29=fffffc00004421a8 r30=fffffc0000a4fb58
Aug 25 22:36:14 axis kernel: Code: 47ff041f  2fe00000  a61e0020 <a4300040> 416105a1  f420000c  43c41411  47e03412  a77d9b00 
Aug 25 22:36:14 axis kernel: Unable to handle kernel paging request at virtual address 0000000000000040

until the system becomes totally unusable.
Any clue will be mostly welcome...  thanks in advance

furio ercolessi
Spin - Trieste (Italy)


^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
@ 1998-08-26 17:36 Greg Lindahl
  1998-08-26 17:41 ` furio ercolessi
  1998-08-26 19:02 ` Wes Bauske
  0 siblings, 2 replies; 26+ messages in thread
From: Greg Lindahl @ 1998-08-26 17:36 UTC (permalink / raw)
  To: axp-list

> Your error sounds like an old one I had a year ago.
> Try setting MEMSIZE in milo to a number 2-4 MB smaller
> than your real memory size before booting the kernel.

This paging bug (only on PC164LX with certain power-of-2 memory sizes)
was fixed by a more recent version of MILO (last January?). But, it's
a good thing to try.

-- g


^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
@ 1998-09-19 15:36 furio ercolessi
  1998-09-19 17:12 ` Michal Jaegermann
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: furio ercolessi @ 1998-09-19 15:36 UTC (permalink / raw)
  To: axp-list; +Cc: tech, info

Hi all,

I summarize my current state of affairs with the Samsung
PC164UX a.k.a. Ruffian.

Problem
-------
As previously reported, I have been plagued by instabilities caused 
by paging-related errors, clearly observable under memory-intensive load
but they also occur with a light load (as Linux uses all the memory
anyway).
The errors, as observed under 2.0.35, fall into these categories:
(a) kswapd going 'Oops 0'
(b) Erratic 'Unable to handle kernel paging request' from an application
(c) 'Aiee, killing interrupt handler' from swapper
observed on three distinct machines, one with Fujutsu MAB 4.5GB and 
other two with Seagate Cheetah 9GB, each tested with 256 or 512MB RAM.
Which one is actually observed depends on the configuration details
and on the compiler used (I used mostly gcc 2.7.2.3 and egcs 1.1).

Similar or related symptoms have been also observed by other users of
this machine on this list (Adrian Gartland, Tilo Wettig, Ulrich
Stille on 2.0.x but not 2.1.x, Jay Estabrook?), but other users did not 
observe them (Michal Jaegermann).

A test on one of my machines using 2.1.122 produced either error (a),
or a new kind of error (coming from page_io.c which changed in 2.1.x):
(d) swap_cache: replacing page-cached entry on page fffffc0007692000
    Kernel panic: Tried to swap a non-swapper page

Empirical fixes
---------------
I have been able to eliminate (at least under my test conditions)
the problem on 2.0.35 by doing ANY one of the following actions:
(1) reduce the amount of memory used by Linux (from MILO)
    down to 224MB (even for the 512MB it was necessary to go
    down to that number);
(2) redefine the partitions so that both swap and Linux (not just
    the kernel!) sit within the first GB of the disk;
(3) increase the parameter SHMMAX in include/asm/shmparam.h from
    0x3fa000 to 0x1000000.
Everything was done on an empirical basis, following suggestions
sent me by various people and a lot of fiddling, and for none of 
them I have a real understanding of what is actually happening.

(2) was done following a suggestion of Deskstation support;
They have merely given me the setup of their Linux system and have no 
understanding of the problem. They say that the hardware has been
extensively tested under NT, so that this must be a s/w problem.
They explicitly stated that they have difficulties in giving Linux
support because "Linux changes so fast".

(3) is a suggestion from Tilo Wettig, since that fixed his cdrom burner.
I do not know the implications of this change.

However, none of these actions seem to be effective in removing the
problem on 2.1.122.  This seems to suggest that they are
masquerading the problem, making it less likely to occur, rather than 
removing it.  Also, it suggests debugging the problem may be faster
on 2.1.x, since it is more visible.  However, these findings are in
sharp contrast with Ulrich Stille's findings, that 2.0.x crashes
but 2.1.x does not.  This may be due to the compiler, as he
uses gcc 2.8.1 that I do not have installed at present.

We will probably put the machines into production using 2.0.35
with fix number (3) and crossing fingers, but the problem is really 
still open.

Thanks to everybody who corresponded with me on this issue.

furio ercolessi
Spin - Trieste (Italy)


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

end of thread, other threads:[~1998-09-23 17:14 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-26 14:34 Unstable Ruffian furio ercolessi
1998-08-26 14:39 ` Adrian Gartland
1998-08-26 15:40   ` Michal Jaegermann
1998-08-26 16:59     ` furio ercolessi
1998-08-26 17:33       ` Wes Bauske
1998-09-09 10:43         ` furio ercolessi
1998-09-10 11:08           ` furio ercolessi
1998-09-14 23:48             ` furio ercolessi
1998-09-10 17:20           ` Heinz Ulrich Stille
1998-08-26 15:07 ` Maurice Hilarius
1998-08-26 20:59 ` Heinz Ulrich Stille
1998-08-26 23:24   ` Robb
  -- strict thread matches above, loose matches on Subject: below --
1998-08-26 17:36 Greg Lindahl
1998-08-26 17:41 ` furio ercolessi
1998-08-26 19:02 ` Wes Bauske
1998-09-19 15:36 furio ercolessi
1998-09-19 17:12 ` Michal Jaegermann
1998-09-20  0:44 ` Maurice Hilarius
1998-09-20  9:16   ` furio ercolessi
1998-09-21 11:46 ` Heinz Ulrich Stille
1998-09-21 14:16   ` furio ercolessi
1998-09-21 14:27     ` Gerhard Schneider
1998-09-21 19:01     ` Quant-X Alpha Linux Support
1998-09-21 21:00       ` furio ercolessi
1998-09-23 15:35         ` Stephen C. Tweedie
1998-09-22 17:52     ` furio ercolessi

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