From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 13 22:25:44 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CA10106566B for ; Thu, 13 Sep 2012 22:25:44 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id BC5D68FC14 for ; Thu, 13 Sep 2012 22:25:43 +0000 (UTC) Received: by qatn12 with SMTP id n12so2718424qat.13 for ; Thu, 13 Sep 2012 15:25:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to :x-gm-message-state; bh=CFHqtu2G69QOsPipBLFtKKFzxFHqtP9XqjM0hvHzhaA=; b=EihKrFWCKOZEquSzgJAFBg3IcDwt9l0qVzQGVwvMp1cCLTMdl0U29o2bGgMASwd/wO Zhf8ysPfgIhC99aXg91eB1ZxkYwj/kWqG3yY5mGsKAyAX8i9pj8dKRT+MiNFc+NzybgU 2i6OwL2WSzdteJf8/PUDqgbuYDnwZmOEf3ldmwnW+Z+liMlBX/IfMFZvgfdJ1lIFL83P E6hEqcN7TaHQoPZKe+6xFRKeKADT4Hy4aZiJd26PW61Z/Q8qlCuxXT40eh6pe5hupJov 3MYy6NXAW1Zd7g2gC+FysPYyuodZwbtcEIQpoS0jeP9G9LTROkEzJs/cFs4c1aKJ6Ycy abEw== Received: by 10.229.136.8 with SMTP id p8mr532417qct.3.1347575142453; Thu, 13 Sep 2012 15:25:42 -0700 (PDT) Received: from [97.20.106.248] (248.sub-97-20-106.myvzw.com. [97.20.106.248]) by mx.google.com with ESMTPS id ep8sm1316445qab.22.2012.09.13.15.25.40 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Sep 2012 15:25:41 -0700 (PDT) References: <201205311157.42909.jhb@freebsd.org> <19d73256-b7c6-417e-a051-a5faeabf219d@email.android.com> <201209121520.26337.jhb@freebsd.org> <5051F7A0.90901@FreeBSD.org> <20120913162815.GA1219@pix.net> <50524C67.3040403@FreeBSD.org> In-Reply-To: <50524C67.3040403@FreeBSD.org> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (9B206) From: Mark Saad Date: Thu, 13 Sep 2012 18:25:38 -0400 To: Mark Felder X-Gm-Message-State: ALoCoQm7F/2jmoGPi8s/8UQjZSUKlsRUPdOJUBg6cK40g6SiJNb4K1ZPUL/LanfJ/Y2X6Fxw8Tfh Cc: "freebsd-hackers@FreeBSD.org" Subject: Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash 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: Thu, 13 Sep 2012 22:25:44 -0000 --- On Sep 13, 2012, at 5:13 PM, Andriy Gapon wrote: > on 13/09/2012 22:57 Mark Felder said the following: >> On Thu, 13 Sep 2012 11:28:15 -0500, Kurt Lidl wrote: >>=20 >>> Isn't this what you want? >>>=20 >>> http://stackframe.blogspot.com/2007/04/debugging-linux-kernels-with.html= >>>=20 >>> -Kurt >>=20 >> Interesting -- it looks like that's an option on ESX as well. The only qu= estion >> is: what do I do with that? It's going to give me the debugging entire VM= , not >> the kernel inside. Without being a VMWare developer I imagine its data wi= ll be a >> bit useless :-( >=20 > No, gdb stub is for debugging what is running inside the VM. > E.g. look here for an example of how to do that with qemu: > http://andriygapon.wikispaces.com/QemuSetup > VMWare with gdb stub enabled should not be any different. >=20 > --=20 > Andriy Gapon > _____________________________ Mark did you try changing the time counter choice sysctl from hpet to Acpi-s= afe/fast or tsc ? In esx 4.1 an newer using hpet timers causes issues for b= sd and linux vms in some cases .=20 The sysctl is kern.timecounter.choice . This sounds like another VMware issu= es I have seen and read about . See this post http://forums.freebsd.org/arch= ive/index.php/t-32104.html --- Mark saad | mark.saad@longcount.org