From owner-freebsd-current@FreeBSD.ORG Wed Jul 28 09:58:30 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2172416A4CE; Wed, 28 Jul 2004 09:58:30 +0000 (GMT) Received: from freebee.digiware.nl (dsl390.iae.nl [212.61.63.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED5CA43D1D; Wed, 28 Jul 2004 09:58:28 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from dual (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with SMTP id i6S9wNsF019267; Wed, 28 Jul 2004 11:58:23 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <035e01c47489$6d983650$471b3dd4@digiware.nl> From: "Willem Jan Withagen" To: "Alan Cox" , "Robert Watson" References: <022801c47429$b8957420$471b3dd4@digiware.nl> <20040728035340.GA18577@cs.rice.edu> Date: Wed, 28 Jul 2004 11:58:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 cc: bzeeb+freebsd+lor@zabbadoz.net cc: alc@FreeBSD.ORG cc: current@FreeBSD.ORG cc: jhb@FreeBSD.ORG Subject: Re: Fatal LOR: PV ENTRY (UMA zone) @ /home2/src/sys/vm/uma_core.c:2033 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 09:58:30 -0000 From: "Alan Cox" Subject: Re: Fatal LOR: PV ENTRY (UMA zone) @ /home2/src/sys/vm/uma_core.c:2033 > The lock-order reversal that precedes this panic makes little sense: > > lock order reversal > 1st 0xffffff007fed7c10 PV ENTRY (UMA zone) @ /home2/src/sys/vm/uma_core.c:2033 > 2nd 0xffffffff8063dce0 UMA pcpu (UMA pcpu) @ /home2/src/sys/vm/uma_core.c:2015 > > This corresponds to: > > void > uma_zfree_arg(uma_zone_t zone, void *item, void *udata) > { > ... > zfree_restart: > cpu = PCPU_GET(cpuid); > CPU_LOCK(cpu); *** 2nd *** > cache = &zone->uz_cpu[cpu]; > > zfree_start: > bucket = cache->uc_freebucket; > > if (bucket) { > /* > * Do we have room in our bucket? It is OK for this uz count > * check to be slightly out of sync. > */ > > if (bucket->ub_cnt < bucket->ub_entries) { > KASSERT(bucket->ub_bucket[bucket->ub_cnt] == NULL, > ("uma_zfree: Freeing to non free bucket index.")); > bucket->ub_bucket[bucket->ub_cnt] = item; > bucket->ub_cnt++; > #ifdef INVARIANTS > ZONE_LOCK(zone); *** 1st *** > if (keg->uk_flags & UMA_ZONE_MALLOC) > uma_dbg_free(zone, udata, item); > else > uma_dbg_free(zone, NULL, item); > ZONE_UNLOCK(zone); > #endif > CPU_UNLOCK(cpu); > return; As per Alan suggestion of "faulty/bad designed" hardware, I've also ordered a Tyan Tiger board. But the mailorder company messed the order, and now al of a sudden they are sold out. :( So it won't be for another week that I'll get the board. Right before I go sailing for a week. So only after that I'll be running on new hardware.... Note that with this mornings CURRENT it does seem to survive my standard abuse... PREEMPTION is included with this kernel --WjW