Date: Thu, 01 Feb 2001 23:39:30 -0800 From: Peter Wemm <peter@netplex.com.au> To: Lars Eggert <larse@ISI.EDU> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: capturing an early kernel dump Message-ID: <200102020739.f127dUW23005@mobile.wemm.org> In-Reply-To: <3A7A3180.35697C0E@isi.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Lars Eggert wrote: > [Repost from last week, no answer then.] > > How do I capture an early kernel dump (before rc executes and sets > dumpdev)? > > The dump partition used to be an option in the kernel config file, but that > seems to have changed in 3.X or 4.X. > > Thanks, > Lars How early? We could dump if you were prepared to hardwire in the minor and major device numbers to get to the devsw[] vectors and manually set the offsets. The biggest problem is that if it is Really Early (TM) we may not have read the disk label and may not be able to see what the partitions look like. It may need to be blindly dumped using a magic offset that you supply somewhere and *hope* that you get the numbers correct so you dont trash something. Alternatively.. dedicate a disk for it and just start dumping to the beginning of the disk and work upwards... Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 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?200102020739.f127dUW23005>