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-ppc-devel

Re: Yaboot stripped image Was: [XenPPC] Cannot boot from local disk

To: XenPPC-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: Yaboot stripped image Was: [XenPPC] Cannot boot from local disk
From: Kiyokuni Kawachiya <KAWATIYA@xxxxxxxxxx>
Date: Sat, 7 Oct 2006 00:05:36 +0900
Delivery-date: Fri, 06 Oct 2006 08:06:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C63A29BB-03DE-48EC-87E0-63F461CF25F3@xxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
> > It probably is, which image do you copy for yaboot to use?

I usually copied xen/xen to /boot/xen-3.0-unstable, and specified it in
yaboot.conf.

> > can you try:
> >   $ objcopy -S xen/xen-syms xen/xen.yaboot
> > and have yaboot load xen.yaboot

I tried, but the situation is same.

Welcome to yaboot version 10.1.14-r716.SuSE
booted from '/ht/ata@4,1/disk@0'
Enter "help" to get some basic usage information
boot: xen
Please wait, loading kernel...
Can't find a loadable segment !
boot: xen
Please wait, loading kernel...
Can't find a loadable segment !
boot:


One thing I noticed is that "objdump -h" result is very different between
the bootable and non-bootable xen images.

(Bootable xen/xen)
wsjs4 XenPPC.watson.ok/xen-ppc> objdump -h xen/xen

xen/xen:     file format elf32-powerpc

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         00000040  00400000  00400000  00000078  2**3
                  CONTENTS, ALLOC, LOAD, CODE
  1 .data         00311e98  00400100  00400100  00000178  2**3
                  CONTENTS, ALLOC, LOAD, DATA
  2 .debug_aranges 00000020  00000000  00000000  00312010  2**3
                  CONTENTS, READONLY, DEBUGGING
  3 .debug_info   00000069  00000000  00000000  00312030  2**0
                  CONTENTS, READONLY, DEBUGGING
  4 .debug_abbrev 00000014  00000000  00000000  00312099  2**0
                  CONTENTS, READONLY, DEBUGGING
  5 .debug_line   0000004b  00000000  00000000  003120ad  2**0
                  CONTENTS, READONLY, DEBUGGING


(Non-bootable xen/xen)
wsjs4 XenPPC.xensource/xen-ppc> objdump -h xen/xen

xen/xen:     file format elf32-powerpc

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         00031a10  00400000  00400000  00000100  2**7
                  CONTENTS, ALLOC, LOAD, CODE
  1 .init.text    00003e50  00431a10  00431a10  00031b10  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .rodata       00005670  00435860  00435860  00035960  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 __ex_table    00000050  0043aed0  0043aed0  0003afd0  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .data         002a8e00  0044b000  0044b000  0004b100  2**8
                  CONTENTS, ALLOC, LOAD, DATA
  5 .data.rel     00000080  006f3e00  006f3e00  002f3f00  2**3
                  CONTENTS, ALLOC, LOAD, DATA
  6 .init.data    00000140  006f3e80  006f3e80  002f3f80  2**3
                  CONTENTS, ALLOC, LOAD, DATA
  7 .data.rel.local 00000158  006f3fc0  006f3fc0  002f40c0  2**3
                  CONTENTS, ALLOC, LOAD, DATA
  8 .data.rel.ro  00000018  006f4118  006f4118  002f4218  2**3
                  CONTENTS, ALLOC, LOAD, DATA
  9 .data.rel.ro.local 00000010  006f4130  006f4130  002f4230  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 10 __builtin_cmdline 00000200  006f4140  006f4140  002f4240  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 11 .setup.init   00000260  006f4340  006f4340  002f4440  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 12 .initcall.init 00000030  006f45a0  006f45a0  002f46a0  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 13 .inithcall.text 000000b0  006f45d0  006f45d0  002f46d0  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 14 .data.percpu  00000484  006f4680  006f4680  002f4780  2**7
                  CONTENTS, ALLOC, LOAD, DATA
 15 .opd          00003a68  00708000  00708000  00308100  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 16 .got          000026c8  0070ba68  0070ba68  0030bb68  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 17 .bss          00013ac8  0070e180  0070e180  0030e230  2**7
                  ALLOC
 18 .comment      000008f6  00000000  00000000  0030e230  2**0
                  CONTENTS, READONLY
 19 .debug_aranges 00001120  00000000  00000000  0030eb30  2**4
                  CONTENTS, READONLY, DEBUGGING
 20 .debug_pubnames 00002ac4  00000000  00000000  0030fc50  2**0
                  CONTENTS, READONLY, DEBUGGING
 21 .debug_info   0008c82c  00000000  00000000  00312714  2**0
                  CONTENTS, READONLY, DEBUGGING
 22 .debug_abbrev 0000e1ff  00000000  00000000  0039ef40  2**0
                  CONTENTS, READONLY, DEBUGGING
 23 .debug_line   000148ef  00000000  00000000  003ad13f  2**0
                  CONTENTS, READONLY, DEBUGGING
 24 .debug_frame  00005c78  00000000  00000000  003c1a30  2**3
                  CONTENTS, READONLY, DEBUGGING
 25 .debug_str    00007841  00000000  00000000  003c76a8  2**0
                  CONTENTS, READONLY, DEBUGGING
 26 .debug_loc    0004418f  00000000  00000000  003ceee9  2**0
                  CONTENTS, READONLY, DEBUGGING
 27 .debug_ranges 00012f80  00000000  00000000  00413078  2**0
                  CONTENTS, READONLY, DEBUGGING


Kawachiya



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

<Prev in Thread] Current Thread [Next in Thread>