A question about zImage when booting from HD
Simone Piccardi
Simone.Piccardi at fi.infn.it
Tue Sep 7 01:02:22 EST 1999
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 at 80000000/pci1000,3 at 10,0/harddisk at 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 at 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/
More information about the Linuxppc-dev
mailing list