From owner-freebsd-alpha Thu Sep 21 16:46:55 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.du.gtn.com (mail.du.gtn.com [194.77.9.57]) by hub.freebsd.org (Postfix) with ESMTP id 2FA3837B422; Thu, 21 Sep 2000 16:46:52 -0700 (PDT) Received: from mail.cicely.de (cicely.de [194.231.9.142]) by mail.du.gtn.com (8.11.0.Beta3/8.11.0.Beta3) with ESMTP id e8LNkm424631 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK); Fri, 22 Sep 2000 01:46:50 +0200 (MET DST) Received: from cicely5.cicely.de (cicely5.cicely.de [fec0::104:200:92ff:fe9b:20e7]) by mail.cicely.de (8.11.0.Beta1/8.11.0.Beta1) with ESMTP id e8LNl2T09391; Fri, 22 Sep 2000 01:47:02 +0200 (CEST) Received: (from ticso@localhost) by cicely5.cicely.de (8.11.0/8.9.2) id e8LNkwG58784; Fri, 22 Sep 2000 01:46:58 +0200 (CEST) (envelope-from ticso) Date: Fri, 22 Sep 2000 01:46:58 +0200 From: Bernd Walter To: John Baldwin Cc: alpha@FreeBSD.ORG Subject: Re: Ithreads kernel weirdness Message-ID: <20000922014657.B58579@cicely5.cicely.de> References: <20000922012311.A58579@cicely5.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000922012311.A58579@cicely5.cicely.de>; from ticso on Fri, Sep 22, 2000 at 01:23:11AM +0200 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Sep 22, 2000 at 01:23:11AM +0200, Bernd Walter wrote: > Pressing the halt key on the hanging system showed me that > it is always in hardclock() To be exact PC is fffffc0000376dac which means that call_pal isn't returning. I repeated it several times and it's always the same address independent where the kernel hang. For reference from kern/kern_clock.c: if (CLKF_BASEPRI(frame)) { fffffc0000376d98: f0 00 2b a4 ldq t0,240(s2) fffffc0000376d9c: 01 f0 20 44 and t0,0x7,t0 fffffc0000376da0: 07 00 20 f4 bne t0,fffffc0000376dc0 static __inline u_int64_t alpha_pal_swpipl(u_int64_t newipl) { register u_int64_t a0 __asm__("$16") = newipl; fffffc0000376da4: 01 00 1f 22 lda a0,1(zero) register u_int64_t v0 __asm__("$0"); __asm__ __volatile__ ( fffffc0000376da8: 35 00 00 00 call_pal 0x35 /* * Save the overhead of a software interrupt; * it will happen as soon as we return, so do it now. */ (void)splsoftclock(); softclock(); fffffc0000376dac: 30 cc 7d a7 ldq t12,-13264(gp) fffffc0000376db0: c3 56 5b 6b jsr ra,(t12),fffffc000037c8c0 fffffc0000376db4: 22 00 ba 27 ldah gp,34(ra) fffffc0000376db8: cc 3f bd 23 lda gp,16332(gp) } else fffffc0000376dbc: 11 00 e0 c3 br fffffc0000376e04 setsoftclock(); fffffc0000376dc0: 80 8d 7d a7 ldq t12,-29312(gp) fffffc0000376dc4: 1e 6b 5b 6b jsr ra,(t12),fffffc0000371a40 fffffc0000376dc8: 22 00 ba 27 ldah gp,34(ra) fffffc0000376dcc: b8 3f bd 23 lda gp,16312(gp) } else if (softticks + 1 == ticks) -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message