Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jan 2005 11:54:38 +0300
From:      "Peter Trifonov" <pvtrifonov@mail.ru>
To:        "'John Baldwin'" <jhb@FreeBSD.org>, <freebsd-smp@FreeBSD.org>
Cc:        kris@obsecurity.org
Subject:   RE: Lost interrupts on SMP systems
Message-ID:  <E1CnCIt-000A3p-00.pvtrifonov-mail-ru@mx2.mail.ru>
In-Reply-To: <200501061300.31415.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello John,
> Ok, try this patch instead then, it should make the 'ignoring 
> global interrupt entry' messages go away:
> 
> --- //depot/vendor/freebsd/src/sys/i386/i386/mptable.c	
> 2004/09/24 18:45:28
> +++ //depot/user/jhb/acpipci/i386/i386/mptable.c	
> +		if (mptable_nioapics == 1) {
> +			apic_id = 0;
> +			while (ioapics[apic_id] == NULL)
> +				apic_id++;
> +		} else {
> +			printf(
> +			"MPTable: Ignoring global interrupt 
> entry for pin %d\n",
> +			    intr->dst_apic_int);
> +			return;
> +		}
>  	}
>  	if (intr->dst_apic_id >= NAPICID) {
>  		printf("MPTable: Ignoring interrupt entry for 
> ioapic%d\n",
After reverting your previous patch and recompiling the kernel with the new
one "Ignoring global interrupt 
entry for pin" messages have changed to "Ignoring interrupt entry for
ioapic255". 
It seems to me that your forgot to change 
if (intr->dst_apic_id >= NAPICID) 
to 
if (apic_id >= NAPICID) 

Changing this caused "ignoring interrupt" messages to disappear. 
However, this does not seem to be related to the NIC timeout problem. 
Doing flood ping over both interfaces sharing IRQ 11 still causes them to
say "xl*: watchdog timeout" and stop working.
The only way to revive them is to bring both of them down& up.




With best regards,
P. Trifonov  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1CnCIt-000A3p-00.pvtrifonov-mail-ru>