Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2007 11:24:26 +0100
From:      Tim Bishop <tim-lists@bishnet.net>
To:        freebsd-stable@freebsd.org
Subject:   Kernel Dumps on to gmirror device?
Message-ID:  <20070401102426.GA10818@carrick.bishnet.net>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I've got a 6.1 server that's panicing and I'd like to debug it. The
problem is that I can't get a kernel dump on to my gmirror device. It
looks like since 6.1 this has been supported (it says so in the release
notes). In my rc.conf I have:

	dumpdev="/dev/mirror/gm0s1b"$a

Which is my swap partition. On booting it says:

	kernel dumps on /dev/mirror/gm0s1b

But when it panics it says:

	Fatal trap 12: page fault while in kernel mode
	fault virtual address   = 0x14
	fault code              = supervisor write, page not present
	instruction pointer     = 0x20:0xc057ff9f
	stack pointer           = 0x28:0xe2df3c44
	frame pointer           = 0x28:0xe2df3c4c
	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         = 13 (swi4: clock sio)
	trap number             = 12
	panic: page fault
	Uptime: 1d4h15m55s
	GEOM_MIRROR: Device gm0: provider mirror/gm0 destroyed.
	GEOM_MIRROR: Device gm0 destroyed.
	Cannot dump. No dump device defined.
	Automatic reboot in 15 seconds - press a key on the console to abort
	Rebooting...

I'm guessing it's because the GEOM_MIRROR device has been destroyed just
before it wants to dump? Any suggestions on a way forward to getting a
dump out?

Thanks,
Tim.

-- 
Tim Bishop
http://www.bishnet.net/tim/
PGP Key: 0x5AE7D984

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGD4hafc7WWVrn2YQRAhlwAJ989G4FxqTxLtYMfLujRQnNsbX7xQCgiAtN
zBRj5CE652onOHiLP+tinmM=
=sk7B
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070401102426.GA10818>