From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 2 19:59:58 2013 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E5C45DF3 for ; Mon, 2 Sep 2013 19:59:58 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id B770F2ECB for ; Mon, 2 Sep 2013 19:59:58 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id r82Jxvad060297 for ; Mon, 2 Sep 2013 12:59:57 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <5224EE3D.10303@rawbw.com> Date: Mon, 02 Sep 2013 12:59:57 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130822 Thunderbird/17.0.8 MIME-Version: 1.0 To: FreeBSD Hackers Subject: kgdb 'next' command crashes kernel during inter-VM kernel debugging Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Sep 2013 19:59:59 -0000 I am trying to debug kernel in one VBox VM from another VBox VM using this howto: http://census-labs.com/news/2009/01/19/freebsd-kernel-debugging with the exception that on the target VM hint.uart.0.flags="0x90" is set instead. It works, stops at breakpoints, etc. However, kgdb command "n" (next) causes target to reboot. Device /dev/cuau0 is used for the serial port. On the host it goes through the local socket /tmp/com_1 All with FreeBSD 10 (trunk) amd64, virtualbox 4.2.16 Yuri