Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 20:58:32 -0600 (CST)
From:      supraexpress@globaleyes.net
To:        freebsd-current@freebsd.org
Subject:   Re: kernel hangs with SMP/Hyperthreading
Message-ID:  <B0200100430@mercury.ll.net>
In-Reply-To: <20031028123136.U2818@pooker.samsco.home>

next in thread | previous in thread | raw e-mail | index | archive | help
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?



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