[parisc-linux] palo issues

Alex Green alexdgreen@hotmail.com
Wed, 7 Aug 2002 18:05:54 +0200


> > > > ok the file was build using make bzImage... surely this would
produce a
> > > > proper image..... or not?
> > >
> > > Nope.  Just use 'make'.  the file 'vmlinux' is what you want
>
> Something doesn't compute yet for me, sorry for asking stupid
> questions:
>
>     So you made 'vmlinux' and then copied it to /boot or something right?

Yep I copied to /boot/vmlinux-64

>
>     'file vmlinux' says something about ELF 32 right?

nope I built it with 64bit gcc, as I wanted a 64bit kernel, so the file is
ELF64 :).

>
>     The partition where palo expects to find 'vmlinux' _ends_ within the
>     first 2G of the disk?

Yep, the f0 partition is the first 75mb of the disk:


Disk /dev/sda: 64 heads, 32 sectors, 17366 cylinders
Units = cylinders of 2048 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        72     73712   f0  Linux/PA-RISC boot
/dev/sda2            73       560    499712   82  Linux swap
/dev/sda3           561      1048    499712   82  Linux swap
/dev/sda4          1049     17366  16709632   83  Linux


mount
/dev/sda4 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw)


cat /etc/palo.conf
--commandline=4/boot/vmlinux-64 root=/dev/sda4 HOME=/
--recoverykernel=/boot/vmlinux
--init-partitioned=/dev/sda


ls -l
total 11912
-rw-r--r--    1 root     root       881069 Aug  7 10:23 System.map-2.4.18-64
-rw-r--r--    1 root     root       900165 Aug  7 18:04 System.map-64
-rw-r--r--    1 root     root         4711 Aug  7 10:23 config-2.4.18-64
lrwxrwxrwx    1 root     root           17 Aug  7 10:26 vmlinux ->
vmlinux-2.4.18-64
-rw-r--r--    1 root     root      5139673 Aug  7 10:23 vmlinux-2.4.18-64
-rwxr-xr-x    1 root     root      5227388 Aug  7 18:04 vmlinux-64


palo
palo version 1.1 bame@c3k Tue Aug  6 09:40:01 MDT 2002
ELF64 executable
Partition Start(MB) End(MB) Id Type
1               1      72   f0 Palo
2              73     560   82 swap
3             561    1048   82 swap
4            1049   17366   83 ext2
ipl: addr 16384 size 30720 entry 0x0
 ko 0x0 ksz 0 k64o 0x0 k64sz 0 rdo 0 rdsz 0
<4/boot/vmlinux-64 root=/dev/sda4 HOME=/>
ipl: addr 16384 size 30720 entry 0x0
 ko 0x0 ksz 0 k64o 0x44000 k64sz 5139673 rdo 0 rdsz 0
<4/boot/vmlinux-64 root=/dev/sda4 HOME=/>


file vmlinux-64
vmlinux-64: ELF 64-bit MSB executable, PA-RISC 2.0 (LP64) version 1
(GNU/Linux), dynamically linked (uses shared libs), not stripped
mohawk:/boot# file vmlinux-2.4.18-64
vmlinux-2.4.18-64: ELF 64-bit MSB executable, PA-RISC 2.0 (LP64) version 1
(GNU/Linux), dynamically linked (uses shared libs), not stripped
mohawk:/boot#


Does this shed any light ??

Thanks
AG