From owner-freebsd-questions@FreeBSD.ORG Mon May 17 19:59:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBBE6106564A for ; Mon, 17 May 2010 19:59:47 +0000 (UTC) (envelope-from mahan@mahan.org) Received: from ns.mahan.org (ns.mahan.org [67.116.10.138]) by mx1.freebsd.org (Postfix) with ESMTP id 7605B8FC15 for ; Mon, 17 May 2010 19:59:47 +0000 (UTC) Received: from Gypsy.mahan.org (crowTrobot [67.116.10.140]) by ns.mahan.org (8.13.6/8.13.6) with ESMTP id o4HK0DrU079836 for ; Mon, 17 May 2010 13:00:14 -0700 (PDT) (envelope-from mahan@mahan.org) Message-ID: <4BF1A02E.4070604@mahan.org> Date: Mon, 17 May 2010 12:59:42 -0700 From: Patrick Mahan User-Agent: Thunderbird 2.0.0.22 (X11/20090605) MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Problems dumping to a SCSI device. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 19:59:47 -0000 Platform: HP 350DL FreeBSD version: FreeBSD 8.0 (amd64) Beginning of /var/run/dmesg.boot Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-RELEASE-p2 #0: Fri May 7 03:52:28 PDT 2010 build@build8064:/users/build/p4build/FBSD80REL/amd64/obj/users/build/p4build/FBSD80REL/src/sys/MPATH Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5440 @ 2.83GHz (2833.45-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0xce3bd AMD Features=0x20000800 AMD Features2=0x1 TSC: P-state invariant Disk info from /var/run/dmesg.boot ciss0: port 0x4000-0x40ff mem 0xfd600000-0xfd6fffff,0xfd5f0000-0xfd5f0fff irq 16 at device 0.0 on pci6 ciss0: PERFORMANT Transport ciss0: [ITHREAD] ... da0 at ciss0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 135.168MB/s transfers da0: Command Queueing enabled da0: 69973MB (143305920 512 byte sectors: 255H 32S/T 17562C) My /etc/fstab contains: # Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1e /usr ufs rw 2 2 /dev/da0s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0 Swap is 8 Gbytes and we are running with 4 Gbytes of memory. My issue is we are trying to track down an intermitten crash in the kernel, but cannot obtain a crash dumpfile. When a crash occurs I am seeing the following on the console: Fatal trap 12: page fault while in kernel mode cpuid = 5; apic id = 05 fault virtual address = 0x1a0 fault code = supervisor write, page not present instruction pointer = 0x20:0xffffffff80527396 stack pointer = 0x28:0xffffff80789d1ab0 frame pointer = 0x28:0xffffff80789d1af0 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 = 87253(ls) trap number = 12 uptime:2d3h44m24s Dumping 2020MB:Aborting dump due to I/O Error Status==0xb, SCSI status=bx0 Dump Failed (ERROR 5) This seems to be a failure in cam/scsi/scsi_da.c in dadump(). This was working for us under FreeBSD 6.2 (we just recently switched to using 8.0). Googling only turned up some issues way back in 4.x with different SCSI controllers, nothing for 8.0. Any pointers are appreciated. I get the same behavior when I force a panic using 'debug.kdb.panic=1' as well. Thanks, Patrick