From owner-freebsd-smp Sun Dec 1 10:29:06 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA24601 for smp-outgoing; Sun, 1 Dec 1996 10:29:06 -0800 (PST) Received: from kvikk.uit.no (kvikk.Uit.No [129.242.4.32]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA24595 for ; Sun, 1 Dec 1996 10:29:03 -0800 (PST) Received: from sprint.cc.uit.no (sprint.Cc.Uit.No [129.242.5.198]) by kvikk.uit.no (8.7.3/8.7.1) with ESMTP id TAA11629; Sun, 1 Dec 1996 19:28:55 +0100 (MET) Received: from slibo.cc.uit.no (slibo.Cc.Uit.No [129.242.5.36]) by sprint.cc.uit.no (8.8.0/8.8.0) with ESMTP id TAA05410; Sun, 1 Dec 1996 19:28:54 +0100 (MET) Received: from localhost (terjem@localhost) by slibo.cc.uit.no (8.7.3/8.7.3) with ESMTP id TAA08278; Sun, 1 Dec 1996 19:28:53 +0100 (MET) Message-Id: <199612011828.TAA08278@slibo.cc.uit.no> X-Mailer: exmh version 1.6.9 8/22/96 To: Steve Passe cc: freebsd-smp@freebsd.org Subject: Re: SMP-current status In-reply-to: Your message of "Sat, 30 Nov 1996 19:38:15 MET." <199612010238.TAA10184@clem.systemsix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Sun, 01 Dec 1996 19:28:52 +0100 From: Terje Normann Marthinussen Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Status: > > 1: I think that I broke something when I merged the global used > for INTerrupt masking by the 8259s (imen) and the global > used by the APIC_IO code (IOApicMask). But I am clueless as to what. > I just rebuilt a non APIC_IO kernel that works well. But I have > no IDE disk so I have no way of testing that aspect of it. > > 2: Peter commited a fix for this today but we haven't heard back from > any >2 CPU testers yet. Just tried on our HP Netserver 5/133 LS4. However, unlike Erich, which seems to have gotten his all his processors started, I still can't get more than two. First I had the: BIOS basemem (633K) != RTC basemem (640K), setting to BIOS value unknown bus type: 'XPRESS' Where I simply commented out the panic. But then all stops with: Warning: current SMP kernel only tested with 2 CPUs. Please report the results to: to continue... Application Processor #3 failed! panic (cpu#0): Just for fun I removed the panic(), put in a couple more debugs and ended up with: Warning: current SMP kernel only tested with 2 CPUs. Please report the results to: to continue... Application Processor #2 starting! Application Processor #3 starting! Application Processor #3 failed! Application Processor #4 starting! Application Processor #4 failed! Sizing memory.. init386 done CR0 = 80000011 Copyright (c) 1992-1996 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-SMP #0: Sun Dec 1 18:25:33 MET 1996 terjem@quattro:/usr/src/sys/compile/netserver FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00030010 cpu1 (AP): apic id: 2, version: 0x00030010 cpu2 (AP): apic id: 3, version: 0x00030010 cpu3 (AP): apic id: 4, version: 0x00030010 io0 (APIC): apic id: 14, version: 0x000f0011 It then continues to boot, puts #2 into the scheduler and comes up just fine. I haven't any other OS on that machine right now, but I moved the disk to another identical machine (btw. it had stepping 11 on CPU 3 and 4) and got the same results, so I don't think it's the hardware thats faulty either. Tried to compile it with options APIC_IO for the first time as well: BIOS basemem (633K) != RTC basemem (640K), setting to BIOS value unknown bus type: 'XPRESS' Warning: current SMP kernel only tested with 2 CPUs. Please report the results to: to continue... Application Processor #2 starting! Application Processor #3 starting! Application Processor #3 failed! Application Processor #4 starting! Application Processor #4 failed! Sizing memory.. init386 done CR0 = 80000011 Copyright (c) 1992-1996 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-SMP #0: Sun Dec 1 18:25:33 MET 1996 terjem@quattro:/usr/src/sys/compile/netserver FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00030010 cpu1 (AP): apic id: 2, version: 0x00030010 cpu2 (AP): apic id: 3, version: 0x00030010 cpu3 (AP): apic id: 4, version: 0x00030010 io0 (APIC): apic id: 14, version: 0x000f0011 Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1193177 Hz CPU: Pentium (586-class CPU) Origin = "GenuineIntel" Id = 0x52b Stepping=11 Features=0x3bf real memory = 134217728 (131072K bytes) avail memory = 127418368 (124432K bytes) eisa0: Probing for devices on the EISA bus Probing for devices on PCI bus 0: chip0 rev 2 on pci0:0 chip1 rev 5 on pci0:14:0 pci0:15:0: Intel Corporation, device=0x0008, class=0xff, subclass=0x00 [no driver assigned] pci0:15:1: Intel Corporation, device=0x0008, class=0xff, subclass=0x00 [no driver assigned] pci0:15:2: Intel Corporation, device=0x0008, class=0xff, subclass=0x00 [no driver assigned] pci0:15:3: Intel Corporation, device=0x0008, class=0xff, subclass=0x00 [no driver assigned] pci0:15:4: Intel Corporation, device=0x0008, class=0xff, subclass=0x00 [no driver assigned] pci0:15:5: Intel Corporation, device=0x0008, class=0xff, subclass=0x00 [no driver assigned] pci0:15:6: Intel Corporation, device=0x0008, class=0xff, subclass=0x00 [no driver assigned] pci0:15:7: Intel Corporation, device=0x0008, class=0xff, subclass=0x00 [no driver assigned] Probing for devices on PCI bus 1: chip2 rev 2 on pci1:0 vx0 <3COM 3C595 Fast Etherlink XL PCI> rev 0 int a irq 11 on pci1:12 mii[*mii*]: disable 'auto select' with DOS util! address 00:60:97:12:60:e8 ahc0 rev 3 int a irq 7 on pci1:13 ahc0: Using left over BIOS settings ahc0: aic7870 Wide Channel, SCSI Id=7, 16 SCBs ahc0 waiting for scsi devices to settle Sending SDTR!! (ahc0:0:0): "HP 2.13 GB 1st ### 1221" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 2033MB (4165272 512 byte sectors) (ahc0:5:0): "TOSHIBA CD-ROM XM-5301TA 1895" type 5 removable SCSI 2 cd0(ahc0:5:0): CD-ROM cd0(ahc0:5:0): NOT READY asc:3a,0 Medium not present can't get the size ahc1 rev 3 int a irq 10 on pci1:14 ahc1: Using left over BIOS settings ahc1: aic7870 Wide Channel, SCSI Id=6, 16 SCBs ahc1 waiting for scsi devices to settle Sending SDTR!! (ahc1:4:0): "HP 2.13 GB 1st ### 1221" type 0 fixed SCSI 2 sd1(ahc1:4:0): Direct-Access 2033MB (4165272 512 byte sectors) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 not found at 0x2f8 lpt0 not found at 0xffffffff mse0 not found at 0x23c fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 npx0 on motherboard npx0: INT 16 interface stray irq 13 changing root device to sd0a Enabled INTs: 1, 2, 4, 6, 7, 8, 10, 11, 13, imen: 0x00ffd229 Rebooting... It then just hang at Enabled. "Rebooting..." came after ctrl-alt-delete Sorry, would have liked to do some better debugging than this, but it's closing in on my most import exam this year, and I also have an IP across cable TV test project to finish at work, so time really dosn't allow to get the needed knowledge of FreeBSD SMP work in at least a couple of weeks. I'll try to get time to do any testing you need me to do to get things working though. Terje Marthinussen terjem@cc.uit.no