linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Simone Piccardi <Simone.Piccardi@fi.infn.it>
To: linuxppc-dev <linuxppc-dev@lists.linuxppc.org>
Subject: A question about zImage when booting from HD
Date: Mon, 06 Sep 1999 17:02:22 +0200	[thread overview]
Message-ID: <37D3D77E.D22665E2@fi.infn.it> (raw)


Hi, 
after some time, I'm retrying to boot my board (a MVME2431) from the HD,
but still I have to use NFS. I partitioned the HD as:

Disk /dev/sda: 64 heads, 32 sectors, 8683
cylinders                             
Units = cylinders of 2048 * 512
bytes                                           
                                                                                
   Device Boot    Start       End    Blocks   Id 
System                        
/dev/sda1             1      8620   8826864   83 
Linux                         
/dev/sda2          8621      8680     61440   82  Linux
swap                    
/dev/sda3   *      8681      8683      3072   41  PPC PReP
Boot                 

then I create an image (make zImage) that is normally working when
booted by NFS (could be this the problem? there are some option to set
during the kernel compilation?) and copied it to /dev/sda3 using dd.

But when i tried to boot from the HD I obtain this:
PPC4-Bug>ioi                                                                    
I/O Inquiry
Status:                                                             
CLUN  DLUN  CNTRL-TYPE  DADDR  DTYPE  RM 
Inquiry-Data                          
   1     0  PC8477      0      $00    Y  
<None>                                
  10    50  NCR53C825   5      $00    N   SEAGATE  ST39140W        
1487        
PPC4-Bug>pboot 10 50
0                                                          
Booting from: NCR53C825, Controller 10, Drive
50                                
Device Name :
/pci@80000000/pci1000,3@10,0/harddisk@5,0                         
Loading: Operating
System                                                       
                                                                                
IPL Size Exceeds Free-Available
Memory:                                         
IPL Size              =AC444000
(&-1404813312)                                  
Free-Available Memory =01F74000
(&32980992)                                     

I looked both in /dev/sda3 and in
/usr/src/linux/arch/ppc/prepboot/zImage and what I get is (the results
were the same):

[root@vmesez1 /root]# od -N 10000 -Ad -tx /dev/sda3
0000000 48000400 00000000 00000000 00000000
0000016 00000000 00000000 00000000 00000000
*
0000432 00000000 00000000 00000000 00008000
0000448 02004101 124f0000 0000b004 00000000
0000464 00000000 00000000 00000000 00000000
*
0000496 00000000 00000000 00000000 000055aa 
0000512 00040000 6c5f0900 00004c69 6e757800
0000528 00000000 00000000 00000000 00000000
* 
0001024 48000005 7c2802a6 38000000 9401fd8c 
0001040 bf410008 48000005 7fc802a6 801e0358
...

and I cannot figure from where I get this IPL Size =AC444000. If I
understand right what is written in the PPCBug manual it seems that the
code start at 1024 (byte 512), and the lenght is 0x095f6c (byte 516),
nothing related to AC444000; I'm missing something in the partion? Or
I'm using a wrong image?

Thanks
-- 
Simone Piccardi
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~1999-09-06 15:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-06 15:02 Simone Piccardi [this message]
1999-09-09  8:12 ` A question about zImage when booting from HD Gabriel Paubert
1999-09-09 13:15   ` VALETTE Eric
  -- strict thread matches above, loose matches on Subject: below --
1999-09-09 20:28 Hewitt Ian-MCG30344
1999-09-13 18:47 ` Simone Piccardi
1999-09-13 22:10   ` Matt Porter
1999-09-14 19:20     ` Simone Piccardi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37D3D77E.D22665E2@fi.infn.it \
    --to=simone.piccardi@fi.infn.it \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).