Re: kernel hangs with SMP/Hyperthreading

From: <supraexpress_at_globaleyes.net>
Date: Thu, 30 Oct 2003 20:58:32 -0600 (CST)
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?
Received on Thu Oct 30 2003 - 17:58:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:27 UTC