- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Error loading Kernel
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 11:58 AM
11-16-2001 11:58 AM
During the installation of patch " PHKL_18543 " in the stage to load the " Kernel " it has given the following error me, " unsatisfied " pwrite " in cases out usr/conf/lib/libhp_ux.a[scall_stubs.oj ] ". Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:01 PM
11-16-2001 12:01 PM
SolutionAn attempt to generate a new kernel resulted in some "unsatisfied symbol"
error messages. The symbols were:
o pwrite
o pread
o lock_claim
o mlock_valid_args
o lock_disown
How can this problem be resolved?
CONFIGURATION
Operating System - HP-UX
Subsystem - System Administration
RESOLUTION
In this instance, the first two symbols - pwrite and pread - were
resolved by reloading patch: PHKL_22589
Note: If patch
PHKL_22589
has been installed, then
PHKL_18543
cannot be reloaded afterwards. Doing so will result in a
kernel gen failing with errors about the two unsatisfied
symbols referenced above.
The other symbols were found in other objects:
o lock_claim
This symbol was found in the lv_hp.o object in the liblvm.a
library. That object is changed by patch:
PHKL_23127
o mlock_valid_args
This symbol was found in vm_clic.o in /usr/conf/lib/libhp-ux.a.
PHKL_23183 changed this object.
o lock_disown
Same as "lock_claim" above.
Reloading these patches, and insuring that all the dependencies were
loaded as well, resolved the problem.
Some of the steps used to find out the location of the above symbols were:
1. Change directory to the directory that contains the libraries
used to generate a kernel:
# cd /usr/conf/lib
2. Use nm(1) to check the libraries for the symbol:
# nm *.a | grep lock_claim
3. If the symbol is found, then use nm(1) to find exactly which
library contains the symbol. After some trial and error,
this symbol is found in the liblvm.a library.
# nm liblvm.a | grep lock_claim
# nm liblvm.a | grep lock_disown
4. Next, use nm(1) to look at the library and find which object
in that library defines that symbol.
# nm liblvm.a | pg
Then search for lock_claim and lock_disown. It found them in
the lv_hp.o object.
5. Next, pull the object from the library using ar(1);
# ar x liblvm.a lv_hp.o
NOTE: This will not change the library. This will put the
lv_hp.o, or the object that was specified with the above
ar command - into the current directory.
6. Use what(1) to get information about the object. If a patch
has changed that object, then, usually, the what(1) command
will report that:
# what lv_hp.o
In this example, it reported that lv_hp.c was from patch
PHKL_22266
Therefore, that patch was checked in the patch catalog and found
to have been replaced by a later patch -
PHKL_23127
Reloading that patch resolved the problem with the unsatisfied
symbols.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:05 PM
11-16-2001 12:05 PM
Re: Error loading Kernel
Take a look at the thread below,
http://itrc.hp.com/cki/bin/doc.pl/sid=0b0b83861c0db078cf/screen=ckiSearchResults?mode=id&searchString=KBRC00000862
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:06 PM
11-16-2001 12:06 PM
Re: Error loading Kernel
Did you try to re-load this patch from a patch bundle?? This is the patch from hell. I hope that this is a fresh installation of the system. If not you may have to break out your ignite tape(s)
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:10 PM
11-16-2001 12:10 PM
Re: Error loading Kernel
Never, ever, ever reinstall PHKL_18543. It is a "Line In The Sand" (LITS) patch upon which countless subsequent kernel patches are baselined. If that's what you did, you're really pooched. See the attached file for instructions on recovering, and I hope you've got a few days of (formerly) free time on your hands.
If this error isn't the result of reinstalling PHKL_18543, reinstalling patch PHKL_25475 should clear the unsatisfied pwrite symbol error. Make sure you set swinstall options for reinstall fileset=ON, auto-select dependencies=OFF, and enforce scripts=OFF when you do the reinstall.
Cheers,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:11 PM
11-16-2001 12:11 PM
Re: Error loading Kernel
I am thinking I jumped the gun by throwing that doc up ther.e
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:12 PM
11-16-2001 12:12 PM
Re: Error loading Kernel
PROBLEM
Having the following error messages while building a kernel:
ld:unsatisfied symbol "pwrite" in file /usr/conf/lib/libhp-ux.a [scall_stubs.o]
ld:unsatisfied symbol "pread" in file /usr/conf/lib/libhp-ux.a [scall_stubs.o]
RESOLUTION
This is normally caused by a resinstall of PHKL_18543 which should
not be done! To solve these unsatisfied symbols you should reinstall
the PHKL_20349 patch:
1) Start swinstall without any other arguments (it will get up in
interactive mode).
2) After selecting the depot containing the patch PHKL_20349, edit the
following options:
* Reinstall fileset ... ON
* Auto-select dependcies ... OFF
* Enforce scripts ... OFF
3) Select just the patch PHKL_20349.
4) Run analysis phase.
5) Do the final install.
NOTE: Our labs update HP-UX patches as necessary; therefore you may not
find the versions of patches as noted above.
If you do not know how to determine the latest versions for an HP-UX patch,
work with your local Country Response Center to obtain the proper patches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:17 PM
11-16-2001 12:17 PM
Re: Error loading Kernel
ANd you have the same steps that I found. But mine is old and PHKL_25475 is the right patch. acording to the docs.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 12:26 PM
11-16-2001 12:26 PM
Re: Error loading Kernel
There are links I could send you to...but...
As Jim Turner (hey buddy) mentioned this is a problem patch; and a known issue with HP. I myself (yes I hate to admit it..) hosed a small system with this little stinker.
May I suggest, since HP is well aware of this issue, that you place a call to HP Tech Support and they will probably have you run a patch list and send to them to evaluate. They can then advise you which patches you need to install in one depot to run and get your kernel back in line. [For me, my box was so hosed it took just over 30 patches in one depot...I hear it's around 6 or 7 patches now....but it was fixed and the kernel built]
Hope this helps...
Rit