From owner-freebsd-smp Sun Sep 6 06:38:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA17713 for freebsd-smp-outgoing; Sun, 6 Sep 1998 06:38:44 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from indigo.ie (ts02-043.dublin.indigo.ie [194.125.134.173]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA17692 for ; Sun, 6 Sep 1998 06:38:36 -0700 (PDT) (envelope-from rotel@indigo.ie) Received: (from nsmart@localhost) by indigo.ie (8.8.8/8.8.7) id OAA01409 for freebsd-smp@freebsd.org; Sun, 6 Sep 1998 14:32:32 +0100 (IST) (envelope-from rotel@indigo.ie) From: Niall Smart Message-Id: <199809061332.OAA01409@indigo.ie> Date: Sun, 6 Sep 1998 14:32:31 +0000 Reply-To: rotel@indigo.ie X-Files: The truth is out there X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: freebsd-smp@FreeBSD.ORG Subject: Dual Celeron A vs. Dual PII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, The new Celeron A has 128K of cache which runs at CPU speed, there is also a site which describes some modifications to it which can be made to enable SMP. Has anyone built such a system and have they compared it to a dual PII? Most popular benchmarks put the Celeron A within 5% of the performance of a same clock speed PII at the same clock rate, I was wondering if the same would hold at SMP. One thing that bothers me is the small cache size which would probably lead to increased contention for the memory bus but with a 100MHz memory bus speed would this be significant? Regards, Niall (el cheapo) Smart -- Niall Smart, rotel@indigo.ie. Amaze your friends and annoy your enemies: echo '#define if(x) if (!(x))' >> /usr/include/stdio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Sep 7 11:53:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA14873 for freebsd-smp-outgoing; Mon, 7 Sep 1998 11:53:08 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from marvin.ece.utexas.edu (marvin.ece.utexas.edu [128.83.52.151]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA14825 for ; Mon, 7 Sep 1998 11:52:52 -0700 (PDT) (envelope-from bgrayson@marvin.ece.utexas.edu) Received: (from bgrayson@localhost) by marvin.ece.utexas.edu (8.8.8/8.8.8) id NAA01512 for freebsd-smp@freebsd.org; Mon, 7 Sep 1998 13:52:43 -0500 (CDT) Message-ID: <19980907135242.A1480@marvin.ece.utexas.edu> Date: Mon, 7 Sep 1998 13:52:42 -0500 From: "Brian C. Grayson" To: freebsd-smp@FreeBSD.ORG Subject: apic_ipi stuck problems Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've installed 3.0-19980804-SNAP on a quad PPro box, and occasionally had reboot problems where I would get a message like ``apic_ipi stuck. Rebooting within 15 seconds.'' at which point it reboots and gets to exactly the same thing. Usually, a hard reboot will bring it back to its senses. Yesterday when I tried to bring the machine up (it was shut down before a planned AC outage), for four consecutive reboots it went into this mode. At that point I gave up and left it powered off. Is this a software bug, and if so is it fixed in -current? Unfortunately, I'm pretty pressed for time for the next week or two, so I may not be able to try out anything that requires a significant amount of time, but if there's a quick fix I'd probably be able to try it out. I can scribble some of the bootup messages on paper tomorrow if that would help. Thanks in advance. Brian Grayson -- "Now we are going to take into account the temperature dependence of the Zener diode." - R.P. Massey, ELEC 342 (After solving a problem using the simple model of the diode (20 minutes), and then reworking the same problem using a better model of the diode (another 20 minutes), with about 3 minutes left in class.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Sep 7 13:31:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA00541 for freebsd-smp-outgoing; Mon, 7 Sep 1998 13:31:56 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from midten.fast.no (midten.fast.no [195.139.251.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA00531 for ; Mon, 7 Sep 1998 13:31:50 -0700 (PDT) (envelope-from tegge@fast.no) Received: from fast.no (IDENT:tegge@midten.fast.no [195.139.251.11]) by midten.fast.no (8.9.1/8.9.1) with ESMTP id WAA18283; Mon, 7 Sep 1998 22:31:21 +0200 (CEST) Message-Id: <199809072031.WAA18283@midten.fast.no> To: bgrayson@marvin.ece.utexas.edu Cc: freebsd-smp@FreeBSD.ORG Subject: Re: apic_ipi stuck problems From: Tor.Egge@fast.no In-Reply-To: Your message of "Mon, 7 Sep 1998 13:52:42 -0500" References: <19980907135242.A1480@marvin.ece.utexas.edu> X-Mailer: Mew version 1.70 on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 07 Sep 1998 22:31:21 +0200 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I've installed 3.0-19980804-SNAP on a quad PPro box, and > occasionally had reboot problems where I would get a message > like ``apic_ipi stuck. Rebooting within 15 seconds.'' at which > point it reboots and gets to exactly the same thing. Usually, > a hard reboot will bring it back to its senses. > > Yesterday when I tried to bring the machine up (it was shut > down before a planned AC outage), for four consecutive reboots > it went into this mode. At that point I gave up and left it > powered off. Is this a software bug, and if so is it fixed in > -current? Unfortunately, I'm pretty pressed for time for the > next week or two, so I may not be able to try out anything that > requires a significant amount of time, but if there's a quick fix > I'd probably be able to try it out. There is a quick fix (already committed to -current). diff -ru ../OLD1/usr/src/sys/i386/i386/mp_machdep.c sys/i386/i386/mp_machdep.c --- ../OLD1/usr/src/sys/i386/i386/mp_machdep.c Sat Sep 5 21:23:28 1998 +++ sys/i386/i386/mp_machdep.c Sun Sep 6 21:19:19 1998 @@ -314,7 +316,7 @@ struct pcb stoppcbs[NCPU]; -static int smp_started; /* has the system started? */ +int smp_started; /* has the system started? */ /* * Local data and functions. @@ -2123,9 +2217,11 @@ * quite correct yet. We should have a bitfield for cpus willing * to accept TLB flush IPI's or something and sync them. */ - invltlb_ok = 1; - smp_started = 1; /* enable IPI's, tlb shootdown, freezes etc */ - smp_active = 1; /* historic */ + if (smp_cpus == mp_ncpus) { + invltlb_ok = 1; + smp_started = 1; /* enable IPI's, tlb shootdown, freezes etc */ + smp_active = 1; /* historic */ + } curproc = NULL; /* make sure */ } diff -ru ../OLD1/usr/src/sys/i386/i386/mpboot.s sys/i386/i386/mpboot.s --- ../OLD1/usr/src/sys/i386/i386/mpboot.s Sat Sep 5 21:22:52 1998 +++ sys/i386/i386/mpboot.s Sun Sep 6 21:22:03 1998 @@ -124,6 +124,12 @@ /* Now, let's prepare for some REAL WORK :-) */ call _ap_init + call _rel_mplock +2: + cmpl $0, CNAME(smp_started) /* Wait for last AP to be ready */ + jz 2b + call _get_mplock + /* let her rip! (loads new stack) */ jmp _cpu_switch - Tor Egge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Sep 7 13:53:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03471 for freebsd-smp-outgoing; Mon, 7 Sep 1998 13:53:28 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from marvin.ece.utexas.edu (marvin.ece.utexas.edu [128.83.52.151]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA03466 for ; Mon, 7 Sep 1998 13:53:25 -0700 (PDT) (envelope-from bgrayson@marvin.ece.utexas.edu) Received: (from bgrayson@localhost) by marvin.ece.utexas.edu (8.8.8/8.8.8) id PAA02088; Mon, 7 Sep 1998 15:53:15 -0500 (CDT) Message-ID: <19980907155315.A2081@marvin.ece.utexas.edu> Date: Mon, 7 Sep 1998 15:53:15 -0500 From: "Brian C. Grayson" To: Tor.Egge@fast.no Cc: freebsd-smp@FreeBSD.ORG Subject: Re: apic_ipi stuck problems References: <19980907135242.A1480@marvin.ece.utexas.edu> <199809072031.WAA18283@midten.fast.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: <199809072031.WAA18283@midten.fast.no>; from Tor.Egge@fast.no on Mon, Sep 07, 1998 at 10:31:21PM +0200 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Sep 07, 1998 at 10:31:21PM +0200, Tor.Egge@fast.no wrote: > > There is a quick fix (already committed to -current). Thanks for the quick response. I'll try to bring it up single-CPU and build a new SMP kernel tomorrow! Brian -- "...and the particle undergoes a BOINNNNG..." - Dr. Dunning, PHYS 202 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Sep 8 07:23:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA08005 for freebsd-smp-outgoing; Tue, 8 Sep 1998 07:23:49 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from omnix.net (omnix.net [194.183.217.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA07999 for ; Tue, 8 Sep 1998 07:23:45 -0700 (PDT) (envelope-from didier@omnix.net) Received: from localhost (didier@localhost) by omnix.net (8.8.7/8.8.7) with SMTP id OAA20569 for ; Tue, 8 Sep 1998 14:23:36 GMT (envelope-from didier@omnix.net) Date: Tue, 8 Sep 1998 16:23:36 +0200 (CEST) From: Didier Derny To: freebsd-smp@FreeBSD.ORG Subject: Asus P2B-D / FreeBSD 3.0 / SMP Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have to install a SMP machine in a few weeks. do you have any good/bad experience with this board ? I've never installed a FreeBSD SMP system. Is there anything special to do / to avoid ? I plan tu use a NCR ultra wide SCSI board. I'll probably have to install the system before FreeBSD-Release comes out Is the latest snapshot cdrom suitable for this use ? Thanks for your help -- Didier Derny didier@omnix.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Sep 8 20:07:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA07147 for freebsd-smp-outgoing; Tue, 8 Sep 1998 20:07:19 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from systemics.ai (systemics.ai [209.88.68.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA07113 for ; Tue, 8 Sep 1998 20:07:14 -0700 (PDT) (envelope-from iang@systemics.com) Received: from menger.systemics.ai (systemics.com) [209.88.68.60] by systemics.ai with esmtp (Exim 2.02 #1 (Debian)) id 0zGaas-00054s-00; Tue, 8 Sep 1998 23:06:59 -0400 Received: (from iang@localhost) by systemics.com (8.8.8/8.8.8) id XAA05295; Tue, 8 Sep 1998 23:07:48 -0400 (AST) (envelope-from iang) Date: Tue, 8 Sep 1998 23:07:48 -0400 (AST) From: Ian Grigg Message-Id: <199809090307.XAA05295@systemics.com> To: didier@omnix.net, freebsd-smp@FreeBSD.ORG Subject: Re: Asus P2B-D / FreeBSD 3.0 / SMP Reply-To: iang@systemics.com In-Reply-To: Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've got P2b-DS boards here, which differ from the straight -D in that they have the onboard SCSI controller. Unfortunately, the SCSI controller, a 7880 or some such, is not currently supported by FreeBSD, at least in the current floppy boot. However, there is a driver somewhere, and it was written for FreeBSD. I know this as someone here found it and added it into a Linux kernel and go that going. I just haven't had the time to find it myself and work out how to get it into floopy install disk. But all the above is irrelevant if you have no onboard SCSI... Otherwise, the Asus P2B-* looks good, it certainly seems to run Linux as well as anything else. iang PS: Latest Floppy install Current I tried was end of August, but it may be supported by now. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Sep 8 21:52:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA16416 for freebsd-smp-outgoing; Tue, 8 Sep 1998 21:52:48 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA16411 for ; Tue, 8 Sep 1998 21:52:47 -0700 (PDT) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.8.8) with SMTP id AAA10273; Wed, 9 Sep 1998 00:54:23 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Wed, 9 Sep 1998 00:54:23 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Ian Grigg cc: didier@omnix.net, freebsd-smp@FreeBSD.ORG Subject: Re: Asus P2B-D / FreeBSD 3.0 / SMP In-Reply-To: <199809090307.XAA05295@systemics.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org isn't a 7880 just an onboard 2940? i think it is supported: device ahc (from /usr/src/sys/i386/conf/LINT) # The `ahc' device provides support for the Adaptec 29/3940(U)(W) # and motherboard based AIC7870/AIC7880 adapters. Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/ 3.0-current On Tue, 8 Sep 1998, Ian Grigg wrote: > I've got P2b-DS boards here, which differ from the straight -D > in that they have the onboard SCSI controller. Unfortunately, > the SCSI controller, a 7880 or some such, is not currently supported > by FreeBSD, at least in the current floppy boot. > > PS: Latest Floppy install Current I tried was end of August, > but it may be supported by now. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Sep 8 22:50:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA21247 for freebsd-smp-outgoing; Tue, 8 Sep 1998 22:50:41 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from acetylene.vapornet.net (acetylene.vapornet.net [209.100.218.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA21241 for ; Tue, 8 Sep 1998 22:50:40 -0700 (PDT) (envelope-from john@acetylene.vapornet.net) Received: from habanero.chili-pepper.net (vapornet.xnet.com. [205.243.141.107]) by acetylene.vapornet.net (a mail server) with ESMTP id AAA02369; Wed, 9 Sep 1998 00:50:29 -0500 (CDT) (envelope-from john) Received: (from john@localhost) by habanero.chili-pepper.net (a mail client) id AAA11253; Wed, 9 Sep 1998 00:50:13 -0500 (CDT) (envelope-from john) From: John Preisler MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 9 Sep 1998 00:50:13 -0500 (CDT) To: Alfred Perlstein Cc: Ian Grigg , didier@omnix.net, freebsd-smp@FreeBSD.ORG Subject: Re: Asus P2B-D / FreeBSD 3.0 / SMP In-Reply-To: References: <199809090307.XAA05295@systemics.com> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13814.5865.704915.11860@habanero.chili-pepper.net> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org p2b-*s have 7890 on board which requires freebsd+CAM. -j Alfred Perlstein writes: > isn't a 7880 just an onboard 2940? > > i think it is supported: device ahc > > (from /usr/src/sys/i386/conf/LINT) > # The `ahc' device provides support for the Adaptec 29/3940(U)(W) > # and motherboard based AIC7870/AIC7880 adapters. > > Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com > -- There are operating systems, and then there's FreeBSD. > -- http://www.freebsd.org/ 3.0-current > > On Tue, 8 Sep 1998, Ian Grigg wrote: > > > I've got P2b-DS boards here, which differ from the straight -D > > in that they have the onboard SCSI controller. Unfortunately, > > the SCSI controller, a 7880 or some such, is not currently supported > > by FreeBSD, at least in the current floppy boot. > > > > PS: Latest Floppy install Current I tried was end of August, > > but it may be supported by now. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-smp" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Sep 9 15:48:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA03210 for freebsd-smp-outgoing; Wed, 9 Sep 1998 15:48:35 -0700 (PDT) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from gwinnett.gwinnett.com (mail.gwinnett.com [204.89.227.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA03188; Wed, 9 Sep 1998 15:48:32 -0700 (PDT) (envelope-from toya@atlnet.com) Received: from mars ([204.89.227.93]) by gwinnett.gwinnett.com (8.9.1a/8.8.5) with SMTP id SAA31757; Wed, 9 Sep 1998 18:48:11 -0400 Message-ID: <059301bddc45$3eefd0c0$5de359cc@mars> From: "Todd Reese" To: Cc: Subject: Help! Urgent Date: Wed, 9 Sep 1998 18:57:40 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org My Usenet News Server went belly up today. I tried to do an upgrade to 3.0CAM-19980906, which would not allow me to compile a kernel for a DPT RAID controller in the machine, so I wiped the machine clean and installed 3.0-19980804-SNAP (because I needed to get an OS on the machine in a hurry, which means I need to download from ftp2.freebsd.org). Now I have this build on the machine and tried to compile a SMP kernel for the new OS. I am now getting these messages: APIC_IO: testing 8254 interrupt delivery APIC_IO:Broken MP Table Detected: 8254 is not connected to IO APIC init Pin2 APIC_IO: Routing 8254 via 8259 on pin 0 Changing root device to sd0s1a Changing root device to sd0a Error 6: Panic: Cannot mount root MP_LOCK=00000001; CPUID=0; LAPIC.ID=00000000 Debugger("Panic") Stopped at _Debugger+0x35: movb $0 _in_ Debugger.98 The machine will boot normally on the original kernel. Could anyone help? The System Configuration is: 2X180Mhz Pentium Pros Supermicro Dual Processor Board 384MB RAM DPT 3334UW RAID Controller 2x2GB WSCSI Mirrored for Boot, OS 6X4.5GB WSCSI for data NE2000 PCI ISA Video Card Thanks in advance. Lee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message