Date: Fri, 22 Sep 2000 01:46:58 +0200 From: Bernd Walter <ticso@cicely5.cicely.de> To: John Baldwin <jhb@FreeBSD.ORG> Cc: alpha@FreeBSD.ORG Subject: Re: Ithreads kernel weirdness Message-ID: <20000922014657.B58579@cicely5.cicely.de> In-Reply-To: <20000922012311.A58579@cicely5.cicely.de>; from ticso on Fri, Sep 22, 2000 at 01:23:11AM %2B0200 References: <XFMail.000919233108.jhb@FreeBSD.org> <20000922012311.A58579@cicely5.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <hardclock+0x160> 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 <knote+0x60> 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 <hardclock+0x1a4> setsoftclock(); fffffc0000376dc0: 80 8d 7d a7 ldq t12,-29312(gp) fffffc0000376dc4: 1e 6b 5b 6b jsr ra,(t12),fffffc0000371a40 <pnp_parse_resources+0xc60> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000922014657.B58579>