From owner-freebsd-stable@FreeBSD.ORG Wed Apr 4 14:01:15 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 73EDE16A407 for ; Wed, 4 Apr 2007 14:01:15 +0000 (UTC) (envelope-from gb@isis.u-strasbg.fr) Received: from chimie.u-strasbg.fr (chimie.u-strasbg.fr [130.79.40.6]) by mx1.freebsd.org (Postfix) with ESMTP id E669B13C4B9 for ; Wed, 4 Apr 2007 14:01:14 +0000 (UTC) (envelope-from gb@isis.u-strasbg.fr) Received: from 6nq.u-strasbg.fr (chimie.u-strasbg.fr [130.79.40.6]) by chimie.u-strasbg.fr (Postfix) with ESMTP id 11700FC21 for ; Wed, 4 Apr 2007 15:36:18 +0200 (CEST) Received: by 6nq.u-strasbg.fr (Postfix, from userid 1001) id 0F75817118; Wed, 4 Apr 2007 15:36:12 +0200 (CEST) Date: Wed, 4 Apr 2007 15:36:11 +0200 From: Guy Brand To: freebsd-stable@freebsd.org Message-ID: <20070404133611.GG1339@isis.u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline x-gpg-fingerprint: B423 4924 012E 52F3 BA9E 547F CC8C 0BC5 9C0E B1CA x-gpg-key: 9C0EB1CA User-Agent: Mutt/1.5.14 (2007-02-12) Subject: Panic on reboot with gmirror+gjournal X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 14:01:15 -0000 Hi all, I have a setup on 6-STABLE from today with two identical disks in a gm0 provider and 3 gjournal providers on it: Geom name: gm0 State: COMPLETE Components: 2 Balance: round-robin Slice: 1 Flags: NONE GenID: 0 SyncID: 1 ID: 2763081532 Providers: 1. Name: mirror/gm0 Mediasize: 500107861504 (466G) Sectorsize: 512 Mode: r3w3e4 Consumers: 1. Name: ad5 Mediasize: 500107862016 (466G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 2315942152 2. Name: ad6 Mediasize: 500107862016 (466G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 1 Flags: NONE GenID: 0 SyncID: 1 ID: 3121293515 Geom name: gjournal 1524581050 ID: 1524581050 Providers: 1. Name: mirror/gm0f.journal Mediasize: 106300440064 (99G) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: mirror/gm0f Mediasize: 107374182400 (100G) Sectorsize: 512 Mode: r1w1e1 Jend: 107374181888 Jstart: 106300440064 Role: Data,Journal Geom name: gjournal 1230399956 ID: 1230399956 Providers: 1. Name: mirror/gm0g.journal Mediasize: 192199785984 (179G) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: mirror/gm0g Mediasize: 193273528320 (180G) Sectorsize: 512 Mode: r1w1e1 Jend: 193273527808 Jstart: 192199785984 Role: Data,Journal Geom name: gjournal 1616155040 ID: 1616155040 Providers: 1. Name: mirror/gm0h.journal Mediasize: 193061356032 (180G) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: mirror/gm0h Mediasize: 194135098368 (181G) Sectorsize: 512 Mode: r1w1e1 Jend: 194135097856 Jstart: 193061356032 Role: Data,Journal Everything works fine until I reboot. At the end of the shutdown I see the 3 journals being shut down, then gm0 being destroyed but then gjournal tries to do something more, which is probably wrong as all the consumers have disappeared: All buffers synced Uptime: 16m27s GEOM_JOURNAL: Shutting down geom gjournal 1616155040. GEOM_JOURNAL: Shutting down geom gjournal 1230399956. GEOM_JOURNAL: Shutting down geom gjournal 1524581050. GEOM_MIRROR: Device gm0: provider mirror/gm0 destroyed. GEOM_MIRROR: Device gm0 destroyed. GEOM_JOURNAL: Fatal trap 12: page fault while in kernel mode ... On manual reset, FS come up clean of course, so there is not much harm, but it would be better if I could fix that. -- bug