Date: Wed, 9 Apr 2003 17:02:09 -0700 From: "Aleksandr Melentiev" <tzap@pacbell.net> To: "John Baldwin" <jhb@FreeBSD.org>, "Terry Lambert" <tlambert2@mindspring.com> Cc: freebsd-smp@freebsd.org Subject: Re: System freezes with SMP support enabled [Solved?] Message-ID: <002001c2fef4$6ecdeda0$0300a8c0@kronos> References: <XFMail.20030409120027.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Ok, it seems I have come down to a solution to my problem. I have enabled an option in BIOS which is called 'PCI IRQs to IO-APIC Mapping'. It uses 24 IO-APIC pins to describe PCI interrupts instead of standard 16. With this enabled, I have not encountered any problems so far that I have described earlier. Regards, Alex ----- Original Message ----- From: "John Baldwin" <jhb@FreeBSD.org> To: "Terry Lambert" <tlambert2@mindspring.com> Cc: <freebsd-smp@freebsd.org>; "Aleksandr Melentiev" <tzap@pacbell.net> Sent: Wednesday, April 09, 2003 9:00 AM Subject: Re: System freezes with SMP support enabled > > 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?002001c2fef4$6ecdeda0$0300a8c0>