From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14623 invoked from network); 23 Mar 1999 09:08:56 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Mar 1999 09:08:56 -0000 Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id DAA32744 for ; Tue, 23 Mar 1999 03:56:13 -0500 Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id KAA16886; Tue, 23 Mar 1999 10:56:05 +0200 To: axp-list@redhat.com Subject: Re: loop unrolling [Re: XP1000 and Linux] References: <278EEF4F1348D211940600A0C95BCF7F1F01AC@yellow-fin.alpha-processor.com> <36F5D151.58FA7D47@paralleldata.com> <19990322012259.A22287@twiddle.net> <36F67A84.945C68B@paralleldata.com> <19990322184337.A31958@twiddle.net> CC: hjstein@bfr.co.il, abel@bfr.co.il From: hjstein@bfr.co.il (Harvey J. Stein) Date: 23 Mar 1999 10:56:05 +0200 Message-ID: X-Mailer: Gnus v5.6.4/Emacs 19.34 Richard Henderson writes: > On Mon, Mar 22, 1999 at 11:14:44AM -0600, Wes Bauske wrote: > > Actually, I'd like to get egcs1.1.2 to just build on > > the XP1000. I'm seeing a timing dependent bug in the > > build process that can lock the system up. Basically, > > I get "unable to dup fd xxxxxxxx to fd 0", SEGV's, and > > outright lockups. > > Jay mentioned (and I loosely concur) the possibility of > TLB muckups on EV6. One way to test this is to build a > generic kernel and in arch/alpha/kernel/machvec.h modify > > #define DO_EV6_MMU \ > max_asn: EV6_MAX_ASN, \ > mmu_context_mask: 0xfffffffffful, \ > - mv_get_mmu_context: ev5_get_mmu_context, \ > - mv_flush_tlb_current: ev5_flush_tlb_current, \ > - mv_flush_tlb_other: ev5_flush_tlb_other, \ > - mv_flush_tlb_current_page: ev5_flush_tlb_current_page > + mv_get_mmu_context: ev4_get_mmu_context, \ > + mv_flush_tlb_current: ev4_flush_tlb_current, \ > + mv_flush_tlb_other: ev4_flush_tlb_other, \ > + mv_flush_tlb_current_page: ev4_flush_tlb_current_page There certainly seem to be TLB strangeness on dual processor systems with 21264s. I'm seeing the following in the logs: Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 0 from fffffc0000330940 but lock freed on 0 Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 1 from fffffc0000330758 but lock freed on 1 Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 1 from fffffc0000330940 but lock freed on 1 Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 0 from fffffc0000330758 but lock freed on 0 Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 1 from fffffc0000330758 but lock freed on 1 Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 0 from fffffc0000330758 but lock freed on 0 Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 1 from fffffc0000330758 but lock freed on 1 Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 0 from fffffc0000330758 but lock freed on 0 This is with kernel 2.2.1, RH5.2, etc. Here's /proc/cpuinfo, but we're currently running it as a single processor machine with a non-SMP kernel: [root@dp264 log]# cat /proc/cpuinfo cpu : Alpha cpu model : EV6 cpu variation : 7 cpu revision : 0 cpu serial number : system type : Tsunami system variation : DP264 system revision : 0 system serial number : cycle frequency [Hz] : 500000000 timer frequency [Hz] : 1024.00 page size [bytes] : 8192 phys. address bits : 44 max. addr. space # : 255 BogoMIPS : 996.14 kernel unaligned acc : 0 (pc=0,va=0) user unaligned acc : 8 (pc=2000011f670,va=11ff4e2f4) platform string : AlphaPC 264DP 500 MHz -- Harvey J. Stein BFM Financial Research hjstein@bfr.co.il