From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 181 invoked from network); 7 Sep 1998 10:38:44 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 7 Sep 1998 10:38:44 -0000 Received: from video.yars.free.net (video.yars.free.net [193.233.48.74]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id GAA18531 for ; Mon, 7 Sep 1998 06:38:58 -0400 Received: (from lav@localhost) by video.yars.free.net (8.8.8/8.8.8) id OAA24913; Mon, 7 Sep 1998 14:36:55 +0400 (MSD) Message-ID: <19980907143654.A24793@video.yars.free.net> Date: Mon, 7 Sep 1998 14:36:54 +0400 From: "Alexander V. Lukyanov" To: Quant-X Alpha Linux Support , axp-list@redhat.com Cc: linux-alpha@vger.rutgers.edu Subject: Re: interesting things with PC164 and latest milo-980602 References: <19980905144600.A10695@video.yars.free.net> <19980905115737.D17993@dot.cygnus.com> <19980905234827.A17409@gemini.yars.free.net> <199809062133.XAA04248@stefan.sime.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <199809062133.XAA04248@stefan.sime.com>; from Quant-X Alpha Linux Support on Sun, Sep 06, 1998 at 11:33:01PM +0200 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 #include #include +#include #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.