From owner-freebsd-alpha@FreeBSD.ORG Sun Sep 18 16:10:27 2005 Return-Path: X-Original-To: freebsd-alpha@freebsd.org Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17F6816A41F for ; Sun, 18 Sep 2005 16:10:27 +0000 (GMT) (envelope-from macgyver@calibre-solutions.co.uk) Received: from mail.calibre-solutions.co.uk (ns0.calibre-solutions.co.uk [217.79.104.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FB2C43D46 for ; Sun, 18 Sep 2005 16:10:26 +0000 (GMT) (envelope-from macgyver@calibre-solutions.co.uk) Received: from vmx.calibre-solutions.co.uk (unknown [172.16.1.3]) by mail.calibre-solutions.co.uk (Postfix) with ESMTP id F0C413F8D for ; Sun, 18 Sep 2005 16:10:16 +0000 (UTC) Received: from yavin4.calibre-solutions.co.uk (yavin4.calibre-solutions.co.uk [172.16.1.25]) by vmx.calibre-solutions.co.uk (Postfix) with ESMTP id E6A9EAF88 for ; Sun, 18 Sep 2005 17:09:21 +0100 (BST) From: Angus MacGyver To: freebsd-alpha@freebsd.org Content-Type: text/plain Date: Sun, 18 Sep 2005 17:10:23 +0100 Message-Id: <1127059823.13699.20.camel@yavin4.calibre-solutions.co.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-6) Content-Transfer-Encoding: 7bit Subject: more Fun with Jails. X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 16:10:27 -0000 Hi all... Currently running 5.4, p5 with 4 jails configured and running their own nice software.. Coming up to looking at the firewall situation.. so, did this.. ipfw add 0100 allow ip from any to any via lo0 ... ... When I actually set this rule up to log, i can see all traffice between the 4 jails is going via lo0.. Ok, great, sorta.... 1) It's good as nothing is seen on the outside world 2) It's bad, as it means that any traffic to/from all jails and it's host is allowed, which I may not want to do for any obvious reason. Question is.. Can I force any traffic from one jail, say 10.0.1.2 to 10.0.1.3 go via a real interface, say xl0, and then apply nice firewall rules as expected, or do i have to put up with this situation??? (I am setting up allowing ip from any to any via lo0 simply as a lot of internal things will break, or so I am led to beleive) Can anyone assist ? Regards AM -- Angus MacGyver From owner-freebsd-alpha@FreeBSD.ORG Mon Sep 19 11:02:05 2005 Return-Path: X-Original-To: freebsd-alpha@freebsd.org Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63C2F16A420 for ; Mon, 19 Sep 2005 11:02:05 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C133C43D55 for ; Mon, 19 Sep 2005 11:02:04 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8JB24LH017976 for ; Mon, 19 Sep 2005 11:02:04 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8JB23Ld017970 for freebsd-alpha@freebsd.org; Mon, 19 Sep 2005 11:02:03 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 19 Sep 2005 11:02:03 GMT Message-Id: <200509191102.j8JB23Ld017970@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-alpha@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2005 11:02:05 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/12/20] alpha/75317 alpha ATA DMA broken on PCalpha 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/02/05] alpha/47952 alpha DEFPA causes machine check with V5.0-rele o [2003/11/10] alpha/59116 alpha [ntfs] mount_ntfs of a Windows 2000-forma o [2004/01/26] alpha/61940 alpha Can't disklabel new disk from FreeBSD/alp o [2004/01/27] alpha/61973 alpha Machine Check on boot-up of AlphaServer 2 f [2004/06/06] alpha/67626 alpha X crashes an alpha machine, resulting reb 5 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/02/22] alpha/25284 alpha PC164 won't reboot with graphics console f [2001/07/29] alpha/29299 alpha FreeBSD 4.3 Alpha + Tekram SCSI adapter p o [2002/05/13] alpha/38031 alpha osf1.ko not loaded during boot-time of li o [2003/02/25] alpha/48676 alpha Changing the baud rate of serial consoles o [2003/04/12] alpha/50868 alpha fd0 floppy device is not mapped into /dev o [2004/05/10] alpha/66478 alpha unexpected machine check: panic for 4.9, o [2004/06/13] alpha/67903 alpha hw.chipset.memory: 1099511627776 - thats 7 problems total. From owner-freebsd-alpha@FreeBSD.ORG Mon Sep 19 14:55:27 2005 Return-Path: X-Original-To: alpha@freebsd.org Delivered-To: freebsd-alpha@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05BB616A41F; Mon, 19 Sep 2005 14:55:27 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E439843D64; Mon, 19 Sep 2005 14:55:22 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9]) by smarthost2.sentex.ca (8.13.3/8.13.3) with ESMTP id j8JEtLRZ045756; Mon, 19 Sep 2005 10:55:21 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.3/8.13.3) with ESMTP id j8JEtLwF000302; Mon, 19 Sep 2005 10:55:21 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id A4F767302F; Mon, 19 Sep 2005 10:55:21 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20050919145521.A4F767302F@freebsd-current.sentex.ca> Date: Mon, 19 Sep 2005 10:55:21 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on clamscanner1 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.51 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on alpha/alpha X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2005 14:55:27 -0000 TB --- 2005-09-19 14:38:19 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2005-09-19 14:38:19 - starting HEAD tinderbox run for alpha/alpha TB --- 2005-09-19 14:38:19 - cleaning the object tree TB --- 2005-09-19 14:38:40 - checking out the source tree TB --- 2005-09-19 14:38:40 - cd /tinderbox/HEAD/alpha/alpha TB --- 2005-09-19 14:38:40 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2005-09-19 14:44:47 - building world (CFLAGS=-O2 -pipe) TB --- 2005-09-19 14:44:47 - cd /src TB --- 2005-09-19 14:44:47 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] from /src/lib/libkvm/kvm.c:48: /obj/alpha/src/tmp/usr/include/machine/pmap.h:45:1: unterminated #ifndef In file included from /obj/alpha/src/tmp/usr/include/sys/user.h:50, from /src/lib/libkvm/kvm.c:48: /obj/alpha/src/tmp/usr/include/vm/pmap.h:68:1: unterminated #ifndef In file included from /src/lib/libkvm/kvm.c:48: /obj/alpha/src/tmp/usr/include/sys/user.h:37:1: unterminated #ifndef /obj/alpha/src/tmp/usr/include/sys/user.h:33:1: unterminated #ifndef *** Error code 1 Stop in /src/lib/libkvm. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2005-09-19 14:55:21 - WARNING: /usr/bin/make returned exit code 1 TB --- 2005-09-19 14:55:21 - ERROR: failed to build world TB --- 2005-09-19 14:55:21 - tinderbox aborted From owner-freebsd-alpha@FreeBSD.ORG Mon Sep 19 17:41:47 2005 Return-Path: X-Original-To: alpha@freebsd.org Delivered-To: freebsd-alpha@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD74D16A41F; Mon, 19 Sep 2005 17:41:47 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2964343D48; Mon, 19 Sep 2005 17:41:46 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j8JHfhBS037105 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 19 Sep 2005 19:41:45 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j8JHf5eG094987 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Sep 2005 19:41:06 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id j8JHf58H001851; Mon, 19 Sep 2005 19:41:05 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id j8JHf5Fx001850; Mon, 19 Sep 2005 19:41:05 +0200 (CEST) (envelope-from ticso) Date: Mon, 19 Sep 2005 19:41:05 +0200 From: Bernd Walter To: FreeBSD Tinderbox Message-ID: <20050919174104.GC552@cicely12.cicely.de> References: <20050919145521.A4F767302F@freebsd-current.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050919145521.A4F767302F@freebsd-current.sentex.ca> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Report: * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on cicely12.cicely.de Cc: alpha@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on alpha/alpha X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2005 17:41:48 -0000 On Mon, Sep 19, 2005 at 10:55:21AM -0400, FreeBSD Tinderbox wrote: > [...] > from /src/lib/libkvm/kvm.c:48: > /obj/alpha/src/tmp/usr/include/machine/pmap.h:45:1: unterminated #ifndef > In file included from /obj/alpha/src/tmp/usr/include/sys/user.h:50, > from /src/lib/libkvm/kvm.c:48: > /obj/alpha/src/tmp/usr/include/vm/pmap.h:68:1: unterminated #ifndef > In file included from /src/lib/libkvm/kvm.c:48: > /obj/alpha/src/tmp/usr/include/sys/user.h:37:1: unterminated #ifndef > /obj/alpha/src/tmp/usr/include/sys/user.h:33:1: unterminated #ifndef My fault, just tested kernel builds. Will commit a fix soon. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-alpha@FreeBSD.ORG Wed Sep 21 06:46:50 2005 Return-Path: X-Original-To: freebsd-alpha@hub.freebsd.org Delivered-To: freebsd-alpha@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C90016A41F; Wed, 21 Sep 2005 06:46:50 +0000 (GMT) (envelope-from kris@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BD2643D45; Wed, 21 Sep 2005 06:46:50 +0000 (GMT) (envelope-from kris@FreeBSD.org) Received: from freefall.freebsd.org (kris@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8L6knwM067626; Wed, 21 Sep 2005 06:46:49 GMT (envelope-from kris@freefall.freebsd.org) Received: (from kris@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8L6knAR067622; Wed, 21 Sep 2005 06:46:49 GMT (envelope-from kris) Date: Wed, 21 Sep 2005 06:46:49 GMT From: Kris Kennaway Message-Id: <200509210646.j8L6knAR067622@freefall.freebsd.org> To: kris@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-alpha@FreeBSD.org Cc: Subject: Re: alpha/85346: PREEMPTION causes unstability in Alpha4000 SMP kernel X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 06:46:50 -0000 Synopsis: PREEMPTION causes unstability in Alpha4000 SMP kernel Responsible-Changed-From-To: freebsd-bugs->freebsd-alpha Responsible-Changed-By: kris Responsible-Changed-When: Wed Sep 21 06:46:32 GMT 2005 Responsible-Changed-Why: Sounds alpha-specific http://www.freebsd.org/cgi/query-pr.cgi?pr=85346 From owner-freebsd-alpha@FreeBSD.ORG Wed Sep 21 15:00:39 2005 Return-Path: X-Original-To: freebsd-alpha@freebsd.org Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 488A516A41F for ; Wed, 21 Sep 2005 15:00:39 +0000 (GMT) (envelope-from bobhead@frontiernet.net) Received: from relay03.roc.ny.frontiernet.net (relay03.roc.ny.frontiernet.net [66.133.182.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5368243D79 for ; Wed, 21 Sep 2005 15:00:30 +0000 (GMT) (envelope-from bobhead@frontiernet.net) Received: from filter03.roc.ny.frontiernet.net (filter03.roc.ny.frontiernet.net [66.133.183.70]) by relay03.roc.ny.frontiernet.net (Postfix) with ESMTP id 9F0CB35853E for ; Wed, 21 Sep 2005 15:00:22 +0000 (UTC) Received: from relay03.roc.ny.frontiernet.net ([66.133.182.166]) by filter03.roc.ny.frontiernet.net (filter03.roc.ny.frontiernet.net [66.133.183.70]) (amavisd-new, port 10024) with LMTP id 13784-01-30 for ; Wed, 21 Sep 2005 15:00:22 +0000 (UTC) Received: from smtp.frontiernet.net (70-96-78-188.dsl1.ado.il.frontiernet.net [70.96.78.188]) by relay03.roc.ny.frontiernet.net (Postfix) with SMTP id 9F6F5358541 for ; Wed, 21 Sep 2005 15:00:21 +0000 (UTC) From: "Ron Nelson" Date: Wed, 21 Sep 2005 10:01:20 To: freebsd-alpha@freebsd.org MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <20050921150021.9F6F5358541@relay03.roc.ny.frontiernet.net> X-Virus-Scanned: by amavisd-new-2.3.2 (20050629) at filter03.roc.ny.frontiernet.net Subject: school mascot items X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 15:00:39 -0000 Mascot items made to your specifications. Minimum quantity is only 120. Priced for great profits Bobblehead mascots-- Mascot ornaments-- Magnets-- Chain pulls-- Garden stepping stones with school name and logo or mascot-- Special teacher, coach or individual We can probably make any item you can think of at an unbelievably low price. Email us for quotes and questions. rnelson@bobhead.com go here for a details page www.bobhead.com/process.htm Please pass this information on to your sports boosters or anyone interested in mascot items for fund raising. Our online school catalog www.bobhead.com/catalog.htm Nelson Sports Collectibles www.bobhead.com 800 275 3586 From owner-freebsd-alpha@FreeBSD.ORG Wed Sep 21 19:20:11 2005 Return-Path: X-Original-To: freebsd-alpha@hub.freebsd.org Delivered-To: freebsd-alpha@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D269516A426 for ; Wed, 21 Sep 2005 19:20:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 966FD43D45 for ; Wed, 21 Sep 2005 19:20:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8LJKBPA063081 for ; Wed, 21 Sep 2005 19:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8LJKBSJ063080; Wed, 21 Sep 2005 19:20:11 GMT (envelope-from gnats) Date: Wed, 21 Sep 2005 19:20:11 GMT Message-Id: <200509211920.j8LJKBSJ063080@freefall.freebsd.org> To: freebsd-alpha@FreeBSD.org From: John Baldwin Cc: Subject: Re: alpha/85346: PREEMPTION causes unstability in Alpha4000 SMP kernel X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 19:20:12 -0000 The following reply was made to PR alpha/85346; it has been noted by GNATS. From: John Baldwin To: bug-followup@FreeBSD.org, ken@alicorntech.com Cc: Subject: Re: alpha/85346: PREEMPTION causes unstability in Alpha4000 SMP kernel Date: Wed, 21 Sep 2005 15:17:01 -0400 Hmm, I still don't run with PREEMPTION enabled on my DS20 on HEAD. In my experience I haven't gotten any panics, just hard locks when I have enabled PREEMPTION and SMP on Alpha. You can try testing this patch to see if it helps things at all though: --- //depot/projects/smpng/sys/alpha/alpha/interrupt.c 2005/04/14 18:55:16 +++ //depot/user/jhb/preemption/alpha/alpha/interrupt.c 2005/04/14 19:32:16 @@ -427,6 +427,13 @@ atomic_add_long(i->cntp, 1); /* + * It seems that we need to return from an interrupt back to PAL + * on the same CPU that received the interrupt, so pin the interrupted + * thread to the current CPU until we return from the interrupt. + */ + sched_pin(); + + /* * Handle a fast interrupt if there is no actual thread for this * interrupt by calling the handler directly without Giant. Note * that this means that any fast interrupt handler must be MP safe. @@ -435,26 +442,18 @@ if ((ih->ih_flags & IH_FAST) != 0) { critical_enter(); ih->ih_handler(ih->ih_argument); - /* XXX */ - curthread->td_owepreempt = 0; critical_exit(); - return; - } + } else { + if (ithd->it_disable) { + CTR1(KTR_INTR, + "alpha_dispatch_intr: disabling vector 0x%x", + i->vector); + ithd->it_disable(ithd->it_vector); + } - if (ithd->it_disable) { - CTR1(KTR_INTR, - "alpha_dispatch_intr: disabling vector 0x%x", i->vector); - ithd->it_disable(ithd->it_vector); + error = ithread_schedule(ithd); + KASSERT(error == 0, ("got an impossible stray interrupt")); } - - /* - * It seems that we need to return from an interrupt back to PAL - * on the same CPU that received the interrupt, so pin the interrupted - * thread to the current CPU until we return from the interrupt. - */ - sched_pin(); - error = ithread_schedule(ithd); - KASSERT(error == 0, ("got an impossible stray interrupt")); sched_unpin(); } --- //depot/projects/smpng/sys/kern/kern_thread.c 2005/05/27 14:58:46 +++ //depot/user/jhb/preemption/kern/kern_thread.c 2005/05/27 19:03:12 @@ -955,9 +957,11 @@ mtx_assert(&sched_lock, MA_OWNED); PROC_LOCK_ASSERT(p, MA_OWNED); if (!P_SHOULDSTOP(p)) { + critical_enter(); while ((td = TAILQ_FIRST(&p->p_suspended))) { thread_unsuspend_one(td); } + critical_exit(); } else if ((P_SHOULDSTOP(p) == P_STOPPED_SINGLE) && (p->p_numthreads == p->p_suspcount)) { /* @@ -992,9 +996,11 @@ * to continue however as this is a bad place to stop. */ if ((p->p_numthreads != 1) && (!P_SHOULDSTOP(p))) { + critical_enter(); while ((td = TAILQ_FIRST(&p->p_suspended))) { thread_unsuspend_one(td); } + critical_exit(); } mtx_unlock_spin(&sched_lock); } --- //depot/projects/smpng/sys/kern/subr_sleepqueue.c 2005/09/15 19:40:43 +++ //depot/user/jhb/preemption/kern/subr_sleepqueue.c 2005/09/15 20:09:55 @@ -410,9 +410,10 @@ * just return. */ if (td->td_sleepqueue != NULL) { - MPASS(!TD_ON_SLEEPQ(td)); mtx_unlock_spin(&sc->sc_lock); mtx_lock_spin(&sched_lock); + MPASS(!TD_ON_SLEEPQ(td)); + MPASS(!TD_IS_SLEEPING(td)); return; } --- //depot/projects/smpng/sys/vm/vm_glue.c 2005/05/27 14:58:46 +++ //depot/user/jhb/preemption/vm/vm_glue.c 2005/05/27 19:03:12 @@ -556,6 +556,7 @@ vm_thread_swapin(td); PROC_LOCK(p); + critical_enter(); mtx_lock_spin(&sched_lock); p->p_sflag &= ~PS_SWAPPINGIN; p->p_sflag |= PS_INMEM; @@ -570,6 +571,7 @@ /* Allow other threads to swap p out now. */ --p->p_lock; + critical_exit(); } #endif /* NO_SWAPPING */ } -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-alpha@FreeBSD.ORG Fri Sep 23 21:29:56 2005 Return-Path: X-Original-To: freebsd-alpha@freebsd.org Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D8FE16A421 for ; Fri, 23 Sep 2005 21:29:56 +0000 (GMT) (envelope-from procedurally@armachining.com) Received: from chb63.neoplus.adsl.tpnet.pl (chb63.neoplus.adsl.tpnet.pl [83.30.255.63]) by mx1.FreeBSD.org (Postfix) with SMTP id 2644143D5F for ; Fri, 23 Sep 2005 21:29:46 +0000 (GMT) (envelope-from procedurally@armachining.com) Received: from 233.88.36.175 (EHLO Rutland) by chb63.neoplus.adsl.tpnet.pl with SMTP; Fri, 23 Sep 2005 23:29:33 +0200 id 7125999219flaking89693 for freebsd-alpha@freebsd.org; Fri, 23 Sep 2005 23:29:33 +0200 Mime-Version: 1.0 (Apple Message framework v728) Content-Transfer-Encoding: 7bit Message-Id: <482140405.4291045539@chb63.neoplus.adsl.tpnet.pl> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-alpha@freebsd.org From: Job Date: Fri, 23 Sep 2005 23:29:32 +0200 X-Mailer: Apple Mail (2.728) Subject: soft at incredibly low prices X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2005 21:29:56 -0000 A wide range of software applications, drivers, and more. http://rcazfm.429msbsssnsum44zrm4hrm4m.restesibmb.com/?dgj Machines take me by surprise with great frequency. Appearances often are deceiving. Accept what people offer. Drink their milkshakes. Take their love. Hardness shatters; strength endures. When you come to a fork in the road, take it. Anger at lies lasts forever. Anger at truth can't last.