HP-UX 10.20 mk_kernel failure


 
Thread Tools Search this Thread
Operating Systems HP-UX HP-UX 10.20 mk_kernel failure
# 1  
Old 06-23-2011
HP-UX 10.20 mk_kernel failure

PH-UX newbie here, so please go slowly, step by step.

I've just tried to install XSW700GR1020 patch set (December 2001 CD) to my preloaded HP-UX 10.20 system.

After running for ages and installing pretty much most of the patches, when the mk_kernel step was run it failed with an unresolved symbol:

set_caps_light (code)

I've googled that name but came up completely dry, and of course HP problem reports on 10.20 seem long gone from the web. So, I have no idea where to go from here. Smilie

Yes, of course I can re-Ignite but I'd prefer not to as I've got a few days of work put into this.

help!
Dave
# 2  
Old 06-23-2011
The kernel, like any app, can have dynamic or static library calls to be resolved at the compile's link time. Perhaps there are library files you need to install, or $SHLIB_PATH needs to point to dynamic library dirs, or -L compile lines to point to static library dirs.
# 3  
Old 06-24-2011
Yes of course, I understand about libraries and linkers, but mk-kernel should have done all that ... I was hoping someone would remember that this was a problem with a specific patch under some conditions and that to fix it you needed patch: PHKL?????

Ho-hum - so ist das leben!

Dave
# 4  
Old 06-24-2011
No, we have had cases where people had problems building a kernel because they never installed the kernel support libraries, with just this symptom. Others did not have the environment set to allow the linker to find the installed libraries, especially if they were not in the usual place. Google and fgrep for the missing symbol, and see what library it should be in, if you have that library, where it is, is it dynamic, is that lib dir in your $SHLIB_PATH when dynamic.

http://www.google.com/search?hl=en&q...A-RISC+OR+HPUX Oh, look, 2 others like you!
# 5  
Old 06-24-2011
Indeed - both of them ARE me!

I restored the system from the original install CD, so I'm back where I was before attempting to apply the service.

Kernel support libraries - hmmmm what filesets could I be missing?

find / -type f -print | xargs grep set_caps_light

shows me that string is found in:

/stand/vmunix (no surprise here - as it is the running kernel)
/usr/conf/lib/libhp-ux.a
/usr/conf/lib/libstarship.a
/usr/sprockets/os/libstarship.a

I also found a line in /stand/build/config.mk w/r
$(ROOT)/libstarship.a \

and references in /usr/conf/master.d/starship and /usr/conf/master.d/starbridge
(same files also in /usr/sprockets/os)

Hope this helps you to help me ...

Dave

Last edited by perdrix; 06-24-2011 at 02:28 PM.. Reason: Delete extraneous stuff
# 6  
Old 06-24-2011
This sounds close -- missing patches maybe not noted as prereq: https://forums13.itrc.hp.com/service...hreadId=958146

http://g4u0420c.houston.hp.com/en/51.../5187-0103.pdf
Update from
HP-UX 10.20
Before updating to HP-UX 11.0 from 10.20, remove patch PHKL_16498
on workstations and PHKL_16499 on servers. For details see "HP-UX
10.20 Patch Causes Kernel Build Failure" in Appendix B.
Start Task
1. Determine if this patch is on your system, by executing the following
command:

/usr/sbin/swlist -l product PHKL_16499
2. If PHKL_16499 is installed, remove the patch:
/usr/sbin/swremove -x autoreboot=true PHKL_16499
3. Regenerate the kernel with the mk_kernel command. Then update
the system using either the command line or SD-UX user interface, as
explained in following pages.
Now proceed to update to HP-UX 11.0, using either swinstall's
command-line interface (see below) or SD-UX (next page).
Updating Using the Command Line
Start Task
1. Run swinstall specifying flags for software selection, operating
system version, and release. For example, to update to the 32-bit
version of HP-UX 11.0, enter:

/usr/sbin/swinstall -x logdetail=true \
-x allow_incompatible=false \
-x autoreboot=true -x match_target=true \
-x reinstall=true -x reinstall_files=true \
-x os_name=HP-UX:32 -x os_release=B.11.00 \
-s /cdrom
To install a 64-bit operating system, replace
os_name=HP-UX:32 with

os_name=HP-UX:64
in the swinstall command. You can include the
-p option in the swinstall command to preview what will be installed.
2. After the reboot, log in and review /var/adm/sw/swagent.log and
/var/adm/sw/swinstall.log.
3. Remove HP-UX 10.x patches if necessary. See Removing HP-UX 10.x
Patches from an HP-UX 11.0 System on page 80.
4. Go to Removing HP-UX 10.x Patches from an HP-UX 11.0 System
on page 80


Last edited by DGPickett; 06-24-2011 at 04:12 PM..
# 7  
Old 06-27-2011
I've managed to establish that the "set_caps_light" symbol is exported by libhp-ux.a[s_hil_code.o] which seems to be related to the old "Human Interface Link" stuff.

Does this suggest to anyone what I might need to add in terms of service to get that back into libhp-ux.a?

Thanks
Dave
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies

2. Programming

pthread_cancel failure

I'm running a simple web server and seem to be having a problem canceling sessions. When a new request is received I start a thread to handle that session's requests. Since I want to keep the pipe open for a long time - 10 minutes or maybe 2 hours - I also have a session manager that... (4 Replies)
Discussion started by: John S.
4 Replies

3. Shell Programming and Scripting

SFTP Failure

Hi , I need to write a IF condition to know if a SFTP file transfer is successful or not and send email if its failed. `sftp username@servername <<comm1 cd /directory put filename comm1 bye` I use above commands for my connections. So please help me to write a IF statement. ... (0 Replies)
Discussion started by: krishna87
0 Replies

4. UNIX for Advanced & Expert Users

kernel failure

hi, i´ve been the last 48 hours with this issue, this is my last resort.... after clone another system to a new one with lvm, the last step is mkinitrd. i execute it and it finish, but some errors are sent to stderrr. /sbin/mkinitrd: line380: gawk: command not found Traceback (most... (2 Replies)
Discussion started by: pabloli150
2 Replies

5. HP-UX

mk_kernel : "dev_config" error (hpux 11.23)

Any clue why I'm getting the error below? I would greatly appreciate any help. HP ITRC is already engaged since this morning but until now I haven't got any resolution. I'm wondering if anybody out there got an idea on how to fix this. Thanks in advance. This is my system: HPUX11i-OE-Ent... (2 Replies)
Discussion started by: msgameng
2 Replies

6. UNIX for Advanced & Expert Users

su failure

Usually when su rejects an attempt to switch user it responds with "Sorry" but with a certain username on some unix servers the response is "Killed". I'm guessing the su accepted the username/password but refused to spawn child shell with the specified username. What's causing this and what has to... (8 Replies)
Discussion started by: twk
8 Replies

7. Linux

Boot failure

Hi all I used a dual boot operating system and it works fine for me. Now , i install a Ati radeon 9250 Agp card on my system and this results in boot failure of fedora 6. The graphics card is working fine with windows XP , i.e i have no compatibility issues.The system also refuses to boot when i... (2 Replies)
Discussion started by: joshighanshyam
2 Replies

8. UNIX for Advanced & Expert Users

subsystem failure

aix 4.3 I get the following error from the errpt log BD797922 0306170008 P H enclosure0 SUBSYSTEM FAILURE I'm not clear on this kind of error. It never happened to me. What do this errors mean, and how do I clear or solve them? Any help is appreciated. (2 Replies)
Discussion started by: andwhat
2 Replies

9. UNIX for Advanced & Expert Users

Bind failure

Hi all, I am using Perl program to do socket communication. My application has to use port 40001 this is a condition I can't change the port. The execution of this script always gave an error 'Bind failure port already in use' netstat execution gives below line: udp 0 0 ... (5 Replies)
Discussion started by: zing_foru
5 Replies

10. Programming

ld failure

Hi, I am using gmake to compile a c program with a makefile. The make file runs ld. I get the following error jsh1035c:/users/egate453/admegate/kapil/samples $ gmake -e -f GNUmakefile queue_c gmake -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples... (2 Replies)
Discussion started by: handak9
2 Replies
Login or Register to Ask a Question