From owner-freebsd-current@FreeBSD.ORG Mon Nov 24 13:49:09 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F16316A4CE for ; Mon, 24 Nov 2003 13:49:09 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 5E52943FCB for ; Mon, 24 Nov 2003 13:49:08 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 87709 invoked by uid 1000); 24 Nov 2003 21:49:09 -0000 Date: Mon, 24 Nov 2003 13:49:09 -0800 (PST) From: Nate Lawson To: Poul-Henning Kamp In-Reply-To: <23528.1069709458@critter.freebsd.dk> Message-ID: <20031124134735.O87605@root.org> References: <23528.1069709458@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org cc: John Polstra Subject: Re: PII SMP system hangs during boot with ACPI enabled X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2003 21:49:09 -0000 X-List-Received-Date: Mon, 24 Nov 2003 21:49:09 -0000 On Mon, 24 Nov 2003, Poul-Henning Kamp wrote: > In message , John Polstra writes: > >On 24-Nov-2003 Nate Lawson wrote: > >> It's a long shot, but what about setting kern.timecounter.hardware to > >> i8254. It appears your ACPI timer is bad. The reason why I suggest this > >> is that it seems like interrupts are being lost. > > > >I put kern.timecounter.hardware="i8254" into /boot/loader.conf, but > >it didn't make any difference. Are you sure it even works from > >loader.conf? From the sources it looks like this is a sysctl rather > >than a tunable. I could change it to a tunable, though, if you > >think it's worthwhile. > > It would be rather complicated to make it a tunable. Far easier to > go into the ACPI timecounter and just give it a negative quality, > that will disable it. > > I'm not sure why Nate think this will change anything with respect > to interrupts, but I pressume he knows what he's talking about. Some ACPI timecounters on old systems would hang on a read from the register and so moving to i8254 would help if it was being used. But farther down, I see that he was already using TSC so it won't make a difference. -Nate