From owner-freebsd-smp Tue Nov 26 18:18:36 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA17477 for smp-outgoing; Tue, 26 Nov 1996 18:18:36 -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 SAA17472 for ; Tue, 26 Nov 1996 18:18:31 -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 DAA02429; Wed, 27 Nov 1996 03:18:20 +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 DAA08885; Wed, 27 Nov 1996 03:18:19 +0100 (MET) Received: from localhost (terjem@localhost) by slibo.cc.uit.no (8.7.3/8.7.3) with ESMTP id DAA06207; Wed, 27 Nov 1996 03:18:14 +0100 (MET) Message-Id: <199611270218.DAA06207@slibo.cc.uit.no> To: Steve Passe cc: Terje Normann Marthinussen , freebsd-smp@freebsd.org Subject: Re: cvs commit: sys/i386/i386 locore.s swtch.s sys/i386/include pmap.h In-reply-to: Your message of "Mon, 25 Nov 1996 15:20:02 MET." <199611252220.PAA03430@clem.systemsix.com> Date: Wed, 27 Nov 1996 03:18:14 +0100 From: Terje Normann Marthinussen Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >so run mptable on it "mptable -verbose -dmesg" and return the results. This >is the first step towards getting any machine working. If the development >team doesn't know "what it looks like", we can't do much to help! >I especially need to see mptable output from 4CPU machines right now >as that is one of the things at the top of my todo list. Here it is. NCPU=4 is not the reason why I didn't get it to work with 2 CPUS, I've tried NCPU=2 as well, I just had to tried 4 and never cared to recompile again. The system has 128MB of memory as well, just didn't get it into the kernel configuration. It's an HP netserver 5/133 LS4. It has: 4 133MHZ pentium CPUs 5 PCI slots on 2 PCI buses, 1 slot on bus 0 is occupied by the second CPU card. 6 EISA slots 2 onboard Adaptec SCSI controllers I believe MPTable isn't to much wrong when it says "Intel XXPRESS" :) =============================================================================== MPTable, version 2.0.4 looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009e400 searching CMOS 'top of mem' @ 0x0009e000 (632K) searching default 'top of mem' @ 0x0009fc00 (639K) searching BIOS @ 0x000f0000 MP FPS found in BIOS @ physical addr: 0x000f73a0 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f73a0 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0x71 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f73b0 signature: 'PCMP' base table length: 308 version: 1.1 checksum: 0x56 OEM ID: 'INTEL ' Product ID: 'XXPRESS ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 27 local APIC address: 0xfee00000 extended table length: 0 extended table checksum: 0 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 0 0x10 BSP, usable 5 2 11 0x03bf 2 0x10 AP, usable 5 2 11 0x03bf 3 0x10 AP, usable 5 2 5 0x03bf 4 0x10 AP, usable 5 2 5 0x03bf -- Bus: Bus ID Type 0 PCI 1 PCI 18 XPRESS 19 EISA -- I/O APICs: APIC ID Version State Address 14 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT active-hi edge 19 0 14 0 INT active-hi edge 19 1 14 1 INT active-hi edge 19 0 14 2 INT active-hi edge 19 3 14 3 INT active-hi edge 19 4 14 4 INT active-hi edge 19 5 14 5 INT active-hi edge 19 6 14 6 INT conforms level 19 7 14 7 INT active-hi edge 19 8 14 8 INT active-hi edge 19 9 14 9 INT conforms level 19 10 14 10 INT conforms level 19 11 14 11 INT active-hi edge 19 12 14 12 INT active-hi edge 19 13 14 13 INT active-hi edge 19 14 14 14 INT active-hi edge 19 15 14 15 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT active-hi edge 19 0 255 0 NMI active-hi edge 0 0:A 255 1 ------------------------------------------------------------------------------- dmesg output: FreeBSD 2.2-CURRENT #0: Fri Oct 25 17:06:09 MET DST 1996 root@quattro:/usr/src/sys.old/compile/netserver Calibrating clock(s) relative to mc146818A clock... i8254 clock: 1193166 Hz CPU: Pentium (586-class CPU) Origin = "GenuineIntel" Id = 0x52b Stepping=11 Features=0x3bf real memory = 67108864 (65536K bytes) avail memory = 62918656 (61444K 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*] address 00:60:97:12:60:e8 Warning! Defective early revision adapter! 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 (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 (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 changing root device to sd0a vx0: strange connector type in EEPROM: assuming AUI vx0: strange connector type in EEPROM: assuming AUI vx0: strange connector type in EEPROM: assuming AUI ------------------------------------------------------------------------------- # SMP kernel config file options: options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O options NCPU=4 # number of CPUs options NBUS=4 # number of busses options NAPIC=1 # number of IO APICs options NINTR=16 # number of INTs =============================================================================== > >There's a good chance the current SMP will work now (2 CPUs), alot of bugs have >been squashed in the last 2 months. Will try soon, seems like smp-current won't compile without going to current for the rest of the system (tried the latest snap, didn't even pass make depend, as failed on %cr4 in locore.s :-/). So, I've got to get an up to date current source tree first. Terje Marthinussen terjem@cc.uit.no