From owner-freebsd-current@FreeBSD.ORG Fri Jan 18 15:28:30 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 635EBB50; Fri, 18 Jan 2013 15:28:30 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) by mx1.freebsd.org (Postfix) with ESMTP id 19E05FD3; Fri, 18 Jan 2013 15:28:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=xeBTeOUYjd3wEfxbYiuV5wf9fCAwc7CoG6pxgLGyiHQ=; b=jlvWyhXvGckM0UUf8xL8Vy4LYaU2qf5NVAGqRM4WpWlygF27nCMc4u/pawRooGiNwxD1XXWD+8H2G7+C8pw4fO93E9L41ETWtDAeAHnWuEvaOzFlD99+pzMXiJ7VmZUMJbbPB3r3AsxeovTd25qffiSeF5ZsVBZ2Fy2Xr92Iq5I=; Received: from localhost.lerctr.org ([127.0.0.1]:40876 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1TwDro-0000oB-OP; Fri, 18 Jan 2013 09:28:29 -0600 Received: from [32.97.110.60] by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Fri, 18 Jan 2013 09:28:28 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 18 Jan 2013 09:28:28 -0600 From: Larry Rosenman To: Andriy Gapon Subject: Re: My panic in amd64/pmap In-Reply-To: <6f1d46304fbcc6e32f51109f6ab4c60d@webmail.lerctr.org> References: <38def6b37be1a3128fb1b64595e9044e@webmail.lerctr.org> <50F95964.6060706@FreeBSD.org> <6f1d46304fbcc6e32f51109f6ab4c60d@webmail.lerctr.org> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/0.8.4 X-Spam-Score: -2.9 (--) X-LERCTR-Spam-Score: -2.9 (--) X-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001 X-LERCTR-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001 Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, freebsd-amd64@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2013 15:28:30 -0000 On 2013-01-18 09:09, Larry Rosenman wrote: > On 2013-01-18 08:17, Andriy Gapon wrote: >> on 17/01/2013 21:50 Larry Rosenman said the following: >>> I've now seen this panic: >>> pmap_insert_pt_page: pindex already inserted >>> >>> on 9.1-RELEASE, 9.1-STABLE, and 10.0-CURRENT >>> >>> I've got vmcore's from the 9.1-STABLE and 10.0-CURRENT VM's >>> available >>> as well as sources. >>> >>> I have the core.txt.* files available at: >>> http://www.lerctr.org/~ler/core.txt.0 (10.0) >>> http://www.lerctr.org/~ler/core.txt.2 (9.1-S) >>> >>> I'm not sure what other debug info you need. >>> >>> I can provide SSH access to both VM's as well as the host. >>> >>> These are all in VirtualBox 4.2.6 VM's >>> >>> Any help would be appreciated. >> >> Hmm, I wonder if VirtualBox is hitting the same popcnt bug that was >> fixed in qemu... >> >> Could you please try a patch from here >> >> http://thread.gmane.org/gmane.comp.emulators.qemu/174532/focus=174567 >> ? >> >> It should be applied to src/recompiler/target-i386/translate.c, make >> sure that it >> goes to a section marked as 'case 0x1b8: /* SSE4.2 popcnt */'. > > Should this be on the host or the guest? Never mind, it's in VirtualBox itself. The line is at ~~line 8020 in the same file. I've patched it and am recompiling VirtualBox. If I don't see the panic for a few days, I'll submit a PR. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893