* interesting things with PC164 and latest milo-980602
@ 1998-09-05 10:46 Alexander V. Lukyanov
1998-09-05 18:57 ` Richard Henderson
0 siblings, 1 reply; 8+ messages in thread
From: Alexander V. Lukyanov @ 1998-09-05 10:46 UTC (permalink / raw)
To: axp-list, linux-alpha
I hope my experience will be useful to someone.
I have PC164, with ev56 cpu. But older milo's did not turn on
the new BWX instructions, because botherboard does not support IO with
the new instructions. So far all was well.
The new milo-980602 did actually turn on the BWX insns. All was ok
until I compiled egcs-1.1 and kernel with it. The egcs-1.1 configure
did recognize that the instructions were enabled and compiled for
alphaev56. All userland programs compiled with the egcs did work.
But the kernel compiled with it hung just after "jumping to kernel".
Everything returned to norm when I recompiled the kernel with -mcpu=ev5,
so I assume the problem was BWX on IO space.
I actually noticed that programs were compiled for ev56 with BWX insns,
when I tried to bood with older milo - all the programs started to
give "illegal instruction".
Conclusion. If you have PC164 and installed the latest milo and compiled
egcs with it (for ev56), compile the kernel with -mcpu=ev5, and don't return
to older milo.
Alexander.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: interesting things with PC164 and latest milo-980602
1998-09-05 10:46 interesting things with PC164 and latest milo-980602 Alexander V. Lukyanov
@ 1998-09-05 18:57 ` Richard Henderson
1998-09-05 19:48 ` Alexander V. Lukyanov
0 siblings, 1 reply; 8+ messages in thread
From: Richard Henderson @ 1998-09-05 18:57 UTC (permalink / raw)
To: Alexander V. Lukyanov, axp-list, linux-alpha
On Sat, Sep 05, 1998 at 02:46:00PM +0400, Alexander V. Lukyanov wrote:
> But the kernel compiled with it hung just after "jumping to kernel".
> Everything returned to norm when I recompiled the kernel with -mcpu=ev5,
> so I assume the problem was BWX on IO space.
I very much doubt that. Look at how I/O is implemented in
include/asm-alpha/[core_]cia.h and tell me how that would
change based on BWX insns.
Tracking this farther would be helpful...
r~
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: interesting things with PC164 and latest milo-980602
1998-09-05 18:57 ` Richard Henderson
@ 1998-09-05 19:48 ` Alexander V. Lukyanov
1998-09-06 18:40 ` Loading Alpha Kernel Sources Paul B. Brown
1998-09-06 21:33 ` interesting things with PC164 and latest milo-980602 Quant-X Alpha Linux Support
0 siblings, 2 replies; 8+ messages in thread
From: Alexander V. Lukyanov @ 1998-09-05 19:48 UTC (permalink / raw)
To: Richard Henderson, axp-list, linux-alpha
On Sat, Sep 05, 1998 at 11:57:37AM -0700, Richard Henderson wrote:
> On Sat, Sep 05, 1998 at 02:46:00PM +0400, Alexander V. Lukyanov wrote:
> > But the kernel compiled with it hung just after "jumping to kernel".
> > Everything returned to norm when I recompiled the kernel with -mcpu=ev5,
> > so I assume the problem was BWX on IO space.
>
> I very much doubt that. Look at how I/O is implemented in
> include/asm-alpha/[core_]cia.h and tell me how that would
> change based on BWX insns.
Oops, you are right. I was thinking about DENSE io, and linux uses SPARSE io.
And I tried to boot again that kernel compiled for rv56. Looks like I
was mistakenly booting with older milo, because with the new milo the
kernel starts to boot (and actually prints some messages) and then
hangs. So my theory is wrong. But it is still true that after rebuilding
compiler, kernel and some apps going to older milos is impossible on pc164.
The hang happens just after the line
SMC FDC37C93X Ultra I/O Controller found @ 0x370
Suspiciously looks like a hang I experienced a while ago with older kernels.
At that time the hang magically disappeared when I inserted a delay in a
function for the smc fdc init. Have not tried that now yet.
Alexander.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Loading Alpha Kernel Sources
1998-09-05 19:48 ` Alexander V. Lukyanov
@ 1998-09-06 18:40 ` Paul B. Brown
1998-09-07 7:55 ` furio ercolessi
1998-09-06 21:33 ` interesting things with PC164 and latest milo-980602 Quant-X Alpha Linux Support
1 sibling, 1 reply; 8+ messages in thread
From: Paul B. Brown @ 1998-09-06 18:40 UTC (permalink / raw)
To: axp-list
Hello All,
Well, it's time to rebuild my UDBs. I want to load the kernel sources
as well, so I can configure the beast to be a firewall instead of a
standard workstation or server. Also, I will be using a PCMCIA card as my
2nd ethernet adaptor. It's an Eiger EPX-ET 10BT card.
I have the RedHat 5.1 CDs and wishes to load the kernel sources so a
firewall can be configured, what are the steps involved?
I rpm-ed the kernal sources and currently untar-ed the contents of the
/usr/src/redhat/SOURCES/linux.2.0.33.tar.gz archive into the
/usr/src/linux directories. Do I need to load anything else from the
/usr/src/redhat/SOURCES directory before I begin configuring the kernel to
support a firewall? Any hints would be helpfull? Websites??
Other mailing lists? etc, etc, ad nausium . . . .
Humm . . . should I simply use the pristine sources from an ftp site and
then load the lastest patches instead of using RedHat's sources?
Suggestions would be of great help!!
TIA! :-)
Paul
---------------------------------------------------------------------------
Paul B. Brown "Sailing is a state of mind . . . ."
pbrown@btechnet.com Unix Systems Administration
---------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: interesting things with PC164 and latest milo-980602
1998-09-05 19:48 ` Alexander V. Lukyanov
1998-09-06 18:40 ` Loading Alpha Kernel Sources Paul B. Brown
@ 1998-09-06 21:33 ` Quant-X Alpha Linux Support
1998-09-07 10:36 ` Alexander V. Lukyanov
1 sibling, 1 reply; 8+ messages in thread
From: Quant-X Alpha Linux Support @ 1998-09-06 21:33 UTC (permalink / raw)
To: axp-list; +Cc: rth, axp-list, linux-alpha
Hi Alexander !
> compiler, kernel and some apps going to older milos is impossible on pc164.
>
> The hang happens just after the line
> SMC FDC37C93X Ultra I/O Controller found @ 0x370
> Suspiciously looks like a hang I experienced a while ago with older kernels.
> At that time the hang magically disappeared when I inserted a delay in a
> function for the smc fdc init. Have not tried that now yet.
Same here on our 1GB Ram LX. It hangs most of the time there,
sometimes a line earlier (PCI message).
I must boot up to nine times to avoid this. :-(
This timing problem happens also when using 2.0.33...
> At that time the hang magically disappeared when I inserted a delay in a
> function for the smc fdc init. Have not tried that now yet.
Cool. Please post your delay-patch here...
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] 8+ messages in thread
* Re: Loading Alpha Kernel Sources
1998-09-06 18:40 ` Loading Alpha Kernel Sources Paul B. Brown
@ 1998-09-07 7:55 ` furio ercolessi
0 siblings, 0 replies; 8+ messages in thread
From: furio ercolessi @ 1998-09-07 7:55 UTC (permalink / raw)
To: axp-list
> Humm . . . should I simply use the pristine sources from an ftp site and
> then load the lastest patches instead of using RedHat's sources?
> Suggestions would be of great help!!
After several tries with RedHat sources, I found that I obtained
a more stable kernel from pristine sources+patches.
Also, if you choose this way this list gives you a better support ;-)
It should also be noted that RedHat 5.1 is slightly inconsistent,
in that it distributes egcs (1.0.2) as a compiler, but Alpha
kernels (or at least the Ruffian one) have been compiled with
gcc, and therefore you cannot recreate the distributed kernel
from within the distribution itself.
furio ercolessi
Spin - Trieste (Italy)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: interesting things with PC164 and latest milo-980602
1998-09-06 21:33 ` interesting things with PC164 and latest milo-980602 Quant-X Alpha Linux Support
@ 1998-09-07 10:36 ` Alexander V. Lukyanov
1998-09-07 19:39 ` Quant-X Alpha Linux Support
0 siblings, 1 reply; 8+ messages in thread
From: Alexander V. Lukyanov @ 1998-09-07 10:36 UTC (permalink / raw)
To: Quant-X Alpha Linux Support, axp-list; +Cc: linux-alpha
On Sun, Sep 06, 1998 at 11:33:01PM +0200, Quant-X Alpha Linux Support wrote:
> Hi Alexander !
>
> > compiler, kernel and some apps going to older milos is impossible on pc164.
> >
> > The hang happens just after the line
> > SMC FDC37C93X Ultra I/O Controller found @ 0x370
>
> > Suspiciously looks like a hang I experienced a while ago with older kernels.
> > At that time the hang magically disappeared when I inserted a delay in a
> > function for the smc fdc init. Have not tried that now yet.
>
> Same here on our 1GB Ram LX. It hangs most of the time there,
> sometimes a line earlier (PCI message).
> I must boot up to nine times to avoid this. :-(
> This timing problem happens also when using 2.0.33...
>
> > At that time the hang magically disappeared when I inserted a delay in a
> > function for the smc fdc init. Have not tried that now yet.
>
> Cool. Please post your delay-patch here...
Ok, here is it. Just verified and it cures the hang I experienced with 2.1.119
and egcs-1.1/ev56. Looks like the hang happens when egcs produces too fast
code :) since the last time I noticed the hang I used egcs snapshot which
made dhrystone fater than egcs-1.1/ev5. dhrystone with egcs-1.1/ev56 is almost
as fast.
I don't know why the hang happens, but it seems to be hardware related.
Maybe some hardware doesn't like too fast accesses.
--- smc37c93x.c.~1~ Tue Apr 7 14:45:04 1998
+++ smc37c93x.c Mon Sep 7 14:19:06 1998
@@ -12,6 +12,7 @@
#include <asm/hwrpb.h>
#include <asm/io.h>
#include <asm/segment.h>
+#include <asm/delay.h>
#if 0
# define DBG_DEVS(args) printk args
@@ -233,6 +234,8 @@
int __init SMC93x_Init(void)
{
unsigned long SMCUltraBase;
+
+ udelay(500);
if ((SMCUltraBase = SMCDetectUltraIO()) != 0UL) {
printk("SMC FDC37C93X Ultra I/O Controller found @ 0x%lx\n",
Alexander.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: interesting things with PC164 and latest milo-980602
1998-09-07 10:36 ` Alexander V. Lukyanov
@ 1998-09-07 19:39 ` Quant-X Alpha Linux Support
0 siblings, 0 replies; 8+ messages in thread
From: Quant-X Alpha Linux Support @ 1998-09-07 19:39 UTC (permalink / raw)
To: lav; +Cc: axp-list, linux-alpha
Hi Alexander !
> int __init SMC93x_Init(void)
> {
> unsigned long SMCUltraBase;
> +
> + udelay(500);
>
> if ((SMCUltraBase = SMCDetectUltraIO()) != 0UL) {
> printk("SMC FDC37C93X Ultra I/O Controller found @ 0x%lx\n",
Thanks, I will try it (I give rth's patch a chance first).
But it looks a bit weird to me. I don't think that this
solves really the problem; because sometime the hang occurs earlier,
but it is maybe a good workaround. To start a Init function
with an delay is a bug in 99% of all cases (the last percent
is modem init: delay()+++delay()) ;-}
ciao -
Stefan
PS.: Has anyone seen aboot crashing on extreme small kernels ?
I use a diskless machine and if I build a tiny kernel
(no SCSI, no IDE, no FD, no virtual-consoles, no audio, only
de4x5 and a bit networking (NFS-root but no firewalling,
no blockdevices, no filesystem except NFS-client...)
This happens on my SX with (nearly plain) 2.1.120.
The machine has only RAM and a Netcard in it...
If I add a bit (ext2 for example; this makes the kernel
bigger by definition) the problem disappears I use
"make netboot" (aboot-0.5-2.alpha.rpm).
--
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] 8+ messages in thread
end of thread, other threads:[~1998-09-07 19:45 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-05 10:46 interesting things with PC164 and latest milo-980602 Alexander V. Lukyanov
1998-09-05 18:57 ` Richard Henderson
1998-09-05 19:48 ` Alexander V. Lukyanov
1998-09-06 18:40 ` Loading Alpha Kernel Sources Paul B. Brown
1998-09-07 7:55 ` furio ercolessi
1998-09-06 21:33 ` interesting things with PC164 and latest milo-980602 Quant-X Alpha Linux Support
1998-09-07 10:36 ` Alexander V. Lukyanov
1998-09-07 19:39 ` Quant-X Alpha Linux Support
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox