From owner-freebsd-xen@FreeBSD.ORG Sun Apr 12 17:04:48 2015 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE2D8B14 for ; Sun, 12 Apr 2015 17:04:48 +0000 (UTC) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (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 7EEDABCF for ; Sun, 12 Apr 2015 17:04:48 +0000 (UTC) Received: by iget9 with SMTP id t9so42393068ige.1 for ; Sun, 12 Apr 2015 10:04:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8PB42+fUmutnzpGQ5KbA+p5SfTGmd0Laa7QvKG344Bc=; b=mKNLtwDOIJwtxYr45vn0mw+Rz6i4Sj1BrWH1vC4LbXnv8yZtB9OHEKNpfTTC6Z83Hs 4H7bxSg3HuMepFDWoxw/uQrChgrmB4k4BVTEmarM7T6X+ICulUWEIobkVgfS9/x2bl92 uX/UpPu9kUysxyE3ElKf6+xZzj4JAVr/TNal3WtXRThsD/e6HbNuMatWglB7dPzUzbVG K3vN2qum1QdPFnjusaWP2//JlCtu7fYDlKak8SN5m7tpK3mQcyodGnF0NjtMo/s5RHZM sw7SHOQaWgH03B/+shXjqFXnzYiWb6a87IVRImrlMJgrbhIyfePEUHd62KzUixenZYed mKuA== X-Received: by 10.43.13.71 with SMTP id pl7mr15139123icb.31.1428858287782; Sun, 12 Apr 2015 10:04:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.129.225 with HTTP; Sun, 12 Apr 2015 10:04:27 -0700 (PDT) In-Reply-To: <552AA3AE.20205@mehnert.org> References: <552AA3AE.20205@mehnert.org> From: Miguel Clara Date: Sun, 12 Apr 2015 18:04:27 +0100 Message-ID: Subject: Re: GELI encrypted root and FreeBSD dom0 To: Hannes Mehnert Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-xen@freebsd.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2015 17:04:48 -0000 I was testing Xen Dom0 last friday, and I too have a geli encrypted root, but I my case I do see the prompt (it does get a bit hidden by USB device detection, something I've reported before and IIRC a solution is in the works). I do end up with just a blank square in the top... I've searched a bit and someone as reported the same issue and some patch (to xen-kernel I believe) were made to the git repo, I had no time to rebuild with the git version though, but I might try again next week (and who knows maybe the patches are merged to the port). In any case I do use a geli encrypted root and I get the passphrase prompt, I'm running: FreeBSD 11.0-CURRENT #9 r281243FreeBSD 11.0-CURRENT #9 r281243 Also if important: pkg info |grep xen xen-4.5.0 Xen Hyvervisor meta port xen-kernel-4.5.0 Hypervisor using a microkernel design xen-tools-4.5.0_1 Xen management tool, based on LibXenlight Melhores Cumprimentos // Best Regards ----------------------------------------------- *Miguel Clara* *IT - Sys Admin & Developer* *E-mail: *miguelmclara@gmail.com www.linkedin.com/in/miguelmclara/ On Sun, Apr 12, 2015 at 5:56 PM, Hannes Mehnert wrote: > Hi, > > I am able to boot FreeBSD dom0 (using r281439) on my Lenovo X220 [no > serial port :/]. Unfortunately, I cannot see any console output while > the FreeBSD dom0 kernel is booting, using the following xen command line: > > xen_cmdline="dom0_mem=4096M dom0_max_vcpus=4 dom0pvh=1 com1=115200,8n1 > guest_loglvl=all loglvl=all console=com1,vga" > > > The last console output comes from Xen (vaguely, I see it only for a > short moment, afterwards console turns dark): > dom0 has 4 VCPUs > Scrubbing free memory for dom0 > > After this, I see the keyboard is initialized caps lock turning on and > off again. Then, only the fan starts to spin, but no luck on any more > output. > > Since I have a geli encrypted root filesystem, I expect a passphrase > prompt, but I do not see any, and also blindly typing my passphrase > does not continue the boot process. > > I do not have sc in my kernel config, but using vt. > > Any idea how to debug this further? > > > Thanks, > > hannes > >