From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [207.175.42.154]) by listman.redhat.com (Postfix) with ESMTP id 03FA82F019 for ; Mon, 25 Jun 2001 09:54:06 -0400 (EDT) Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.9.3/8.9.3) id JAA24230 for axp-list@listman.redhat.com; Mon, 25 Jun 2001 09:53:47 -0400 Received: from alpha.meridian.redhat.com (IDENT:root@alpha.meridian.redhat.com [172.16.45.24]) by lacrosse.corp.redhat.com (8.9.3/8.9.3) with ESMTP id JAA24225 for ; Mon, 25 Jun 2001 09:53:46 -0400 Received: from redhat.com (IDENT:root@localhost.localdomain [127.0.0.1]) by alpha.meridian.redhat.com (8.11.0/8.11.0) with ESMTP id f5PDrB511965 for ; Mon, 25 Jun 2001 09:53:11 -0400 Message-ID: <3B374247.9479080F@redhat.com> Date: Mon, 25 Jun 2001 09:53:11 -0400 From: "'Bryce'" Organization: Red Hat X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.3-7smp alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Redhat 7.1 Alpha References: <7B367970106CD1118F4300805F31E0C102060C14@rc0nt1.rc.tudelft.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Ok that one slipped by me, I'll see about getting it re added Unfortunately with 7.1 already released I can't fix it for the ISO's 8/ appologies Phil =--= "Vegt, Henry van der" wrote: > HI > > As sebastion mentioned the jensens also have the EV4 bug and it seems > similar as you describe. > All the 2.2.x kernels we had to patch the traps.c file with the following > difference > diff traps.c.org traps.c.new > 339c339,343 > < /* 21264 (except pass 1) has precise exceptions. */ > --- > > #ifdef CONFIG_ALPHA_EV4 > > if (alpha_fp_emul(regs.pc)) > > return; > > #else > > /* 21264 (except pass 1) has precise exceptions. > */ > 341a346 > > #endif > 420,421c425,432 > < if (alpha_fp_emul(regs.pc - 4)) > < return; > --- > > if (alpha_fp_emul(regs.pc)) > > { > > /* Increment the PC so that the program in > > user space continues */ > > regs.pc += 4; > > return; > > } > > I do not know witch kernel in 7.1 is used but til RH 7.0 with 2.2.19 this > was the case. > I do not have any hope that this will be include in the new kernels but if > someone can manage that it would be fine for all jensens, multia and other > old alpha's. > Is the new relaese still based on 2.2.x kernels or is this problem also > under 2.4.x kernels ? > > Henry van der Vegt > > > -----Oorspronkelijk bericht----- > > Van: Phillip Ezolt > > Verzonden: donderdag 21 juni 2001 22:10 > > Aan: axp-list@redhat.com > > Onderwerp: Re: Redhat 7.1 Alpha > > > > Michal, > > > My interest here is purely theoretical, as I do not have Multia, > > > but does this test below uniquely identifies a machine with a broken > > > PAL? > > > ..... > > I didn't write the test, but I believe that it does. > > > > > Right. But then this kernel with a fix would break existing > > > Multias booting from milo. No? > > > > The hard-coded fix WOULD break Multias booting from milo, correct. > > > > > Any chance that this may happen? I would not bet on it. And once > > > we would have around multias with broken PAL and other which would > > > be already fixed then the fun would be even bigger. :-) > > > > > > > No. > > > > > Does this generalized patch take care about all problems mentioned? It > > > seems to be testing in a bootup sequence if PC is advanced or not and > > > modifying traps behaviour depending on that. How wide this was tested? > > > > > > > We tried it on our multia here, and it worked. We did NOT try it on > > other non-multia machines. > > > > > But instead of setting a flag and checking it every time when a fixup > > > may be needed one could set once a "fixup offset" to 0 or 4, depending > > > on a check, and add it unconditionally to 'regs.pc' in a proper place. > > > > That sounds good. I don't currently have a multia either, so I can't > > test it. (The person who wrote the original patch has moved on to other > > employment and took the multia with him.) > > > > > Probably will be simpler and faster and PAL is not likely to change > > > under our feet - or I am mistaken? > > > > Yes, it should not change. > > > > This whole thing strikes me as similar to the "fixup" code used to > > work around various bugs in the X86 processors. It should probably be > > done in that area of code. > > > > --Phil > > > > Compaq: High Performance Server Division/Benchmark Performance > > Engineering > > ---------------- Alpha, The Fastest Processor on Earth > > -------------------- > > Phillip.Ezolt@compaq.com |C|O|M|P|A|Q| > > ezolt@perf.zko.dec.com > > ------------------- See the results at www.spec.org > > ----------------------- > > > > On Thu, 21 Jun 2001, Michal Jaegermann wrote: > > > > > On Thu, Jun 21, 2001 at 12:37:15PM -0400, Phillip Ezolt wrote: > > > > > > > > This is the result the following. (See below.) > > > > > > > > I suggest that redhat/Linus/Alan apply last patch to the kernel. > > > > > > My interest here is purely theoretical, as I do not have Multia, > > > but does this test below uniquely identifies a machine with a broken > > > PAL? > > > ..... > > > > > > > > Workaround: Boot from MILO. It has the Palcode fixed. > > > > > > Right. But then this kernel with a fix would break existing > > > Multias booting from milo. No? > > > > > > > Even better would be fixed palcode.... > > > > > > Any chance that this may happen? I would not bet on it. And once > > > we would have around multias with broken PAL and other which would > > > be already fixed then the fun would be even bigger. :-) > > > > > > .... > > > > > > > case 4: /* opDEC */ > > > > if (implver() == IMPLVER_EV4) { > > > > +#if 1 /* alpha SRM */ > > > > + regs.pc += 4; > > > > +#endif /* alpha SRM */ > > > > > > No other boxes with the same return value from 'implver()'? > > > Sigh! What a mess. I remember seeing the above at the beggining > > > of this year and I had the same misgivings. > > > > > > ..... > > > > Before he left, Bill Carr product the following patch.. It is more > > general > > > > than the one above: > > > > > > Does this generalized patch take care about all problems mentioned? It > > > seems to be testing in a bootup sequence if PC is advanced or not and > > > modifying traps behaviour depending on that. How wide this was tested? > > > > > > But instead of setting a flag and checking it every time when a fixup > > > may be needed one could set once a "fixup offset" to 0 or 4, depending > > > on a check, and add it unconditionally to 'regs.pc' in a proper place. > > > Probably will be simpler and faster and PAL is not likely to change > > > under our feet - or I am mistaken? > > > > > > Michal > > > > > > > > > > > > _______________________________________________ > > > Axp-list mailing list > > > Axp-list@redhat.com > > > https://listman.redhat.com/mailman/listinfo/axp-list > > > > > > > > > > > > > > _______________________________________________ > > Axp-list mailing list > > Axp-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/axp-list > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list