[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Error booting Xen



On Wed, Feb 3, 2016 at 6:25 PM, Dario Faggioli
<dario.faggioli@xxxxxxxxxx> wrote:
> On Wed, 2016-02-03 at 17:05 +0530, Harmandeep Kaur wrote:
>> On Wed, Feb 3, 2016 at 1:53 PM, Dario Faggioli
>> <dario.faggioli@xxxxxxxxxx> wrote:
>> >
>> Maybe I failed to shutdown a guest which was showing up
>> on next boot. But there are no auto-starting guests.
>> Following link goes to latest serial log
>> http://paste2.org/5PDz9bP1
>>
> No, sorry, I probably am not getting. Are you saying that, just booting
> Xen and *not* doing anything else --either from SSH, from the keyboard
> of that box, from serial connection... anything at all-- and without
> any guest configured to auto start itself, results in these lines to
> appear on your serial console?
>
> tbox login: (d1) mapping kernel into physical memory
> (d1) about to get started...
> (XEN) traps.c:2684:d1v0 Domain attempted WRMSR 00000000c0000081 from 
> 0xe023e00800000000 to 0x0023001000000000.
> (XEN) traps.c:2684:d1v0 Domain attempted WRMSR 00000000c0000082 from 
> 0xffff82d0bfffe080 to 0xffffffff817ef990.
> (XEN) traps.c:2684:d1v0 Domain attempted WRMSR 00000000c0000083 from 
> 0xffff82d0bfffe0a0 to 0xffffffff817f1f60.
> (XEN) traps.c:2684:d1v0 Domain attempted WRMSR 0000000000000174 from 
> 0x000000000000e008 to 0x0000000000000010.
> (XEN) traps.c:2684:d1v0 Domain attempted WRMSR 0000000000000175 from 
> 0xffff83026d40ffc0 to 0x0000000000000000.
> (XEN) traps.c:2684:d1v0 Domain attempted WRMSR 0000000000000176 from 
> 0xffff82d08023eaf0 to 0xffffffff817f1d60.
> (XEN) traps.c:2684:d1v0 Domain attempted WRMSR 00000000c0000084 from 
> 0x0000000000074700 to 0x0000000000047700.
> (XEN) traps.c:2684:d1v1 Domain attempted WRMSR 00000000c0000081 from 
> 0xe023e00800000000 to 0x0023001000000000.
> (XEN) traps.c:2684:d1v1 Domain attempted WRMSR 00000000c0000082 from 
> 0xffff82d0bffff000 to 0xffffffff817ef990.
> (XEN) traps.c:2684:d1v1 Domain attempted WRMSR 00000000c0000083 from 
> 0xffff82d0bffff020 to 0xffffffff817f1f60.
> (XEN) traps.c:2684:d1v1 Domain attempted WRMSR 0000000000000174 from 
> 0x000000000000e008 to 0x0000000000000010.
> (XEN) traps.c:2684:d1v1 Domain attempted WRMSR 0000000000000175 from 
> 0xffff8300866fffc0 to 0x0000000000000000.
> (XEN) traps.c:2684:d1v1 Domain attempted WRMSR 0000000000000176 from 
> 0xffff82d08023eaf0 to 0xffffffff817f1d60.
> (XEN) traps.c:2684:d1v1 Domain attempted WRMSR 00000000c0000084 from 
> 0x0000000000074700 to 0x0000000000047700.
>
> Because this is what you just said above, and that's... well... just
> impossible?!?! :-O
>
> What's the output then, if you login (either via serial, ssh or regular
> keyboad+monitor) and run `xl list'

$ sudo xl list
Name                                        ID   Mem VCPUs    State    Time(s)
Domain-0                                     0  4096     4     r-----      37.6

> and `xl vcpu-list' as the very first
> thing?

$ sudo xl vcpu-list
Name                                ID  VCPU   CPU State   Time(s)
Affinity (Hard / Soft)
Domain-0                             0     0    3   r--      13.3  all / all
Domain-0                             0     1    0   -b-       7.0  all / all
Domain-0                             0     2    1   -b-       5.4  all / all
Domain-0                             0     3    2   r--      13.5  all / all


> What's inside `ls -l /var/log/xen/' (or `ls -l
> /var/local/log/xen')?

$ ls -l /var/log/xen/
total 48
-rw-r--r-- 1 root adm  28 Jan 23 00:14 xen-hotplug.log
-rw-r--r-- 1 root adm  91 Feb  3 17:14 xl-ubuntu.pvlinux.log
-rw-r--r-- 1 root adm  91 Jan 29 00:54 xl-ubuntu.pvlinux.log.1
-rw-r--r-- 1 root adm 144 Jan 26 23:50 xl-ubuntu.pvlinux.log.10
-rw-r--r-- 1 root adm  91 Jan 29 00:41 xl-ubuntu.pvlinux.log.2
-rw-r--r-- 1 root adm  91 Jan 29 00:32 xl-ubuntu.pvlinux.log.3
-rw-r--r-- 1 root adm  91 Jan 29 00:24 xl-ubuntu.pvlinux.log.4
-rw-r--r-- 1 root adm  91 Jan 28 22:22 xl-ubuntu.pvlinux.log.5
-rw-r--r-- 1 root adm  62 Jan 27 19:09 xl-ubuntu.pvlinux.log.6
-rw-r--r-- 1 root adm  91 Jan 27 19:07 xl-ubuntu.pvlinux.log.7
-rw-r--r-- 1 root adm 222 Jan 27 18:41 xl-ubuntu.pvlinux.log.8
-rw-r--r-- 1 root adm  62 Jan 27 15:03 xl-ubuntu.pvlinux.log.9

>
>> and then I created a guest with
>> config (http://paste2.org/azvj25Hg) and
>> http://paste2.org/cgKna0j1 log was presented at terminal.
>>
> Well, it looks like the guest boot did not indeed go well, but that is
> probably because of other thing... can you try uncommenting the line
> 'extra = "root=/dev/xvda1"' from the config?

Trying this suggestion.

>
> Regards,
> Dario
> --
> <<This happens because I choose it to happen!>> (Raistlin Majere)
> -----------------------------------------------------------------
> Dario Faggioli, Ph.D, http://about.me/dario.faggioli
> Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.