From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 8 21:14:36 2011 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D71291065673 for ; Tue, 8 Nov 2011 21:14:36 +0000 (UTC) (envelope-from cattelan@thebarn.com) Received: from x.digitalelves.com (x.digitalelves.com [209.98.77.55]) by mx1.freebsd.org (Postfix) with ESMTP id 9B9E98FC08 for ; Tue, 8 Nov 2011 21:14:36 +0000 (UTC) Received: from macpro00.x.thebarn.com (c-66-41-26-220.hsd1.mn.comcast.net [66.41.26.220]) (authenticated bits=0) by x.digitalelves.com (8.14.5/8.14.4) with ESMTP id pA8LEWLQ032215 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 8 Nov 2011 15:14:33 -0600 (CST) (envelope-from cattelan@thebarn.com) Message-ID: <4EB99BB8.3000401@thebarn.com> Date: Tue, 08 Nov 2011 15:14:32 -0600 From: Russell Cattelan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Andriy Gapon References: <4DFA4C47.8060503@digitalelves.com> <4EA5A676.5040500@thebarn.com> <4EB67C2A.4000906@FreeBSD.org> In-Reply-To: <4EB67C2A.4000906@FreeBSD.org> X-Enigmail-Version: 1.3.3 Content-Type: multipart/mixed; boundary="------------080504010206020701010605" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@FreeBSD.org Subject: Re: kexec or similar for FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 21:14:36 -0000 This is a multi-part message in MIME format. --------------080504010206020701010605 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/6/11 6:23 AM, Andriy Gapon wrote: > on 24/10/2011 20:55 Russell Cattelan said the following: >> So it has been a while and a lot of hair pulling but kload is >> sorta alive and kicking. It can now load the kernel from >> userspace, copy it over the running kernel and jump the the >> kernel entry point. >> >> I'm still having problems getting through the boot process due >> to interrupts arriving for unconfigured handlers. Fatal Trap >> (30) > > Just in case, is your original kernel running SMP? > I'm working on the SMP stuff now. Trying to get the processors in a state where the restart process can complete. For now I removed the panic call in the unknown interrupt case. What I finally figured out was that starting up the system was overwriting the page tables and caused any of AP's still looking at those locations to cause qemu / kvm to reset :-( - -Russell -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk65m7gACgkQNRmM+OaGhBjkaQCfS4rfmuKAyyPWyseEYJaHbq+G h1sAnjPgX2E6x7CEcvN11iR3qtJAfdPA =OgIO -----END PGP SIGNATURE----- --------------080504010206020701010605--