From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 16 11:50:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5C12106566C for ; Wed, 16 Sep 2009 11:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C2F428FC1A for ; Wed, 16 Sep 2009 11:50:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8GBo1ub092974 for ; Wed, 16 Sep 2009 11:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8GBo1f8092973; Wed, 16 Sep 2009 11:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 16 Sep 2009 11:50:01 GMT Resent-Message-Id: <200909161150.n8GBo1f8092973@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tim Chen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03839106566C for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138876: panic: UMA: page_free used with invalid flags 4 on 7-STABLE around 2009/09/10 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2009 11:50:03 -0000 >Number: 138876 >Category: kern >Synopsis: 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: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 16 11:50:01 UTC 2009 >Closed-Date: >Last-Modified: >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: ) 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: >Unformatted: