Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2007 21:42:39 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Ariff Abdullah <ariff@freebsd.org>, freebsd-amd64@freebsd.org
Subject:   Turion 64x2 still hanging after C1E patch
Message-ID:  <20070503114239.GA4823@turion.vk2pj.dyndns.org>
In-Reply-To: <20070426101525.02bd830e.ariff@FreeBSD.org>
References:  <200704251958.l3PJwgfZ044842@repoman.freebsd.org> <462FEB77.3000103@FreeBSD.org> <20070426101525.02bd830e.ariff@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2007-Apr-26 10:15:25 +0800, Ariff Abdullah <ariff@freebsd.org> wrote:
>On Wed, 25 Apr 2007 16:59:51 -0700
>Maxim Sobolev <sobomax@FreeBSD.org> wrote:
>> Ariff Abdullah wrote:
>> > ariff       2007-04-25 19:58:42 UTC
>> >   Disable C1 Enhanced mode on AMD K8 Family Revision F and above
>> >   to keep local APIC timer alive.
=2E..
>> Is it expected to fix some Turion laptops out there, that were=20
>> previously unable to run in the SMP mode due to LAPIC timer on one
>> core  being down on boot up?
>
>Certainly yes.

My HP/Compaq V6107 still goes into a coma even with this patch.  If I
boot to single-user mode, it seems to happen immediately after the
CD-ROM probe messages (which would be when the system becomes idle).
Otherwise, it goes comatose whilst trying to load the entropy.

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.

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()).

I haven't yet tried using the i8254 as a wakeup source.

Any ideas on where to look next?

--=20
Peter Jeremy

--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGOcqv/opHv/APuIcRArx+AJ9rLDnzKS5jLsFqRdEarEXtQi214ACfRM0N
ZrucYf6du8EuI35IjduzqCA=
=vR3w
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070503114239.GA4823>