Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2006 02:18:44 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Interrupt routing issue on Compaq nx6325
Message-ID:  <20061215021844.417330dd.ariff@FreeBSD.org>
In-Reply-To: <20061214162947.GA6287@uriah.heep.sax.de>
References:  <20061213221550.GA67376@uriah.heep.sax.de> <20061214084319.3ca09dec.ariff@FreeBSD.org> <200612141053.10344.jhb@freebsd.org> <20061214162947.GA6287@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Fri__15_Dec_2006_02_18_44_+0800_SzoMQgNnjI8TJY+4
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, 14 Dec 2006 17:29:47 +0100
Joerg Wunsch <j@uriah.heep.sax.de> wrote:
> As John Baldwin wrote:
>=20
> > > My current workaround is (for RELENG_6)
> > >=20
> > > http://people.freebsd.org/~ariff/misc/idlecpu_apic_4.diff
> > >=20
> > > (hw.apic.idle_cpu=3D1 or 2)
>=20
> > This doesn't sound like his problem.  Joerg, can you get a linux
> > dmesg and a freebsd dmesg from the box so I can compare them?
>=20
> Well, at least Ariff's workaround helped my system as well.  My
> only/major concern with it is about the additional power consumption
> when running on batteries, but for the time being, I can live with
> two different boot modes for this: one that uses HLT and only 1 CPU
> (without the APIC) for minimal battery power consumption, and
> another one using the APIC and both CPU cores, with HLT disabled.
>=20
> After reading through the lengthy thread in the PR, yes, most of the
> symptoms mentioned there apply to my nx6325 as well.  In particular,
> booting into single-user mode, bouncing caps lock a number of times
> (so the prompt appears), and starting a background job to eat up one
> entire CPU did make the machine work as well (but with certainly
> worse impact on power consumption than Ariff's workaround).
>

Just ignore large part of it. Most of the workarounds (disabling
hlt, selective hlt) there does not applicable anymore with my above
patch which:
1) HLT enabled, 2) APIC enabled 3) Piggybacking APIC
timer through RTC interrupt (hw.apic.idle_cpu=3D1)

Workaround is still a workaround, though.

> I've put the boot messages up at
>=20
> http://www.sax.de/~joerg/dmesg-nx6325.tar.bz2
>=20
> What in particular caught my eye in the Linux messages is:
>=20
> Dec 12 23:33:26 remi kernel: ENABLING IO-APIC IRQs
> Dec 12 23:33:26 remi kernel: ..TIMER: vector=3D0x31 apic1=3D0 pin1=3D2
> apic2=3D-1 pin2=3D-1 Dec 12 23:33:26 remi kernel: ..MP-BIOS bug: 8254
> timer not connected to IO-APIC Dec 12 23:33:26 remi kernel:
> ...trying to set up timer (IRQ0) through the 8259A ...  failed. Dec
> 12 23:33:26 remi kernel: ...trying to set up timer as Virtual Wire
> IRQ... works.
>=20
> I didn't quite follow the referred to discussion of the Linux kernel
> hackers, is the above their workaround, or is that something
> entirely different?
>=20
> What's also strange to me is that on my boss'es nx6325 (BIOS
> revision F.02 instead of the F.03 in my machine), the 6.2-BETA3 CD
> boots without troubles.  That's not SMP (just the GENERIC kernel),
> but for me, even in uniprocessor mode I cannot get it to run unless
> I disable the APIC.  I tried using the F.02 revision ACPI AML code,
> but to no avail (but in retrospect, I might have forgotten to
> re-check that with a GENERIC kernel).
>=20
> I've also got the F.02 dmesg output somewhere, but unfortunately, it
> appears I've lost the USB stick they are supposed to be on. :-(  I
> can refetch them from that other machine though, but not before next
> week.
>=20


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........

--Signature=_Fri__15_Dec_2006_02_18_44_+0800_SzoMQgNnjI8TJY+4
Content-Type: application/pgp-signature

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

iD8DBQFFgZWLlr+deMUwTNoRAp+jAJ0cupICWMjFSvt8bP1z8mVzex2itwCgx0aw
gIkEGKYfQShRcDB7O1X2pSI=
=wdMY
-----END PGP SIGNATURE-----

--Signature=_Fri__15_Dec_2006_02_18_44_+0800_SzoMQgNnjI8TJY+4--



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