From owner-freebsd-bugs@FreeBSD.ORG Mon Jan 21 19:20:03 2008 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 0FEC916A419 for ; Mon, 21 Jan 2008 19:20:03 +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 EFCDD13C448 for ; Mon, 21 Jan 2008 19:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0LJK2qT089139 for ; Mon, 21 Jan 2008 19:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0LJK2Yr089138; Mon, 21 Jan 2008 19:20:02 GMT (envelope-from gnats) Resent-Date: Mon, 21 Jan 2008 19:20:02 GMT Resent-Message-Id: <200801211920.m0LJK2Yr089138@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, "Johan A. van Zanten" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B55EB16A41A for ; Mon, 21 Jan 2008 19:16:27 +0000 (UTC) (envelope-from johan@giantfoo.org) Received: from pangu.giantfoo.org (pangu.giantfoo.org [24.227.169.103]) by mx1.freebsd.org (Postfix) with ESMTP id 36B7313C458 for ; Mon, 21 Jan 2008 19:16:26 +0000 (UTC) (envelope-from johan@giantfoo.org) Received: from localhost (localhost [127.0.0.1]) by pangu.giantfoo.org (Postfix) with ESMTP id 2F476122A2 for ; Mon, 21 Jan 2008 12:59:49 -0600 (CST) Message-Id: <20080121.125948.131912746.johan@giantfoo.org> Date: Mon, 21 Jan 2008 12:59:48 -0600 (CST) From: "Johan A. van Zanten" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: kern/119868: 7.0 kernel panic during boot with ZFS and WD1600JS 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: Mon, 21 Jan 2008 19:20:03 -0000 >Number: 119868 >Category: kern >Synopsis: 7.0 kernel panic during boot with ZFS and WD1600JS >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 21 19:20:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Johan A. van Zanten >Release: FreeBSD 7.0-PRERELEASE i386 >Organization: >Environment: System: FreeBSD laozi 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #5: Tue Jan 1 03:14:32 CST 2008 johan@laozi:/local/build/FreeBSD/obj/i386/tew/006/no-backup/src/FreeBSD/FreeBSD-7.0/src/sys/DONGFEN i386 >Description: This is a brand new installation. The panic also occurs with the GENERIC kernel. Boot device is a SCSI disk on a seperate controller. Before the drive is setup for use as a ZFS device, the kernel identifies it as: kernel: twed0: on twe0 kernel: twed0: 152627MB (312581808 sectors) kernel: GEOM_LABEL: Label for provider twed0p1 is msdosfs/EFI. This is a Western Digial, WD1600JS SATA drive, connected to a 3ware 8002-LP card (2-port SATA, PCI). Last time the drive was used in a different computer and OS, it was in good working order. After the device is setup for use with ZFS (via :zpool create ..." command), at the next boot, the kernel panics when it begins to scan the attached disks. (Just after the "Waiting 5 seconds for SCSI devices to settle" message.) What's interesting is that different SATA drive on the same port of the same card does not cause the panic. The "good" drive is a Western Digital WD360 (SATA, 36 GB). boot-time kernel output: twe1: 152627MB (312581808 sectors) GEOM: new disk twed0 GEOM: new disk twed1 Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 01 fault virtual address = 0x3f80 fault code = supervisors read, page not present instruction pointer = 0x20:0xc06d0e2c stack pointer = 0x28:0xe2fb4b60 frame pointer = 0x28:0xe2fb4c58 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2 (g_event) trap number = 12 panic: page fault Uptime: 1s Cannot dump. No dumpdevice defined. Automatic reboot in 15 seconds - press a key on the console to abort >How-To-Repeat: Do "zpool create poolname $dev". Reboot the machine. >Fix: disconnect the drive. (not much of a workaround. :) >Release-Note: >Audit-Trail: >Unformatted: