From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 29 00:38:47 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1631616A4B3 for ; Mon, 29 Sep 2003 00:38:47 -0700 (PDT) Received: from bjpu.edu.cn (egw.bjpu.edu.cn [202.112.78.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id F12BD43FBD for ; Mon, 29 Sep 2003 00:38:43 -0700 (PDT) (envelope-from liukang@bjpu.edu.cn) Received: (eyou gateway send program); Mon, 29 Sep 2003 15:41:55 +0800 X-EYOU-ORIGINAL-IP: 202.112.78.224 X-EYOU-ENVELOPE-MAILFROM: liukang@bjpu.edu.cn Received: from unknown (HELO lkatschool) (unknown@202.112.78.224) by 202.112.78.77 with ; Mon, 29 Sep 2003 15:41:55 +0800 From: "Kang Liu" To: Date: Mon, 29 Sep 2003 15:35:11 +0800 Message-ID: <004901c3865c$37bf4120$e04e70ca@lkatschool> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Can not dump on raid dev? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2003 07:38:47 -0000 Hi, I'm trying to save a crashdump into /var/crash but it fails. Here is my config files: # dmesg | grep amr amr0: mem 0xf0000000-0xf7ffffff irq 3 at device 0.0 on pci3 amr0: Firmware 1.92, BIOS 3.31, 128MB RAM amrd0: on amr0 amrd0: 17278MB (35385344 sectors) RAID 0 (optimal) GEOM: create disk amrd0 dp=0xc7de088c amrd1: on amr0 amrd1: 51834MB (106156032 sectors) RAID 0 (optimal) GEOM: create disk amrd1 dp=0xc7de078c ses0 at amr0 bus 0 target 6 lun 0 Mounting root from ufs:/dev/amrd0s1a in rc.conf: dumpdev="/dev/amrd0s1b" dumpdir="/var/crash" in my kernel conf-file: options DDB option DDB_UNATTENDED makeoptions DEBUG=-g # disklabel -r /dev/amrd0 # /dev/amrd0: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 524288 0 4.2BSD 2048 16384 32776 b: 8345024 524288 swap c: 35385344 0 unused 0 0 # "raw" part, don't edit d: 524288 8869312 4.2BSD 2048 16384 32776 e: 524288 9393600 4.2BSD 2048 16384 32776 f: 25467456 9917888 4.2BSD 2048 16384 28552 # cat /etc/fstab |grep amrd0s1b /dev/amrd0s1b none dump sw 0 0 #before I start the test, I run "dumpon -v /dev/amrd0s1b". It seems ok. # dumpon -v /dev/amrd0s1b kernel dumps on /dev/amrd0s1b when the system crashes, it doesn't save any crashdump. I've tried the same config on a machine with IDE disk, the crashdump can be saved. Do I miss something, or the crashdump can not be saved on a raid device? Kang.