Date: Tue, 07 Apr 2015 10:25:02 +0200 From: =?UTF-8?B?R3VzdGF1IFDDqXJleg==?= <gperez@entel.upc.edu> To: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= <royger@FreeBSD.org> Cc: freebsd-xen@FreeBSD.org Subject: Re: Unable to boot with the dom0 xen kernel Message-ID: <5523945E.2050405@entel.upc.edu> In-Reply-To: <5523872E.5030700@FreeBSD.org> References: <551EFA82.9070007@entel.upc.edu> <CAPLaKK79kV6eqqOjuQUevJFnqHmFVrjQVVULcmR7Wg%2BY-=5Rbg@mail.gmail.com> <55223D08.4040007@entel.upc.edu> <5523872E.5030700@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5523945E.2050405>