Can not dump on raid dev?
From: Kang Liu (liukang_at_bjpu.edu.cn)
Date: 09/29/03
- Previous message: Vladimir B. Grebenschikov: "nmdm question"
- Next in thread: Poul-Henning Kamp: "Re: Can not dump on raid dev?"
- Reply: Poul-Henning Kamp: "Re: Can not dump on raid dev?"
- Maybe reply: Kang Liu: "RE: Can not dump on raid dev?"
- Reply: Andrew Kinney: "Re: Can not dump on raid dev?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <freebsd-hackers@freebsd.org> Date: Mon, 29 Sep 2003 15:35:11 +0800
Hi,
I'm trying to save a crashdump into /var/crash but it fails.
Here is my config files:
# dmesg | grep amr
amr0: <LSILogic MegaRAID> mem 0xf0000000-0xf7ffffff irq 3 at device 0.0 on pci3
amr0: <LSILogic PERC 3/DC> Firmware 1.92, BIOS 3.31, 128MB RAM
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 17278MB (35385344 sectors) RAID 0 (optimal)
GEOM: create disk amrd0 dp=0xc7de088c
amrd1: <LSILogic MegaRAID logical drive> 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.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Vladimir B. Grebenschikov: "nmdm question"
- Next in thread: Poul-Henning Kamp: "Re: Can not dump on raid dev?"
- Reply: Poul-Henning Kamp: "Re: Can not dump on raid dev?"
- Maybe reply: Kang Liu: "RE: Can not dump on raid dev?"
- Reply: Andrew Kinney: "Re: Can not dump on raid dev?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Recent -current hangs on Tyan S2460 before finishing boot
... GEOM: create disk ad0 dp=0xc2e19370 ... : Received SDTR period
c, offset 8 ... (freebsd-current) - Strange networking problem on SPARC64
... on nexus0 ... sabtty0: on sab0 ... GEOM: create disk
da0 dp=0xfffff80000940c68 ... (freebsd-current) - Strange networking problem on SPARC64
... on nexus0 ... sabtty0: on sab0 ... GEOM: create disk
da0 dp=0xfffff80000940c68 ... (freebsd-net) - 5.4-RELEASE: asr/fxp interrupt storm
... pci1: <PCI bus> on pcib1 ... pci_cfgintr: 1:9 INTA BIOS irq 11
... GEOM: create disk da4 dp=0xc720b850 ... (freebsd-stable) - vinum drives crash in 5.2.1 but work in 4.9
... when I typed "vinum start" at the root prompt in 5.2.1 I got the ... ata2: at
0xe8020000 on atapci1 ... GEOM: create disk ad0 dp=0xc6a2d560 ...
(freebsd-questions)