From owner-freebsd-smp Sun Mar 17 6:36:40 2002 Delivered-To: freebsd-smp@freebsd.org Received: from hfep06.dion.ne.jp (hfep06.dion.ne.jp [203.181.105.72]) by hub.freebsd.org (Postfix) with ESMTP id 1AFEC37B41A; Sun, 17 Mar 2002 06:36:32 -0800 (PST) Received: from localhost ([211.134.60.223]) by hfep06.dion.ne.jp with ESMTP id <20020317143630147.MCBX@hfep06.dion.ne.jp>; Sun, 17 Mar 2002 23:36:30 +0900 To: tanimura@r.dl.itc.u-tokyo.ac.jp Cc: phk@FreeBSD.ORG, hitmaster2k@yahoo.com, haro@h4.dion.ne.jp, rwatson@FreeBSD.ORG, current@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: -current lock warning... In-Reply-To: <200203161618.g2GGHMA5085135@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> References: <35758.1016270542@critter.freebsd.dk> <200203161357.g2GDuwA5043113@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> <200203161618.g2GGHMA5085135@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020317233420F.haro@h4.dion.ne.jp> Date: Sun, 17 Mar 2002 23:34:20 +0900 From: Munehiro Matsuda X-Dispatcher: imput version 20000228(IM140) Lines: 36 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From: Seigo Tanimura Date: Sun, 17 Mar 2002 01:17:21 +0900 ::Seigo> On Sat, 16 Mar 2002 10:22:22 +0100, ::Seigo> Poul-Henning Kamp said: :: ::Seigo> Poul-Henning> acquiring duplicate lock of same type: "thrd_sleep" ::Seigo> Poul-Henning> 1st @ ../../../vm/vm_map.c:2288 ::Seigo> Poul-Henning> 2nd @ ../../../vm/vm_kern.c:172 ::The patch attached below renames the lock of the kernel_map to ::"kernel_map" once witness gets ready to run. This eliminated all of ::the lock order reversals on my PC. Hello Seigo, Thanks for the patch. That eliminated the 'duplicate lock' warning and worked fine on my UP system with 'make -j2 buildworld'. Thank you, Haro PS. I got another message that happend when I ^C'ed a buildworld earlier, with same kernel. May be it should go to Alfred Perlstein? lock order reversal 1st 0xc198eec0 pipe mutex @ ../../../kern/sys_pipe.c:779 2nd 0xc0367fe0 Giant @ ../../../i386/i386/trap.c:716 =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kubota.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sun Mar 17 8:40: 9 2002 Delivered-To: freebsd-smp@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 1047437B41A; Sun, 17 Mar 2002 08:39:54 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id CBFD5AE1D0; Sun, 17 Mar 2002 08:39:53 -0800 (PST) Date: Sun, 17 Mar 2002 08:39:53 -0800 From: Alfred Perlstein To: Munehiro Matsuda Cc: tanimura@r.dl.itc.u-tokyo.ac.jp, phk@FreeBSD.ORG, hitmaster2k@yahoo.com, rwatson@FreeBSD.ORG, current@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: -current lock warning... Message-ID: <20020317163953.GY4857@elvis.mu.org> References: <35758.1016270542@critter.freebsd.dk> <200203161357.g2GDuwA5043113@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> <200203161618.g2GGHMA5085135@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> <20020317233420F.haro@h4.dion.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020317233420F.haro@h4.dion.ne.jp> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Munehiro Matsuda [020317 06:36] wrote: > > PS. I got another message that happend when I ^C'ed a buildworld earlier, > with same kernel. May be it should go to Alfred Perlstein? > > lock order reversal > 1st 0xc198eec0 pipe mutex @ ../../../kern/sys_pipe.c:779 > 2nd 0xc0367fe0 Giant @ ../../../i386/i386/trap.c:716 I think there's a place where the pipe can fault on an address while copying, I'll take a look at this. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sun Mar 17 9:10:40 2002 Delivered-To: freebsd-smp@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 6E9F737B426; Sun, 17 Mar 2002 09:10:36 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g2HH8sk09362; Sun, 17 Mar 2002 12:08:54 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 17 Mar 2002 12:08:54 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Alfred Perlstein Cc: Munehiro Matsuda , tanimura@r.dl.itc.u-tokyo.ac.jp, phk@FreeBSD.ORG, hitmaster2k@yahoo.com, current@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: -current lock warning... In-Reply-To: <20020317163953.GY4857@elvis.mu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 17 Mar 2002, Alfred Perlstein wrote: > * Munehiro Matsuda [020317 06:36] wrote: > > > > PS. I got another message that happend when I ^C'ed a buildworld earlier, > > with same kernel. May be it should go to Alfred Perlstein? > > > > lock order reversal > > 1st 0xc198eec0 pipe mutex @ ../../../kern/sys_pipe.c:779 > > 2nd 0xc0367fe0 Giant @ ../../../i386/i386/trap.c:716 > > I think there's a place where the pipe can fault on an address while > copying, I'll take a look at this. Are there any assertions that should be in place for copyin/copyout requring fault handling? It sounds like somewhere we need to assert that Giant is held... Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sun Mar 17 9:17:51 2002 Delivered-To: freebsd-smp@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id A488A37B48A; Sun, 17 Mar 2002 09:17:22 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 7781AAE1FC; Sun, 17 Mar 2002 09:17:22 -0800 (PST) Date: Sun, 17 Mar 2002 09:17:22 -0800 From: Alfred Perlstein To: Robert Watson Cc: Munehiro Matsuda , tanimura@r.dl.itc.u-tokyo.ac.jp, phk@FreeBSD.ORG, hitmaster2k@yahoo.com, current@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: -current lock warning... Message-ID: <20020317171722.GZ4857@elvis.mu.org> References: <20020317163953.GY4857@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Robert Watson [020317 09:08] wrote: > > On Sun, 17 Mar 2002, Alfred Perlstein wrote: > > > * Munehiro Matsuda [020317 06:36] wrote: > > > > > > PS. I got another message that happend when I ^C'ed a buildworld earlier, > > > with same kernel. May be it should go to Alfred Perlstein? > > > > > > lock order reversal > > > 1st 0xc198eec0 pipe mutex @ ../../../kern/sys_pipe.c:779 > > > 2nd 0xc0367fe0 Giant @ ../../../i386/i386/trap.c:716 > > > > I think there's a place where the pipe can fault on an address while > > copying, I'll take a look at this. > > Are there any assertions that should be in place for copyin/copyout > requring fault handling? It sounds like somewhere we need to assert that > Giant is held... No, you need to assert that no other mutex other than Giant is held. It would be nice... :) -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sun Mar 17 13:14:40 2002 Delivered-To: freebsd-smp@freebsd.org Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by hub.freebsd.org (Postfix) with ESMTP id 84F2F37B400; Sun, 17 Mar 2002 13:14:25 -0800 (PST) Received: (from jake@localhost) by k6.locore.ca (8.11.6/8.11.6) id g2HLLga78665; Sun, 17 Mar 2002 16:21:42 -0500 (EST) (envelope-from jake) Date: Sun, 17 Mar 2002 16:21:42 -0500 From: Jake Burkholder To: Alfred Perlstein Cc: Robert Watson , Munehiro Matsuda , tanimura@r.dl.itc.u-tokyo.ac.jp, phk@FreeBSD.ORG, hitmaster2k@yahoo.com, current@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: -current lock warning... Message-ID: <20020317162142.J52298@locore.ca> References: <20020317163953.GY4857@elvis.mu.org> <20020317171722.GZ4857@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020317171722.GZ4857@elvis.mu.org>; from bright@mu.org on Sun, Mar 17, 2002 at 09:17:22AM -0800 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Apparently, On Sun, Mar 17, 2002 at 09:17:22AM -0800, Alfred Perlstein said words to the effect of; > * Robert Watson [020317 09:08] wrote: > > > > On Sun, 17 Mar 2002, Alfred Perlstein wrote: > > > > > * Munehiro Matsuda [020317 06:36] wrote: > > > > > > > > PS. I got another message that happend when I ^C'ed a buildworld earlier, > > > > with same kernel. May be it should go to Alfred Perlstein? > > > > > > > > lock order reversal > > > > 1st 0xc198eec0 pipe mutex @ ../../../kern/sys_pipe.c:779 > > > > 2nd 0xc0367fe0 Giant @ ../../../i386/i386/trap.c:716 > > > > > > I think there's a place where the pipe can fault on an address while > > > copying, I'll take a look at this. > > > > Are there any assertions that should be in place for copyin/copyout > > requring fault handling? It sounds like somewhere we need to assert that > > Giant is held... > > No, you need to assert that no other mutex other than Giant is held. > > It would be nice... :) You can do this like at the bottom of syscall and trap, with witness_list(). It'll even print out what the other locks are and where they were acquired. But yeah, if you're going to access pageable memory in kernel mode you pretty much have to have no other locks held. Good work on pipe locking btw. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sun Mar 17 23:25:22 2002 Delivered-To: freebsd-smp@freebsd.org Received: from grafin.fujimori.cache.waseda.ac.jp (grafin.fujimori.cache.waseda.ac.JP [133.9.152.154]) by hub.freebsd.org (Postfix) with ESMTP id F1F6D37B400 for ; Sun, 17 Mar 2002 23:24:28 -0800 (PST) Received: from grafin.fujimori.cache.waseda.ac.jp (fujimori@localhost [127.0.0.1]) by grafin.fujimori.cache.waseda.ac.jp (8.11.3/3.7W) with ESMTP id g2I7ORY09115 for ; Mon, 18 Mar 2002 16:24:27 +0900 Message-Id: <200203180724.g2I7ORY09115@grafin.fujimori.cache.waseda.ac.jp> To: freebsd-smp@freebsd.org Subject: SuperMicro Date: Mon, 18 Mar 2002 16:24:27 +0000 From: Yoriaki FUJIMORI Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear listers, SuperMicro is distributing P4Xeon based MB with recent chipsets, such as E7500. Since we are considering a new server in our lab, I wonder if someone of you have run FreeBSD on them. We should be very happy to get the information. Thanks in advance for your attention. Yoriaki Fujimori To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Mar 18 6:48:17 2002 Delivered-To: freebsd-smp@freebsd.org Received: from arjun.niksun.com (gwnew.niksun.com [63.148.27.34]) by hub.freebsd.org (Postfix) with ESMTP id B109237B404 for ; Mon, 18 Mar 2002 06:48:10 -0800 (PST) Received: from galaxy (galaxy.niksun.com [10.0.0.172]) by arjun.niksun.com (8.9.3/8.9.3) with SMTP id JAA07155 for ; Mon, 18 Mar 2002 09:48:10 -0500 (EST) (envelope-from lpan@niksun.com) Message-ID: <002301c1ce8c$2e0c5cf0$ac00000a@galaxy> From: "Lingyu Pan" To: Subject: subscribe Date: Mon, 18 Mar 2002 09:50:00 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0020_01C1CE62.44FDDFD0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0020_01C1CE62.44FDDFD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------=_NextPart_000_0020_01C1CE62.44FDDFD0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
------=_NextPart_000_0020_01C1CE62.44FDDFD0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Mar 18 10:24:26 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by hub.freebsd.org (Postfix) with ESMTP id 5820A37B426 for ; Mon, 18 Mar 2002 10:24:05 -0800 (PST) Received: (qmail 25834 invoked from network); 18 Mar 2002 18:24:03 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 18 Mar 2002 18:24:03 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g2IIOTv53740; Mon, 18 Mar 2002 13:24:30 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 18 Mar 2002 13:24:04 -0500 (EST) From: John Baldwin To: Robert Watson Subject: Re: -current lock warning... Cc: smp@FreeBSD.ORG, current@FreeBSD.ORG, hitmaster2k@yahoo.com, phk@FreeBSD.ORG, tanimura@r.dl.itc.u-tokyo.ac.jp, Munehiro Matsuda , Alfred Perlstein Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 17-Mar-2002 Robert Watson wrote: > > On Sun, 17 Mar 2002, Alfred Perlstein wrote: > >> * Munehiro Matsuda [020317 06:36] wrote: >> > >> > PS. I got another message that happend when I ^C'ed a buildworld earlier, >> > with same kernel. May be it should go to Alfred Perlstein? >> > >> > lock order reversal >> > 1st 0xc198eec0 pipe mutex @ ../../../kern/sys_pipe.c:779 >> > 2nd 0xc0367fe0 Giant @ ../../../i386/i386/trap.c:716 >> >> I think there's a place where the pipe can fault on an address while >> copying, I'll take a look at this. > > Are there any assertions that should be in place for copyin/copyout > requring fault handling? It sounds like somewhere we need to assert that > Giant is held... More correct is that probably no locks other than Giant should be held for copyin/copyout. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Mar 18 10:31:57 2002 Delivered-To: freebsd-smp@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id D6CAC37B400; Mon, 18 Mar 2002 10:31:51 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id C3C51AE160; Mon, 18 Mar 2002 10:31:51 -0800 (PST) Date: Mon, 18 Mar 2002 10:31:51 -0800 From: Alfred Perlstein To: John Baldwin Cc: Robert Watson , smp@FreeBSD.ORG, current@FreeBSD.ORG, hitmaster2k@yahoo.com, phk@FreeBSD.ORG, tanimura@r.dl.itc.u-tokyo.ac.jp, Munehiro Matsuda Subject: Re: -current lock warning... Message-ID: <20020318183151.GA22622@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * John Baldwin [020318 10:24] wrote: > > On 17-Mar-2002 Robert Watson wrote: > > > > On Sun, 17 Mar 2002, Alfred Perlstein wrote: > > > >> * Munehiro Matsuda [020317 06:36] wrote: > >> > > >> > PS. I got another message that happend when I ^C'ed a buildworld earlier, > >> > with same kernel. May be it should go to Alfred Perlstein? > >> > > >> > lock order reversal > >> > 1st 0xc198eec0 pipe mutex @ ../../../kern/sys_pipe.c:779 > >> > 2nd 0xc0367fe0 Giant @ ../../../i386/i386/trap.c:716 > >> > >> I think there's a place where the pipe can fault on an address while > >> copying, I'll take a look at this. > > > > Are there any assertions that should be in place for copyin/copyout > > requring fault handling? It sounds like somewhere we need to assert that > > Giant is held... > > More correct is that probably no locks other than Giant should be held for > copyin/copyout. s/probably/definetly. Can you please provide a "blessed" API for raising and lowering a "can't block" count in the thread? This can be used in copyout, copyin, and a bunch of vm and buffer ops to make sure we aren't calling them with mutexes held. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Mar 18 10:43: 7 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id DAC6A37B417 for ; Mon, 18 Mar 2002 10:42:56 -0800 (PST) Received: (qmail 23647 invoked from network); 18 Mar 2002 18:42:55 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 18 Mar 2002 18:42:55 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g2IIhOv53857; Mon, 18 Mar 2002 13:43:24 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020318183151.GA22622@elvis.mu.org> Date: Mon, 18 Mar 2002 13:42:58 -0500 (EST) From: John Baldwin To: Alfred Perlstein Subject: Re: -current lock warning... Cc: Munehiro Matsuda , tanimura@r.dl.itc.u-tokyo.ac.jp, phk@FreeBSD.ORG, hitmaster2k@yahoo.com, current@FreeBSD.ORG, smp@FreeBSD.ORG, Robert Watson Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 18-Mar-2002 Alfred Perlstein wrote: > * John Baldwin [020318 10:24] wrote: >> >> On 17-Mar-2002 Robert Watson wrote: >> > >> > On Sun, 17 Mar 2002, Alfred Perlstein wrote: >> > >> >> * Munehiro Matsuda [020317 06:36] wrote: >> >> > >> >> > PS. I got another message that happend when I ^C'ed a buildworld >> >> > earlier, >> >> > with same kernel. May be it should go to Alfred Perlstein? >> >> > >> >> > lock order reversal >> >> > 1st 0xc198eec0 pipe mutex @ ../../../kern/sys_pipe.c:779 >> >> > 2nd 0xc0367fe0 Giant @ ../../../i386/i386/trap.c:716 >> >> >> >> I think there's a place where the pipe can fault on an address while >> >> copying, I'll take a look at this. >> > >> > Are there any assertions that should be in place for copyin/copyout >> > requring fault handling? It sounds like somewhere we need to assert that >> > Giant is held... >> >> More correct is that probably no locks other than Giant should be held for >> copyin/copyout. > > s/probably/definetly. > > Can you please provide a "blessed" API for raising and lowering a > "can't block" count in the thread? This can be used in copyout, > copyin, and a bunch of vm and buffer ops to make sure we aren't calling > them with mutexes held. *sigh* I've never objected to it and even provided you with tips on how to implement it. What more do you want? I'm not really sure we need it though to be honest as the implicit checks done by witness will probably ensure this for us. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Mar 19 19:34:48 2002 Delivered-To: freebsd-smp@freebsd.org Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by hub.freebsd.org (Postfix) with ESMTP id 61E1037B417 for ; Tue, 19 Mar 2002 19:34:33 -0800 (PST) Received: from localhost.localdomain (earth.hub.org [64.49.215.11]) by localhost (Postfix) with ESMTP id 40266103412; Tue, 19 Mar 2002 23:34:27 -0400 (AST) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by earth.hub.org (Postfix) with ESMTP id 158F31036AF; Tue, 19 Mar 2002 23:34:15 -0400 (AST) Date: Tue, 19 Mar 2002 23:34:14 -0400 (AST) From: "Marc G. Fournier" To: Terry Lambert Cc: Kenneth Culver , Steve Wingate , Subject: Re: Intel Xeon hyperthreading In-Reply-To: <3C9118D6.81B9FD62@mindspring.com> Message-ID: <20020319233305.T12196-100000@mail1.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 14 Mar 2002, Terry Lambert wrote: > So the answer is really a question... does the original poster > have their patches to GCC ready so that we can compile code > that tests hyperthreading? My question to your question ... does anyone know if the GCC group is working on such a patch/optimization? From your response, it sounds more like a compiler issue right now then an OS one ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Mar 20 8:20:30 2002 Delivered-To: freebsd-smp@freebsd.org Received: from nyapp002.mediaondemand.com (mailhost.mediaondemand.com [208.184.36.78]) by hub.freebsd.org (Postfix) with ESMTP id 9E86B37B400 for ; Wed, 20 Mar 2002 08:20:18 -0800 (PST) Received: from sdf.lonestar.org (nyfwext.mediaondemand.com [64.29.108.225]) by nyapp002.mediaondemand.com (8.11.6/8.11.6) with ESMTP id g2KGKHr01023 for ; Wed, 20 Mar 2002 11:20:17 -0500 (EST) Message-ID: <3C98B6C1.3A7750FD@sdf.lonestar.org> Date: Wed, 20 Mar 2002 11:20:17 -0500 From: Dundo Reply-To: dundo@sdf.lonestar.org Organization: Freelancer X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,hr MIME-Version: 1.0 To: freebsd-smp@FreeBSD.org Subject: Problems with Compaq hardware and SMP Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've tried to install FreeBSD 4.5 on Compaq Professional Workstation 5000. This machine has dual Pentium Pro 200 but I can't make BSD to recognize both processors. It works fine with one CPU only. Any suggestions? TNX Dundo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Mar 20 8:30:30 2002 Delivered-To: freebsd-smp@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by hub.freebsd.org (Postfix) with ESMTP id ED18537B416 for ; Wed, 20 Mar 2002 08:30:26 -0800 (PST) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.11.6/8.11.6) with ESMTP id g2KGUNX37877; Wed, 20 Mar 2002 11:30:23 -0500 (EST) (envelope-from winter@jurai.net) Date: Wed, 20 Mar 2002 11:30:23 -0500 (EST) From: "Matthew N. Dodd" To: Dundo Cc: freebsd-smp@FreeBSD.ORG Subject: Re: Problems with Compaq hardware and SMP In-Reply-To: <3C98B6C1.3A7750FD@sdf.lonestar.org> Message-ID: <20020320112705.H72312-100000@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 20 Mar 2002, Dundo wrote: > I've tried to install FreeBSD 4.5 on Compaq Professional Workstation > 5000. This machine has dual Pentium Pro 200 but I can't make BSD to > recognize both processors. It works fine with one CPU only. Any > suggestions? This machine is essentially a Compaq Proliant 850R with a desktop faceplate. It works just fine for me. Set the OS to "Linux" in the "BIOS" (Compaq utility partition; F10 on boot). Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.5-STABLE #1: Wed Feb 20 04:41:04 EST 2002 root@sasami.jurai.net:/vol/h0/system/src/sys/compile/PROLIANT850R Timecounter "i8254" frequency 1193182 Hz CPU: Pentium Pro (199.43-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping = 9 Features=0xfbff real memory = 268435456 (262144K bytes) avail memory = 257347584 (251316K bytes) Changing APIC ID for IO APIC #0 from 0 to 2 on chip Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 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 ... They're pretty nice boxes, aside from the RAM for them being hard to find, and expensive. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Mar 20 15:40:53 2002 Delivered-To: freebsd-smp@freebsd.org Received: from msr84.hinet.net (msr84.hinet.net [168.95.4.184]) by hub.freebsd.org (Postfix) with ESMTP id AE38E37B41A for ; Wed, 20 Mar 2002 15:40:19 -0800 (PST) Received: from chris ([211.72.17.235]) by msr.hinet.net (8.8.8/8.8.8) with SMTP id FAA20323 for ; Thu, 21 Mar 2002 05:50:29 +0800 (CST) Message-ID: <000e01c1d059$b8e47050$eb1148d3@chris> From: "=?big5?B?r7iq+A==?=" To: Subject: SMP Error in VIA 694 based bord Date: Thu, 21 Mar 2002 05:53:50 +0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000A_01C1D09C.C6258DB0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C1D09C.C6258DB0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_000B_01C1D09C.C6258DB0" ------=_NextPart_001_000B_01C1D09C.C6258DB0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable Dear Sir:=20 I am useing Tyan Tiger 200(S2505),it's VIA Pro 133A chipset(VT82c694x = noth bridge),running SMP 2 Pentium III cpus,with FreeBSD 4.5 stable and = many 4.x version, it's often crash (about 1 day), but no regular, and I = use "top" command to see cpu idle %,if I start to use SMP mode, It = always not function after booted a span (about few hours) Does any idea to help me? thank you. Ref. ftp://ftp.tyan.com/datasheets/d_s2505_180.pdf enc dmesg and mptable infomation ------=_NextPart_001_000B_01C1D09C.C6258DB0 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
Dear Sir:
 
I am useing Tyan Tiger = 200(S2505),it's VIA Pro=20 133A chipset(VT82c694x noth bridge),running SMP 2 Pentium III cpus,with = FreeBSD=20 4.5 stable and many 4.x version, it's often crash (about 1 day), = but no=20 regular, and I use "top" command to see cpu idle %,if I start to use SMP = mode,=20 It always not function after booted a span (about few = hours)
 
Does any idea to help me? thank = you.
 
Ref.
ftp://ftp.tyan.com= /datasheets/d_s2505_180.pdf
 
enc
 
dmesg and mptable=20 infomation
------=_NextPart_001_000B_01C1D09C.C6258DB0-- ------=_NextPart_000_000A_01C1D09C.C6258DB0 Content-Type: text/plain; name="mptable.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mptable.txt" mp table on 1 cpu =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D MPTable, version 2.0.15 -------------------------------------------------------------------------= ------ MP Floating Pointer Structure: location: BIOS physical address: 0x000f6170 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0x80 mode: Virtual Wire -------------------------------------------------------------------------= ------ MP Config Table Header: physical address: 0x000f1400 signature: 'PCMP' base table length: 260 version: 1.1 checksum: 0xea OEM ID: 'OEM00000' Product ID: 'PROD00000000' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 24 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 8 6 = 0xfbff 1 0x11 AP, usable 6 8 6 = 0xfbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID = PIN# ExtINT conforms conforms 2 0 2 = 0 INT conforms conforms 2 1 2 = 1 INT conforms conforms 2 0 2 = 2 INT conforms conforms 2 3 2 = 3 INT conforms conforms 2 4 2 = 4 INT conforms conforms 2 6 2 = 6 INT conforms conforms 2 7 2 = 7 INT active-hi edge 2 8 2 = 8 INT conforms conforms 2 9 2 = 9 INT conforms conforms 2 12 2 = 12 INT conforms conforms 2 13 2 = 13 INT conforms conforms 2 14 2 = 14 INT conforms conforms 2 15 2 = 15 INT active-lo level 2 11 2 = 11 INT active-lo level 2 10 2 = 10 INT active-lo level 2 5 2 = 5 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID = PIN# ExtINT conforms conforms 2 0 255 = 0 NMI conforms conforms 2 0 255 = 1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D mptable /SMP on =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D MPTable, version 2.0.15 -------------------------------------------------------------------------= ------ MP Floating Pointer Structure: location: BIOS physical address: 0x000f6170 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0x80 mode: Virtual Wire -------------------------------------------------------------------------= ------ MP Config Table Header: physical address: 0x000f1400 signature: 'PCMP' base table length: 260 version: 1.1 checksum: 0xea OEM ID: 'OEM00000' Product ID: 'PROD00000000' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 24 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 8 6 = 0xfbff 1 0x11 AP, usable 6 8 6 = 0xfbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID = PIN# ExtINT conforms conforms 2 0 2 = 0 INT conforms conforms 2 1 2 = 1 INT conforms conforms 2 0 2 = 2 INT conforms conforms 2 3 2 = 3 INT conforms conforms 2 4 2 = 4 INT conforms conforms 2 5 2 = 5 INT conforms conforms 2 6 2 = 6 INT conforms conforms 2 7 2 = 7 INT active-hi edge 2 8 2 = 8 INT conforms conforms 2 9 2 = 9 INT conforms conforms 2 13 2 = 13 INT conforms conforms 2 14 2 = 14 INT conforms conforms 2 15 2 = 15 INT active-lo level 2 11 2 = 11 INT active-lo level 2 10 2 = 10 INT active-lo level 2 12 2 = 12 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID = PIN# ExtINT conforms conforms 2 0 255 = 0 NMI conforms conforms 2 0 255 = 1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D ------=_NextPart_000_000A_01C1D09C.C6258DB0 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.txt" dmesg on 1 cpu Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD 4.5-RC #0: Wed Mar 20 08:25:15 GMT 2002 yifan@forum.pcdvd.com.tw:/usr/src/sys/compile/ICEMAN0204 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (701.59-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x686 Stepping =3D 6 = Features=3D0x383fbff real memory =3D 1610547200 (1572800K bytes) avail memory =3D 1563664384 (1527016K bytes) Preloaded elf kernel "kernel" at 0xc03b7000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00fdc60 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 = on pci0 pci1: on pcib2 pci0: at 6.0 irq 5 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd400-0xd40f at device 7.1 = on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 5 pci0: at 7.3 irq 5 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe800-0xe87f mem = 0xd4203000-0xd420 307f irq 11 at device 15.0 on pci0 xl0: Ethernet address: 00:04:76:d9:8d:79 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib1: on motherboard pci2: on pcib1 orm0:
My=20 solution is to trash the Tyan motherboard. We;ve had nothing but = problems with=20 our Tyan motherboard and our SMP freebsd system. In addition, the ram = for our=20 board is proprietary and costs a fortune to buy more IF we can even find = a=20 supplier that has it, which is another problem. Tyan is complete junk = from my=20 point of view. I would never use it again.
 
S
-----Original Message-----
From:=20 owner-freebsd-smp@FreeBSD.ORG = [mailto:owner-freebsd-smp@FreeBSD.ORG]On=20 Behalf Of =AF=B8=AA=F8
Sent: Wednesday, March 20, 2002 = 1:54=20 PM
To: freebsd-smp@FreeBSD.ORG
Subject: SMP Error = in VIA=20 694 based bord

Dear Sir:
 
I am useing Tyan Tiger = 200(S2505),it's VIA Pro=20 133A chipset(VT82c694x noth bridge),running SMP 2 Pentium III = cpus,with=20 FreeBSD 4.5 stable and many 4.x version, it's often crash (about = 1 day),=20 but no regular, and I use "top" command to see cpu idle %,if I start = to use=20 SMP mode, It always not function after booted a span (about few=20 hours)
 
Does any idea to help me? thank=20 you.
 
Ref.
ftp://ftp.tyan.com= /datasheets/d_s2505_180.pdf
 
enc
 
dmesg and mptable=20 infomation
------=_NextPart_000_0058_01C1D02C.5DAAD620-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Mar 20 16:40:41 2002 Delivered-To: freebsd-smp@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id CB98237B400 for ; Wed, 20 Mar 2002 16:40:33 -0800 (PST) Received: from pool0083.cvx22-bradley.dialup.earthlink.net ([209.179.198.83] helo=mindspring.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16nqd3-0000fP-00; Wed, 20 Mar 2002 16:40:29 -0800 Message-ID: <3C992BE9.169C1501@mindspring.com> Date: Wed, 20 Mar 2002 16:40:09 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Dreamtime.net Inc." Cc: =?iso-8859-1?Q?=A1=C2=A1Mao?= , freebsd-smp@FreeBSD.ORG Subject: Re: SMP Error in VIA 694 based bord References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Neither of you say a thing about what the actual crash is. If it's a trap 12, try adding "option DISABLE_PSE" to your config file. The Tyan Tiger is a bit more sensitive to coherency problems than most SMP motherboards. It's the VIA chipset, not the motherboard itself, I think. -- Terry "Dreamtime.net Inc." wrote: > = > Part 1.1 Type: Plain Text (text/plain) > Encoding: 8bit My solution is to trash the Tyan motherboard. We;ve had nothing but probl= ems with our Tyan motherboard and our SMP freebsd system. In addition, the ra= m for our board is proprietary and costs a fortune to buy more IF we can ev= en find a supplier that has it, which is another problem. Tyan is complete j= unk from my point of view. I would never use it again. S -----Original Message----- From: owner-freebsd-smp@FreeBSD.ORG [mailto:owner-freebsd-smp@FreeBSD.ORG]On Behalf Of =AF=B8=AA=F8 Sent: Wednesday, March 20, 2002 1:54 PM To: freebsd-smp@FreeBSD.ORG Subject: SMP Error in VIA 694 based bord Dear Sir: I am useing Tyan Tiger 200(S2505),it's VIA Pro 133A chipset(VT82c694x n= oth bridge),running SMP 2 Pentium III cpus,with FreeBSD 4.5 stable and many 4= =2Ex version, it's often crash (about 1 day), but no regular, and I use "top" command to see cpu idle %,if I start to use SMP mode, It always not funct= ion after booted a span (about few hours) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Mar 20 17:19:45 2002 Delivered-To: freebsd-smp@freebsd.org Received: from turbo.dreamtime.net (dreamtime.net [209.61.206.24]) by hub.freebsd.org (Postfix) with ESMTP id 1530A37B400 for ; Wed, 20 Mar 2002 17:19:37 -0800 (PST) Received: from piii (lsanca1-ar8-120-154.lsanca1.dsl.gtei.net [4.35.120.154]) by turbo.dreamtime.net (8.11.1/8.11.1) with SMTP id g2L1JPV84156; Wed, 20 Mar 2002 20:19:25 -0500 (EST) (envelope-from clients@dreamtime.net) From: "Dreamtime.net Inc." To: "Terry Lambert" Cc: =?iso-8859-1?B?ocKhTWFv?= , Subject: RE: SMP Error in VIA 694 based bord Date: Wed, 20 Mar 2002 17:20:22 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <3C992BE9.169C1501@mindspring.com> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The board we have is the Thunder LE S2510 using a serverworks chipset. S > -----Original Message----- > From: Terry Lambert [mailto:tlambert2@mindspring.com] > Sent: Wednesday, March 20, 2002 4:40 PM > To: Dreamtime.net Inc. > Cc: ‾﹐ao; freebsd-smp@FreeBSD.ORG > Subject: Re: SMP Error in VIA 694 based bord > > > Neither of you say a thing about what the actual crash is. > > If it's a trap 12, try adding "option DISABLE_PSE" to your > config file. > > The Tyan Tiger is a bit more sensitive to coherency problems > than most SMP motherboards. It's the VIA chipset, not the > motherboard itself, I think. > > -- Terry > > "Dreamtime.net Inc." wrote: > > > > Part 1.1 Type: Plain Text (text/plain) > > Encoding: 8bit > > My solution is to trash the Tyan motherboard. We;ve had nothing > but problems > with our Tyan motherboard and our SMP freebsd system. In addition, the ram > for our board is proprietary and costs a fortune to buy more IF > we can even > find a supplier that has it, which is another problem. Tyan is > complete junk > from my point of view. I would never use it again. > > S > -----Original Message----- > From: owner-freebsd-smp@FreeBSD.ORG > [mailto:owner-freebsd-smp@FreeBSD.ORG]On Behalf Of 站長 > Sent: Wednesday, March 20, 2002 1:54 PM > To: freebsd-smp@FreeBSD.ORG > Subject: SMP Error in VIA 694 based bord > > > Dear Sir: > > I am useing Tyan Tiger 200(S2505),it's VIA Pro 133A > chipset(VT82c694x noth > bridge),running SMP 2 Pentium III cpus,with FreeBSD 4.5 stable > and many 4.x > version, it's often crash (about 1 day), but no regular, and I use "top" > command to see cpu idle %,if I start to use SMP mode, It always > not function > after booted a span (about few hours) > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Mar 20 17:45:57 2002 Delivered-To: freebsd-smp@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 089C837B41A for ; Wed, 20 Mar 2002 17:45:48 -0800 (PST) Received: from pool0083.cvx22-bradley.dialup.earthlink.net ([209.179.198.83] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16nreC-0006jg-00; Wed, 20 Mar 2002 17:45:44 -0800 Message-ID: <3C993B32.51FEA151@mindspring.com> Date: Wed, 20 Mar 2002 17:45:22 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Dreamtime.net Inc." Cc: =?iso-8859-1?Q?=A1=C2=A1Mao?= , freebsd-smp@FreeBSD.ORG Subject: Re: SMP Error in VIA 694 based bord References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "Dreamtime.net Inc." wrote: > The board we have is the Thunder LE S2510 using a serverworks chipset. > > S I don't use the Thunder series motherboards, because of their other limitations. However, no posting has yet elaborated on what the actual crash looks like. I'm going to go out on a limb and assume that the server doesn't disolve into cockroaches and scuttle away, and that the case doesn't split apart and reassemble like the cube in "Hell Raiser" (horrifyingly no longer fitting into a 19" rackmount enclosure), and that there's an actual panic message and/or traceback, that just hasn't been posted yet because there's a mistaken assumption out there that we don't find tracebacks useful for debugging kernel crashes? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Mar 21 14:25:46 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail16.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id F24EE37B417 for ; Thu, 21 Mar 2002 14:25:42 -0800 (PST) Received: (qmail 782 invoked from network); 21 Mar 2002 22:25:41 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 21 Mar 2002 22:25:41 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g2LMQIv67587 for ; Thu, 21 Mar 2002 17:26:18 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Thu, 21 Mar 2002 17:25:42 -0500 (EST) From: John Baldwin To: smp@FreeBSD.org Subject: Giant instrumentation Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Kelly Yancey implemented most of the syscall Giant instrumentation stuff I outlined in an earlier e-mail. I have since mostly finished it and changed a few things. Most of the changes were design changes so that the instrumentation stuff was as separated from the rest of the kernel (and thus easily condionitionally compiled out with minimal impact) as possible. Also, it now provides better support for handling other ABIs. It's not complete yet (it only has instrumentation for the native ABI at the moment) but I wanted to post this patch for feedback. I have tested it some and it is being tested some more on alpha and x86 at the moment. The patch can be found at: http://www.FreeBSD.org/~jhb/patches/giantvars.patch -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Mar 21 14:50:54 2002 Delivered-To: freebsd-smp@freebsd.org Received: from corb.mc.mpls.visi.com (corb.mc.mpls.visi.com [208.42.156.1]) by hub.freebsd.org (Postfix) with ESMTP id 344C937B4A4 for ; Thu, 21 Mar 2002 14:50:05 -0800 (PST) Received: from tecra (tholt.dsl.visi.com [208.42.141.53]) by corb.mc.mpls.visi.com (Postfix) with SMTP id 6BFA481CF for ; Thu, 21 Mar 2002 16:50:04 -0600 (CST) From: "Tim Holtan" To: Subject: Another SMP board that works Date: Thu, 21 Mar 2002 16:49:03 -0600 Message-ID: <000a01c1d12a$99fb4f20$6400a8c0@tecra> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have a Soyo 5TH with a pair of 200MHz Pentium MMX processors on it. I have 256Mb of RAM on it (SIMMs). I'm running 4.4 with the SMP stuff compiled in. It's doing nicely running as a webserver. Tim Holtan http://www.tholt.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Mar 21 15:51:51 2002 Delivered-To: freebsd-smp@freebsd.org Received: from spock.webexc.com (zzz-216043142149.splitrock.net [216.43.142.149]) by hub.freebsd.org (Postfix) with ESMTP id 3F22E37B400 for ; Thu, 21 Mar 2002 15:51:38 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by spock.webexc.com (Postfix) with ESMTP id CA9EA4D5 for ; Thu, 21 Mar 2002 18:56:05 -0500 (EST) Date: Thu, 21 Mar 2002 18:56:05 -0500 (EST) From: Matt Barton X-X-Sender: mbarton@spock.webexc.com To: freebsd-smp@freebsd.org Subject: FreeBSD 4.5: Second CPU Not Working on Dell PowerEdge 1650 Message-ID: <20020321183805.D1449-100000@spock.webexc.com> Organization: Webexcellence MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello I am not a subscriber to this list so I would appreciate direct replies to my mailbox. Thanks. Okay. My company recently acquired a new Dell PowerEdge 1650. These are new Dell boxes that seem to be mostly based on the 1550 model. We were able to get a deal on the machine and thus received a second processor. I'm not able to get FreeBSD to boot with the second processor enabled. It will boot just fine, but will only enable the first CPU. I am a total novice at FreeBSD with SMP enabled. FreeBSD wopr.webexc.com 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #0: Thu Mar 21 15:00:17 EST 2002 root@wopr.webexc.com:/usr/obj/usr/src/sys/WOPR i386 To enable SMP, I modified two lines in a copy of the GENERIC kernel configuration. options SMP options APIC_IO After compiling the kernel, I installed it and rebooted. The server came up with no problems, but with only one processor enabled. Not sure what I need to do from here, which I why I am writing this e-mail. I have included the output of "dmesg" and "mptable" below for you viewing. The pertainent error that I'm seeing at boot time is the following. APIC_IO: Testing 8254 interrupt delivery APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2 APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0 SMP: AP CPU #1 Launched! To me this looks like some kind of hardware incompatibility with the new 1650 model and FreeBSD, which isn't suprising considering these models were just released a month or so ago. Please let me know what you guys think. If I need to update my source to -stable, I can do that. Also, is there any way other than looking at "mptable" to know if the second processor is actually being used? Would "top" show me CPU stats for both processors? Just curious -- my first time doing this. Thank you! ===== Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.5-RELEASE-p2 #0: Thu Mar 21 15:00:17 EST 2002 root@wopr.webexc.com:/usr/obj/usr/src/sys/WOPR Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1127.91-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff real memory = 268369920 (262080K bytes) avail memory = 257638400 (251600K bytes) Changing APIC ID for IO APIC #0 from 0 to 2 on chip Changing APIC ID for IO APIC #1 from 0 to 3 on chip Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 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: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 3, version: 0x000f0011, at 0xfec01000 Preloaded elf kernel "kernel" at 0xc0371000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 8 entries at 0xc00fc230 npx0: on motherboard npx0: INT 16 interface pcib1: on motherboard IOAPIC #1 intpin 1 -> irq 2 IOAPIC #1 intpin 0 -> irq 3 IOAPIC #1 intpin 2 -> irq 5 IOAPIC #1 intpin 3 -> irq 7 pci1: on pcib1 em0: port 0xdce0-0xdcff mem 0xfeb40000-0xfeb5ffff,0xfeb60000-0xfeb7ffff irq 2 at device 2.0 on pci1 em0: Speed:10 Mbps Duplex:Half em1: port 0xdcc0-0xdcdf mem 0xfeb00000-0xfeb1ffff,0xfeb20000-0xfeb3ffff irq 3 at device 4.0 on pci1 em1: Speed:N/A Duplex:N/A ahc0: port 0xd800-0xd8ff mem 0xfeb81000-0xfeb81fff irq 5 at device 6.0 on pci1 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: port 0xd400-0xd4ff mem 0xfeb80000-0xfeb80fff irq 7 at device 6.1 on pci1 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs pcib0: on motherboard pci0: on pcib0 pci0: at 12.0 atapci0: port 0x8b0-0x8bf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ohci0: mem 0xfe100000-0xfe100fff irq 11 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered isab0: at device 15.3 on pci0 isa0: on isab0 pcib2: on motherboard pci2: on pcib2 pcib3: on motherboard pci3: on pcib3 pcib4: on motherboard pci4: on pcib4 orm0: