From owner-freebsd-smp Sun Aug 25 7: 6:23 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E870B37B400 for ; Sun, 25 Aug 2002 07:06:21 -0700 (PDT) Received: from physik.uni-greifswald.de (alpha-theo1.physik.uni-greifswald.de [141.53.32.236]) by mx1.FreeBSD.org (Postfix) with SMTP id 6973243E3B for ; Sun, 25 Aug 2002 07:06:20 -0700 (PDT) (envelope-from kosse@physik.uni-greifswald.de) Received: (qmail 31076 invoked from network); 25 Aug 2002 14:06:18 -0000 Received: from pc-theo1.physik.uni-greifswald.de (141.53.32.233) by 0 with SMTP; 25 Aug 2002 14:06:18 -0000 Received: from kosse by pc-theo1.physik.uni-greifswald.de with local (Exim 3.35 #1 (Debian)) id 17iy1x-00009t-00 for ; Sun, 25 Aug 2002 16:06:17 +0200 Date: Sun, 25 Aug 2002 16:06:17 +0200 From: Sylvio Kosse To: freebsd-smp@FreeBSD.org Message-ID: <20020825140617.GA605@physik.uni-greifswald.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Operating-System: i686 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sun Aug 25 7:24:21 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5624A37B400 for ; Sun, 25 Aug 2002 07:24:20 -0700 (PDT) Received: from physik.uni-greifswald.de (alpha-theo1.physik.uni-greifswald.de [141.53.32.236]) by mx1.FreeBSD.org (Postfix) with SMTP id 5976643E6E for ; Sun, 25 Aug 2002 07:24:19 -0700 (PDT) (envelope-from kosse@physik.uni-greifswald.de) Received: (qmail 31173 invoked from network); 25 Aug 2002 14:24:18 -0000 Received: from pc-theo1.physik.uni-greifswald.de (141.53.32.233) by 0 with SMTP; 25 Aug 2002 14:24:17 -0000 Received: from kosse by pc-theo1.physik.uni-greifswald.de with local (Exim 3.35 #1 (Debian)) id 17iyJN-0000AX-00 for ; Sun, 25 Aug 2002 16:24:17 +0200 Date: Sun, 25 Aug 2002 16:24:17 +0200 From: Sylvio Kosse To: freebsd-smp@freebsd.org Subject: subscribe freebsd-smp Message-ID: <20020825142417.GA615@physik.uni-greifswald.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Operating-System: i686 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 subscribe freebsd-smp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Aug 26 12:15:26 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B0F337B400 for ; Mon, 26 Aug 2002 12:15:25 -0700 (PDT) Received: from www2.mailru.com (www2.mailru.com [80.68.244.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A54D43E3B for ; Mon, 26 Aug 2002 12:15:24 -0700 (PDT) (envelope-from FreeBSD@FromRU.com) Received: from ppp98-129.dialup.mtu-net.ru (ppp98-129.dialup.mtu-net.ru [212.188.98.129]) (authenticated bits=0) by www2.mailru.com (8.12.1/8.12.1) with ESMTP id g7QJFK0R051509 for ; Mon, 26 Aug 2002 23:15:21 +0400 (MSD) (envelope-from FreeBSD@FromRU.com) Date: Mon, 26 Aug 2002 23:18:15 +0400 From: FreeBSD@FromRU.com X-Mailer: The Bat! (v1.46d) Personal Reply-To: FreeBSD@FromRU.com Organization: Mercenaries Never Die, They Just Go To Hell To Regroup X-Priority: 3 (Normal) Message-ID: <9623532513.20020826231815@FromRU.com> To: freebsd-smp@FreeBSD.org Subject: subscribe FreeBSD-questions Mime-Version: 1.0 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 subscribe FreeBSD-SMP To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Aug 26 12:17:59 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 604AF37B400 for ; Mon, 26 Aug 2002 12:17:58 -0700 (PDT) Received: from www2.mailru.com (www2.mailru.com [80.68.244.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 630FE43E42 for ; Mon, 26 Aug 2002 12:17:57 -0700 (PDT) (envelope-from FreeBSD@FromRU.com) Received: from ppp98-129.dialup.mtu-net.ru (ppp98-129.dialup.mtu-net.ru [212.188.98.129]) (authenticated bits=0) by www2.mailru.com (8.12.1/8.12.1) with ESMTP id g7QJHs0R052048 for ; Mon, 26 Aug 2002 23:17:54 +0400 (MSD) (envelope-from FreeBSD@FromRU.com) Date: Mon, 26 Aug 2002 23:20:50 +0400 From: FreeBSD@FromRU.com X-Mailer: The Bat! (v1.46d) Personal Reply-To: FreeBSD@FromRU.com Organization: Mercenaries Never Die, They Just Go To Hell To Regroup X-Priority: 3 (Normal) Message-ID: <15423687638.20020826232050@FromRU.com> To: freebsd-smp@FreeBSD.org Subject: subscribe FreeBSD-questions Mime-Version: 1.0 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 subscribe FreeBSD-smp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Aug 26 20:59:12 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0A5D37B405 for ; Mon, 26 Aug 2002 20:59:09 -0700 (PDT) Received: from changeofhabit.mr.itd.umich.edu (changeofhabit.mr.itd.umich.edu [141.211.144.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9A2E43EAC for ; Mon, 26 Aug 2002 20:58:35 -0700 (PDT) (envelope-from johnec@umich.edu) Received: from mycpu.umich.edu (dsl-65-189-16-169.telocity.com [65.189.16.169]) by changeofhabit.mr.itd.umich.edu (8.9.3/3.2r) with ESMTP id XAA24057 for ; Mon, 26 Aug 2002 23:58:15 -0400 (EDT) Message-Id: <4.3.2.7.2.20020827000105.02371d48@j.imap.itd.umich.edu> X-Sender: johnec@j.imap.itd.umich.edu X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 27 Aug 2002 00:01:39 -0400 To: freebsd-smp@FreeBSD.org From: John Chang Subject: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Aug 27 20:28: 0 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D030837B400 for ; Tue, 27 Aug 2002 20:27:58 -0700 (PDT) Received: from harumscarum.mr.itd.umich.edu (harumscarum.mr.itd.umich.edu [141.211.125.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E28B43E42 for ; Tue, 27 Aug 2002 20:27:58 -0700 (PDT) (envelope-from johnec@umich.edu) Received: from mycpu.umich.edu (dsl-65-189-16-169.telocity.com [65.189.16.169]) by harumscarum.mr.itd.umich.edu (8.9.3/3.3s) with ESMTP id XAA17084 for ; Tue, 27 Aug 2002 23:27:56 -0400 (EDT) Message-Id: <4.3.2.7.2.20020827223652.0236bfd0@j.imap.itd.umich.edu> X-Sender: johnec@j.imap.itd.umich.edu X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 27 Aug 2002 23:31:43 -0400 To: freebsd-smp@FreeBSD.org From: John Chang Subject: List Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 Does FreeBSD work on Supermicro and Intel motherboards w/DUAL processors? Any site you can recommend? I've looked at a few sites and found a couple but not many. Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Aug 28 3:13: 5 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF81D37B400 for ; Wed, 28 Aug 2002 03:13:04 -0700 (PDT) Received: from peer.minagro.crimea.ua (peer.minagro.crimea.ua [195.5.58.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2A2D43E65 for ; Wed, 28 Aug 2002 03:12:42 -0700 (PDT) (envelope-from mishin@minagro.crimea.ua) Received: from peer.minagro.crimea.ua (localhost.minagro.crimea.ua [127.0.0.1]) by peer.minagro.crimea.ua (8.12.6/8.12.6) with ESMTP id g7SACLZR045370 for ; Wed, 28 Aug 2002 13:12:22 +0300 (EEST) Received: (from root@localhost) by peer.minagro.crimea.ua (8.12.6/8.12.3/Submit) id g7SACDOI045367 for freebsd-smp@FreeBSD.org; Wed, 28 Aug 2002 13:12:13 +0300 (EEST) Date: Wed, 28 Aug 2002 13:12:13 +0300 (EEST) From: "Mikhail V. Mishin" Message-Id: <200208281012.g7SACDOI045367@peer.minagro.crimea.ua> To: freebsd-smp@FreeBSD.org 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 subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Aug 28 8:16: 1 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BDE737B400; Wed, 28 Aug 2002 08:15:55 -0700 (PDT) Received: from paja.kn.vutbr.cz (paja.kn.vutbr.cz [147.229.191.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD33043E72; Wed, 28 Aug 2002 08:15:53 -0700 (PDT) (envelope-from ra@kn.vutbr.cz) Received: from kn.vutbr.cz (p2-204a.kn.vutbr.cz [147.229.100.10]) by paja.kn.vutbr.cz (8.11.6/8.11.6) with ESMTP id g7SFFSd11102; Wed, 28 Aug 2002 17:15:29 +0200 (CEST) (envelope-from ra@kn.vutbr.cz) Message-ID: <3D6CE910.4020407@kn.vutbr.cz> Date: Wed, 28 Aug 2002 17:15:28 +0200 From: Vaclav Musil User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 X-Accept-Language: cs, en MIME-Version: 1.0 To: Len Conrad Cc: Freebsd-questions@FreeBSD.ORG, Freebsd-smp@FreeBSD.ORG Subject: Re: supermicro boards for SMP References: <5.1.0.14.2.20020823051720.0ce4c008@mail.Go2France.com> Content-Type: text/plain; charset=us-ascii; format=flowed 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 tested SuperServer6022C with two iXeon 1.5GHz, it worked fine on 4.5 and 4.6pre. V. Len Conrad wrote: > One of my clients has or is considering these Supermicro boards for > FreeBSD: > > SUPER P4DLR > > SUPER P4DC6+ > > SUPER P4DP8-G2 > > as built into these boxes: > > http://www.supermicro.com/PRODUCT/SUPERServer/SuperServer6022L-6.htm > > http://www.supermicro.com/PRODUCT/SUPERServer/SuperServer6022C.htm > > http://www.supermicro.com/PRODUCT/SUPERServer/SuperServer6022P-8.htm > > > 1. Do these boxes work with FreeBSD in SMP mode (not mentioned on > Freebsd smp h/w page) ? > > 2. If these boxes have only one CPU (the client has badly, blindly > over-spec'd what he thinks he needs), should they run the standard or > SMP kernel? > > Thanks, > Len > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Aug 28 8:18:34 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D037137B400 for ; Wed, 28 Aug 2002 08:18:30 -0700 (PDT) Received: from paja.kn.vutbr.cz (paja.kn.vutbr.cz [147.229.191.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0B2D43E3B for ; Wed, 28 Aug 2002 08:18:29 -0700 (PDT) (envelope-from ra@kn.vutbr.cz) Received: from kn.vutbr.cz (p2-204a.kn.vutbr.cz [147.229.100.10]) by paja.kn.vutbr.cz (8.11.6/8.11.6) with ESMTP id g7SFHvd11951; Wed, 28 Aug 2002 17:17:58 +0200 (CEST) (envelope-from ra@kn.vutbr.cz) Message-ID: <3D6CE9A5.3010702@kn.vutbr.cz> Date: Wed, 28 Aug 2002 17:17:57 +0200 From: Vaclav Musil User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 X-Accept-Language: cs, en MIME-Version: 1.0 To: beemern Cc: smp@FreeBSD.ORG Subject: Re: 4.6 SMP won't boot correctly on Dual Xeon/Intel SE7500CW system board References: Content-Type: text/plain; charset=us-ascii; format=flowed 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 with 4.6.2 it also doesn't work. V. beemern wrote: > i get the same action as well > > perhaps 4.6.2 works?? > > can anyone say if this is a major or minor bug? ie. possible fix in near > future? or should i go with linux for my smp needs? > > thanks, > nathan > > > >>When I attempt to boot the system, the boot process halts at the >>following >>point: >> >>Programming 24 pins in IOAPIC #0 >>IOAPIC #0 intpin 2 -> irq #0 >>Programming 24 pins in IOAPIC #1 >>Programming 24 pins in IOAPIC #2 >>AP #1 (PHY# 6) failed! >>panic y/n? [y] > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Aug 28 8:48:28 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73EB837B400 for ; Wed, 28 Aug 2002 08:48:27 -0700 (PDT) Received: from cod.mar.dfo-mpo.gc.ca (cod.mar.dfo-mpo.gc.ca [142.176.61.253]) by mx1.FreeBSD.org (Postfix) with SMTP id 06A8343E65 for ; Wed, 28 Aug 2002 08:48:26 -0700 (PDT) (envelope-from CampbellG@mar.dfo-mpo.gc.ca) Received: id MAA25639; Wed, 28 Aug 2002 12:47:50 -0300 Received: by gateway id <0H1K00K8E9888F@bionet.bio.dfo.ca> for smp@freebsd.org; Wed, 28 Aug 2002 12:48:08 -0300 (ADT) Received: by gateway id ; Wed, 28 Aug 2002 12:48:08 -0300 Content-return: allowed Date: Wed, 28 Aug 2002 12:48:08 -0300 From: "Campbell, Glenn" Subject: Re: 4.6 SMP won't boot correctly on Dual Xeon/Intel SE7500CW syst em board To: smp@freebsd.org Message-id: <93FC2E7CA4507340BD77D154DD11B8AA2140D4@MARSYDE01> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" 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 FYI: We have tested Terry Lambert's suggestions from this post: http://groups.google.com/groups?q=freebsd+se7500cw2&hl=en&lr=&ie=UTF-8&oe=UT F-8&selm=akffuo%2410jo%241%40FreeBSD.csie.NCTU.edu.tw&rnum=5 Kernel was rebuilt after each change and we still have the same problem.. I am now going to attempt a bios flash.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Aug 28 12:18:41 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C93937B401 for ; Wed, 28 Aug 2002 12:18:34 -0700 (PDT) Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E36543E6E for ; Wed, 28 Aug 2002 12:18:33 -0700 (PDT) (envelope-from makonnen@pacbell.net) Received: from kokeb.ambesa.net ([64.166.85.234]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0H1K00LSCIYTZM@mta5.snfc21.pbi.net> for smp@FreeBSD.ORG; Wed, 28 Aug 2002 12:18:30 -0700 (PDT) Received: from kokeb.ambesa.net (tanstaafl@localhost [IPv6:::1]) by kokeb.ambesa.net (8.12.5/8.12.5) with ESMTP id g7SJVmlH001379 for ; Wed, 28 Aug 2002 12:31:48 -0700 (PDT envelope-from mtm@kokeb.ambesa.net) Received: (from mtm@localhost) by kokeb.ambesa.net (8.12.5/8.12.5/Submit) id g7SJVm8W001378; Wed, 28 Aug 2002 12:31:48 -0700 (PDT) Date: Wed, 28 Aug 2002 12:31:48 -0700 From: Mike Makonnen Subject: Locking questions To: smp@FreeBSD.ORG Message-id: <20020828123148.7717f871.makonnen@pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) 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 Hi folks, I resumed working on my resource limit lock patch, and I have a couple of questions. 1. I get "duplicate lock of same type" witness warnings because of this: limhold(plimit) { lock(plimit), bump refcount, unlock(plimit) } newlim = limget(); PROC_LOCK(p2); PROC_LOCK(p1); LIM_LOCK(p1->p_limit); if (p1->p_limit->p_lflags & PL_SHAREMOD) { limcopy(newlim, p1->p_limit); p2->p_limit = limhold(newlim); } else { p2->p_limit = limhold(p1->p_limit); } LIM_UNLOCK(p1->p_limit); PROC_UNLOCK(p1); PROC_UNLOCK(p2); limfree(newlim); newlim = NULL; I get this message in limhold() because of: p2->p_limit = limhold(p1->p_limit); Why is this bad? Is it safe to drop the p1->p_plimit lock right before I do the hold? It should be because you need both a PROC_LOCK and a LIM_LOCK to modify the plimit. 2. Should I add the plimit lock to static struct witness_order_list_entry order_lists[] ? What is the rationale behind the ordering of the list? Cheers, Mike Makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Aug 28 12:37: 4 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AAA437B400 for ; Wed, 28 Aug 2002 12:37:01 -0700 (PDT) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6C5243E6E for ; Wed, 28 Aug 2002 12:37:00 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 20511 invoked from network); 28 Aug 2002 19:36:59 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 28 Aug 2002 19:36:59 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.5/8.12.5) with ESMTP id g7SJawBQ042969; Wed, 28 Aug 2002 15:36:58 -0400 (EDT) (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: <20020828123148.7717f871.makonnen@pacbell.net> Date: Wed, 28 Aug 2002 15:37:01 -0400 (EDT) From: John Baldwin To: Mike Makonnen Subject: RE: Locking questions Cc: smp@FreeBSD.ORG 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 28-Aug-2002 Mike Makonnen wrote: > Hi folks, > > I resumed working on my resource limit lock patch, and I have a couple of > questions. > > 1. I get "duplicate lock of same type" witness warnings because of this: > > limhold(plimit) { lock(plimit), bump refcount, unlock(plimit) } > > newlim = limget(); > PROC_LOCK(p2); > PROC_LOCK(p1); > LIM_LOCK(p1->p_limit); > if (p1->p_limit->p_lflags & PL_SHAREMOD) { > limcopy(newlim, p1->p_limit); > p2->p_limit = limhold(newlim); > } else { > p2->p_limit = limhold(p1->p_limit); > } > LIM_UNLOCK(p1->p_limit); > PROC_UNLOCK(p1); > PROC_UNLOCK(p2); > limfree(newlim); > newlim = NULL; > > I get this message in limhold() because of: > p2->p_limit = limhold(p1->p_limit); > > Why is this bad? You could deadlock since you don't have a well-defined order of how multiple limit locks are acquired. > Is it safe to drop the p1->p_plimit lock > right before I do the hold? It should be because you need Yes, once you have done the limcopy, you can drop the limit lock for p1->p_limit. The proc lock should probably only protect the p_limit pointer, not the actual contents of the limits though. > 2. Should I add the plimit lock to > static struct witness_order_list_entry order_lists[] ? > What is the rationale behind the ordering of the list? The ordering in the list defines the order in which it is allowed to grab locks. Witness also figures this out on its own so it is not necessary to add the lock to the list unless you just really want to. -- 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 Aug 29 8:30:19 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D26BF37B401 for ; Thu, 29 Aug 2002 08:30:15 -0700 (PDT) Received: from cod.mar.dfo-mpo.gc.ca (cod.mar.dfo-mpo.gc.ca [142.176.61.253]) by mx1.FreeBSD.org (Postfix) with SMTP id 26B3243E65 for ; Thu, 29 Aug 2002 08:30:14 -0700 (PDT) (envelope-from CampbellG@mar.dfo-mpo.gc.ca) Received: id MAA17198; Thu, 29 Aug 2002 12:29:22 -0300 Received: by gateway id <0H1M00M9K31GS7@bionet.bio.dfo.ca> for smp@freebsd.org; Thu, 29 Aug 2002 12:29:40 -0300 (ADT) Received: by gateway id ; Thu, 29 Aug 2002 12:29:39 -0300 Content-return: allowed Date: Thu, 29 Aug 2002 12:29:37 -0300 From: "Campbell, Glenn" Subject: RE: 4.6 SMP won't boot correctly on Dual Xeon/Intel SE7500CW syst em board To: smp@freebsd.org Message-id: <93FC2E7CA4507340BD77D154DD11B8AA21425F@MARSYDE01> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset="iso-8859-1" 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 just flashed the bios to see if it would correct this problem but we are still experiencing the same panic. Is there anyone out there that can offer assistance with this? -----Original Message----- From: Campbell, Glenn [mailto:CampbellG@mar.dfo-mpo.gc.ca] Sent: August 28, 2002 12:48 PM To: smp@freebsd.org Subject: Re: 4.6 SMP won't boot correctly on Dual Xeon/Intel SE7500CW syst em board FYI: We have tested Terry Lambert's suggestions from this post: http://groups.google.com/groups?q=freebsd+se7500cw2&hl=en&lr=&ie=UTF-8&oe=UT F-8&selm=akffuo%2410jo%241%40FreeBSD.csie.NCTU.edu.tw&rnum=5 Kernel was rebuilt after each change and we still have the same problem.. I am now going to attempt a bios flash.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Aug 29 12:46: 3 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F38BC37B400 for ; Thu, 29 Aug 2002 12:45:59 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 377EB43E65 for ; Thu, 29 Aug 2002 12:45:06 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0180.cvx40-bradley.dialup.earthlink.net ([216.244.42.180] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17kVDp-0002au-00; Thu, 29 Aug 2002 12:44:53 -0700 Message-ID: <3D6E797C.5D16A616@mindspring.com> Date: Thu, 29 Aug 2002 12:43:56 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Campbell, Glenn" Cc: smp@freebsd.org Subject: Re: 4.6 SMP won't boot correctly on Dual Xeon/Intel SE7500CW syst emboard References: <93FC2E7CA4507340BD77D154DD11B8AA21425F@MARSYDE01> 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 "Campbell, Glenn" wrote: > I have just flashed the bios to see if it would correct this problem but we > are still experiencing the same panic. Is there anyone out there that can > offer assistance with this? Can you try FreeBSD 4.4 instead? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Aug 30 14:42:36 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A94237B400 for ; Fri, 30 Aug 2002 14:42:33 -0700 (PDT) Received: from mailhub.cns.ksu.edu (grunt.ksu.ksu.edu [129.130.12.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16F1743E6E for ; Fri, 30 Aug 2002 14:41:09 -0700 (PDT) (envelope-from beemern@ksu.edu) Received: from unix2.cc.ksu.edu (unix2.cc.ksu.edu [129.130.12.4]) by mailhub.cns.ksu.edu (8.9.1/8.9.1/mailhub+tar) with ESMTP id QAA01644 for ; Fri, 30 Aug 2002 16:41:07 -0500 (CDT) Received: from localhost (beemern@localhost) by unix2.cc.ksu.edu (8.11.6+Sun/8.11.6) with ESMTP id g7ULf7G16977 for ; Fri, 30 Aug 2002 16:41:07 -0500 (CDT) X-Authentication-Warning: unix2.cc.ksu.edu: beemern owned process doing -bs Date: Fri, 30 Aug 2002 16:41:07 -0500 (CDT) From: beemern X-X-Sender: To: Subject: Re: 4.6 SMP won't boot correctly on Dual Xeon/Intel 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 > Can you try FreeBSD 4.4 instead? > > -- Terry no dice there either. also flashed bios to the latest (v1.14) and made no difference; exact same error anything we se7500 owners can do to help resolve this issue? i cant speak for the others, and i'm no kernel hacker, but i'm no programming slouch either should there be stuff i(we) can investigate thanks nathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message