Date: Mon, 30 Apr 2001 22:31:34 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: jhb@FreeBSD.ORG (John Baldwin) Cc: tlambert@primenet.com (Terry Lambert), freebsd-smp@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, ohartman@klima.physik.uni-mainz.de ((Hartmann O.)) Subject: Re: Spontanous reboot of SMP system and FBSD 4.3 Message-ID: <200104302231.PAA12638@usr01.primenet.com> In-Reply-To: <XFMail.010430151846.jhb@FreeBSD.org> from "John Baldwin" at Apr 30, 2001 03:18:46 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> > On some of the Tyan Tiger boards I've fought withm the system > > becomes extremely unstable because the invltlb() call after > > switching to 4M pages is not correctly communicated to the I/O > > APIC, and unless you have enough memory allocations to force all > > 8 4M entries out, it can lose its mind, relative to the TLB of > > one or more of the main CPUs. > > Ummm, what the heck are you talking about? The I/O APIC routes interrupts, it > doesn't access memory. I thought all APICs participated in the MESI coherency protocol, and all had the TLB caches? The system I fought with was "SMP capable", but did not have a second CPU installed. The only things that could get out of date would be the TLB contents in the cache lines. If I grab enough resources to cause age-based TLB shootdown, I don't have the problem. Otherwise I fault in the I/O path, when paging in. Supermicro motherboards don't have the problem. Setting the "DISABLE_PSE" option makes everything happy again; I suspect forcing a shootdown via a reload of CR3, or explicitly invalidating the GDT, would fix my problem. Right now, I just up my initial resource consumption and ignore it. Without this, I get similar symptoms to what he's reporting. Oh... he will probably want to turn on INVARIANTS, too, and then convert the printf() in kern/kern_malloc.c in malloc() to actually panic for "Data modified on freelist", instead of continuing to run to a cascade failure resulting in a spontaneous reboot... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104302231.PAA12638>