Products > Test Equipment
HP1670x HPUX from scratch
fisafisa:
Hi
I have been trying for a little while to load the HP16702B software on a larger hard disk.
The limitations of the logical analyzer installation disk are such that you cannot really go higher than 16G.
Check https://www.mattmillman.com/16702b/
The problem is that with PE size of 4M and max PE of about 4000 the LVM group size is thus limited.
The installer forces the PE size to 4M even if you try to increase it. It seems it is a crippled version of the HPUX installer with some hacks.
I have finally succeeded installing on a 300G SCA disk, and I will be explaining how.
What I did is installing HP-UX 10.20 on the disk, having set the PE size to 128M.
After that I installed from a different CD the C C++ development platforms.
Finally I have installed the HP16700 software which is located in the installation CD but on the subfolder LA_CDROM
The installation progresses until it stops when trying to build the kernel: mk_kernel complains of a missing symbol referenced to by the libstarship.a (logic analyzer library)
the missing symbol is set_caps_light
The hpux library in fact contains a symbol with a similar name : kbd_set_caps_light
https://www.unix.com/hp-ux/162062-hp-ux-10-20-mk_kernel-failure.html
To circumvent this problem I created a small .c program that contains the missing function: set_caps_light. My function does nothing.
I have inserted the module inside the libstarship.a library using ar -q libstarship.a mymodule.o
mk_kernel
then
cp /stand/vmunix /stand/vmunix.old
mv /stand/build/vmunix_test /stand/vmunix
Restart the installation that was suspended.
If you want to preserve the hpux interface then follow also:
http://www.perdrix.co.uk/hp16700/
Before starting the installation make a back-up of the files that are described in perdrix webpage.
The installer will overwrite them, so you restore them before rebooting.
Then you reboot and it worked.
Filippo
I will post more details later
aeg:
Sorry to steal your thunder, but you don't need to do that. Just patch the 16702 installation media with the attached config file.
Also, if you're doing C development, you may want to use H. Merijn Brand's gcc package instead of HP ANSI C. HP ANSI C has optimizer bugs that can result in wrong object code.
fisafisa:
Thanks,
this is going to be very useful.
On the other hand, I want to be able to add later os patches, exp on networking.
without the modification to the libstarship, the kernel will not be able to be built anymore.
Filippo
aeg:
On my unit, mk_kernel works without modifying libstarship.a. The resulting kernel has a set_caps_light function, 142 bytes of code. It looks like it comes from s_hil_code.o in /usr/conf/lib/libhp-ux.a. libhp-ux.a is 8633432 bytes on my unit.
fisafisa:
once I apply some of the more recent hpux 10.20 patches the function changes name.
I was not able to pin-point the patch that did this
Navigation
[0] Message Index
[#] Next page
Go to full version