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/
Home Products Support Community News


RE: [Xen-devel] Problems booting Xen on Toshiba Satellite L505

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Problems booting Xen on Toshiba Satellite L505
From: "Roger Cruz" <roger.cruz@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 Aug 2010 15:26:18 -0500
Delivery-date: Tue, 03 Aug 2010 13:32:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: <C87E343A.1C9E4%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcszPwKfxGJXFchGSNq78zvrX5XwjgAB7C5IAADbbV4=
Thread-topic: [Xen-devel] Problems booting Xen on Toshiba Satellite L505

There is no output at this point.  The only output before is when we are in real-mode and I purposely used the vga boot option with an illegal value.  This allows me to then see the list of valid values and enter one.  After that point, the code switches from real to protected mode.   Based on my level of understanding, in order to make further BIOS calls to print anything to the screen, I would have to switch to real mode and then back to protected.  I would probably spend a lot of time trying to get that part right so right now I'm simply using a "ud2" instruction to cause a reboot.  I move that instruction around the code and that is how I managed to narrow down the problem to the IDT initialization.

I'll continue to play with this but I only have the laptop for one more day, so if anyone else has suggestions, I'm all ears.

Thanks for your help Keir.

Roger R. Cruz

-----Original Message-----
From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx]
Sent: Tue 8/3/2010 4:01 PM
To: Roger Cruz; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Problems booting Xen on Toshiba Satellite L505

On 03/08/2010 20:06, "Roger Cruz" <roger.cruz@xxxxxxxxxxxxxxxxxxx> wrote:

> I have tried Xen-3.4.2 and Xen-4.1-unstable on a new i3 Toshiba Satellite L505
> and with both versions, I get a blinking cursor upon boot.  I used the code
> from 3.4.2 to narrow down the problem to this section of code in x86_64.S

Never heard of anything like this. You'll have to fiddle around some more
I'm afraid. Can you get any output onto the screen before this point, and
maybe get some debug tracing out that way... Does everything work okay if
you get out of the loop? Vector 7 is device-not-available, so could be FPU
related perhaps.


>         /* Initialise IDT with simple error defaults. */
>         leaq    ignore_int(%rip),%rcx
>         movl    %ecx,%eax
>         andl    $0xFFFF0000,%eax
>         orl     $0x00008E00,%eax
>         shlq    $32,%rax
>         movl    %ecx,%edx
>         andl    $0x0000FFFF,%edx
>         orl     $(__HYPERVISOR_CS64<<16),%edx
>         orq     %rdx,%rax
>         shrq    $32,%rcx
>         movl    %ecx,%edx
>         leaq    idt_table(%rip),%rdi
>         movl    $256,%ecx
> 1:      movq    %rax,(%rdi)
>         movq    %rdx,8(%rdi)
>         addq    $16,%rdi
>         loop    1b
> The code never gets out of the loop to execute the following lines:
>         /* Pass off the Multiboot info structure to C land. */
>         mov     multiboot_ptr(%rip),%edi
>         call    __start_xen
> By playing around with the loop counter in ECX, I determined that loading
> vectors 0-6 works (ie, it gets out of the loop)... but as soon as vector 7 is
> written, we never get out of the loop and I get a blinking cursor.  Does
> anyone have any ideas or suggestions?
> Thanks
> Roger R. Cruz

Xen-devel mailing list