[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#743879: debian-cd: Fixes for hppa architecture (patch attached)



Hi,

in january we had a conversation about xorriso and PALO.
I implemented the boot sector as learned from genisoimage:
version number 4 and the short command line at byte 24 to 151.

Further there is the proposed version 5 with long command line at
byte 1024 to 2047, and the yet unexplained "ipl_entry" at byte
248 to 251.

Because our discussion stalled, i did not publish the enhancements
of libisofs API and xorriso CLI with the recent release 1.3.6.
They are still available in the last 1.3.5 development snapshot:
  http://www.gnu.org/software/xorriso/xorriso-1.3.5.tar.gz
It has header version 5 as default. Version 4 can be achieved by
-as mkisofs option
  -hppa-hdrversion 4
The five traditional -hppa-* options of genisoimage are supported
by the -as mkisofs emulation.

The disabled code gets back into effect by defining the macro
  Libisofs_enable_unreleased_hppa_palO
(in CFLAGS or in libisofs.h).
For exporting the API from libisofs.so, it is further necessary to
add in libisofs/libisofs.ver the lines
  iso_image_set_hppa_palo;
  iso_image_get_hppa_palo; 

----------------------------------------------------------------

So if i get a definition of "ipl_entry" at byte 248 to 251, and
some testing is made by owners of HP-PA machines, then -hppa-*
options could be in xorriso-1.3.8.

Together with my new boot sector analyzer which will tell e.g.:

Volume id    : 'Debian 5.0.8 hppa Bin-1'
...
PALO header version: 4
HP-PA cmdline      : 0/vmlinux initrd=0/ramdisk
HP-PA boot files   :   ByteAddr    ByteSize  Path
HP-PA 32-bit kernel:   13346816     4187315  /install/vmlinux-2.6.26-2-parisc
HP-PA 64-bit kernel:    7557120     5789547  /install/vmlinux-2.6.26-2-parisc64
HP-PA ramdisk      :    2324480     5193978  /install/initrd.gz
HP-PA bootloader   :    7520256       36864  /install/iplboot

(The output with debian-7.4.0-amd64-netinst.iso is a bit longer :))


Have a nice day :)

Thomas


Reply to: