From owner-freebsd-virtualization@freebsd.org Tue Aug 29 10:43:15 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3306ADD6535 for ; Tue, 29 Aug 2017 10:43:15 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F16D280A3F for ; Tue, 29 Aug 2017 10:43:14 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: by mail-io0-x229.google.com with SMTP id g33so12846124ioj.3 for ; Tue, 29 Aug 2017 03:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bo/m62VDw+H65EqhjKKuhc2+L/FBj5iYvbgCmiUPK+I=; b=hL9uxsQ97+XBdQpi5fcO18lJOV4Zjbv8hY5pOAMZ87Fk81dEYrU0SzkrWJixJvYj8q 5FTz+RO3VKgxY4DFQBCWtPyiOYqiijMaK9qmZ6E+govlzEUgIQmFjCzWGskstTN1aI6S GJV17IYdXeT4lZjxVWRP64IrJ8CzbbIdGZaIL1Dov6lM+r4AP9DuC1ygeziKFXyNRtLu wj9zjc2ywzXRsGsgjGjT31Fp8mpiecG0eUzsT3GxHtkxwhZtZiX+LmHp0YHfxbGn5p4t uB9GyuE8DN8HOySNzjt1PCpOVe638XlTGeCCMokmKeyUgjrS14+ZE+RLLs/NB/Wx2OnP l2jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bo/m62VDw+H65EqhjKKuhc2+L/FBj5iYvbgCmiUPK+I=; b=ZpNmVnGJ1FngRWgccZnQ5W+RPNAlvxpvBAPZEQMc8M9Idd6MJ6soUwQPuuMb8oMMBJ rXXJtmSisUo4OOL5xti0W/eZBr09W3guPGEfumf/3QIlPIkmoNtafYCuaD8tWIcwkRIq Ot9kTtHRkQZ3QXlZ3oR5kuXZPgc39/TsXHO9E1K5In52mOTuZ51p2aYZIwQ3HMshtb70 DXHxBFYoSstzwRm42UX2Zmvcb66q8rzcywR7ZFvA559wFHYq8RJkJfov8dZZZeE/7tmJ 6RbhkDK3PduYGKml8k+8ILzklnB0FybmOOdOfSjHgBpI533blsduBwFXQ+3p+6TdvGkD rdNw== X-Gm-Message-State: AHYfb5gx3RzzzWUO5mzjY1rR5LvsgAvhOy4mMZ3wTP9n0GFnX4N7Kkh7 BCkRdXndAPtBj1uotQwCkUhJftjOCGfxI9w= X-Received: by 10.107.20.195 with SMTP id 186mr3846575iou.122.1504003394020; Tue, 29 Aug 2017 03:43:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.22.66 with HTTP; Tue, 29 Aug 2017 03:43:13 -0700 (PDT) From: Aijaz Baig Date: Tue, 29 Aug 2017 16:13:13 +0530 Message-ID: Subject: bhyve core dumping while compiling kernel in FreeBSD10.3 VM To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 10:43:15 -0000 I have booted up a full FreeBSD 10.3 VM on bhyve and I am trying to compile the kernel with these options in order to engage in (k)gdb based debugging on this VM. My kern.conf is: include GENERIC ident AIJAZ-DEBUG options KDB options DDB options GDB options BREAK_TO_DEBUGGER device bvmdebug I am getting an error while building the kernel and bhyve is leaving a core dump. It has happened twice and the SHA sum for the core files is different (which or may not mean they are due to the very same reason). Nonetheless, where can I get more logs on what went wrong and what to do with this core file? Do you guys need it to probe more infrmation? How can one debug this core file? -- Best Regards, Aijaz Baig