From owner-freebsd-smp Tue Feb 18 23:16:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA09201 for smp-outgoing; Tue, 18 Feb 1997 23:16:55 -0800 (PST) Received: from hemi.com (hemi.com [204.132.158.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA09191 for ; Tue, 18 Feb 1997 23:16:50 -0800 (PST) Received: (from mbarkah@localhost) by hemi.com (8.8.5/8.7.3) id AAA09778 for freebsd-smp@freebsd.org; Wed, 19 Feb 1997 00:16:44 -0700 (MST) From: Ade Barkah Message-Id: <199702190716.AAA09778@hemi.com> Subject: Neptune woes... To: freebsd-smp@freebsd.org Date: Wed, 19 Feb 1997 00:16:44 -0700 (MST) X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, This is a followup to an old message I sent. I have an Asus PCI/I P54NP4D with two Pentium-133s, running -current from a couple of days before the Lite/2 merge, with SMP kernel from the same date (Feb 8 or so.) mptable appended below for reference. Things run pretty well, except: 1) On a warm boot, the machine hangs during startup, right after: | npx0 on motherboard | npx0: INT 16 interface | Enabled INTs: 1, 2, 3, 4, 6, 7, 8, 10, 15, imen: 0x00ff7a21 (hangs here, int 13 is missing, imen value different from below) after hitting the 'reset' key (or power cycle) the machine boots up fine. The corresponding lines: | npx0 on motherboard | npx0: INT 16 interface | stray irq 13 | Enabled INTs: 1, 2, 3, 4, 6, 7, 8, 10, 13, 15, imen: 0x00ff5a21 2) Not sure if it's ok or not, but on shutdown/halt, the machine prints: | boot() called on cpu#1 | oops, I'm on cpu#1, I need to be on cpu#0! | SMP: cpu#1 freezing | | Syncing disks... done Thanks! -Ade ------------------------------------------------------------------- Inet: mbarkah@hemi.com - HEMISPHERE ONLINE - ------------------------------------------------------------------- =============================================================================== MPTable, version 2.0.5 looking for EBDA pointer @ 0x040e, NOT found searching CMOS 'top of mem' @ 0x0009fc00 (639K) searching BIOS @ 0x000f0000 MP FPS found in BIOS @ physical addr: 0x000f98a0 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f98a0 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0x48 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f98b4 signature: 'PCMP' base table length: 228 version: 1.1 checksum: 0x5c OEM ID: 'ASUSTEK1' Product ID: 'P54NIP400000' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 20 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 0x11 BSP, usable 5 2 1 0x07bf 1 0x11 AP, usable 5 2 1 0x07bf -- Bus: Bus ID Type 0 ISA 1 PCI -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# INT conforms conforms 0 1 2 1 INT conforms conforms 0 0 2 2 INT conforms conforms 0 3 2 3 INT conforms conforms 0 4 2 4 INT conforms conforms 0 5 2 5 INT conforms conforms 0 6 2 6 INT conforms conforms 0 7 2 7 INT conforms conforms 0 8 2 8 INT conforms conforms 0 9 2 9 INT conforms conforms 0 10 2 10 INT conforms conforms 0 11 2 11 INT conforms conforms 0 12 2 12 INT conforms conforms 0 13 2 13 INT conforms conforms 0 14 2 14 INT conforms conforms 0 15 2 15 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ------------------------------------------------------------------------------- # SMP kernel config file options: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O options NCPU=2 # number of CPUs options NBUS=2 # number of busses options NAPIC=1 # number of IO APICs options NINTR=15 # number of INTs options SMP_INVLTLB # #options SMP_PRIVPAGES # BROKEN, DO NOT use! #options SMP_AUTOSTART # BROKEN, DO NOT use! #options SERIAL_DEBUG # com port debug output ------------------------------------------------------------------------------- dmesg output: 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 Feb 9 12:53:58 MST 1997 root@unagi.barkah.org:/usr2/src/sys/compile/KERNEL FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00030010 cpu1 (AP): apic id: 1, version: 0x00030010 io0 (APIC): apic id: 2, version: 0x000f0011 Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1252558 Hz 1252558 Hz differs from default of 1193182 Hz by more than 1% CPU: Pentium (586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x3bf real memory = 67108864 (65536K bytes) avail memory = 62472192 (61008K bytes) Probing for devices on PCI bus 0: chip0 rev 17 on pci0:0 chip1 rev 136 on pci0:2 ahc0 rev 0 int a irq 15 on pci0:4 ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs (ahc0:0:0): "SEAGATE ST11200N 8334" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 1005MB (2059140 512 byte sectors) (ahc0:1:0): "HP 2.13 GB #A1 9002" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 2033MB (4165272 512 byte sectors) (ahc0:4:0): "HP HP35480A 1133" type 1 removable SCSI 2 st0(ahc0:4:0): Sequential-Access density code 0x13, drive empty (ahc0:6:0): "TOSHIBA CD-ROM XM-3501TA 2564" type 5 removable SCSI 2 cd0(ahc0:6:0): CD-ROM can't get the size vga0 rev 1 on pci0:5 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 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x278-0x27f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 10 on isa ep0: aui/utp/bnc[*UTP*] address 00:a0:24:a3:3f:b0 npx0 on motherboard npx0: INT 16 interface stray irq 13 Enabled INTs: 1, 2, 3, 4, 6, 7, 8, 10, 13, 15, imen: 0x00ff5a21 SMP: All idle procs online. SMP: Starting 1st AP! SMP: AP CPU #1 LAUNCHED!! Starting Scheduling... SMP: TADA! CPU #1 made it into the scheduler!. SMP: All 2 CPU's are online! =============================================================================== From owner-freebsd-smp Wed Feb 19 09:33:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA05446 for smp-outgoing; Wed, 19 Feb 1997 09:33:21 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA05436 for ; Wed, 19 Feb 1997 09:33:15 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id KAA02748; Wed, 19 Feb 1997 10:29:33 -0700 Message-Id: <199702191729.KAA02748@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: Ade Barkah cc: freebsd-smp@freebsd.org Subject: Re: Neptune woes... In-reply-to: Your message of "Wed, 19 Feb 1997 00:16:44 MST." <199702190716.AAA09778@hemi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 19 Feb 1997 10:29:32 -0700 Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, > Things run pretty well, except: > > 1) On a warm boot, the machine hangs during startup, right after: > > | npx0 on motherboard > | npx0: INT 16 interface > | Enabled INTs: 1, 2, 3, 4, 6, 7, 8, 10, 15, imen: 0x00ff7a21 > > (hangs here, int 13 is missing, imen value different from below) > > after hitting the 'reset' key (or power cycle) the machine boots > up fine. The corresponding lines: > > | npx0 on motherboard > | npx0: INT 16 interface > | stray irq 13 > | Enabled INTs: 1, 2, 3, 4, 6, 7, 8, 10, 13, 15, imen: 0x00ff5a21 this is a "feature" of the Neptune chipset (on some MBs). I'm sure that there is something being done "wrong" in my code, but not having access to a Neptune MB I have no way of chasing it.... when I get more time I'll write some tests for Neptune user's to try. --- > 2) Not sure if it's ok or not, but on shutdown/halt, the machine > prints: > > | boot() called on cpu#1 > | oops, I'm on cpu#1, I need to be on cpu#0! > | SMP: cpu#1 freezing > | > | Syncing disks... done normal and expected. -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-smp Wed Feb 19 20:53:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA16700 for smp-outgoing; Wed, 19 Feb 1997 20:53:36 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA16686 for ; Wed, 19 Feb 1997 20:53:00 -0800 (PST) Received: from hemi.com (hemi.com [204.132.158.10]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id UAA23262 for ; Wed, 19 Feb 1997 20:51:40 -0800 (PST) Received: (from mbarkah@localhost) by hemi.com (8.8.5/8.7.3) id VAA17931; Wed, 19 Feb 1997 21:48:03 -0700 (MST) From: Ade Barkah Message-Id: <199702200448.VAA17931@hemi.com> Subject: Re: Neptune woes... To: smp@csn.net (Steve Passe) Date: Wed, 19 Feb 1997 21:48:02 -0700 (MST) Cc: freebsd-smp@freebsd.org In-Reply-To: <199702191729.KAA02748@clem.systemsix.com> from Steve Passe at "Feb 19, 97 10:29:32 am" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > this is a "feature" of the Neptune chipset (on some MBs). I'm sure > that there is something being done "wrong" in my code, but not having > access to a Neptune MB I have no way of chasing it.... Ok. It's no big deal for now (I just hit the reset key and everything works again.) > Steve Passe | powered by > smp@csn.net | FreeBSD ^^^^^^^ Are you in Colorado ? If so, perhaps I can let you have my machine for a few days when you have more time ? Thanks again, -Ade ------------------------------------------------------------------- Inet: mbarkah@hemi.com - HEMISPHERE ONLINE - ------------------------------------------------------------------- From owner-freebsd-smp Fri Feb 21 09:20:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA06485 for smp-outgoing; Fri, 21 Feb 1997 09:20:36 -0800 (PST) Received: from premier1.premier.net (root@premier1.premier.net [204.178.176.23]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA06480 for ; Fri, 21 Feb 1997 09:20:34 -0800 (PST) Received: from hawke (ts7054.dialup.premier.net [206.124.198.54]) by premier1.premier.net (8.7.5/8.7.3) with SMTP id LAA09833 for ; Fri, 21 Feb 1997 11:20:29 -0600 Message-Id: <3.0.32.19970221112002.00ceb0d8@192.0.2.2> X-Sender: hawke#hawkewerks.com@192.0.2.2 X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Fri, 21 Feb 1997 11:20:03 -0600 To: freebsd-smp@freebsd.org From: HawkeWerks Multimedia Subject: Config Questions Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm attempting to install a Dual Processor Pentium Pro 200 Motherboard from Tyan. I currently only have the 2.1.6 on CD, should I go and get the 3.0 Snap release? or is there a way that I can configure the kernel in 2.1.6? Any help will be GREATLY appreciated. From owner-freebsd-smp Fri Feb 21 09:56:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA09379 for smp-outgoing; Fri, 21 Feb 1997 09:56:59 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA09273 for ; Fri, 21 Feb 1997 09:56:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id KAA15521; Fri, 21 Feb 1997 10:48:18 -0700 Message-Id: <199702211748.KAA15521@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: HawkeWerks Multimedia cc: freebsd-smp@freebsd.org Subject: Re: Config Questions In-reply-to: Your message of "Fri, 21 Feb 1997 11:20:03 CST." <3.0.32.19970221112002.00ceb0d8@192.0.2.2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Feb 1997 10:48:17 -0700 Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, > I'm attempting to install a Dual Processor Pentium Pro 200 Motherboard from > Tyan. I currently only have the 2.1.6 on CD, should I go and get the 3.0 > Snap release? or is there a way that I can configure the kernel in 2.1.6? you need to use a 3.0-SNAP. beyond that you need to grab a seperate tree of SMP kernel code. catch-22: the 2 are NOT currently in sync, you might not be able to get there from here... see: http://www.freebsd.org/~fsmp/SMP/SMP.html -- Steve Passe | powered by smp@csn.net | FreeBSD From owner-freebsd-smp Fri Feb 21 18:33:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA14868 for smp-outgoing; Fri, 21 Feb 1997 18:33:43 -0800 (PST) Received: from seabass.progroup.com (catfish.progroup.com [206.24.122.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA14860 for ; Fri, 21 Feb 1997 18:33:40 -0800 (PST) Received: from seabass.progroup.com (seabass.progroup.com [206.24.122.1]) by seabass.progroup.com (8.7.5/8.7.3) with SMTP id SAA23451; Fri, 21 Feb 1997 18:32:46 -0800 (PST) Message-ID: <330E5ACD.33590565@ProGroup.com> Date: Fri, 21 Feb 1997 18:32:45 -0800 From: Craig Shaver Organization: Productivity Group, Inc. X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.1.5-RELEASE i386) MIME-Version: 1.0 To: HawkeWerks Multimedia CC: freebsd-smp@FreeBSD.org Subject: Re: Config Questions References: <3.0.32.19970221112002.00ceb0d8@192.0.2.2> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-smp@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk HawkeWerks Multimedia wrote: > > I'm attempting to install a Dual Processor Pentium Pro 200 Motherboard from > Tyan. I currently only have the 2.1.6 on CD, should I go and get the 3.0 > Snap release? or is there a way that I can configure the kernel in 2.1.6? > > Any help will be GREATLY appreciated. >From what I understand you need the 3.0-CURRENT stuff to run a reasonably stable FreeBSD-SMP. I have just set up a Tyan Tomcat III with dual p5-150's overclocked to 200mhz, with 128MB of memory. I am currently using Solaris 2.5.1 on it, and it feels pretty quick. I will experiment with the FreeBSD-SMP at some point in the future. I don't think it is quite up to production quality, from what I hear on this list. I would like to see some *real* kernel level threads in smp. We may get there in the next few months. I wish I could afford dual p6-200's! :) -- Craig Shaver (craig@progroup.com) (415)390-0654 Productivity Group POB 60458 Sunnyvale, CA 94088