From owner-freebsd-xen@FreeBSD.ORG Tue Apr 7 08:25:12 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 BA77C420; Tue, 7 Apr 2015 08:25:12 +0000 (UTC) Received: from violet.upc.es (violet.upc.es [147.83.2.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "relay.upc.es", Issuer "TERENA SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40FFE7D4; Tue, 7 Apr 2015 08:25:11 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by violet.upc.es (8.14.1/8.13.1) with ESMTP id t378P2ZN013961 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=FAIL); Tue, 7 Apr 2015 10:25:02 +0200 Received: from [10.0.2.151] ([147.83.40.10]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id t378P2oE030892 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 7 Apr 2015 10:25:02 +0200 Message-ID: <5523945E.2050405@entel.upc.edu> Date: Tue, 07 Apr 2015 10:25:02 +0200 From: =?UTF-8?B?R3VzdGF1IFDDqXJleg==?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= Subject: Re: Unable to boot with the dom0 xen kernel References: <551EFA82.9070007@entel.upc.edu> <55223D08.4040007@entel.upc.edu> <5523872E.5030700@FreeBSD.org> In-Reply-To: <5523872E.5030700@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Greylist: Delayed for 43:36:06 by milter-greylist-4.4.3 (violet.upc.es [147.83.2.51]); Tue, 07 Apr 2015 10:25:03 +0200 (CEST) X-Greylist: Default is to whitelist mail, not delayed by milter-greylist-4.4.3 (ackerman2.upc.es [147.83.2.244]); Tue, 07 Apr 2015 10:25:02 +0200 (CEST) X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd 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: Tue, 07 Apr 2015 08:25:12 -0000 Hi, On 07/04/2015 09:28, Roger Pau Monné wrote: > this morning I updated my sources to r281106, recompiled just the > bootloader, installed it under /boot, installed the bootloader with: > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 > In order to update the loader you should do: > > cd /usr/src/sys/boot && make clean && make -j4 && make install Thanks, this is basically what I did. Just to clarify, I'd say (please someone correct me if I'm wrong) that at the end the bootloader has to be installed in the disk (the make install phase just copies the bootcode under /boot) with gpart. One example is when you upgrade your sources and new zfs attributes appear; if any of those new attributes are enabled in the boot disk, the loader has to be installed with gpart bootcode or the boot process would fail. >> but the results were the same. >> >> When the bootloader starts, I see it loading both the kernel and the >> xen_kernel and some modules, then it shows me the menu and when it >> starts booting I see a blinking cursor and then the machine reboots. > Can you paste your xen_cmdline? I'm using the cmdline in the xen wiki. No special tweaking yet. > If you don't have a serial console you > should use console=vga in your xen_cmdline. Additionally if you have a > usb debug port you could use that as console with console=dbgp [1]. Thank you. I did not have a console at $home (the laptop has no physical serial port) but at $work my laptop dockstation provides me with a physical serial port. I'll try to use it. > >> Does the xen kernel show some debug when booting? Can I send that debug >> to the console (how?) instead to ttyu1? > Yes, Xen will print debug info while booting to the console specified in > the "console" option, which can be the serial, VGA or USB debug port. > They are not exclusive, you can send output to several different > destinations at once. I'll try with an non-vital (it is used for package building) Xen EPT-enabled server I have around and also with my laptop. I'll try sending the debug to vga console and the com1, if it fails I'll try to capture the output with the com1 console. I'll check the options for the xen_commandline Thanks for your help, Gustau -- --------------------------------------------------------------------------- Prou top-posting : http://ca.wikipedia.org/wiki/Top-posting Stop top-posting : http://en.wikipedia.org/wiki/Posting_style O O O Gustau Pérez i Querol O O O Unitat de Gestió dels departaments O O O Matemàtica Aplicada IV i Enginyeria Telemàtica Universitat Politècnica de Catalunya Edifici C3 - Despatx S101-B UPC Campus Nord UPC C/ Jordi Girona, 1-3 08034 - Barcelona