WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: Continuing problems booting

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Re: Continuing problems booting
From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Date: Thu, 05 Mar 2009 12:01:54 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, M A Young <m.a.young@xxxxxxxxxxxx>
Delivery-date: Thu, 05 Mar 2009 03:02:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49AF80C1.2060307@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <alpine.GSO.2.00.0902201239010.757@xxxxxxxxxxxxxxxx> <alpine.GSO.2.00.0902201554500.757@xxxxxxxxxxxxxxxx> <alpine.LFD.2.00.0902211225540.14632@xxxxxxxxxxxxxxx> <49A0F68D.9070306@xxxxxxxx> <alpine.LFD.2.00.0902220922040.4149@xxxxxxxxxxxxxxx> <alpine.LFD.2.00.0902221449410.17196@xxxxxxxxxxxxxxx> <49A187B8.7000902@xxxxxxxx> <alpine.LFD.2.00.0902222257230.4472@xxxxxxxxxxxxxxx> <49A1DD80.1080903@xxxxxxxx> <alpine.LFD.2.00.0902222359090.4472@xxxxxxxxxxxxxxx> <49A241EC.3050300@xxxxxxxx> <alpine.LFD.2.00.0902242228550.12607@xxxxxxxxxxxxxxx> <alpine.LFD.2.00.0902272317030.17305@xxxxxxxxxxxxxxx> <49A890FF.4080803@xxxxxxxx> <49ABAF7C.6050906@xxxxxxxxxx> <49AF5FEB.4010508@xxxxxxxx> <49AF80C1.2060307@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20090105)
Gerd Hoffmann wrote:
> Jeremy Fitzhardinge wrote:
>> Gerd Hoffmann wrote:
>>> Jeremy Fitzhardinge wrote:
>>>  
>>>> Yes, I think the legacy interrupts are not being set up completely, but
>>>> I'm not quite sure how they should be set up.  Will look into it.
>>>>     
>>> FYI: Recently my dated, apic-less i386 laptop started to successfully
>>>      boot the pv_ops/dom0 kernel, all the way up to userspace.
>>>   
>> Do you get a vga console?  Can you start domains?
> 
> gfx console works (i.e. kernel /xen-3.3.gz vga=gfx-1024x768x16).
> vga text console didn't last time I tried.

Update: latest kernel (rc7 based) crashes.  rc6 from somewhen last week
is the working one.  rc7 messages:

unhandled page fault (ec=0003)
page table walk from c1c55000
 l1[0x055] = 9c55061 1c55

-> rw access to r/o page?

EIP c140f4c3

c140f2d2 <alloc_bootmem_core>:
[ ... ]
c140f4c3:       f3 ab                   rep stos %eax,%es:(%edi)

-> memset(page,0,PAGE_SIZE) ?

Dom0 domain builder says page tables are at c1c55000 -> c1c6a000

/me guesses the initial page tables are released to the page allocator,
but still they are mapped r/o  =>  boom as soon as one happens to get
allocated.  Which probably happens very soon on memory-constrained
machines like mine, while other might stay up longer and show strange
bugs later on ;)

BTW: The trick to see the messages on the laptop screen is:

 kernel /xen-3.3.gz vga=text-80x50,keep
 module /vmlinuz-2.6.29-rc7-tip-kraxel ro root=/dev/zen/rawhide \
        console=hvc0

>> x86-32 booting to usermode dom0, but only with serial console and domain
>> creation fails (SIGBUS in the domain builder, so I'm hoping its related
>> to the hvm qemu crash).
> 
> Didn't try yet, the machine is heavily underpowered for serious
> virtualization work, it has 192 MB RAM only.  And hvm doesn't work
> anyway because the box is way to old for that (Pentium III).

Doesn't work.  I get messages about failed multicalls with
remap_page_range and privcmd_ioctl in the stack trace.  Most likely
mapping the guest pages in the domain builder doesn't work.  No surprise
this leads to SIGBUS.

HTH,
  Gerd


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel