Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2000 01:15:12 -0400 (EDT)
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        Marco Molteni <molter@sofia.csl.sri.com>
Cc:        freebsd-hackers@FreeBSD.ORG, Greg Lehey <grog@lemis.com>
Subject:   Re: kernel panics at boot, how to specify dump device?
Message-ID:  <Pine.BSF.4.21.0005130111390.18950-100000@green.dyndns.org>
In-Reply-To: <20000512102715.A1281@sofia.csl.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an easy problem to solve.  Drop into ddb, and do a "show disk/device",
e.g.:

ddb> show disk/ad0s1b
dev_t = 0xf000b444

This will return to you the dev_t for it.  Take this value, and call
setdumpdev(dev_t value):

ddb> call setdumpdev(0xf000b444)

The setdumpdev() call should return 0 for success.

--
 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green@FreeBSD.org                    `------------------------------'



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005130111390.18950-100000>