From owner-freebsd-current@FreeBSD.ORG Thu Oct 30 18:58:48 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 25B8616A4CE for ; Thu, 30 Oct 2003 18:58:48 -0800 (PST) Received: from mercury.ll.net (mercury.ll.net [209.131.224.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 582EA43FDD for ; Thu, 30 Oct 2003 18:58:42 -0800 (PST) (envelope-from supraexpress@globaleyes.net) Received: from globaleyes.net (unverified [209.131.253.45]) by mercury.ll.net for ; Thu, 30 Oct 2003 20:58:38 -0600 Message-ID: Date: Thu, 30 Oct 2003 20:58:32 -0600 (CST) From: supraexpress@globaleyes.net To: freebsd-current@freebsd.org In-Reply-To: <20031028123136.U2818@pooker.samsco.home> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Subject: Re: kernel hangs with SMP/Hyperthreading 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: Fri, 31 Oct 2003 02:58:48 -0000 Interrupting the normal boot sequence as suggested below has not worked in the past for this problem. Inserting "debug statements" in the source code (as noted in a PR, but I can't remember which one) in the "while (read_intr_count(8) < 6)" loop showed that the count value started at 0 and never changed, thereby initiating an infinite "NOP loop". A later change in 5.1 source magically corrected this, somewhere around August 2003, for one MSI board that encountered this problem. On 28 Oct, Scott Long wrote: > > Hi, > > There is a discussion going on about strange interactions between the boot > menu and SMP that sounds very much like what you describe. FOr a > workaround, at the boot menu, select option 6, then type 'boot' at the > prompt. > > Scott > > On Tue, 28 Oct 2003, Bernhard Valenti wrote: > >> hi, >> >> i built a kernel with APIC_IO and SMP for my p4 with hyperthreading. >> when i try to boot the kernel it hangs during boot at: >> >> APIC_IO: Testing 8254 interrupt delivery >> >> doing >> >> while (read_intr_count(8) < 6) >> ; /* nothing */ >> >> (sys/i386/isa/clock.c:1030) >> >> read_intr_count(8) returns 0 forever... >> >> i dont know how to provide a dmesg as i cant get to a shell. this >> computer is a laptop with sis 645dx chipset. >> >> anyone have a fix for that?