From owner-freebsd-amd64@FreeBSD.ORG Sat May 5 10:36:58 2007 Return-Path: X-Original-To: freebsd-amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ADD4016A401; Sat, 5 May 2007 10:36:58 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 1899A13C43E; Sat, 5 May 2007 10:36:57 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l45AaumE001001; Sat, 5 May 2007 20:36:56 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l45Aaugx001000; Sat, 5 May 2007 20:36:56 +1000 (EST) (envelope-from peter) Date: Sat, 5 May 2007 20:36:56 +1000 From: Peter Jeremy To: Ariff Abdullah Message-ID: <20070505103656.GE825@turion.vk2pj.dyndns.org> References: <200704251958.l3PJwgfZ044842@repoman.freebsd.org> <462FEB77.3000103@FreeBSD.org> <20070426101525.02bd830e.ariff@FreeBSD.org> <20070503114239.GA4823@turion.vk2pj.dyndns.org> <20070503202624.0e0966cd.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <20070503202624.0e0966cd.ariff@FreeBSD.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-amd64@FreeBSD.org Subject: Re: Turion 64x2 still hanging after C1E patch X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 10:36:58 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-May-03 20:26:24 +0800, Ariff Abdullah wrote: >This probably something else. Try disabling sio, ppc through >/boot/device.hints. Several HP laptops are known to hang because of >this. I removed ppc from the kernel. Disabling sio{0,1} seems to have fixed the problem. That's a PITA because it means I can't use IrDA. >> I've re-applied idlecpu_apic_5.diff and it seems to work with >> hw.apic.idle_cpu=3D"1" (but see below). I've hacked local_apic.c >> to save the value read from MSR_C001_0055 and that shows that >> C1eOnCmpHalt is set. >>=20 >This is expected, and the recent "fix" is supposed to overwrite and >disable C1E on each core/cpu. My comment was intended to indicate that the C1E fix code was being executed. >> Worse,I've noticed that the RTC interrupt occasionally stops. I >> have worked out that I can restart it by writing to sysctl >> machdep.adjkerntz (which was the easiest way to issue >> rtcin(RTC_INTR) from userland). I presume that occasionally the RTC >> interrupt is lost and so never reset (as per the comment above >> rtcintr()). >>=20 >> I haven't yet tried using the i8254 as a wakeup source. >>=20 >> Any ideas on where to look next? > >Show us your processor Id from dmesg. CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (1607.33-MHz K8-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x40f82 Stepping =3D 2 Features=3D0x178bfbff Features2=3D0x2001 AMD Features=3D0xea500800 AMD Features2=3D0x1f Cores per package: 2 After disabling sio, I don't need hw.apic.idle_cpu - which removes the RTC interrupt anyway. --=20 Peter Jeremy --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGPF5I/opHv/APuIcRAjZEAJ0fxtMHyTpdonkP4DXpNcFBSolcBgCbBMOb iwGjj2XsM3uHYM2kNSz/a50= =TU3n -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--