From owner-freebsd-smp Mon Aug 18 15:00:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA20808 for smp-outgoing; Mon, 18 Aug 1997 15:00:34 -0700 (PDT) Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id PAA20803 for ; Mon, 18 Aug 1997 15:00:28 -0700 (PDT) Received: from Corp.Sun.COM ([129.145.35.78]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id OAA02101 for ; Mon, 18 Aug 1997 14:59:51 -0700 Received: from mpk05.Corp.Sun.COM by Corp.Sun.COM (SMI-8.6/SMI-5.3) id OAA11757; Mon, 18 Aug 1997 14:59:49 -0700 Received: from concord.Corp.Sun.COM by mpk05.Corp.Sun.COM (SMI-8.6/SMI-SVR4) id OAA23775; Mon, 18 Aug 1997 14:59:49 -0700 Received: from concord by concord.Corp.Sun.COM (SMI-8.6/SMI-SVR4) id OAA15650; Mon, 18 Aug 1997 14:59:48 -0700 Message-Id: <199708182159.OAA15650@concord.Corp.Sun.COM> Date: Mon, 18 Aug 1997 14:59:45 -0700 (PDT) From: david.myers@Corp.Sun.COM Subject: Re: HEADS UP: good time to update SMP src To: smp@freebsd.org In-Reply-To: <199708111633.KAA15787@Ilsa.StevesCafe.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > So I'm going to call it fixed. I commited this fix, the SMP src is > as stable as its going to get for awhile. I have plans for new lock > code that I will start to commit later this week, expect the usual > breakage. > > In other words, come and get it while the getting is good! I'd like to put in a request for more notifications like this one. I'm not a developer, just a user of an SMP system, and I'd like to know which of the SMP releases is fairly stable. Keeping track of the discussions on this list takes a lot of work, and are really over my head anyway. I'm willing to tolerate experimental code (obviously), and I'm willing to update my source tree every month or so, but I don't need to stay that current. Maybe Steve you could send out a note when we've reached a branching point in the source, saying -- "those of you who want a fairly stable reference release, check out 3.0-9708xx-SNAP. Revisions after this date are likely to be buggy again." ??? I understand there's no guarantees and all, but it would sure help me track down the right SMP code base when I visit current.freebsd.org. -David ^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^ David Myers Sun Microsystems Area Java Technologist david.myers@corp.sun.com Strategic Sales Area (415) 614-6907 x46907 "Employ draconian measures as appropriate..." -- from the Java Security Whitepaper ^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^ From owner-freebsd-smp Mon Aug 18 19:32:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA03232 for smp-outgoing; Mon, 18 Aug 1997 19:32:20 -0700 (PDT) Received: from cenotaph.snafu.de (gw-deadnet.snafu.de [194.121.229.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id TAA03225 for ; Mon, 18 Aug 1997 19:32:12 -0700 (PDT) Received: by cenotaph.snafu.de from deadline.snafu.de using smtp id m0x0e5N-000KEEC; Tue, 19 Aug 1997 04:31:57 +0200 (CEST) (Smail-3.2 1996-Jul-4 #1) Received: by deadline.snafu.de id m0x0e5N-000BskC; Tue, 19 Aug 1997 04:31:57 +0200 (CEST) (Smail-3.2 1996-Jul-4 #1) Message-Id: From: root@deadline.snafu.de (Andreas S. Wetzel) Subject: SMP problem To: smp@freebsd.org Date: Tue, 19 Aug 1997 04:31:56 +0200 (CEST) Organization: A world stranger than you have ever imagined. X-Mailer: ELM [version 2.4ME+ PL13] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi! --- I today installed my new IBM DCAS 34330 disk drive, and now I seem to have a SMP related problem: SMP kernel boots until the message: APIC_IO: routing 8254 via 8259 on pin 0 Then it gets a fatal trap 9 This happens mostly all the time with SMP kernel, although sometimes booting succeeds and everything is fine when it is once up and running. UP kernel seems to work fine and does not show up an equal behaviour. My last update of /usr/src/sys was from the date you stated a good time to update again last week or so. Not quite sure if this matters, but I have installed two slices on the IBM disk, the first one is a 630 Mb Windows NT partition, and the other one is completely for FreeBSD. I boot FreeBSD via the Windows NT bootloader, which I have used before on an IDE hd to boot FreeBSD off sd0. I haven't been quite sure if the FreeBSD slice must be within the first ~500 Mb of the disk to be bootable, but since it loads the kernel and boots with UP kernel just fine, I do not think that this is a problem related to the disk partitioning. Thankful for any advice. Regards, Mickey -- (__) (@@) Andreas S. Wetzel Mail: mickey@deadline.snafu.de /-------\/ Utrechter Strasse 41 Web: http://cenotaph.snafu.de/ / | || 13347 Berlin Fon: <+4930> 456 066 90 * ||----|| Germany Fax: <+4930> 456 066 91/92 ~~ ~~ From owner-freebsd-smp Mon Aug 18 23:08:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA13702 for smp-outgoing; Mon, 18 Aug 1997 23:08:50 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA13695 for ; Mon, 18 Aug 1997 23:08:45 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id AAA13223; Tue, 19 Aug 1997 00:08:40 -0600 (MDT) Message-Id: <199708190608.AAA13223@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: root@deadline.snafu.de (Andreas S. Wetzel) cc: smp@FreeBSD.ORG Subject: Re: SMP problem In-reply-to: Your message of "Tue, 19 Aug 1997 04:31:56 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 19 Aug 1997 00:08:39 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, > I today installed my new IBM DCAS 34330 disk drive, and now I seem to > have a SMP related problem: > > SMP kernel boots until the message: > > APIC_IO: routing 8254 via 8259 on pin 0 > > Then it gets a fatal trap 9 > This happens mostly all the time with SMP kernel, although sometimes > booting succeeds and everything is fine when it is once up and running. > > UP kernel seems to work fine and does not show up an equal behaviour. > > My last update of /usr/src/sys was from the date you stated a good time to > update again last week or so. this is a well known problem, and we fixed it AFTER I made that promouncement about it getting "as stable as its gonna get". It was fixed by: fsmp 1997/08/14 19:33:31 PDT Modified files: sys/i386/include smp.h sys/kern init_main.c init_smp.c Log: The promised "better fix" for "Trap 9 When Boot SMP" problem. We now tsleep() in kthread_init() between start_init() and prepare_usermode() while waiting for ALL the idle_loop() processes to come online. Debugged & tested by: "Thomas D. Dean" Reviewed by: David Greenman Revision Changes Path 1.25 +3 -2 src/sys/i386/include/smp.h 1.69 +10 -2 src/sys/kern/init_main.c 1.15 +8 -27 src/sys/kern/init_smp.c --- for those shopping by "SNAP date" I would guess 970815 would be a good vintage. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-smp Tue Aug 19 03:30:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA26549 for smp-outgoing; Tue, 19 Aug 1997 03:30:22 -0700 (PDT) Received: from cenotaph.snafu.de (gw-deadnet.snafu.de [194.121.229.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id DAA26543 for ; Tue, 19 Aug 1997 03:30:15 -0700 (PDT) Received: by cenotaph.snafu.de from deadline.snafu.de using smtp id m0x0lXT-000KBtC; Tue, 19 Aug 1997 12:29:27 +0200 (CEST) (Smail-3.2 1996-Jul-4 #1) Received: by deadline.snafu.de id m0x0lXS-000Bt0C; Tue, 19 Aug 1997 12:29:26 +0200 (CEST) (Smail-3.2 1996-Jul-4 #1) Message-Id: From: root@deadline.snafu.de (Andreas S. Wetzel) Subject: Re: SMP problem To: smp@csn.net (Steve Passe) Date: Tue, 19 Aug 1997 12:29:26 +0200 (CEST) Cc: smp@FreeBSD.ORG In-Reply-To: <199708190608.AAA13223@Ilsa.StevesCafe.com> from Steve Passe at "Aug 19, 97 00:08:39 am" Organization: A world stranger than you have ever imagined. X-Mailer: ELM [version 2.4ME+ PL13] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi! --- Steve Passe writes: ] > I today installed my new IBM DCAS 34330 disk drive, and now I seem to ] > have a SMP related problem: ] > ] > SMP kernel boots until the message: ] > ] > APIC_IO: routing 8254 via 8259 on pin 0 ] > ] > Then it gets a fatal trap 9 ] > This happens mostly all the time with SMP kernel, although sometimes ] > booting succeeds and everything is fine when it is once up and running. ] > ] > UP kernel seems to work fine and does not show up an equal behaviour. ]] ] this is a well known problem, and we fixed it AFTER I made that ] promouncement about it getting "as stable as its gonna get". It was fixed ] by: ] ] fsmp 1997/08/14 19:33:31 PDT ] ] Modified files: ] sys/i386/include smp.h ] sys/kern init_main.c init_smp.c ] Log: ] The promised "better fix" for "Trap 9 When Boot SMP" problem. ] We now tsleep() in kthread_init() between start_init() ] and prepare_usermode() while waiting for ALL the idle_loop() ] processes to come online. ] ] Debugged & tested by: "Thomas D. Dean" ] ] Reviewed by: David Greenman ] ] Revision Changes Path ] 1.25 +3 -2 src/sys/i386/include/smp.h ] 1.69 +10 -2 src/sys/kern/init_main.c ] 1.15 +8 -27 src/sys/kern/init_smp.c ] ] --- ] for those shopping by "SNAP date" I would guess 970815 would be a ] good vintage. I have now checked out a sys tree as of 08/15/97, compiled a new SMP kernel and it works well again. Thank you very much for your quick help Steve. Regards, Mickey -- (__) (@@) Andreas S. Wetzel Mail: mickey@deadline.snafu.de /-------\/ Utrechter Strasse 41 Web: http://cenotaph.snafu.de/ / | || 13347 Berlin Fon: <+4930> 456 066 90 * ||----|| Germany Fax: <+4930> 456 066 91/92 ~~ ~~ From owner-freebsd-smp Tue Aug 19 22:49:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA01132 for smp-outgoing; Tue, 19 Aug 1997 22:49:33 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA01110; Tue, 19 Aug 1997 22:49:19 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id XAA18105; Tue, 19 Aug 1997 23:49:18 -0600 (MDT) Message-Id: <199708200549.XAA18105@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: smp@freebsd.org cc: current@freebsd.org Subject: HEADS UP: new FAST_INTR() code. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 19 Aug 1997 23:49:18 -0600 Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I just committed a bunch o' code that does several new things. - re-organization in preparation for making spl/cpl MP-safe. - 2 new variations in FAST_INTR() ISRs: - skip the check of ipending and cpl, I can't see a good reason for it and its absense makes life simpler in SMP. This might go back in if it doesn't work out... - the "giant lock" is no longer used, FAST_INTR routines can enter the kernel while other ISRs or traps are active. A simplelock is used to serialize FAST_INTR()s, but that may also go away someday. Let me know how sio code "feels", any improvements? or is it worse? silo overflows? If you get a system freeze, try to get to ddb via CNTL-PRINTSCREEN and get me a trace. I ran the system for 2-3 hours with a continuous 115200 stream in/out COM1 while rebuilding a kernel in another xterm with '-j12' and top in a 3rd xterm, all xterms on a remote machine. Ie. a good mix of sio/scsi/net INTs and syscalls. No signs of any problems. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-smp Tue Aug 19 23:34:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA02864 for smp-outgoing; Tue, 19 Aug 1997 23:34:42 -0700 (PDT) Received: from server.local.sunyit.edu (A-T34.rh.sunyit.edu [150.156.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA02835; Tue, 19 Aug 1997 23:34:23 -0700 (PDT) Received: from localhost (perlsta@localhost) by server.local.sunyit.edu (8.8.5/8.8.5) with SMTP id BAA12335; Wed, 20 Aug 1997 01:39:41 GMT X-Authentication-Warning: server.local.sunyit.edu: perlsta owned process doing -bs Date: Wed, 20 Aug 1997 01:39:41 +0000 (GMT) From: Alfred Perlstein X-Sender: perlsta@server.local.sunyit.edu To: Steve Passe cc: smp@FreeBSD.ORG, current@FreeBSD.ORG Subject: SMP in a "production system" In-Reply-To: <199708200549.XAA18105@Ilsa.StevesCafe.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk a LOT of people told me that the SMP kernel/system is VERY stable, so far are many things broken or is everything ok? I'm thinking about getting together an SMP system and was wondering how the SMP system holds out against heavy load and other factors. ._________________________________________ __ _ |Alfred Perlstein - Programming & SysAdmin for hire... |perlsta@sunyit.edu |http://www.cs.sunyit.edu/~perlsta : ---"Have you seen my FreeBSD tatoo?" ' ---"who was that masked admin?" From owner-freebsd-smp Wed Aug 20 16:56:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA17047 for smp-outgoing; Wed, 20 Aug 1997 16:56:31 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id QAA17032; Wed, 20 Aug 1997 16:56:27 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id QAA21286; Wed, 20 Aug 1997 16:48:55 -0700 From: Terry Lambert Message-Id: <199708202348.QAA21286@phaeton.artisoft.com> Subject: Re: SMP in a "production system" To: perlsta@sunyit.edu (Alfred Perlstein) Date: Wed, 20 Aug 1997 16:48:55 -0700 (MST) Cc: smp@csn.net, smp@FreeBSD.ORG, current@FreeBSD.ORG In-Reply-To: from "Alfred Perlstein" at Aug 20, 97 01:39:41 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > a LOT of people told me that the SMP kernel/system is VERY stable, so far > are many things broken or is everything ok? The code snapshotted as of a day ago is relatively very stable. The date was chosen because some *potentially* destabilizing change are going in. The may do nothing but the *potentially* might. > I'm thinking about getting together an SMP system and was wondering how > the SMP system holds out against heavy load and other factors. Depends on yhow you load it. If you load it via threading, it's not much of a win, unless you use John's experimental stuff (this is hearsay, but it was heard from John, so it's probably "on good authority" 8-)). If you load it via processes, it depends on the relative amounts of user vs. kernel time since the kernel is not finely-grained reeentrant (yet). If it's mostly user process time (ie: things like "Apache" WWW servers, then it's a pretty big win, in my personal experience. For mostly pushing simultaneous text streams, it's about an 80% win. For compiling in parallel, it's maybe 50% (based on timing, but it's CPU intensive, so the number of parallel makes is not going to win much concurrency once there are as many as you have CPU's and they are crunching away; also compiling is relatively kernel intensive for some types of operations. So, bottom line, "some of us think so; your mileage may vary". Not the best answer, but as good as you will get from most commercial SMP OS vendors. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-smp Thu Aug 21 08:55:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA29328 for smp-outgoing; Thu, 21 Aug 1997 08:55:27 -0700 (PDT) Received: from sanjuan.cs.washington.edu (sanjuan.cs.washington.edu [128.95.8.118]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA29305; Thu, 21 Aug 1997 08:55:21 -0700 (PDT) Received: from localhost (ulbright@localhost) by sanjuan.cs.washington.edu (8.8.5+CS/7.2ws+) with SMTP id IAA31931; Thu, 21 Aug 1997 08:53:44 -0700 (PDT) Date: Thu, 21 Aug 1997 08:53:44 -0700 (PDT) From: Christopher Ulbright To: Terry Lambert cc: Alfred Perlstein , smp@csn.net, smp@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: SMP in a "production system" In-Reply-To: <199708202348.QAA21286@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Terry, > Depends on yhow you load it. If you load it via threading, it's not > much of a win, unless you use John's experimental stuff (this is hearsay, > but it was heard from John, so it's probably "on good authority" 8-)). How can I find out more about "John's experimental stuff"? -Chris Ulbright SPIN OS Group University of Wasington -------------------- From owner-freebsd-smp Thu Aug 21 09:14:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA00720 for smp-outgoing; Thu, 21 Aug 1997 09:14:16 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id JAA00692; Thu, 21 Aug 1997 09:14:08 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id JAA23501; Thu, 21 Aug 1997 09:05:52 -0700 From: Terry Lambert Message-Id: <199708211605.JAA23501@phaeton.artisoft.com> Subject: Re: SMP in a "production system" To: ulbright@cs.washington.edu (Christopher Ulbright) Date: Thu, 21 Aug 1997 09:05:51 -0700 (MST) Cc: terry@lambert.org, perlsta@sunyit.edu, smp@csn.net, smp@FreeBSD.ORG, current@FreeBSD.ORG In-Reply-To: from "Christopher Ulbright" at Aug 21, 97 08:53:44 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Depends on yhow you load it. If you load it via threading, it's not > > much of a win, unless you use John's experimental stuff (this is > hearsay, > > but it was heard from John, so it's probably "on good authority" 8-)). > > How can I find out more about "John's experimental stuff"? Ask John to mail it to you, like he suggested in his posting of two days ago? dyson@greebsd.org. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-smp Thu Aug 21 09:32:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA02071 for smp-outgoing; Thu, 21 Aug 1997 09:32:49 -0700 (PDT) Received: from easynet.fr (mail.easynet.fr [195.114.64.207]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id JAA02056 for ; Thu, 21 Aug 1997 09:32:28 -0700 (PDT) Received: (qmail 3855 invoked from network); 21 Aug 1997 18:34:56 +0200 Received: from casimir.easynet.fr (195.114.64.17) by mail.easynet.fr with SMTP; 21 Aug 1997 18:34:56 +0200 Date: Thu, 21 Aug 1997 16:31:49 +0000 (GMT) From: David Ramahefason To: Christopher Ulbright cc: Terry Lambert , Alfred Perlstein , smp@csn.net, smp@FreeBSD.ORG, current@FreeBSD.ORG Subject: Need Help on installing SMP on SNAP 3.0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, We've just bought a bi-pentium card: -ASUS P/I-P65UP5 -ASUS C-P55T2D The UP boot works fine... the compilation for an SMP kernel works fine... but when I try to boot it, it hangs just before the disk stuff... and nothing occurs... Did someone already tested these cards ??? Could someone tell me the good options to set up in the Kernel config.... thanks for answering /David Ramahefason Administrateur Systeme/Reseau/ /rama@easynet.fr Easynet France SA / /mobile: 0611647281 0144545333 / From owner-freebsd-smp Thu Aug 21 13:59:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA19101 for smp-outgoing; Thu, 21 Aug 1997 13:59:00 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA19096 for ; Thu, 21 Aug 1997 13:58:57 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id OAA25112; Thu, 21 Aug 1997 14:56:59 -0600 (MDT) Message-Id: <199708212056.OAA25112@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: David Ramahefason cc: smp@FreeBSD.ORG Subject: Re: Need Help on installing SMP on SNAP 3.0 In-reply-to: Your message of "Thu, 21 Aug 1997 16:31:49 -0000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 21 Aug 1997 14:56:58 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, > We've just bought a bi-pentium card: > ... > The UP boot works fine... the compilation for an SMP kernel > works fine... but when I try to boot it, it hangs just before > the disk stuff... and nothing occurs... > Did someone already tested these cards ??? Could someone tell me the good > options to set up in the Kernel config.... this hardware (to the degree you described it) should work fine, but you need to supply MUCH more info to get an answer: what version of 3.0?, date, etc. what disk controller/disks? what SMP options did you use? be more specific about what happens, eg, give us the last half dozen messages to come out before it hangs. give us the output of "mptable -dmesg" (from a UP kernel is fine). -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-smp Fri Aug 22 02:46:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA28463 for smp-outgoing; Fri, 22 Aug 1997 02:46:26 -0700 (PDT) Received: from easynet.fr (qmailr@mail.easynet.fr [195.114.64.207]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id CAA28456 for ; Fri, 22 Aug 1997 02:46:23 -0700 (PDT) Received: (qmail 1044 invoked from network); 22 Aug 1997 11:49:43 +0200 Received: from casimir.easynet.fr (195.114.64.17) by mail.easynet.fr with SMTP; 22 Aug 1997 11:49:43 +0200 Date: Fri, 22 Aug 1997 09:46:18 +0000 (GMT) From: David Ramahefason To: Steve Passe cc: smp@FreeBSD.ORG Subject: Re: Need Help on installing SMP on SNAP 3.0 In-Reply-To: <199708212056.OAA25112@Ilsa.StevesCafe.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 21 Aug 1997, Steve Passe wrote: > Hi, > > > We've just bought a bi-pentium card: > > ... > > The UP boot works fine... the compilation for an SMP kernel > > works fine... but when I try to boot it, it hangs just before > > the disk stuff... and nothing occurs... > > Did someone already tested these cards ??? Could someone tell me the good > > options to set up in the Kernel config.... > > this hardware (to the degree you described it) should work fine, but you > need to supply MUCH more info to get an answer: > > what version of 3.0?, date, etc. > what disk controller/disks? > what SMP options did you use? > be more specific about what happens, eg, give us the last half dozen messages > to come out before it hangs. > give us the output of "mptable -dmesg" (from a UP kernel is fine). Ooops tou're right... here's an output of mptable -verbose -dmesg: =============================================================================== MPTable, version 2.0.13 looking for EBDA pointer @ 0x040e, NOT found searching CMOS 'top of mem' @ 0x0009fc00 (639K) searching BIOS @ 0x000f0000 MP FPS found in BIOS @ physical addr: 0x000f61f0 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f61f0 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0x4b mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f5dec signature: 'PCMP' base table length: 244 version: 1.1 checksum: 0x5c OEM ID: 'OEM00000' Product ID: 'PROD00000000' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 22 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 12 0x03bf 1 0x10 AP, usable 5 2 12 0x03bf -- Bus: Bus ID Type 0 PCI 1 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT conforms conforms 1 0 2 0 INT conforms conforms 1 1 2 1 INT conforms conforms 1 0 2 2 INT conforms conforms 1 3 2 3 INT conforms conforms 1 4 2 4 INT conforms conforms 1 5 2 5 INT conforms conforms 1 6 2 6 INT conforms conforms 1 7 2 7 INT conforms conforms 1 8 2 8 INT conforms conforms 1 9 2 9 INT conforms conforms 1 14 2 14 INT conforms conforms 1 15 2 15 INT active-lo level 1 11 2 17 INT active-lo level 1 10 2 18 INT active-lo level 1 12 2 19 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT active-hi edge 1 0 255 0 NMI active-hi edge 1 0 255 1 ------------------------------------------------------------------------------- # SMP kernel config file options: # Required: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Useful: #options SMP_AUTOSTART # start the additional CPUs during boot # Optional (built-in defaults will work in most cases): #options NCPU=2 # number of CPUs #options NBUS=2 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs ------------------------------------------------------------------------------- dmesg output: Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-970807-SNAP #0: Thu Aug 21 11:53:10 CEST 1997 root@analyzer.easynet.fr:/usr/src/sys/compile/ANALYZER CPU: Pentium (199.43-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x3bf real memory = 134217728 (131072K bytes) avail memory = 128561152 (125548K bytes) Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x01 on pci0.1.0 ahc0: rev 0x00 int a irq 10 on pci0.10.0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 2291MB (4693462 512 byte sectors) sd1 at scbus0 target 1 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 4148MB (8496960 512 byte sectors) ahc0:A:6: refuses WIDE negotiation. Using 8bit transfers st0 at scbus0 target 6 lun 0 st0: type 1 removable SCSI 2 st0: Sequential-Access density code 0x13, drive empty vga0: rev 0xd3 int a irq 11 on pci0.11.0 de0: rev 0x12 int a irq 12 on pci0.13.0 de0: SMC 9332DST 21140 [10-100Mb/s] pass 1.2 de0: address 00:00:c0:17:2f:e6 de0: enabling 100baseTX port Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> vt0 not probed due to I/O address conflict with sc0 at 0x60 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f 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 wt0 not found at 0x300 scd0 not found at 0x230 npx0 on motherboard npx0: INT 16 interface IP packet filtering initialized, divert enabled, logging limited to 100 packets/entry ### # in fact in SMP mode the boot hangs just here :( de0: promiscuous mode enabled de0: receive: 00:60:97:19:c6:8a: bad crc =============================================================================== Any idea ?? Thanks /David Ramahefason Administrateur Systeme/Reseau/ /rama@easynet.fr Easynet France SA / /mobile: 0611647281 0144545333 / From owner-freebsd-smp Fri Aug 22 06:18:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA08022 for smp-outgoing; Fri, 22 Aug 1997 06:18:15 -0700 (PDT) Received: from netserv1.chg.ru (netserv1.chg.ru [193.233.46.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA08007 for ; Fri, 22 Aug 1997 06:18:02 -0700 (PDT) Received: from itp.ac.ru (itp.ac.ru [193.233.32.4]) by netserv1.chg.ru (8.8.3/8.8.3) with ESMTP id RAA09666 for ; Fri, 22 Aug 1997 17:15:52 +0400 (MSD) Received: from speecart.chg.ru (speecart.chg.ru [193.233.46.2]) by itp.ac.ru (8.8.3/8.8.3) with SMTP id RAA02417 for ; Fri, 22 Aug 1997 17:17:50 +0400 (MSD) Message-ID: X-Mailer: XFMail 1.1 [p0] on FreeBSD Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 22 Aug 1997 17:16:20 +0400 (MSD) Organization: Landau Institute for Theoretical Physics From: "Sergey S. Kosyakov" To: freebsd-smp@freebsd.org Subject: Help with pthreads Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi ! I successfully start SMP on my 2xP120 box. Things like "make -j n all" work fine. But I met a lot of troubles while trying compile some short program with treads using. This program do matrix multiplication and works fine on DEC UNIX using DEC threads. When I compile as: cc -o multp multp.c -lc_r the program does not start the second thread The next case: cc -nostdlib -o multp multp.c -lc_r /usr/lib/crt0.o -lgcc it crashes with core dump (bus error). Please, help me - does pthread library works on FreeBSD-970807-SNAP and if so how to use it? Regards, Sergey Kosyakov Landau Institute for Theoretical Physics E-Mail: Sergey S. Kosyakov Date: 22-Aug-97 Time: 17:16:21 ---------------------------------- From owner-freebsd-smp Fri Aug 22 10:46:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA21719 for smp-outgoing; Fri, 22 Aug 1997 10:46:30 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA21706 for ; Fri, 22 Aug 1997 10:46:27 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id LAA29212; Fri, 22 Aug 1997 11:17:02 -0600 (MDT) Message-Id: <199708221717.LAA29212@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: "Sergey S. Kosyakov" cc: freebsd-smp@FreeBSD.ORG Subject: Re: Help with pthreads In-reply-to: Your message of "Fri, 22 Aug 1997 17:16:20 +0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 22 Aug 1997 11:17:02 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, SMP does NOT yet have kernel thread support. libc_r is strictly a userland thread package. As such whatever your problems are, they most likely are NOT SMP related. You need to send your questions to another list, probably current or hackers. We should have kernel thread support someday in the not too distant future. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-smp Fri Aug 22 12:41:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA28128 for smp-outgoing; Fri, 22 Aug 1997 12:41:13 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA28120 for ; Fri, 22 Aug 1997 12:41:11 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id MAA26580; Fri, 22 Aug 1997 12:32:09 -0700 From: Terry Lambert Message-Id: <199708221932.MAA26580@phaeton.artisoft.com> Subject: Re: Need Help on installing SMP on SNAP 3.0 To: smp@csn.net (Steve Passe) Date: Fri, 22 Aug 1997 12:32:09 -0700 (MST) Cc: rama@easynet.fr, smp@FreeBSD.ORG In-Reply-To: <199708221712.LAA29173@Ilsa.StevesCafe.com> from "Steve Passe" at Aug 22, 97 11:12:23 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Still need to know the date of the code you are using. > > Try building and booting a kernel made with SMP-GENERIC, no changes. > > The mptable looks fine at first glance. The symptoms look kinda' like missing > INTs, but that should not be a problem with this mptable. Which way to jump > depends on the code date and the result of trying SMP-GENERIC. The first thing I thought of on seeing this is that one of your CPU's is not SMP capable, or they are otherwise mismatched. You should probably check their steppings, etc. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-smp Fri Aug 22 13:23:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA29905 for smp-outgoing; Fri, 22 Aug 1997 13:23:47 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA29899 for ; Fri, 22 Aug 1997 13:23:43 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id OAA29941; Fri, 22 Aug 1997 14:22:43 -0600 (MDT) Message-Id: <199708222022.OAA29941@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: Terry Lambert cc: rama@easynet.fr, smp@FreeBSD.ORG Subject: Re: Need Help on installing SMP on SNAP 3.0 In-reply-to: Your message of "Fri, 22 Aug 1997 12:32:09 PDT." <199708221932.MAA26580@phaeton.artisoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 22 Aug 1997 14:22:43 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, > > The mptable looks fine at first glance. The symptoms look kinda' like missing > > INTs, but that should not be a problem with this mptable. Which way to jump > > depends on the code date and the result of trying SMP-GENERIC. > > The first thing I thought of on seeing this is that one of your CPU's > is not SMP capable, or they are otherwise mismatched. You should > probably check their steppings, etc. The procs look fine: > Processors: APIC ID Version State Family Model Step Flags > 0 0x10 BSP, usable 5 2 12 0x03bf > 1 0x10 AP, usable 5 2 12 0x03bf I dug thru my database and found another user who is using this same setup: > ASUS P65UP5 w/ C-P55T2D CPU card, BIOS #401A0-0102 > FreeBSD current as of 07/20/97 > ... > > Processors: APIC ID Version State Family Model Step Flags > 0 0x10 BSP, usable 5 2 12 0x03bf > 1 0x10 AP, usable 5 2 12 0x03bf This user last reported: > I have now checked out a sys tree as of 08/15/97, compiled a new SMP kernel > and it works well again. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-smp Fri Aug 22 13:48:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA01206 for smp-outgoing; Fri, 22 Aug 1997 13:48:30 -0700 (PDT) Received: from easynet.fr (qmailr@mail.easynet.fr [195.114.64.207]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA01182 for ; Fri, 22 Aug 1997 13:48:14 -0700 (PDT) Received: (qmail 15448 invoked from network); 22 Aug 1997 22:51:37 +0200 Received: from casimir.easynet.fr (195.114.64.17) by mail.easynet.fr with SMTP; 22 Aug 1997 22:51:37 +0200 Date: Fri, 22 Aug 1997 20:48:04 +0000 (GMT) From: David Ramahefason To: Steve Passe cc: David Ramahefason , smp@FreeBSD.ORG Subject: Re: Need Help on installing SMP on SNAP 3.0 In-Reply-To: <199708221712.LAA29173@Ilsa.StevesCafe.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 22 Aug 1997, Steve Passe wrote: > Hi, > > Still need to know the date of the code you are using. > > Try building and booting a kernel made with SMP-GENERIC, no changes. I've tried this... same symthoms... > > The mptable looks fine at first glance. The symptoms look kinda' like missing > INTs, but that should not be a problem with this mptable. Which way to jump > depends on the code date and the result of trying SMP-GENERIC. I've used the 3.0-970807-SNAP version.... Thanks /David Ramahefason Administrateur Systeme/Reseau/ /rama@easynet.fr Easynet France SA / /mobile: 0611647281 0144545333 / From owner-freebsd-smp Fri Aug 22 13:55:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA01650 for smp-outgoing; Fri, 22 Aug 1997 13:55:24 -0700 (PDT) Received: from easynet.fr (qmailr@mail.easynet.fr [195.114.64.207]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA01630 for ; Fri, 22 Aug 1997 13:55:20 -0700 (PDT) Received: (qmail 16031 invoked from network); 22 Aug 1997 22:58:55 +0200 Received: from casimir.easynet.fr (195.114.64.17) by mail.easynet.fr with SMTP; 22 Aug 1997 22:58:55 +0200 Date: Fri, 22 Aug 1997 20:55:21 +0000 (GMT) From: David Ramahefason To: Terry Lambert cc: Steve Passe , rama@easynet.fr, smp@FreeBSD.ORG Subject: Re: Need Help on installing SMP on SNAP 3.0 In-Reply-To: <199708221932.MAA26580@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 22 Aug 1997, Terry Lambert wrote: > > Still need to know the date of the code you are using. > > > > Try building and booting a kernel made with SMP-GENERIC, no changes. > > > > The mptable looks fine at first glance. The symptoms look kinda' like missing > > INTs, but that should not be a problem with this mptable. Which way to jump > > depends on the code date and the result of trying SMP-GENERIC. > > The first thing I thought of on seeing this is that one of your CPU's > is not SMP capable, or they are otherwise mismatched. You should > probably check their steppings, etc. How could I know if a CPU is SMp capable ?? I'm trying to use 2 P200 Intel.... any clue ? Thanks /David Ramahefason Administrateur Systeme/Reseau/ /rama@easynet.fr Easynet France SA / /mobile: 0611647281 0144545333 / From owner-freebsd-smp Fri Aug 22 16:25:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA09896 for smp-outgoing; Fri, 22 Aug 1997 16:25:44 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id QAA09889 for ; Fri, 22 Aug 1997 16:25:42 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id QAA00563; Fri, 22 Aug 1997 16:13:09 -0700 From: Terry Lambert Message-Id: <199708222313.QAA00563@phaeton.artisoft.com> Subject: Re: Need Help on installing SMP on SNAP 3.0 To: rama@ramahefason.qmail.easynet.fr (David Ramahefason) Date: Fri, 22 Aug 1997 16:13:09 -0700 (MST) Cc: terry@lambert.org, smp@csn.net, rama@easynet.fr, smp@FreeBSD.ORG In-Reply-To: from "David Ramahefason" at Aug 22, 97 08:55:21 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > The first thing I thought of on seeing this is that one of your CPU's > > is not SMP capable, or they are otherwise mismatched. You should > > probably check their steppings, etc. > > How could I know if a CPU is SMp capable ?? > I'm trying to use 2 P200 Intel.... any clue ? They are; Steve's followup listed the CPUID's. It's not the problem. You saw his posting, right? It gave the version you should check out of the CVS tree, as well. Are you running a SNAP? Get the CVS tree version indicated by Steve, instead. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-smp Fri Aug 22 17:27:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA12240 for smp-outgoing; Fri, 22 Aug 1997 17:27:38 -0700 (PDT) Received: from mail.cdsnet.net (mail.cdsnet.net [204.118.244.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA12235; Fri, 22 Aug 1997 17:27:34 -0700 (PDT) Received: from mail.cdsnet.net (mail.cdsnet.net [204.118.244.5]) by mail.cdsnet.net (8.8.6/8.8.6) with SMTP id RAA22446; Fri, 22 Aug 1997 17:27:32 -0700 (PDT) Date: Fri, 22 Aug 1997 17:27:32 -0700 (PDT) From: Jaye Mathisen To: current@freebsd.org cc: smp@freebsd.org Subject: SMP problem. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Being relatively new to FreeBSD vs SMP, I will plead ignorance, but not lack of exuberance... :) Digital ZX6000, P6-200, 2CPU's, 256MB RAM, FreeBSD 3.0 cvsup'd from 8/20. I built the SMP-GENERIC kernel with the 1.2.1 DPT patches. System boots OK, makes it to "changing root to sd0a". Then prints: APIC_IO: routing 8254 via pin 2 de0: enabling 100baseTX port And then nada. Locked up tight. Booting the UNI kernel works fine. I can't get into DDB or anything. Tips appreciated. I am installing the latest BIOS now, (I was 1 rev behind), but would be skeptical of that actually helping. The box ran Solaris 2.5.1 SMP just fine, albeit with a Mylex instead of DPT. So I'm hoping it's something simple. From owner-freebsd-smp Fri Aug 22 19:17:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA15826 for smp-outgoing; Fri, 22 Aug 1997 19:17:16 -0700 (PDT) Received: from dfw-ix4.ix.netcom.com (dfw-ix4.ix.netcom.com [206.214.98.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA15814; Fri, 22 Aug 1997 19:17:11 -0700 (PDT) Received: (from smap@localhost) by dfw-ix4.ix.netcom.com (8.8.4/8.8.4) id VAA20947; Fri, 22 Aug 1997 21:16:07 -0500 (CDT) Received: from sil-wa2-01.ix.netcom.com(206.214.137.33) by dfw-ix4.ix.netcom.com via smap (V1.3) id sma020933; Fri Aug 22 21:15:55 1997 Message-ID: <33FE47D4.3F54BC7E@ix.netcom.com> Date: Fri, 22 Aug 1997 19:15:48 -0700 From: "Thomas D. Dean" X-Mailer: Mozilla 3.01 (X11; U; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Jaye Mathisen CC: current@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: SMP problem. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I assume you booted -c and disabled all the unused devices. My Celebris XL hangs, unless I disable some of the probed devces. From owner-freebsd-smp Fri Aug 22 20:03:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA17242 for smp-outgoing; Fri, 22 Aug 1997 20:03:13 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241] (may be forged)) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA17230 for ; Fri, 22 Aug 1997 20:02:57 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.8.5/8.7.3) id UAA28073; Fri, 22 Aug 1997 20:00:55 -0700 (PDT) From: "Rodney W. Grimes" Message-Id: <199708230300.UAA28073@GndRsh.aac.dev.com> Subject: Re: Need Help on installing SMP on SNAP 3.0 In-Reply-To: <199708222313.QAA00563@phaeton.artisoft.com> from Terry Lambert at "Aug 22, 97 04:13:09 pm" To: terry@lambert.org (Terry Lambert) Date: Fri, 22 Aug 1997 20:00:54 -0700 (PDT) Cc: rama@ramahefason.qmail.easynet.fr, terry@lambert.org, smp@csn.net, rama@easynet.fr, smp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > The first thing I thought of on seeing this is that one of your CPU's > > > is not SMP capable, or they are otherwise mismatched. You should > > > probably check their steppings, etc. > > > > How could I know if a CPU is SMp capable ?? > > I'm trying to use 2 P200 Intel.... any clue ? > > They are; Steve's followup listed the CPUID's. It's not the > problem. CPUID's will _NOT_ tell you if they are SMP capable chips, you need to look on the top or bottom of the chip itself for a 3 letter code, which has typical values as follows: SSS Standard Voltage, Standard Timing, SMP OK VSS VRE/VR Voltage, Standard Timing, SMP OK VSU VRE/VR Voltage, Standard Timing, Uniprocesor only If you have any other values send them to me, I'll look them up in the S-Spec book. > > You saw his posting, right? It gave the version you should > check out of the CVS tree, as well. Are you running a SNAP? > Get the CVS tree version indicated by Steve, instead. > > > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers. > -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation, Inc. Reliable computers for FreeBSD From owner-freebsd-smp Fri Aug 22 22:39:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA23808 for smp-outgoing; Fri, 22 Aug 1997 22:39:10 -0700 (PDT) Received: from sendero-ppp.i-connect.net (sendero-ppp.i-Connect.Net [206.190.143.100]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA23792 for ; Fri, 22 Aug 1997 22:39:07 -0700 (PDT) Received: (qmail 13537 invoked by uid 1000); 23 Aug 1997 05:39:15 -0000 Message-ID: X-Mailer: XFMail 1.2-alpha [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 22 Aug 1997 22:39:15 -0700 (PDT) Organization: Atlas Telecom From: Simon Shapiro To: Jaye Mathisen Subject: RE: SMP problem. Cc: smp@FreeBSD.ORG, current@FreeBSD.ORG Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi Jaye Mathisen; On 23-Aug-97 you wrote: > > > Being relatively new to FreeBSD vs SMP, I will plead ignorance, but not > lack of exuberance... :) > > Digital ZX6000, P6-200, 2CPU's, 256MB RAM, FreeBSD 3.0 cvsup'd from > 8/20. > > I built the SMP-GENERIC kernel with the 1.2.1 DPT patches. > > System boots OK, makes it to "changing root to sd0a". > > Then prints: > > APIC_IO: routing 8254 via pin 2 > de0: enabling 100baseTX port > > And then nada. Locked up tight. Booting the UNI kernel works fine. > I can't get into DDB or anything. Now this is a first. Are you sure ctl-alt-esc did nothing? I am running, albeit with some problems (none like what you describe) with the same setup on a P6DNH and soon on an Intel PR440FX. > Tips appreciated. > > I am installing the latest BIOS now, (I was 1 rev behind), but would be > skeptical of that actually helping. > > The box ran Solaris 2.5.1 SMP just fine, albeit with a Mylex instead of > DPT. So I'm hoping it's something simple. Simon From owner-freebsd-smp Sat Aug 23 10:21:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA04714 for smp-outgoing; Sat, 23 Aug 1997 10:21:41 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA04707; Sat, 23 Aug 1997 10:21:36 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id LAA07412; Sat, 23 Aug 1997 11:21:26 -0600 (MDT) Message-Id: <199708231721.LAA07412@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: Jaye Mathisen cc: current@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: SMP problem. In-reply-to: Your message of "Fri, 22 Aug 1997 17:27:32 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 23 Aug 1997 11:21:26 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, > Digital ZX6000, P6-200, 2CPU's, 256MB RAM, FreeBSD 3.0 cvsup'd from 8/20. > > I built the SMP-GENERIC kernel with the 1.2.1 DPT patches. > > System boots OK, makes it to "changing root to sd0a". > > Then prints: > > APIC_IO: routing 8254 via pin 2 > de0: enabling 100baseTX port > > And then nada. Locked up tight. Booting the UNI kernel works fine. > I can't get into DDB or anything. Since there are 2 unknowns here, the ZX6000, and the DPT patches, you need to seperate them. Idealy, you want to boot with a completely original SMP-generic and 'standard' scsi or ide card/disk. We need the output of "mptable -dmesg > file" run from the UP kernel. Start the UP kernel with the verbose (-v) switch, then run mptable as soon as logged in. I'm not sure about 8/20, it works here, but it has some not well tested stuff in it. From the web page: The 970815-SNAP is considered the most recent 'stable' snapshot. Past this date experimental work on lock pushdown is in progress. If you have NOT used FreeBSD SMP on your hardware before, start with the 970815 SNAP. After verifying that SMP works on your system you are encouraged to cvsup to the latest code and help exercise the lock changes. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-smp Sat Aug 23 12:16:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA09996 for smp-outgoing; Sat, 23 Aug 1997 12:16:30 -0700 (PDT) Received: from lion.activ-consult.de (lion.activ-consult.de [194.221.76.66]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA09991 for ; Sat, 23 Aug 1997 12:16:25 -0700 (PDT) Received: (from dirk@localhost) by lion.activ-consult.de (8.8.7/8.8.7) id VAA25935; Sat, 23 Aug 1997 21:15:52 +0200 (MET DST) Message-ID: <19970823211552.26652@activ-consult.de> Date: Sat, 23 Aug 1997 21:15:52 +0200 From: Dirk Froemberg To: smp@freebsd.org Subject: SMP on a ASUS P65UP5?! Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=17pEHd4RhPHOinZp X-Mailer: Mutt 0.75 Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Hello! Has anybody run FreeBSD-SMP successfully on a ASUS P65UP5 with C-P6ND (Dual Pentium Pro Card)? After booting from a SMP-GENERIC-kernel from 3.0-970815-SNAP the machine hangs for a few minutes after APIC_IO: routing 8254 via 8259 on pin 0 . Then Timedout SCB handled by another timeout is printed on the console twice. After another few minutes timeouts concerning ahc0 and sd0 are printed. The output from mptable -verbose -dmesg is attached below. Any ideas? Best regards Dirk -- -------------------------------------------------------------- Dirk Froemberg ACTIV-CONSULT GmbH Online Service Center Nordhauser Str. 30 10589 Berlin mailto:dirk.froemberg@activ-consult.de FON +49-30-34602-272 http://www.activ-consult.de/ FAX +49-30-34602-222 -------------------------------------------------------------- --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mptable.out" =============================================================================== MPTable, version 2.0.13 looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009fc00 searching CMOS 'top of mem' @ 0x0009f800 (638K) searching default 'top of mem' @ 0x0009fc00 (639K) searching BIOS @ 0x000f0000 MP FPS found in BIOS @ physical addr: 0x000f60b0 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f60b0 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0x8e mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f5caa signature: 'PCMP' base table length: 244 version: 1.1 checksum: 0x42 OEM ID: 'OEM00000' Product ID: 'PROD00000000' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 22 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 1 0x11 BSP, usable 6 1 9 0xfbff 0 0x11 AP, usable 6 1 9 0xfbff -- Bus: Bus ID Type 0 PCI 1 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT conforms conforms 1 0 2 0 INT conforms conforms 1 1 2 1 INT conforms conforms 1 0 2 2 INT conforms conforms 1 3 2 3 INT conforms conforms 1 4 2 4 INT conforms conforms 1 5 2 5 INT conforms conforms 1 6 2 6 INT conforms conforms 1 7 2 7 INT conforms conforms 1 8 2 8 INT conforms conforms 1 10 2 10 INT conforms conforms 1 12 2 12 INT conforms conforms 1 14 2 14 INT conforms conforms 1 15 2 15 INT active-lo level 1 11 2 17 INT active-lo level 1 9 2 19 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT active-hi edge 1 0 255 0 NMI active-hi edge 1 0 255 1 ------------------------------------------------------------------------------- # SMP kernel config file options: # Required: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Useful: #options SMP_AUTOSTART # start the additional CPUs during boot # Optional (built-in defaults will work in most cases): #options NCPU=2 # number of CPUs #options NBUS=2 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs ------------------------------------------------------------------------------- dmesg output: Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-970815-SNAP #0: Fri Aug 15 09:33:39 GMT 1997 root@make.ican.net:/usr/src/sys/compile/GENERIC CPU: Pentium Pro (199.43-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xfbff real memory = 68091904 (66496K bytes) avail memory = 63680512 (62188K bytes) Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.1.0 ide_pci0: rev 0x00 on pci0.1.1 ahc0: rev 0x00 int a irq 11 on pci0.11.0 ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 699MB (1431760 512 byte sectors) vga0: rev 0x01 int a irq 9 on pci0.13.0 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0: disabled, not probed. fe0: disabled, not probed. sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2: disabled, not probed. sio3: disabled, not probed. lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1: disabled, not probed. mse0: disabled, not probed. psm0: disabled, not probed. fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0: disabled, not probed. wdc1: disabled, not probed. bt0: disabled, not probed. uha0: disabled, not probed. aha0: disabled, not probed. aic0: disabled, not probed. nca0: disabled, not probed. nca1: disabled, not probed. sea0: disabled, not probed. wt0: disabled, not probed. mcd0: disabled, not probed. matcdc0: disabled, not probed. scd0: disabled, not probed. ie0: disabled, not probed. 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 10 on isa ep0: aui/utp/bnc[*BNC*] address 00:60:97:3d:e5:c2 ex0: disabled, not probed. le0: disabled, not probed. lnc0: disabled, not probed. ze0: disabled, not probed. zp0: disabled, not probed. npx0 on motherboard npx0: INT 16 interface apm0: disabled, not probed. changing root device to sd0a =============================================================================== --17pEHd4RhPHOinZp-- From owner-freebsd-smp Sat Aug 23 12:53:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA11402 for smp-outgoing; Sat, 23 Aug 1997 12:53:30 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA11395 for ; Sat, 23 Aug 1997 12:53:27 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id NAA08121; Sat, 23 Aug 1997 13:53:19 -0600 (MDT) Message-Id: <199708231953.NAA08121@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: Dirk Froemberg cc: smp@FreeBSD.ORG Subject: HEADS UP: need status reports!!! Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 23 Aug 1997 13:53:19 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, > Has anybody run FreeBSD-SMP successfully on a ASUS P65UP5 with > C-P6ND (Dual Pentium Pro Card)? > > After booting from a SMP-GENERIC-kernel from 3.0-970815-SNAP the > machine hangs for a few minutes after > > APIC_IO: routing 8254 via 8259 on pin 0 . > > Then > > Timedout SCB handled by another timeout > > is printed on the console twice. > > After another few minutes timeouts concerning ahc0 and sd0 are printed. > > The output from mptable -verbose -dmesg is attached below. This hardware should be fine, its beginning to look like somethings broke in the source tree... I need a show of hands: Who has tried SMP sources dated August 1 or newer? if so: What was your result, success or failure? What basic hardware: motherboard make & model, P5/P6? Is this the first attempt to run SMP on this hardware? Did you start with a SNAP or cvsuped source tree? What date? For the record I am successfully running: gigabyte GA586DX dual P5: FreeBSD 3.0-CURRENT #0: Sat Aug 16 14:26:43 MDT 1997 gigabyte GA686DX dual P6: FreeBSD 3.0-CURRENT #0: Sat Aug 16 13:12:23 MDT 1997 intel pr440fx dual P6: FreeBSD 3.0-CURRENT #0: Tue Aug 19 23:46:23 MDT 1997 the first 2 are built by cvsuping from freefall shortly before the dates shown, the 3rd is my primary SMP development box, so it may be "newer" than commited source. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-smp Sat Aug 23 13:34:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA12978 for smp-outgoing; Sat, 23 Aug 1997 13:34:36 -0700 (PDT) Received: from onyx.southwind.net (root@onyx.southwind.net [206.53.103.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA12973 for ; Sat, 23 Aug 1997 13:34:34 -0700 (PDT) Received: from default (ict4.southwind.net [206.53.100.4]) by onyx.southwind.net (8.8.6/8.8.6) with ESMTP id PAA18627 for ; Sat, 23 Aug 1997 15:34:31 -0500 (CDT) Message-ID: <33FF4899.1915CFA@southwind.net> Date: Sat, 23 Aug 1997 15:31:21 -0500 From: Fred Clark X-Mailer: Mozilla 4.01 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-smp@freebsd.org Subject: URL change.... ATX Form factor X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk To whom It may concern, The following URL has changed under the heading: Other issues: Many SMP motherboards now come in the new ATX Form factor to www.intel.com/design/motherbd/atx.htm Thought you would like to know. Fred... From owner-freebsd-smp Sat Aug 23 15:18:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA17757 for smp-outgoing; Sat, 23 Aug 1997 15:18:24 -0700 (PDT) Received: from pluto.plutotech.com (root@mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA17742 for ; Sat, 23 Aug 1997 15:18:17 -0700 (PDT) Received: (from ken@localhost) by pluto.plutotech.com (8.8.5/8.8.5) id QAA29763; Sat, 23 Aug 1997 16:12:34 -0600 (MDT) From: Kenneth Merry Message-Id: <199708232212.QAA29763@pluto.plutotech.com> Subject: Re: SMP on a ASUS P65UP5?! In-Reply-To: <19970823211552.26652@activ-consult.de> from Dirk Froemberg at "Aug 23, 97 09:15:52 pm" To: dirk@activ-consult.de (Dirk Froemberg) Date: Sat, 23 Aug 1997 16:12:34 -0600 (MDT) Cc: smp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Dirk Froemberg wrote... > Has anybody run FreeBSD-SMP successfully on a ASUS P65UP5 with > C-P6ND (Dual Pentium Pro Card)? Yes, I've been running it on that motherboard since January. It has been very stable, IMO. > After booting from a SMP-GENERIC-kernel from 3.0-970815-SNAP the > machine hangs for a few minutes after > > APIC_IO: routing 8254 via 8259 on pin 0 . > > Then > > Timedout SCB handled by another timeout > > is printed on the console twice. > > After another few minutes timeouts concerning ahc0 and sd0 are printed. > > The output from mptable -verbose -dmesg is attached below. > > Any ideas? Yes, you need to enable MP SPEC v1.4 in your BIOS. From looking at the mptable output, it looks like version 1.1 is enabled now. So try that, and see if it works. Ken -- Kenneth Merry ken@plutotech.com From owner-freebsd-smp Sat Aug 23 16:03:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA19330 for smp-outgoing; Sat, 23 Aug 1997 16:03:13 -0700 (PDT) Received: from mail.cdsnet.net (mail.cdsnet.net [204.118.244.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA19323; Sat, 23 Aug 1997 16:03:06 -0700 (PDT) Received: from mail.cdsnet.net (mail.cdsnet.net [204.118.244.5]) by mail.cdsnet.net (8.8.6/8.8.6) with SMTP id QAA28983; Sat, 23 Aug 1997 16:03:04 -0700 (PDT) Date: Sat, 23 Aug 1997 16:03:04 -0700 (PDT) From: Jaye Mathisen To: "Thomas D. Dean" cc: current@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: SMP problem. In-Reply-To: <33FE47D4.3F54BC7E@ix.netcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Yes, my kernel had only my devices. I'll try a couple other suggestions. On Fri, 22 Aug 1997, Thomas D. Dean wrote: > I assume you booted -c and disabled all the unused devices. > > My Celebris XL hangs, unless I disable some of the probed > devces. > From owner-freebsd-smp Sat Aug 23 16:06:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA19533 for smp-outgoing; Sat, 23 Aug 1997 16:06:59 -0700 (PDT) Received: from munich.netsurf.de (laurin.munich.netsurf.de [194.64.166.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA19526 for ; Sat, 23 Aug 1997 16:06:51 -0700 (PDT) Received: from diroxbsd.dx (ns1098.munich.netsurf.de [195.180.235.98]) by munich.netsurf.de (8.8.4/8.7) with ESMTP id BAA03713 for ; Sun, 24 Aug 1997 01:04:33 +0200 (MET DST) Received: (from dirk@localhost) by diroxbsd.dx (8.8.7/8.8.5) id AAA00686; Sun, 24 Aug 1997 00:17:27 +0200 (CEST) Message-ID: <19970824001726.30101@diroxbsd.dx> Date: Sun, 24 Aug 1997 00:17:26 +0200 From: Dirk Roehrdanz To: Steve Passe Subject: Re: HEADS UP: need status reports!!! References: <199708231953.NAA08121@Ilsa.StevesCafe.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=Qxx1br4bt0+wmkIi X-Mailer: Mutt 0.66e In-Reply-To: <199708231953.NAA08121@Ilsa.StevesCafe.com>; from Steve Passe on Sat, Aug 23, 1997 at 01:53:19PM -0600 Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Thus spake Steve Passe (smp@csn.net): > Who has tried SMP sources dated August 1 or newer? > > if so: > What was your result, success or failure? > What basic hardware: motherboard make & model, P5/P6? > Is this the first attempt to run SMP on this hardware? > Did you start with a SNAP or cvsuped source tree? > What date? > > > -- > Steve Passe | powered by > smp@csn.net | Symmetric MultiProcessor FreeBSD > > > Hi, I'm running a kernel cvsuped at August 22 on a Tyan Tomcat II with 2 Pentium 133 . I will run a make world tonight to test stability. Dirk --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=mptable =============================================================================== MPTable, version 2.0.13 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f0c80 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0xf4 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f0c94 signature: 'PCMP' base table length: 292 version: 1.1 checksum: 0xa5 OEM ID: 'OEM00000' Product ID: 'PROD00000000' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 28 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# ExtINT conforms conforms 0 0 2 0 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 INT active-lo level 1 20:A 2 16 INT active-lo level 1 19:A 2 17 INT active-lo level 1 18:A 2 18 INT active-lo level 1 17:A 2 19 SMI conforms conforms 0 0 2 23 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT active-hi edge 0 0 255 0 NMI active-hi edge 0 0 255 1 ------------------------------------------------------------------------------- # SMP kernel config file options: # Required: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Useful: #options SMP_AUTOSTART # start the additional CPUs during boot # Optional (built-in defaults will work in most cases): #options NCPU=2 # number of CPUs #options NBUS=2 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs ------------------------------------------------------------------------------- dmesg output: Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Fri Aug 22 07:09:56 CEST 1997 root@diroxbsd.dx:/usr/src/sys/compile/SMPFBSD CPU: Pentium (586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x3bf real memory = 67108864 (65536K bytes) avail memory = 62599168 (61132K bytes) FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 vga0: rev 0x01 int a irq 19 on pci0.17.0 ncr0: rev 0x04 int a irq 18 on pci0.18.0 ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo ncr0: waiting for scsi devices to settle scbus0 at ncr0 bus 0 cd0 at scbus0 target 3 lun 0 cd0: type 5 removable SCSI 2 cd0: CD-ROM cd0: asynchronous. can't get the size de0: rev 0x12 int a irq 17 on pci0.19.0 de0: ZNYX ZX34X 21140 [10-100Mb/s] pass 1.2 de0: address 00:c0:95:f8:0f:f6 ncr1: rev 0x03 int a irq 16 on pci0.20.0 ncr1: minsync=12, maxsync=137, maxoffs=16, 128 dwords burst, large dma fifo ncr1: waiting for scsi devices to settle scbus1 at ncr1 bus 0 sd0 at scbus1 target 1 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access sd0: WIDE SCSI (16 bit) enabled sd0: 20.0 MB/s (100 ns, offset 15) 4153MB (8506782 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 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2: disabled, not probed. sio3: disabled, not probed. lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1 not found psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in fd1: 1.2MB 5.25in npx0 on motherboard npx0: INT 16 interface APIC_IO: routing 8254 via 8259 on pin 0 ccd0-3: Concatenated disk drivers IP packet filtering initialized, divert enabled, logging limited to 100 packets/entry SMP: All idle procs online. SMP: *** AUTO *** 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! =============================================================================== --Qxx1br4bt0+wmkIi-- From owner-freebsd-smp Sat Aug 23 17:26:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA23914 for smp-outgoing; Sat, 23 Aug 1997 17:26:48 -0700 (PDT) Received: from genghis.eng.demon.net (root@genghis.eng.demon.net [193.195.45.10]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id RAA23899 for ; Sat, 23 Aug 1997 17:26:42 -0700 (PDT) Received: from genghis.eng.demon.net [193.195.45.10] (ade) by genghis.eng.demon.net with esmtp (Exim 1.62 #1) id 0x2QVO-0002Cs-00; Sun, 24 Aug 1997 01:26:10 +0100 To: smp@freebsd.org Subject: Re: HEADS UP: need status reports!!! Organization: Demon Internet Ltd. Reply-To: ade@demon.net In-reply-to: Your message of "Sat, 23 Aug 1997 13:53:19 MDT." <199708231953.NAA08121@Ilsa.StevesCafe.com> Date: Sun, 24 Aug 1997 01:26:09 +0100 From: Ade Lovett Message-Id: Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Steve Passe writes: > >I need a show of hands: > >Who has tried SMP sources dated August 1 or newer? Successfully running with: Micronics M54E2 PCI/EISA motherboard, dual P5 FreeBSD 3.0-CURRENT #0: Thu Aug 21 00:04:17 BST 1997 Source tree cvsup'd from either cvsup.freebsd.org or cvsup.uk.freebsd.org at regular intervals. The kernel source in this case is dated from around 14:00 GMT+0100 Wed Aug 20 -- the last 'make world' happened on Wed Aug 06. -aDe -- Ade Lovett, Demon Internet Ltd. From owner-freebsd-smp Sat Aug 23 22:08:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA09222 for smp-outgoing; Sat, 23 Aug 1997 22:08:45 -0700 (PDT) Received: from mhub1.tc.umn.edu (0@mhub1.tc.umn.edu [128.101.131.51]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA09216; Sat, 23 Aug 1997 22:08:32 -0700 (PDT) Received: from gold.tc.umn.edu by mhub1.tc.umn.edu; Sun, 24 Aug 97 00:07:32 -0500 Received: from pub-11-a-132.dialup.umn.edu by gold.tc.umn.edu; Sun, 24 Aug 97 00:07:30 -0500 Date: Sun, 24 Aug 1997 00:08:06 -0500 (CDT) From: dave adkins To: Steve Passe cc: smp@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include param.h src/sys/i386/isa apic_ipl.s apic_vector.s icu_ipl.s ipl.s ipl_funcs.c src/sys/i386/i386 exception.s locore.s microtime.s simplelock.s In-Reply-To: <199708240005.RAA10511@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 23 Aug 1997, Steve Passe wrote: > fsmp 1997/08/23 17:05:38 PDT > > Modified files: > sys/i386/include param.h > sys/i386/isa apic_ipl.s apic_vector.s icu_ipl.s ipl.s > ipl_funcs.c > sys/i386/i386 exception.s locore.s microtime.s > simplelock.s > Log: > The last of the encapsolation of cpl/spl/ipending things into a critical > region protected by the simplelock 'cpl_lock'. > > Notes: > > - this code is currently controlled on a section by section basis with > defines in machine/param.h. All sections are currently enabled. > > - this code is not as clean as I would like, but that can wait till later. > > - the "giant lock" still surrounds most instances of this "cpl region". > I still have to do the code that arbitrates setting cpl between the > top and bottom halves of the kernel. > > - the possibility of deadlock exists, I am committing the code at this > point so as to exercise it and detect any such cases B4 the "giant lock" > is removed. > > Revision Changes Path > 1.37 +64 -2 src/sys/i386/include/param.h > 1.14 +87 -26 src/sys/i386/isa/apic_ipl.s > 1.18 +40 -25 src/sys/i386/isa/apic_vector.s > 1.2 +68 -1 src/sys/i386/isa/icu_ipl.s > 1.11 +59 -79 src/sys/i386/isa/ipl.s > 1.3 +157 -4 src/sys/i386/isa/ipl_funcs.c > 1.41 +63 -12 src/sys/i386/i386/exception.s > 1.95 +4 -3 src/sys/i386/i386/locore.s > 1.29 +11 -3 src/sys/i386/i386/microtime.s > 1.3 +50 -2 src/sys/i386/i386/simplelock.s > > Hi, My Tyan S1563D 2x200 pentium system dies pretty early with these changes. I disabled all the sections and reenabled them one by one. The system continues to boot and run with all sections enabled except REAL_IFCPL. With REAL_IFCPL enabled the system hangs right after the boot loader messages and before the copyright and version is printed. dave adkins From owner-freebsd-smp Sat Aug 23 22:30:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA11451 for smp-outgoing; Sat, 23 Aug 1997 22:30:25 -0700 (PDT) Received: from tasogare.imasy.or.jp (root@tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA11433 for ; Sat, 23 Aug 1997 22:30:20 -0700 (PDT) Received: (from ume@localhost) by tasogare.imasy.or.jp (8.8.7+2.7Wbeta7/3.4W4-96030215) with UUCP id OAA07033 for smp@FreeBSD.ORG; Sun, 24 Aug 1997 14:04:43 +0900 (JST) Received: from peace.calm.imasy.or.jp (root@peace.calm.imasy.or.jp [158.214.107.233]) by chaos.calm.imasy.or.jp (8.8.7/3.6Wbeta6-CHAOS1.5) with ESMTP id OAA16258 for ; Sun, 24 Aug 1997 14:03:31 +0900 (JST) Received: from localhost (ume@localhost [127.0.0.1]) by peace.calm.imasy.or.jp (8.8.7/3.6Wbeta6-CALM1.0) with ESMTP id OAA05086 for ; Sun, 24 Aug 1997 14:03:25 +0900 (JST) Message-Id: <199708240503.OAA05086@peace.calm.imasy.or.jp> To: smp@FreeBSD.ORG Subject: Re: HEADS UP: need status reports!!! In-Reply-To: Your message of "Sat, 23 Aug 1997 13:53:19 -0600" <199708231953.NAA08121@Ilsa.StevesCafe.com> References: <199708231953.NAA08121@Ilsa.StevesCafe.com> X-Mailer: Mew version 1.89 on XEmacs 20.3 (Bratislava) X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.or.jp/~ume/ Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sun_Aug_24_14:03:22_1997_809)--" Content-Transfer-Encoding: 7bit Date: Sun, 24 Aug 1997 14:03:25 +0900 From: Hajimu UMEMOTO X-Dispatcher: imput version 970820 Lines: 224 Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ----Next_Part(Sun_Aug_24_14:03:22_1997_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, >>>>> On Sat, 23 Aug 1997 13:53:19 -0600, Steve Passe said: smp> Who has tried SMP sources dated August 1 or newer? I'm running a kernel cvsuped at August 23 on a IWILL DP6NS with dual Pentium Pro 180MHz. smp> What was your result, success or failure? My result was success. smp> What basic hardware: motherboard make & model, P5/P6? IWILL DP6NS with dual Pentium Pro 180MHz smp> Is this the first attempt to run SMP on this hardware? My first try was with 3.0-970718-SNAP. But it was hang-up at boot time. smp> Did you start with a SNAP or cvsuped source tree? smp> What date? I'm successfully running with 3.0-970731-SNAP or later. ----Next_Part(Sun_Aug_24_14:03:22_1997_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Description: mptable result =============================================================================== MPTable, version 2.0.13 looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009fc00 searching CMOS 'top of mem' @ 0x0009f800 (638K) searching default 'top of mem' @ 0x0009fc00 (639K) searching BIOS @ 0x000f0000 MP FPS found in BIOS @ physical addr: 0x000f0eb0 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f0eb0 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0xc2 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f0ec4 signature: 'PCMP' base table length: 292 version: 1.1 checksum: 0xc8 OEM ID: 'OEM00000' Product ID: 'PROD00000000' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 28 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 6 1 9 0xfbff 1 0x11 AP, usable 6 1 9 0xfbff -- Bus: Bus ID Type 0 PCI 1 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT conforms conforms 1 0 2 0 INT conforms conforms 1 1 2 1 INT conforms conforms 1 0 2 2 INT conforms conforms 1 3 2 3 INT conforms conforms 1 4 2 4 INT conforms conforms 1 5 2 5 INT conforms conforms 1 6 2 6 INT conforms conforms 1 7 2 7 INT conforms conforms 1 8 2 8 INT conforms conforms 1 9 2 9 INT conforms conforms 1 10 2 10 INT conforms conforms 1 11 2 11 INT conforms conforms 1 12 2 12 INT conforms conforms 1 13 2 13 INT conforms conforms 1 14 2 14 INT conforms conforms 1 15 2 15 INT active-lo level 0 12:A 2 16 INT active-lo level 0 9:A 2 17 INT active-lo level 0 10:A 2 18 INT active-lo level 0 11:A 2 19 SMI conforms conforms 1 0 2 23 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT conforms conforms 0 0:A 255 0 NMI conforms conforms 0 0:A 255 1 ------------------------------------------------------------------------------- # SMP kernel config file options: # Required: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Useful: #options SMP_AUTOSTART # start the additional CPUs during boot # Optional (built-in defaults will work in most cases): #options NCPU=2 # number of CPUs #options NBUS=2 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs ------------------------------------------------------------------------------- dmesg output: Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Sat Aug 23 12:25:33 JST 1997 ume@peace.calm.imasy.or.jp:/usr/src/sys/compile/PEACE CPU: Pentium Pro (686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xfbff real memory = 67108864 (65536K bytes) avail memory = 62832640 (61360K bytes) FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 ahc0: rev 0x00 int a irq 17 on pci0.9.0 ahc0: Using left over BIOS settings ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 ahc0: target 0 Tagged Queuing Device sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 4134MB (8467200 512 byte sectors) cd0 at scbus0 target 6 lun 0 cd0: type 5 removable SCSI 2 cd0: CD-ROM cd present [332219 x 2048 byte records] vga0: rev 0x01 int a irq 18 on pci0.10.0 vx0: <3COM 3C905 Fast Etherlink XL PCI> rev 0x00 int a irq 19 on pci0.11.0 mii[*mii*] address 00:60:08:0d:50:7f 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 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface apm0 flags 0x31 on isa apm: found APM BIOS version 1.2 sb0 at 0x220-0x22f irq 5 drq 1 on isa sb0: sbxvi0 drq 5 on isa sbxvi0: sbmidi0 not found at 0x330 opl0 at 0x388-0x38b on isa opl0: joy0 at 0x201 on isa joy0: joystick changing root device to sd0a APIC_IO: routing 8254 via 8259 on pin 0 SMP: All idle procs online. SMP: *** AUTO *** 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! IP packet filtering initialized, divert disabled, logging disabled =============================================================================== ----Next_Part(Sun_Aug_24_14:03:22_1997_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@imasy.or.jp ume@iabs.hitachi.co.jp http://www.imasy.or.jp/~ume/ ----Next_Part(Sun_Aug_24_14:03:22_1997_809)---- From owner-freebsd-smp Sat Aug 23 22:55:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA13256 for smp-outgoing; Sat, 23 Aug 1997 22:55:08 -0700 (PDT) Received: from intrepid.leaky.com (shaffer-s.nosc.mil [128.49.236.16]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA13241 for ; Sat, 23 Aug 1997 22:55:04 -0700 (PDT) Received: (from admin@localhost) by intrepid.leaky.com (8.8.7/8.8.5) id WAA21368; Sat, 23 Aug 1997 22:48:39 -0700 (PDT) Message-Id: <199708240548.WAA21368@intrepid.leaky.com> X-Authentication-Warning: intrepid.leaky.com: admin set sender to using -f Received: from localhost(127.0.0.1) by intrepid.leaky.com via smap (V1.3) id sma021363; Sat Aug 23 22:48:19 1997 X-Mailer: exmh version 2.0gamma 1/27/96 To: smp@FreeBSD.Org cc: gshaffer@intrepid.leaky.com Subject: RE: HEADS UP: need status reports!!! Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 23 Aug 1997 22:48:18 -0700 From: Greg Shaffer Sender: owner-freebsd-smp@FreeBSD.Org X-Loop: FreeBSD.org Precedence: bulk >I need a show of hands: > >Who has tried SMP sources dated August 1 or newer? > >if so: > What was your result, success or failure? > What basic hardware: motherboard make & model, P5/P6? > Is this the first attempt to run SMP on this hardware? > Did you start with a SNAP or cvsuped source tree? > What date? I am running FreeBSD SMP on a Tyan Tomcat III with 2 P5-166 and 40MB ram, Adaptec 2940, ATI Mach 64 Video. My kernel is "FreeBSD 3.0-CURRENT (INTREPID) #0: Fri Aug 15 23:11:34 PDT 1997" based on CTM cvs-cur. I have a similar system at work (2 P5-200, with 64MB ram) that is also woking fine with a kernel built on Thursday 21 Aug. Greg Shaffer From owner-freebsd-smp Sat Aug 23 23:12:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA14541 for smp-outgoing; Sat, 23 Aug 1997 23:12:44 -0700 (PDT) Received: from mail0.iij.ad.jp (mail0.iij.ad.jp [202.232.2.113]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA14532 for ; Sat, 23 Aug 1997 23:12:41 -0700 (PDT) Received: from uucp2.iij.ad.jp (uucp2.iij.ad.jp [202.232.2.202]) by mail0.iij.ad.jp (8.8.5+2.7Wbeta5/3.5Wpl4-MAIL) with SMTP id PAA14459; Sun, 24 Aug 1997 15:12:30 +0900 (JST) Received: (from uucp@localhost) by uucp2.iij.ad.jp (8.6.12+2.4W/3.3W9-UUCP) with UUCP id PAA14224; Sun, 24 Aug 1997 15:12:30 +0900 Received: from tyd1.tydfam.iijnet.or.jp (tyd1.tydfam.iijnet.or.jp [192.168.1.2]) by tydfam.iijnet.or.jp (8.8.7/3.4W2-uucp) with ESMTP id LAA05612; Sun, 24 Aug 1997 11:35:43 +0900 (JST) Received: from localhost.tydfam.iijnet.or.jp (localhost.tydfam.iijnet.or.jp [127.0.0.1]) by tyd1.tydfam.iijnet.or.jp (8.8.6/3.4Wnomx) with SMTP id LAA11568; Sun, 24 Aug 1997 11:35:43 +0900 (JST) Message-Id: <199708240235.LAA11568@tyd1.tydfam.iijnet.or.jp> X-Authentication-Warning: tyd1.tydfam.iijnet.or.jp: localhost.tydfam.iijnet.or.jp [127.0.0.1] didn't use HELO protocol To: smp@csn.net Cc: dirk@activ-consult.de, smp@FreeBSD.ORG Subject: Re: HEADS UP: need status reports!!! Reply-To: ken@tydfam.iijnet.or.jp In-Reply-To: Your message of "Sat, 23 Aug 1997 13:53:19 -0600" References: <199708231953.NAA08121@Ilsa.StevesCafe.com> X-Mailer: Mew version 1.70 on Emacs 19.34.2 / Mule 2.3 Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sun_Aug_24_11:34:47_1997)--" Content-Transfer-Encoding: 7bit Date: Sun, 24 Aug 1997 11:35:43 +0900 From: Takeshi Yamada Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ----Next_Part(Sun_Aug_24_11:34:47_1997)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am running FreeBSD-SMP from ca. Aug.15th current source on ASUS P65UP5+C-P6ND without any problem so far. It is seemingly very stable. I suspect the problem is; "Yes, you need to enable MP SPEC v1.4 in your BIOS. From looking at the mptable output, it looks like version 1.1 is enabled now. So try that, and see if it works." as Ken Merry suggested, and I was trapped once. Attached is my dmesg for your reference. ----Next_Part(Sun_Aug_24_11:34:47_1997)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Mon Aug 18 23:22:45 JST 1997 ken@tyd0.tydfam.iijnet.or.jp:/usr/src/sys/compile/SMPTYD CPU: Pentium Pro (686-class CPU) Origin = "GenuineIntel" Id = 0x617 Stepping=7 Features=0xfbff real memory = 67108864 (65536K bytes) Physical memory hole(s): avail memory = 62967808 (61492K bytes) 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: 0x00170011, at 0xfec00000 Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.1.0 vga0: rev 0x01 on pci0.9.0 fxp0: rev 0x01 int a irq 18 on pci0.10.0 fxp0: Ethernet address 00:a0:c9:04:9a:61 chip2: rev 0x02 on pci0.12.0 Probing for devices on PCI bus 1: ahc0: rev 0x00 int a irq 16 on pci1.4.0 ahc0: aic7880 Channel A, SCSI Id=7, 16 SCBs ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 2049MB (4197405 512 byte sectors) sd0: with 4177 cyls, 8 heads, and an average 125 sectors/track sd1 at scbus0 target 5 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 2049MB (4197405 512 byte sectors) sd1: with 4177 cyls, 8 heads, and an average 125 sectors/track ahc1: rev 0x00 int a irq 17 on pci1.5.0 ahc1: aic7880 Channel B, SCSI Id=7, 16 SCBs ahc1: waiting for scsi devices to settle scbus1 at ahc1 bus 0 sd2 at scbus1 target 0 lun 0 sd2: type 0 fixed SCSI 2 sd2: Direct-Access 2049MB (4197405 512 byte sectors) sd2: with 4177 cyls, 8 heads, and an average 125 sectors/track sd3 at scbus1 target 1 lun 0 sd3: type 0 fixed SCSI 2 sd3: Direct-Access 2049MB (4197405 512 byte sectors) sd3: with 4177 cyls, 8 heads, and an average 125 sectors/track st0 at scbus1 target 3 lun 0 st0: type 1 removable SCSI 2 st0: Sequential-Access density code 0x13, drive empty Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x340-0x35f irq 10 on isa ed0: address 00:c0:df:43:4e:ec, type NE2000 (16 bit) lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface mse0 not found at 0x23c psm0 not found at 0x60 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type Planet Communications FS-460 lookalike with 32 bytes FIFO sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type Planet Communications FS-460 lookalike with 32 bytes FIFO sio2 at 0x3e8-0x3ef irq 5 on isa sio2: type 16550A 16550A pca0 on motherboard pca0: PC speaker audio driver fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface sctarg0 at scbus255 target 255 lun 255 sctarg0: type 0 fixed SCSI 0 sctarg0: Processor Target APIC_IO: routing 8254 via 8259 on pin 0 ccd0-3: Concatenated disk drivers SMP: All idle procs online. SMP: *** AUTO *** 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! ----Next_Part(Sun_Aug_24_11:34:47_1997)---- From owner-freebsd-smp Sat Aug 23 23:23:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA15399 for smp-outgoing; Sat, 23 Aug 1997 23:23:32 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA15393 for ; Sat, 23 Aug 1997 23:23:26 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id AAA10435; Sun, 24 Aug 1997 00:23:20 -0600 (MDT) Message-Id: <199708240623.AAA10435@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: dave adkins cc: smp@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include param.h src/sys/i386/isa apic_ipl.s apic_vector.s icu_ipl.s ipl.s ipl_funcs.c src/sys/i386/i386 exception.s locore.s microtime.s simplelock.s In-reply-to: Your message of "Sun, 24 Aug 1997 00:08:06 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 24 Aug 1997 00:23:20 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, > > - the possibility of deadlock exists, I am committing the code at this > > point so as to exercise it and detect any such cases B4 the > > "giant lock" is removed > ... > My Tyan S1563D 2x200 pentium system dies pretty early with these changes. > I disabled all the sections and reenabled them one by one. The system > continues to boot and run with all sections enabled except REAL_IFCPL. > With REAL_IFCPL enabled the system hangs right after the boot loader > messages and before the copyright and version is printed. this is what I was looking for. try modifying i386/isa/ipl_funcs.c: move all the GENSPL() targets: GENSPL(splbio, cpl |= bio_imask) GENSPL(splclock, cpl = HWI_MASK | SWI_MASK) GENSPL(splimp, cpl |= net_imask) GENSPL(splnet, cpl |= SWI_NET_MASK) GENSPL(splsoftclock, cpl = SWI_CLOCK_MASK) GENSPL(splsofttty, cpl |= SWI_TTY_MASK) GENSPL(splstatclock, cpl |= stat_imask) GENSPL(splvm, cpl |= net_imask | bio_imask) from b4 the GENSPL2() macro to just after it, ie with the 2 existing GENSPL2() targets: GENSPL2(splhigh, cpl = HWI_MASK | SWI_MASK) GENSPL2(spltty, cpl |= tty_imask) then change them all from GENSPL to GENSPL2. reenable REAL_IFCPL and see if that works. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-smp Sat Aug 23 23:30:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA16153 for smp-outgoing; Sat, 23 Aug 1997 23:30:35 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA16143 for ; Sat, 23 Aug 1997 23:30:33 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id AAA10488 for ; Sun, 24 Aug 1997 00:30:32 -0600 (MDT) Message-Id: <199708240630.AAA10488@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: smp@FreeBSD.ORG Subject: Re: HEADS UP: need status reports!!! In-reply-to: Your message of "Sat, 23 Aug 1997 13:53:19 MDT." <199708231953.NAA08121@Ilsa.StevesCafe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 24 Aug 1997 00:30:31 -0600 Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, thanx to everyone who has sent in a status report! So far I have gotten 6 or 7 OKs, no "doesn't work"s. So the 3 current problem reports are probably just coincidence (KOS). Kyle is working on a web based database system that hopefully will make tracking this sort of thing more consistant. In the meantime, if your running (or failing to run) post august 1st SMP, send in a status report. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-smp Sat Aug 23 23:56:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA18374 for smp-outgoing; Sat, 23 Aug 1997 23:56:21 -0700 (PDT) Received: from abby.skypoint.net (abby.skypoint.net [199.86.32.252]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA18367 for ; Sat, 23 Aug 1997 23:56:17 -0700 (PDT) Received: (from uucp@localhost) by abby.skypoint.net (8.8.5/alexis 2.7) with UUCP id BAA03639; Sun, 24 Aug 1997 01:56:15 -0500 (CDT) Received: (from bruce@localhost) by zuhause.mn.org (8.8.7/8.8.5) id BAA00464; Sun, 24 Aug 1997 01:54:07 -0500 (CDT) Date: Sun, 24 Aug 1997 01:54:07 -0500 (CDT) Message-Id: <199708240654.BAA00464@zuhause.mn.org> From: Bruce Albrecht To: Steve Passe Cc: smp@FreeBSD.ORG Subject: Re: HEADS UP: need status reports!!! In-Reply-To: <199708231953.NAA08121@Ilsa.StevesCafe.com> References: <199708231953.NAA08121@Ilsa.StevesCafe.com> X-Mailer: VM 6.30 under 19.15p2 XEmacs Lucid Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Steve Passe writes: > Who has tried SMP sources dated August 1 or newer? > > if so: > What was your result, success or failure? > What basic hardware: motherboard make & model, P5/P6? > Is this the first attempt to run SMP on this hardware? > Did you start with a SNAP or cvsuped source tree? > What date? I running with sources from Aug 13, with the early trap 9 kludge. I'm still waiting for a vendor to send me replacement SIMMs, so I haven't been rebuilding my system often. I sometime get seg faults that are due to the memory problems. Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #2: Wed Aug 13 00:46:33 CDT 1997 bruce@zuhause.mn.org:/usr/src/sys/compile/ZUHAUSE CPU: Pentium Pro (686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xfbff real memory = 67108864 (65536K bytes) avail memory = 62504960 (61040K bytes) 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: 0x00170011, at 0xfec00000 DEVFS: ready for devices Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 ncr0: rev 0x12 int a irq 18 on pci0.12.0 ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo scbus0 at ncr0 bus 0 sd1 at scbus0 target 0 lun 0 sd1: type 0 fixed SCSI 1 sd1: Direct-Access 40MB (82029 512 byte sectors) sd1: with 834 cyls, 3 heads, and an average 32 sectors/track st0 at scbus0 target 4 lun 0 st0: type 1 removable SCSI 2 st0: Sequential-Access st0: 5.0 MB/s (200 ns, offset 8) density code 0x13, 512-byte blocks, write-enabled ch0 at scbus0 target 4 lun 1 ch0: type 8 removable SCSI 2 ch0: Medium-Changer 4 slots, 1 drive, 1 picker cd0 at scbus0 target 6 lun 0 cd0: type 5 removable SCSI 2 cd0: CD-ROM cd0: asynchronous. cd present [293037 x 2048 byte records] ncr1: rev 0x03 int a irq 17 on pci0.13.0 ncr1: minsync=12, maxsync=137, maxoffs=16, 128 dwords burst, large dma fifo scbus1 at ncr1 bus 0 sd0 at scbus1 target 6 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access sd0: 20.0 MB/s (50 ns, offset 15) 3067MB (6281856 512 byte sectors) sd0: with 6810 cyls, 5 heads, and an average 184 sectors/track vga0: rev 0x01 int a irq 16 on pci0.14.0 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 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0 pca0 on motherboard pca0: PC speaker audio driver fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface sb0 at 0x220-0x22f irq 5 drq 1 on isa sb0: sbxvi0 drq 5 on isa sbxvi0: sbmidi0 at 0x330-0x331 on isa sbmidi0: joy0 at 0x201 on isa joy0: joystick DEVFS: ready to run APIC_IO: routing 8254 via 8259 on pin 0 SMP: All idle procs online. SMP: *** AUTO *** 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! sio0: 1 more silo overflow (total 1)