* 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 14:34 Unstable Ruffian furio ercolessi
@ 1998-08-26 14:39 ` Adrian Gartland
1998-08-26 15:40 ` Michal Jaegermann
1998-08-26 15:07 ` Maurice Hilarius
1998-08-26 20:59 ` Heinz Ulrich Stille
2 siblings, 1 reply; 26+ messages in thread
From: Adrian Gartland @ 1998-08-26 14:39 UTC (permalink / raw)
To: axp-list
On Wed, 26 Aug 1998, furio ercolessi wrote:
> 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).
>
Uninstall egcs and stick on gcc 2.8.x or 2.7.x.
compile - install - reboot - enjoy
--
Adrian Gartland [Email: ade@oregan.net]
Software Engineer [WWW: http://www.oregan.net/]
Oregan Networks [Phone: +44 (0)1530 563311]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
1998-08-26 14:34 Unstable Ruffian furio ercolessi
1998-08-26 14:39 ` Adrian Gartland
@ 1998-08-26 15:07 ` Maurice Hilarius
1998-08-26 20:59 ` Heinz Ulrich Stille
2 siblings, 0 replies; 26+ messages in thread
From: Maurice Hilarius @ 1998-08-26 15:07 UTC (permalink / raw)
To: axp-list
With regards to your message at 04:34 PM 08-26-98 METDST, furio ercolessi.
Where you stated:
>Did anyone ever managed to get a stable kernel on a Ruffian?
>If yes, please tell me how you did it!
Tell us what you have for video and other cards in it.
I probably could send you a vmlinux.gz to try, as long as your stuff is
similar enough to what we use.
We DO find there is a problem with the ethernet on some of these, caused by
the use of a "bad" crystal. This doesn't cause crashes, though, just
failure to communicate if fast disks are heavily used. Look by the ethernet
port on the board for a crystal, silver in colour. It is 25MHz. What brand
is written on it?
Please respond by private email to pursue this with me, though, we don't
need to "spam" the list.
Cheers,
+--------------------------------------------------------+
| Maurice Hilarius | The Past is History |
| | The Future is Mystery |
| | Today is a Gift |
| Phone (403) 456-1510 | That is why they call it |
| email:maurice@harddata.com | The Present |
+--------------------------------------------------------+
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
1998-08-26 14:39 ` Adrian Gartland
@ 1998-08-26 15:40 ` Michal Jaegermann
1998-08-26 16:59 ` furio ercolessi
0 siblings, 1 reply; 26+ messages in thread
From: Michal Jaegermann @ 1998-08-26 15:40 UTC (permalink / raw)
To: axp-list
Adrian Gartland wrote:
>
> On Wed, 26 Aug 1998, furio ercolessi wrote:
>
> > Did anyone ever managed to get a stable kernel on a Ruffian?
> > If yes, please tell me how you did it!
.....
>
> Uninstall egcs and stick on gcc 2.8.x or 2.7.x.
> compile - install - reboot - enjoy
From my experience this is a very doubtful advice - especially
if you are talking about gcc 2.8.0 (which is really bad). Most
of an advice you hear about not using egcs concerns Intel 2.0.x
kernels which use some **assembler** constructs which may confuse
optimizer. For that you are supposed to use some very specific
gcc versions, which were used in a kernel development in the first
place, and definitely not 2.8.x.
Problems caused by "register pressure" are not likely to hit
you on Alpha and this thing is a bug with a long history which is
equally present at this moment in gcc and egcs.
General claims without supporting evidence are just that.
Michal
p.s. Posting a bunch of registers dumps from **some** kernel is not
of a very great help. Nobody but a poster can tie them up, with
a help of a System.map for this particular kernel, to a specific
piece of code. Once that done it is not even very hard to
disassemble an associated machine ops with a help of objdump or gdb.
Without that this is just a pile of numbers.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
1998-08-26 15:40 ` Michal Jaegermann
@ 1998-08-26 16:59 ` furio ercolessi
1998-08-26 17:33 ` Wes Bauske
0 siblings, 1 reply; 26+ messages in thread
From: furio ercolessi @ 1998-08-26 16:59 UTC (permalink / raw)
To: axp-list
> >
> > Uninstall egcs and stick on gcc 2.8.x or 2.7.x.
> > compile - install - reboot - enjoy
I thank Adrian for this suggestion: I will try it.
Michal:
> From my experience this is a very doubtful advice - especially
> if you are talking about gcc 2.8.0 (which is really bad).
> [...]
> Problems caused by "register pressure" are not likely to hit
> you on Alpha and this thing is a bug with a long history which is
> equally present at this moment in gcc and egcs.
I am not in the position to comment about this.
However, I noticed that all the "official" kernels for this board -
and with this term I mean the original Deskstation 2.0.30 at
ftp://www.deskstation.com/linux/ and the one in
ftp://ftp.redhat.com/pub/redhat/redhat-5.1/alpha/kernels/ruffian.gz
(by Jay?) - were compiled with gcc and not with egcs (in spite of the
fact that RH 5.1 is distributed with egcs and not with gcc).
So there is something fishy here, and there might be something
right in Adrian's suggestion, from an empirical point of view.
> p.s. Posting a bunch of registers dumps from **some** kernel is not
> of a very great help. Nobody but a poster can tie them up, with
> a help of a System.map for this particular kernel, to a specific
> piece of code.
Yes, I apologize. I did not expect anyone to diagnose my problem
at this stage, I was just looking for general suggestions and
wanted to give a flavor of the kind of problem I have.
Anyway, I did look into the system map and included the name of
the functions in my post. I admit to be very ignorant about
decoding oops messages. But according to Linus (oops-tracing.txt),
I will be very good at that in the year 2003, and perhaps even
before that if I persist in trying to use this board ;-)
Thanks to everybody in this thread!
furio ercolessi
Spin - Trieste (Italy)
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
1998-08-26 16:59 ` furio ercolessi
@ 1998-08-26 17:33 ` Wes Bauske
1998-09-09 10:43 ` furio ercolessi
0 siblings, 1 reply; 26+ messages in thread
From: Wes Bauske @ 1998-08-26 17:33 UTC (permalink / raw)
To: axp-list
furio ercolessi wrote:
>
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.
Wes
^ 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-08-26 17:36 Greg Lindahl
@ 1998-08-26 17:41 ` furio ercolessi
1998-08-26 19:02 ` Wes Bauske
1 sibling, 0 replies; 26+ messages in thread
From: furio ercolessi @ 1998-08-26 17:41 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.
The MILO I use is
ftp://gatekeeper.dec.com/pub/DEC/Linux-Alpha/Kernels/Test-Milos-2.0.30+/ruffian.img
dated april 1998.
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
1 sibling, 0 replies; 26+ messages in thread
From: Wes Bauske @ 1998-08-26 19:02 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > 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.
>
Humm. I had it on a PC164, not my PC164LX....
It only takes a reboot to test and at worst,
you're where you are now. Those paging oops are the
same symptom of the problem when I had it.
Wes
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
1998-08-26 14:34 Unstable Ruffian furio ercolessi
1998-08-26 14:39 ` Adrian Gartland
1998-08-26 15:07 ` Maurice Hilarius
@ 1998-08-26 20:59 ` Heinz Ulrich Stille
1998-08-26 23:24 ` Robb
2 siblings, 1 reply; 26+ messages in thread
From: Heinz Ulrich Stille @ 1998-08-26 20:59 UTC (permalink / raw)
To: axp-list
On Wed, 26 Aug 1998, furio ercolessi wrote:
> Did anyone ever managed to get a stable kernel on a Ruffian?
> If yes, please tell me how you did it!
Try 2.1.117 or later with the generic kernel patches by Richard Henderson
(ftp://ftp.cygnus.com/pub/home/rth/d-axp-gen-11.gz). So far it works for
me.
I compiled the kernel (2.1.118 now) as system type "generic", with gcc
2.8.1 and binutils 2.9.1; no crashes yet.
MfG, Ulrich
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
1998-08-26 20:59 ` Heinz Ulrich Stille
@ 1998-08-26 23:24 ` Robb
0 siblings, 0 replies; 26+ messages in thread
From: Robb @ 1998-08-26 23:24 UTC (permalink / raw)
To: axp-list
What are the implications, performance-wise, etc., of compiling a kernel
as "generic" vs. using the actual system type?
Thanks,
Robb.
Heinz Ulrich Stille wrote:
>
> On Wed, 26 Aug 1998, furio ercolessi wrote:
> > Did anyone ever managed to get a stable kernel on a Ruffian?
> > If yes, please tell me how you did it!
>
> Try 2.1.117 or later with the generic kernel patches by Richard Henderson
> (ftp://ftp.cygnus.com/pub/home/rth/d-axp-gen-11.gz). So far it works for
> me.
>
> I compiled the kernel (2.1.118 now) as system type "generic", with gcc
> 2.8.1 and binutils 2.9.1; no crashes yet.
>
> MfG, Ulrich
--
- --
Robb Romans | Linux 2.1.117
Southwest Texas State University | on an Alpha 21164/300MHz
Ceci n'est pas une signature | RedHat RawHide 1.0.2
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
1998-08-26 17:33 ` Wes Bauske
@ 1998-09-09 10:43 ` furio ercolessi
1998-09-10 11:08 ` furio ercolessi
1998-09-10 17:20 ` Heinz Ulrich Stille
0 siblings, 2 replies; 26+ messages in thread
From: furio ercolessi @ 1998-09-09 10:43 UTC (permalink / raw)
To: axp-list; +Cc: furio
Hi all,
I resume this thread of about two weeks ago, as I finally
discovered something useful to track the problem. Summary:
PC164UX (aka Ruffian), with 256MB RAM and 256MB swap,
exhibits occasional kernel errors on applications, of the type
kernel: Unable to handle kernel paging request at virtual address
0000000000cff2ae
kernel: rateup(6053): Oops 0
and sometimes even
kernel: swapper(0): Oops 0
kernel: Aiee, killing interrupt handler
thus making the system unusable. s/w is RH 5.1 with kernel 2.0.35.
This occurs on three different machines, so it cannot be a faulty h/w part.
As suggested, I tried pristine kernel source+AXP patches instead of
RH sources, compiling with egcs 1.0.3a and gcc 2.7.2.3, etc.,
but eventually the best suggestion was the one by Wes Bauske:
> 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.
I had to reduce MEMORY_SIZE by much more than that. After
several attempts I found that
with >=32MB less (MEMORY_SIZE<=224MB) the system is stable.
with <=16MB less (MEMORY_SIZE>=240MB) the system is still unstable.
So it has something to do with the utilization of high memory.
If somebody wants to try to see the bug, the fortran program below
does wonders in triggering it. It simply allocates a 300MB array
(I run it on 256MB RAM+256MB swap) and writes in random locations,
inducing intense paging activity. The paging error typically
shows up within a few minutes of running this thing.
Now, I have of course no clue about the reason for this behavior,
but at least I found a way to put these beasts into production.
Or at least I hope so. Crossing fingers ...
furio ercolessi
Spin - Trieste (Italy)
=========================================================================
program hog
implicit integer (a-z)
parameter (megs=300)
parameter (size=megs*1024*1024/4)
integer maiale(size)
common/porcile/ maiale
print*,megs,'MB hog'
print*,'initializing...'
do i=1,size
maiale(i) = i
enddo
9 continue
print*,'going...'
do i=1,size
call srand(i)
k=int(rand()*size) + 1
maiale(k) = maiale(k) - 1
if ( maiale(k) .eq. k ) goto 1
enddo
goto 9
1 continue
print*,'ending ',k
end
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
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
1 sibling, 1 reply; 26+ messages in thread
From: furio ercolessi @ 1998-09-10 11:08 UTC (permalink / raw)
To: axp-list; +Cc: furio
> I had to reduce MEMORY_SIZE by much more than that. After
> several attempts I found that
> with >=32MB less (MEMORY_SIZE<=224MB) the system is stable.
> with <=16MB less (MEMORY_SIZE>=240MB) the system is still unstable.
Today I tried with MEMORY_SIZE=226MB and it crashed pyrotechnically.
So: I must leave at least 32MB free.
I wonder if this may have something to do with MILO, not the kernel.
Ny MILO is the one from gatekeeper (the Deskstation MILO gives me a
blank screen).
Other experiment of today: compiling 2.0.35 with egcs 1.1b produces
runtime errors (of a similar type), but regardless of the amount of
memory I remove (I even tried 128M), so I stick with gcc.
Next experiment is putting 512MB in the machine (I have a 256MB bank
sitting on my desk) and check whether I have to throw away 32 or 288 :-)
furio ercolessi
Spin - Trieste (Italy)
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
1998-09-09 10:43 ` furio ercolessi
1998-09-10 11:08 ` furio ercolessi
@ 1998-09-10 17:20 ` Heinz Ulrich Stille
1 sibling, 0 replies; 26+ messages in thread
From: Heinz Ulrich Stille @ 1998-09-10 17:20 UTC (permalink / raw)
To: axp-list; +Cc: furio
On Wed, 9 Sep 1998, furio ercolessi wrote:
> If somebody wants to try to see the bug, the fortran program below
> does wonders in triggering it. It simply allocates a 300MB array
Well, it didn't for me. At the moment I use a stock 2.1.121 kernel,
system type `ruffian'. The program ran for some hours without any
errors (with 200MB hog on 128+128MB memory).
I did not try a 2.0.x kernel since those did show such instabilities
anyway without further encouraging.
The only problem I still have is the X server (XFree86) which sometimes
locks up the system on exit - sysrq still works, telnet doesn't.
Everything else seems stable now.
MfG, Ulrich
---
"If you were a boy I'd say are you going to seek your fortune?" "Can't girls
seek their fortune?" "I think they're supposed to seek a boy with a fortune."
T. Pratchett, "Equal Rites"
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
1998-09-10 11:08 ` furio ercolessi
@ 1998-09-14 23:48 ` furio ercolessi
0 siblings, 0 replies; 26+ messages in thread
From: furio ercolessi @ 1998-09-14 23:48 UTC (permalink / raw)
To: axp-list; +Cc: furio
> > I had to reduce MEMORY_SIZE by much more than that. After
> > several attempts I found that
> > with >=32MB less (MEMORY_SIZE<=224MB) the system is stable.
> > with <=16MB less (MEMORY_SIZE>=240MB) the system is still unstable.
>
> Today I tried with MEMORY_SIZE=226MB and it crashed pyrotechnically.
> So: I must leave at least 32MB free.
>
> Next experiment is putting 512MB in the machine (I have a 256MB bank
> sitting on my desk) and check whether I have to throw away 32 or 288 :-)
Answer: the second case. It is not a matter of leaving 32MB free.
Even with 512MB of physical RAM, my PC164UX's (all three of them) are
unstable when Linux uses more than 224MB. Up to 224MB they are
stable as rocks.
This perhaps explains why some people on this list did not
have problems, while other did.
My management is now asking me to give up and swap these
machines with LX's, or Intel boxes. This is the last week of
experimentation, then we say goodbye to the UX. Sigh. It was fast.
furio ercolessi
Spin - Trieste (Italy)
^ 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
* Re: Unstable Ruffian
1998-09-19 15:36 furio ercolessi
@ 1998-09-19 17:12 ` Michal Jaegermann
1998-09-20 0:44 ` Maurice Hilarius
1998-09-21 11:46 ` Heinz Ulrich Stille
2 siblings, 0 replies; 26+ messages in thread
From: Michal Jaegermann @ 1998-09-19 17:12 UTC (permalink / raw)
To: axp-list
>
> (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".
>
What a lame excuse!!! First kernel from 2.0.x series was released in July
1996 (yes, you are reading this correctly!). A long used popular 2.0.30
kernel is from April 1997. A long standing staple of many releases and
basis for multiple "avanced" milos 2.0.33 is from December 1997. There is
a recent burst of activity and we are closing to a new 2.0.36 release
but Deskstation does not have to concerns themselves with that at all.
The whole boot setup, which affects them, did stay really unchanged for
much longer than the dates above would indicate.
I heard this "Linux changes so fast" complaint before. It usually
translates to "We do not have the slightest clue what we are talking
about".
--mj
^ 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
@ 1998-09-20 0:44 ` Maurice Hilarius
1998-09-20 9:16 ` furio ercolessi
1998-09-21 11:46 ` Heinz Ulrich Stille
2 siblings, 1 reply; 26+ messages in thread
From: Maurice Hilarius @ 1998-09-20 0:44 UTC (permalink / raw)
To: axp-list
With regards to your message at 05:36 PM 09-19-98 METDST, furio ercolessi.
Where you stated:
>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
<<<<snip>>>>
>(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".
What a load. On 2 occasions I have spoken to Mike Kinney at Deskstation.
The first was an enquiry that asked for him to finish/fix ldmilo.
He then complained he did all he could, but that as linload.exe was not
published as source, he could only guess at and approximate its
functionality. Afte some phone calls and email Jim Paradis decided to solve
this problem by getting permission and clarifying it was OK to publish
these sources, which he has done a few months ago (late May?).
I waited a while to see if anything would happen, and then in August I
called him and asked if he now had plans to look at this. HEtold me that it
was a low priority,a nd maybe "in a month". The month has now passed, so I
think I will ask him again this week.
The second was to ask if they could modify ARCSBIOS to support booting over
a network, in BOOTP fashion. He left me a message explaining that this
wouls be a lot of work as he "would have to support a lot of diffeent
network interfaces." I called him and asked why he thought this. As the
UX/AKA Ruffian has a built-in Tulip 21140 chip I saw that this would be
sufficint for almost everyone. I suggested that they might see some
interest on Beowulf style setups if they followed this simple path. I even
asked if they could quote a cost for this work, if necessary. He called me
back a few days late and said that they had "no available resources to do
this".
Cheers,
+--------------------------------------------------------+
| Maurice Hilarius | The Past is History |
| Edmonton, Alberta, Canada | The Future is Mystery |
| | Today is a Gift |
| Phone (403) 456-1510 | That is why they call it |
| email:maurice@harddata.com | The Present |
+--------------------------------------------------------+
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
1998-09-20 0:44 ` Maurice Hilarius
@ 1998-09-20 9:16 ` furio ercolessi
0 siblings, 0 replies; 26+ messages in thread
From: furio ercolessi @ 1998-09-20 9:16 UTC (permalink / raw)
To: axp-list
> What a load. On 2 occasions I have spoken to Mike Kinney at Deskstation.
[...]
> asked if they could quote a cost for this work, if necessary. He called me
> back a few days late and said that they had "no available resources to do
> this".
I wonder what is the current relationship between Deskstation and Samsung.
From what I understand, Deskstation designed the hardware, and
Samsung currently manufactures and markets it. There is presumably
some kind of contract between the two companies regarding
support issues, but I have no idea of what it is.
In other words, perhaps Deskstation is supporting Linux badly
simply because their current contract with Samsung contemplates
only NT support, and if this is the case, the bad Linux support is not
totally their fault (we all know, business is business), and
it is Samsung that should be pressurized.
I contacted both Deskstation and Samsung about my problem.
Both answered as they were independent. Deskstation gave
me quickly the strange solution of putting everything in
the first GB of the disk, and could not give me further details.
Samsung asked for details a few days ago, and I did not hear
anything from them since then (yesterday I sent to both of them the
summary I posted in axp-list).
furio ercolessi
Spin - Trieste (Italy)
^ 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
1998-09-20 0:44 ` Maurice Hilarius
@ 1998-09-21 11:46 ` Heinz Ulrich Stille
1998-09-21 14:16 ` furio ercolessi
2 siblings, 1 reply; 26+ messages in thread
From: Heinz Ulrich Stille @ 1998-09-21 11:46 UTC (permalink / raw)
To: axp-list
Hi!
On Sun, 20 Sep 1998, furio ercolessi wrote:
>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.
I do not think that it is compiler related as I tried gcc-2.7.2.3, gcc-2.8.1
and egcs-1.0.3a with kernel 2.0.x and always got errors (I don't remember
whether there was a significant difference between the three - I always got
processes randomly hanging in disk wait state or oopsing; the game was over
when this hit something like the swapper). OTOH I can't remember any problems
with the 2.0.34 in the RH 5.1 distribution - apart from that it did include
neither the drivers I need nor module support.
To me it looks like 2.1.x works for me just because I have only 128MB of
RAM (+128MB swap). Could someone please donate me some more memory so
I can verify this? ;-)#
--
...., and study was never a one-way thing. A man might spend his life peering
at the private life of elementary particles and then find he either knew who
he was or where he was, but not both.
T. Pratchett, "Hogfather"
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
1998-09-21 11:46 ` Heinz Ulrich Stille
@ 1998-09-21 14:16 ` furio ercolessi
1998-09-21 14:27 ` Gerhard Schneider
` (2 more replies)
0 siblings, 3 replies; 26+ messages in thread
From: furio ercolessi @ 1998-09-21 14:16 UTC (permalink / raw)
To: axp-list
> I do not think that it is compiler related as I tried gcc-2.7.2.3, gcc-2.8.1
> and egcs-1.0.3a with kernel 2.0.x and always got errors (I don't remember
> whether there was a significant difference between the three - I always got
> processes randomly hanging in disk wait state or oopsing; the game was over
> when this hit something like the swapper). OTOH I can't remember any problems
> with the 2.0.34 in the RH 5.1 distribution - apart from that it did include
> neither the drivers I need nor module support.
>
> To me it looks like 2.1.x works for me just because I have only 128MB of
> RAM (+128MB swap).
Aah-haa, so we have a new piece for the puzzle: 2.0.x may crash even
with 128MB.
I also got a new piece for the puzzle: my "fix" (3):
increase the parameter SHMMAX in include/asm/shmparam.h from
0x3fa000 to 0x1000000.
is not really a fix - as others pointed out - since the machine
with this modification went astray today when trying to unpack
a 48MB tar file, and the crash was reproducible. No error messages
were left in /var/log this time, and damages to the file systems
were rather extensive, requiring manual fsck'ing.
OTOH, I got an interesting mail from Quant-X.com where it was suggested
to sync the disks every three seconds ("while true ; do sync ; sleep 3 ; done"
running in background) and this apparently brought me back stability
(at least I could successfully untar the same file).
> Could someone please donate me some more memory so
> I can verify this? ;-)#
Come down to Trieste with your machine and some beer, and I will lend
you memory for the tests :-)
furio ercolessi
Spin - Trieste
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
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-22 17:52 ` furio ercolessi
2 siblings, 0 replies; 26+ messages in thread
From: Gerhard Schneider @ 1998-09-21 14:27 UTC (permalink / raw)
To: axp-list
>
> Aah-haa, so we have a new piece for the puzzle: 2.0.x may crash even
> with 128MB.
>
Another piece to your puzzle:
2.0.35+Alpha-patches for 2.0.34 compiled with egcs-1.03a on a Ruffian w/4MB L3
cache and 256 MB RAM up for 20 days..
Onboard DEC 21043 doesn't work w/ tulip drivers on 100TX - worked on the 2MB L3
motherboard, (now using a DE500TX PCI card), the kernel has to be on a low
I-node, otherwise MILO cannot boot it,..
Had my kernel panics before (e2fsck 1.12 saved my life), but knock on wood...
Gerhard Schneider
--
Gerhard Schneider e-Mail: gs@ilfb.tuwien.ac.at
Institute of Light Weight Structures (E317) Tel.: +43 1 58801 31716
Technical University of Vienna / Austria Fax: +43 1 505 44 68
A-1040 Wien, Gusshausstrasse 27-29 http://ilfb.tuwien.ac.at/~gs/
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
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-22 17:52 ` furio ercolessi
2 siblings, 1 reply; 26+ messages in thread
From: Quant-X Alpha Linux Support @ 1998-09-21 19:01 UTC (permalink / raw)
To: axp-list, Jay A Estabrook; +Cc: rth
Hi Furio !
> OTOH, I got an interesting mail from Quant-X.com where it was suggested
> to sync the disks every three seconds ("while true ; do sync ; sleep 3 ; done"
> running in background) and this apparently brought me back stability
> (at least I could successfully untar the same file).
Just for clarification:
the sync stuff "fixes" problems on LX with 1GB RAM for me.
it worked also when using "sleep 7" so you may experiment a bit.
(I checked it, bdflush/update was running)
I really wonder that this worked for me (funny that I tried this
at all ;-}) but this is for shure not a real solution.
It's interesting that this works on UX too, so we had for shure
the same problem, and I'm not totally crazy. ;-}
I tried the sync stuff because of a fancy behavior:
I have a clean linux-2.1.110 kernel and I use scripts/patch-kernel
On LX using 1GB RAM to come to the current version.
The following
cat linux-2.1.110 ; ( cd /usr/src; tar zxvpf -)
/usr/src/scripts/patch-kernel
generated rejects when doing this without "sync" on
LX 1GB but works fine on {LX,SX}{128,256}MB systems.
I removed the 1GB RAM and switched back to 128MB and I
have not seen the hang on "SMC multi-i/o" anymore while
when using 1GB I needed to boot up to 9 times.
So we still have weird problems on high memory systems;
and this one does not depend on Ruffian...
ciao -
Stefan
--
Quant-X Service & Ph: (+43) 4212 6004-0
Consulting Ges.m.b.H. Fax: (+43) 4212 600420
http://www.quant-x.com Email: support@quant-x.com
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
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
0 siblings, 1 reply; 26+ messages in thread
From: furio ercolessi @ 1998-09-21 21:00 UTC (permalink / raw)
To: support; +Cc: axp-list, Jay.Estabrook, rth
> > OTOH, I got an interesting mail from Quant-X.com where it was suggested
> > to sync the disks every three seconds ("while true ; do sync ; sleep 3 ; done"
> > running in background) and this apparently brought me back stability
> > (at least I could successfully untar the same file).
>
> Just for clarification:
> the sync stuff "fixes" problems on LX with 1GB RAM for me.
> it worked also when using "sleep 7" so you may experiment a bit.
> (I checked it, bdflush/update was running)
No, this really does not work for me. Today I tried to untar
a 20MB tar file, and the machine was locked very solidly, with a
kernel: Kernel panic: VFS: Free block list corrupted
Everything occurred in less than three seconds indeed.
Three seconds are enough to build up a critical condition.
Well, these machines can move quite a bit of data in three
seconds. Maybe I should slow down the disks as well (now I am
running them in FAST-20 WIDE mode, because SCSI works as
a charm...), and remove the sleep altogether ....
> I really wonder that this worked for me (funny that I tried this
> at all ;-}) but this is for shure not a real solution.
> It's interesting that this works on UX too, so we had for shure
> the same problem, and I'm not totally crazy. ;-}
> [...]
> generated rejects when doing this without "sync" on
> LX 1GB but works fine on {LX,SX}{128,256}MB systems.
> [...]
> So we still have weird problems on high memory systems;
> and this one does not depend on Ruffian...
The point is, how much is "high"? I have problems with 256MB,
and somebody else reported similar problems with 128MB.
I tend to think that there is an error in the port of
the virtual memory code for these machines, which in some cases
for fortuitous circumstances does not prevent machines from
operating regularly.
furio ercolessi
Spin - Trieste (Italy)
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
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-22 17:52 ` furio ercolessi
2 siblings, 0 replies; 26+ messages in thread
From: furio ercolessi @ 1998-09-22 17:52 UTC (permalink / raw)
To: axp-list
Cc: Jay.Estabrook, info, Dreyer, stefan, TWCHOI, tmiller, SIPark, sct,
tech
Update on our UX problem: things are worse than expected, since
we have reduced memory down to 128MB but the machine still
crashes under memory-intensive load, using a 2.0.35 Linux kernel.
This time I used Dave Gilbert's program as a test
( http://archive.redhat.com/axp-list/1998-September/0605.html )
with #define SIZE (31*1024*1024*sizeof(int)) (on purpose large enough
to induce paging activity), obtaining within a few seconds:
Whoops: unlock_buffer: async io complete on unlocked page
The machine had to be rebooted after that.
Disk was running in FAST-5 WIDE mode (10 MB/s) to stay on the safe side.
We are rather desperate.
furio ercolessi
Spin - Trieste
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Unstable Ruffian
1998-09-21 21:00 ` furio ercolessi
@ 1998-09-23 15:35 ` Stephen C. Tweedie
0 siblings, 0 replies; 26+ messages in thread
From: Stephen C. Tweedie @ 1998-09-23 15:35 UTC (permalink / raw)
To: axp-list; +Cc: support, Jay.Estabrook, rth
Hi,
On Mon, 21 Sep 1998 23:00:37 METDST, furio ercolessi <furio@spin.it>
said:
> No, this really does not work for me. Today I tried to untar
> a 20MB tar file, and the machine was locked very solidly, with a
> kernel: Kernel panic: VFS: Free block list corrupted
That's useful: it means that kernel memory is being corrupted. The free
block list is not mapped anywhere, and is not touched by dma. It's a
pure kernel-internal data structure which should be touched by nothing
except the standard kernel-mode code.
Of course, it is possible that the data structure was being stomped on
by a stray IO intended for somewhere else, or by the VM if we were
accidentally mapping this page somewhere.
--Stephen
^ 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