From nobody@FreeBSD.org  Wed Sep 16 11:42:29 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 03839106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Sep 2009 11:42:29 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E63908FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Sep 2009 11:42:28 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8GBgShF069375
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Sep 2009 11:42:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n8GBgSmF069374;
	Wed, 16 Sep 2009 11:42:28 GMT
	(envelope-from nobody)
Message-Id: <200909161142.n8GBgSmF069374@www.freebsd.org>
Date: Wed, 16 Sep 2009 11:42:28 GMT
From: Tim Chen <gphoto6@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: panic: UMA: page_free used with invalid flags 4 on 7-STABLE around 2009/09/10
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         138876
>Category:       kern
>Synopsis:       [uma] [panic] UMA: page_free used with invalid flags 4 on 7-STABLE around 2009/09/10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 16 11:50:01 UTC 2009
>Closed-Date:    Wed May 02 15:53:51 UTC 2012
>Last-Modified:  Wed May 02 15:53:51 UTC 2012
>Originator:     Tim Chen
>Release:        FreeBSD-7-Stable
>Organization:
>Environment:
FreeBSD xxxxxxx 7.2-STABLE FreeBSD 7.2-STABLE #7: Wed Sep  12 15:48:03 CST 2009     root@xxxxxx:/usr/src/sys/amd64/compile/Server amd64
>Description:
Hello,

My server was using FreeBSD-7-Stable and performing
a mail server. Software I used is postfix 2.6.3
and dovecot 1.2.4.
The hardware is IBM blade server HS-21
CPU: dual Intel E5335 @ 2.00GHz 
MEM: 3G
HD: onboard LSI RAID controller with 2 73G SAS HD.
(mpt0: <LSILogic SAS/SATA Adapter>)
The system is very stable until last week. After
csup the FreeBSD-7-STABLE source to around 2009/09/10,
it will halt randomly around every several hours. The
error message I saw  on console was the following:
 
panic: UMA: page_free used with invalid flags 4
cpuid = 0
Uptime: 3h1m14s
Physical memory: 3064MB
Dumping 1544MB: 1529 1513 1497....................
Reading freebsd-stable mailing shows there is some
vm related modfication during the first week of Sep.
(the panic: vm_phys_paddr_to_vm_page: paddr 0x series)
So, I csup my src back to 2009/09/01, the problem
disappeared, and system comes back with stable state.
Today, I csup my src to latest 7-STABLE (2009/09/15)
and problem comes again. It seems the problem is still 
there and not be solved yet.

Would you please help to fix it?

Thanks very much.
Sincerely,
Tim Chen


>How-To-Repeat:
1. Using an IBM Blade HS21 server
2. Install FreeBSD-7
3. csup src later than 2009/09/10
4. make world/kernel
5. running as a medium load server (postfix/dovecot)
6. it will panic randomly about every several hours
7. you will see:
   panic: UMA: page_free used with invalid flags 4
>Fix:
1. csup src before 2009/09/01
2. guess the root cause is sys/vm/* related code changed between 2009/09/01 ~ 2009/09/10

>Release-Note:
>Audit-Trail:

From: Mikko Tyolajarvi <mikko.tyolajarvi@gmail.com>
To: bug-followup@FreeBSD.org, gphoto6@gmail.com
Cc:  
Subject: Re: kern/138876: [uma] [panic] UMA: page_free used with invalid flags 
	4 on 7-STABLE around 2009/09/10
Date: Wed, 16 Dec 2009 22:11:52 -0800

 This looks like it could be fixed by revision 200030 to 7-stable on
 Dec 2.  I updated and
 have been running some stress tests without problems.  You may want to
 give it a try.
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Sat Mar 10 09:02:36 UTC 2012 
State-Changed-Why:  
Can you still reproduce this on recent FreeBSD versions? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138876 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Wed May 2 15:53:50 UTC 2012 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138876 
>Unformatted:
