From owner-freebsd-smp Fri Apr 28 11:50: 9 2000 Delivered-To: freebsd-smp@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id DEA8737C08D for ; Fri, 28 Apr 2000 11:50:03 -0700 (PDT) (envelope-from sthaug@nethelp.no) Received: (qmail 66054 invoked by uid 1001); 28 Apr 2000 18:50:01 +0000 (GMT) To: togura@catura.com Cc: freebsd-smp@freebsd.org Subject: Re: Quad PenPro page-fault From: sthaug@nethelp.no In-Reply-To: Your message of "Fri, 28 Apr 2000 15:01:33 +0900" References: <10004280601.AA00464@mobile.catura.com> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Fri, 28 Apr 2000 20:50:01 +0200 Message-ID: <66051.956947801@verdi.nethelp.no> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > My name is Tadayuki Ogura, a new commer. I fourtunately get > IBM Netfinity 7000 Quad Pentium Pro SMP system. And configure > as a FreeBSD 4.0 SMP system. But, it fault at boot with the > info, listed below. If you're trying to use 4.0-RELEASE, you'll probably need at least the following patch to handle the two IOAPICs. If the 7000 has the same RCC chipset as the 5600, you may also need a separate patch to recognize this chipset and handle all the PCI buses. Steinar Haug, Nethelp consulting, sthaug@nethelp.no ---------------------------------------------------------------------- Date: Wed, 19 Apr 2000 23:19:01 -0400 (EDT) From: Luoqi Chen Message-Id: <200004200319.XAA26909@lor.watermarkgroup.com> To: mihara@prd.fc.nec.co.jp Subject: Re: Multiple APIC support (RE: Issues with Spankin' new Poweredge 4400 w/ dual 866's and 133MHz FSB?) Cc: freebsd-smp@FreeBSD.ORG, smp@csn.net > Thank you for the patch, but applying your patch results in panic > while booting, just after showing avail memory. Here is the boot log. > (Even if second IO-APIC is disabled, the phenomenon is same.) > My fault, I made a mistake in the patch. Here's the correct one (the offset should be added before typecasting), Index: pmap.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/pmap.c,v retrieving revision 1.252 diff -u -r1.252 pmap.c --- pmap.c 2000/03/16 08:51:49 1.252 +++ pmap.c 2000/04/20 03:14:48 @@ -426,9 +426,10 @@ for (j = 0; j < mp_napics; j++) { /* same page frame as a previous IO apic? */ if (((vm_offset_t)SMPpt[NPTEPG-2-j] & PG_FRAME) == - (io_apic_address[0] & PG_FRAME)) { + (io_apic_address[i] & PG_FRAME)) { ioapic[i] = (ioapic_t *)((u_int)SMP_prvspace - + (NPTEPG-2-j)*PAGE_SIZE); + + (NPTEPG-2-j)*PAGE_SIZE + + (io_apic_address[i] & PAGE_MASK)); break; } /* use this slot if available */ @@ -436,7 +437,8 @@ SMPpt[NPTEPG-2-j] = (pt_entry_t)(PG_V | PG_RW | pgeflag | (io_apic_address[i] & PG_FRAME)); ioapic[i] = (ioapic_t *)((u_int)SMP_prvspace - + (NPTEPG-2-j)*PAGE_SIZE); + + (NPTEPG-2-j)*PAGE_SIZE + + (io_apic_address[i] & PAGE_MASK)); break; } } -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message