From owner-freebsd-smp Fri Feb 26 2:50:13 1999 Delivered-To: freebsd-smp@freebsd.org Received: from islandia.is (hummvee.islandia.is [194.144.156.3]) by hub.freebsd.org (Postfix) with ESMTP id 1621114F15 for ; Fri, 26 Feb 1999 02:50:06 -0800 (PST) (envelope-from sigpet@islandia.is) Received: from exch.islandia.is (exchange.islandia.is [194.144.156.201]) by islandia.is (8.8.8/8.8.8) with SMTP id KAA25708; Fri, 26 Feb 1999 10:49:37 GMT Received: by exch.islandia.is(Lotus SMTP MTA Internal build v4.6.2 (651.2 6-10-1998)) id 00256724.003BE798 ; Fri, 26 Feb 1999 10:54:19 +0000 X-Lotus-FromDomain: ISLANDIA From: sigpet@islandia.is To: Tor.Egge@fast.no Cc: freebsd-smp@FreeBSD.ORG Message-ID: <00256724.003BE5F2.00@exch.islandia.is> Date: Fri, 26 Feb 1999 10:54:13 +0000 Subject: Re: Problem - Compaq Proliant 2500 and SMP Mime-Version: 1.0 Content-type: multipart/mixed; Boundary="0__=9o1OBf49BFCGbGYqjMJo5mYG3i3v1aaDtUev5EcSej96fGvFgsRF8p8w" Content-Disposition: inline Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --0__=9o1OBf49BFCGbGYqjMJo5mYG3i3v1aaDtUev5EcSej96fGvFgsRF8p8w Content-type: text/plain; charset=iso-8859-1 Content-Disposition: inline Hi. Thanks very much. This works ( I think ) with few errors. here is dmesg output: Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.1-RELEASE #4: Fri Feb 26 10:22:47 GMT 1999 root@oxygen.islandia.is:/usr/src/sys/compile/OXYGEN Timecounter "i8254" frequency 1193182 Hz CPU: Pentium Pro (686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xfbff real memory = 16777216 (16384K bytes) avail memory = 13402112 (13088K bytes) Programming 28 pins in IOAPIC #0 EISA INTCONTROL = 0000c800 IOAPIC #0 intpint 24 -> irq 13 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x001b0011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xf0301000. eisa0: Probing for devices on the EISA bus Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.13.0 ncr0: rev 0x03 int a irq 15 on pci0.18.0 chip2: rev 0x07 on pci0.20.0 Probing for devices on PCI bus 1: vga0: rev 0x22 int a irq 255 on pci1.6.0 tl0: rev 0x10 int a irq 11 on pci1.7.0 tl0: Ethernet address: 00:80:5f:a6:04:e2 tl0: autoneg not complete, no carrier ncr1: rev 0x03 int a irq 14 on pci1.9.0 Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface APIC_IO: Testing 8254 interrupt delivery APIC_IO: Broken MP table detected: 8254 is not connected to IO APIC int pin 2 APIC_IO: routing 8254 via 8259 on pin 0 Waiting 15 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! changing root device to da0s2a Am I right, does it correct the errors it self ?? how can I be sure it's using both CPUs ? Is there a program to see separated use of the CPUs ? Thanks Sigurdur Petursson System administrator Islandia Internet ehf. Iceland Tor.Egge@fast.no on 26.02.99 02:45:29 To: Sigurđur Pétursson/Islandia/IS cc: freebsd-smp@FreeBSD.ORG Subject: Re: Problem - Compaq Proliant 2500 and SMP --0__=9o1OBf49BFCGbGYqjMJo5mYG3i3v1aaDtUev5EcSej96fGvFgsRF8p8w Content-type: text/plain; charset=us-ascii Content-Disposition: inline > Hi. > I've bean scrolling throug the archives and I cant find any solution to my > problem. > > I have Compaq Proliant 2500 with 2x200 Mhz Pentium Pro CPUs. 128 Mb RAM > I have configured the APIC option in System Configuration ( BIOS ) to FULL > TABLE but still it crashes on boot up with this: > > assign_apic_irq:inconsistent table > MP_LOCK=0000001 ; CPUID=0 ; lapic=01000000 Try this patch: Index: mp_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/mp_machdep.c,v retrieving revision 1.89 diff -u -r1.89 mp_machdep.c --- mp_machdep.c 1999/01/28 01:59:50 1.89 +++ mp_machdep.c 1999/02/26 02:43:04 @@ -1090,7 +1090,7 @@ int_to_apicintpin[x].redirindex = 0; } for (x = 0; x < nintrs; x++) { - if (io_apic_ints[x].dst_apic_int <= APIC_INTMAPSIZE && + if (io_apic_ints[x].dst_apic_int < APIC_INTMAPSIZE && io_apic_ints[x].dst_apic_id == IO_TO_ID(0) && io_apic_ints[x].int_vector == 0xff && (io_apic_ints[x].int_type == 0 || - Tor Egge --0__=9o1OBf49BFCGbGYqjMJo5mYG3i3v1aaDtUev5EcSej96fGvFgsRF8p8w-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message