Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Apr 2003 12:00:27 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        freebsd-smp@freebsd.org
Subject:   Re: System freezes with SMP support enabled
Message-ID:  <XFMail.20030409120027.jhb@FreeBSD.org>
In-Reply-To: <3E93F331.E92FC7DF@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 09-Apr-2003 Terry Lambert wrote:
> What are both network cards?  Are they fxp?
> 
> There are a couple of possibilities to consider...
> 
> The first is that if both cards are identical (same vendor, etc.),
> you might want to use a network card from a different vendor, to
> make sure it's not the network card driver.

This sounds like a sensible possibility and a worthy test.

> Second, it seems to me that there's a possibility for a deadlock
> if an interrupt comes in on one CPU, and an ithread to handle it
> is scheduled to run on a different CPU.  You may want to try using
> SCHED_4BSD to see if that changes anything.

Huh?  Where in the code do you see this happening exactly?  All the
bits you should need to look at for this are in ithread_schedule()
and ithread_loop() in sys/kern/kern_intr.c.  Not only that, but 4.8
doesn't have ithreads so I doubt seriously that this is causing the
lockups on 4.x.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



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