Date: Thu, 4 May 2000 18:49:07 -0500 From: "Duncan, Eric A." <eric@cdc.net> To: "Charles Henrich" <henrich@sigbus.com>, <freebsd-smp@freebsd.org> Subject: RE: i840 Tyan Thunder Message-ID: <NDBBIMCDELJLMJDJPOFICEMOCEAA.eric@cdc.net> In-Reply-To: <20000504163008.B89733@sigbus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_001F_01BFB5F9.6D3E3220 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Yes. FreeBSD is broke when it comes to more then one APICs. This was first discovered a few weeks ago. Attached is the patch to patch 4.0-RELEASE to work with multiple APICs. Regards, Eric Duncan eric@cdc.net -----Original Message----- From: owner-freebsd-smp@FreeBSD.ORG [mailto:owner-freebsd-smp@FreeBSD.ORG]On Behalf Of Charles Henrich Sent: Thursday, May 04, 2000 6:30 PM To: freebsd-smp@freebsd.org Subject: i840 Tyan Thunder When I boot up 4.0-REL it just hangs after plip initialization. Has anyone seen anything like this? I have NAPIC=2 and NBUS=6 -Crh Charles Henrich Manex Visual Effects henrich@sigbus.com http://www.sigbus.com/~henrich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message ------=_NextPart_000_001F_01BFB5F9.6D3E3220 Content-Type: application/octet-stream; name="smp.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="smp.patch" Index: pmap.c=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= RCS file: /usr/src/sys/i386/i386/pmap.c,v=0A= retrieving revision 1.252=0A= diff -u -r1.252 pmap.c=0A= --- pmap.c 2000/03/16 08:51:49 1.252=0A= +++ pmap.c 2000/04/20 03:14:48=0A= @@ -426,9 +426,10 @@=0A= for (j =3D 0; j < mp_napics; j++) {=0A= /* same page frame as a previous IO apic? */=0A= if (((vm_offset_t)SMPpt[NPTEPG-2-j] & PG_FRAME) =3D=3D=0A= - (io_apic_address[0] & PG_FRAME)) {=0A= + (io_apic_address[i] & PG_FRAME)) {=0A= ioapic[i] =3D (ioapic_t *)((u_int)SMP_prvspace=0A= - + (NPTEPG-2-j)*PAGE_SIZE);=0A= + + (NPTEPG-2-j)*PAGE_SIZE=0A= + + (io_apic_address[i] & PAGE_MASK));=0A= break;=0A= }=0A= /* use this slot if available */=0A= @@ -436,7 +437,8 @@=0A= SMPpt[NPTEPG-2-j] =3D (pt_entry_t)(PG_V | PG_RW |=0A= pgeflag | (io_apic_address[i] & PG_FRAME));=0A= ioapic[i] =3D (ioapic_t *)((u_int)SMP_prvspace=0A= - + (NPTEPG-2-j)*PAGE_SIZE);=0A= + + (NPTEPG-2-j)*PAGE_SIZE=0A= + + (io_apic_address[i] & PAGE_MASK));=0A= break;=0A= }=0A= }=0A= =0A= =0A= =0A= =0A= =0A= =0A= /* To issue this patch, type: patch -p0 < smp.patch=0A= ------=_NextPart_000_001F_01BFB5F9.6D3E3220-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBIMCDELJLMJDJPOFICEMOCEAA.eric>